zephyrproject-rtos/zephyr

gpio: add gpio-reserved-ranges support for drivers/gpio/gpio_stm32.c and drivers/gpio/gpio_npcx.c

Open

#57,038 opened on 2023年4月19日

GitHub で見る
 (1 comment) (0 reactions) (2 assignees)C (15,249 stars) (9,144 forks)batch import
EnhancementGood first issuearea: GPIOplatform: Renesasplatform: STM32

説明

Hello,

Both drivers/gpio/gpio_stm32.c and drivers/gpio/gpio_npcx.c drivers are based on the gpio-controller DT structure, however since they use the raw GPIO_PORT_PIN_MASK_FROM_NGPIOS macro, they lack of "gpio-reserved-ranges" property support.

This enhancement has been added in the PR https://github.com/zephyrproject-rtos/zephyr/pull/56295

コントリビューターガイド

gpio: add gpio-reserved-ranges support for drivers/gpio/gpio_stm32.c and drivers/gpio/gpio_npcx.c · zephyrproject-rtos/zephyr#57038 | Good First Issue