simbit18 commented on code in PR #16428: URL: https://github.com/apache/nuttx/pull/16428#discussion_r2104101146
########## arch/arm64/src/bcm2711/Kconfig: ########## @@ -103,17 +103,92 @@ config BCM2711_SPI if BCM2711_SPI +config BCM2711_SPI0 + bool "SPI0" + depends on BCM2711_SPI + default n + ---help--- + Enable the SPI0 interface. + +if BCM2711_SPI0 + +config BCM2711_SPI0_CE0 + int "CE0 GPIO" + depends on BCM2711_SPI0 + default 8 + ---help--- + The GPIO pin for the chip enable 0 signal (8, 36, 43) + +config BCM2711_SPI0_CE1 + int "CE1 GPIO" + depends on BCM2711_SPI0 + default 7 + ---help--- + The GPIO pin for the chip enable 1 signal (7, 35, 44) + +config BCM2711_SPI0_MISO + int "MISO GPIO" + depends on BCM2711_SPI0 + default 9 + ---help--- + The GPIO pin for the MISO signal (9, 37, 40) + +config BCM2711_SPI0_MOSI + int "MOSI GPIO" + depends on BCM2711_SPI0 + default 10 + ---help--- + The GPIO pin for the MOSI signal (10, 38, 41) + +config BCM2711_SPI0_SCLK + int "SCLK GPIO" + depends on BCM2711_SPI0 + default 11 + ---help--- Review Comment: remove spaces and add a tab 144 to 147 ########## arch/arm64/src/bcm2711/Kconfig: ########## @@ -103,17 +103,92 @@ config BCM2711_SPI if BCM2711_SPI +config BCM2711_SPI0 + bool "SPI0" + depends on BCM2711_SPI + default n + ---help--- + Enable the SPI0 interface. + +if BCM2711_SPI0 + +config BCM2711_SPI0_CE0 + int "CE0 GPIO" + depends on BCM2711_SPI0 + default 8 + ---help--- + The GPIO pin for the chip enable 0 signal (8, 36, 43) + +config BCM2711_SPI0_CE1 + int "CE1 GPIO" + depends on BCM2711_SPI0 + default 7 + ---help--- + The GPIO pin for the chip enable 1 signal (7, 35, 44) + +config BCM2711_SPI0_MISO + int "MISO GPIO" + depends on BCM2711_SPI0 + default 9 + ---help--- + The GPIO pin for the MISO signal (9, 37, 40) + +config BCM2711_SPI0_MOSI + int "MOSI GPIO" + depends on BCM2711_SPI0 + default 10 + ---help--- + The GPIO pin for the MOSI signal (10, 38, 41) + +config BCM2711_SPI0_SCLK + int "SCLK GPIO" + depends on BCM2711_SPI0 + default 11 + ---help--- + The GPIO pin for the SCLK signal (11, 39, 42) Review Comment: remove spaces and add two tabs -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org