zephyr/boards/arm/google_kukui
Gerard Marull-Paretas ada8d72888 boards: remove non-minimal peripherals from defconfig
According to the board porting guidelines, boards should "leave
peripherals and their drivers disabled by default". In Zephyr we
tipically enable GPIO and SERIAL, as they are virtually required by all
samples/tests in tree. However, for the rest of peripherals it is up to
the application/test to enable the necessary driver classes. It is also
useful that board's Kconfig.defconfig enables certain driver peripherals
based on a condition, e.g. enable I2C if SENSOR=y.

Ref. https://docs.zephyrproject.org/latest/hardware/porting/
board_porting.html#general-recommendations

This patch removes the following driver classes from defconfig files:

- CONFIG_ADC
- CONFIG_COUNTER
- CONFIG_EEPROM
- CONFIG_ENTROPY
- CONFIG_ESPI
- CONFIG_HWINFO
- CONFIG_I2C
- CONFIG_LED
- CONFIG_NETWORKING
- CONFIG_PS2
- CONFIG_PWM
- CONFIG_SENSOR
- CONFIG_SPI
- CONFIG_SPI_SLAVE
- CONFIG_WATCHDOG

Note that a previous attempt was done in #38510.

Fixes #30694

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-08-05 12:55:51 +02:00
..
doc board: arm: google_kukui: Enable I2C 2020-05-01 09:25:19 -04:00
board.cmake board: arm: Add google_kukui board 2019-12-20 20:27:20 -05:00
google_kukui.dts boards: stm32: use size helpers to describe size of storage partition 2022-05-10 09:22:43 -05:00
google_kukui.yaml board: arm: Add google_kukui board 2019-12-20 20:27:20 -05:00
google_kukui_defconfig boards: remove non-minimal peripherals from defconfig 2022-08-05 12:55:51 +02:00
Kconfig.board board: arm: google_kukui: Enable I2C 2020-05-01 09:25:19 -04:00
Kconfig.defconfig boards: stm32: Use dt API for serial peripheral configuration 2020-04-20 15:27:56 -05:00