zephyrproject-rtos/zephyr

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

クローズ

#57,038 opened on 2023/04/19

 (1 件のコメント) (0 件のリアクション) (2 人の担当者)C (9,144 件のフォーク)batch import
EnhancementGood first issuearea: GPIOplatform: Renesasplatform: STM32

Repository metrics

Stars
 (15,249 個のスター)
PR merge metrics
 (平均マージ 4d 21h) (30d で 1,000 merged PRs)

説明

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

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