diff options
| author | Kory Maincent <[email protected]> | 2021-05-04 19:31:27 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-05-13 13:09:09 -0400 |
| commit | 6c2c7e9cb95e92cc792ade46a44fc3801dab2de5 (patch) | |
| tree | b904a66eab924e0adacedef241e0155eab08bdc4 /arch | |
| parent | c9dffc971957e5fd18d64aa17a95e8d82a59d273 (diff) | |
arm: sunxi: add support for DIP detection to CHIP board
Add the extension_board_scan specific function to scan the information
of the EEPROM on one-wire and fill the extension struct.
Add the Kconfig symbol to enable the needs to detect DIPs.
Signed-off-by: Kory Maincent <[email protected]>
Reviewed-by: Maxime Ripard <[email protected]>
Acked-by: Andre Przywara <[email protected]>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm/mach-sunxi/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index 8e9012dbbfe..bc8509b72a2 100644 --- a/arch/arm/mach-sunxi/Kconfig +++ b/arch/arm/mach-sunxi/Kconfig @@ -1089,3 +1089,12 @@ config BLUETOOTH_DT_DEVICE_FIXUP flipped elsewise. endif + +config CHIP_DIP_SCAN + bool "Enable DIPs detection for CHIP board" + select SUPPORT_EXTENSION_SCAN + select W1 + select W1_GPIO + select W1_EEPROM + select W1_EEPROM_DS24XXX + select CMD_EXTENSION |
