Skip to content

Commit 5f805e0

Browse files
committed
dts: gpio: add mention of pin number macros in nexus bindings docs
For all GPIO headers/connectors, add a short mention of the header file that can be used to access pin numbers macros. Signed-off-by: Benjamin Cabé <[email protected]>
1 parent 4530be0 commit 5f805e0

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

dts/bindings/gpio/arduino-mkr-header.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ description: |
3333
4 D4 D7 7
3434
5 D5 D6 6
3535
36+
Use ARDUINO_MKR_HEADER_* constants in <zephyr/dt-bindings/gpio/arduino-mkr-header.h> to refer to
37+
specific pins using convenient constant names.
3638
3739
compatible: "arduino-mkr-header"
3840

dts/bindings/gpio/arduino-nano-header.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ description: |
3232
11 D11 3V3 -
3333
12 D12 D13 13
3434
35+
Use ARDUINO_NANO_HEADER_* constants in <zephyr/dt-bindings/gpio/arduino-nano-header.h>
36+
to refer to specific pins using convenient constant names.
3537
3638
compatible: "arduino-nano-header"
3739

dts/bindings/gpio/raspberrypi,csi-connector.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ description: |
1919
3 I2C_SCL pin 13 (15-pin based) / pin 20 (22-pin based)
2020
4 I2C_SDA pin 14 (15-pin based) / pin 21 (22-pin based)
2121
22+
Use CSI_* constants in <zephyr/dt-bindings/gpio/raspberrypi-csi-connector.h>
23+
to refer to specific pins using convenient constant names.
24+
2225
For reference only, Raspberry 15-pin Connector layout:
2326
1 GND
2427
2 CSI_D0_N

dts/bindings/gpio/st-morpho-header.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ description: |
99
any Nucleo board. They can be used to connect shields. All signals and power
1010
pins of the STM32 are available on the ST morpho connector.
1111
12+
Use ST_MORPHO_* constants in <zephyr/dt-bindings/gpio/st-morpho-header.h>
13+
to refer to specific pins using convenient constant names.
14+
1215
compatible: "st-morpho-header"
1316

1417
include: [gpio-nexus.yaml, base.yaml]

0 commit comments

Comments
 (0)