From 18a0bf7d235530f17647dcc6c05b8b872a89df6f Mon Sep 17 00:00:00 2001 From: Madhava Reddy Siddareddygari Date: Tue, 29 Nov 2022 08:38:07 -0800 Subject: [PATCH 1/2] Kernel configuration is enabled to support device drivers for sensor devices, gpio devices, MDIO mux devices, ADC, DAC device and Intel SPI controller. Drivers are enabled for all cisco-8000 platforms. Signed-off-by: Madhava Reddy Siddareddygari --- patch/kconfig-inclusions | 79 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/patch/kconfig-inclusions b/patch/kconfig-inclusions index 34be07345b66..00cf1ccd5883 100644 --- a/patch/kconfig-inclusions +++ b/patch/kconfig-inclusions @@ -81,6 +81,85 @@ CONFIG_SENSORS_EMC2305=m CONFIG_SENSORS_JC42=m CONFIG_SENSORS_POWR1220=m +# For Cisco 8000 +CONFIG_PHYLIB=m +CONFIG_GPIOLIB=y +CONFIG_OF_GPIO=y +CONFIG_OF=y +CONFIG_OF_MDIO=m +CONFIG_MDIO_BUS_MUX_GPIO=m +CONFIG_MDIO_BUS_MUX=m +CONFIG_MFD_SYSCON=y +CONFIG_REGMAP_MMIO=y +CONFIG_ARCH_NR_GPIO=10240 +CONFIG_AD7266=m +CONFIG_AD7291=m +CONFIG_AD7298=m +CONFIG_AD7476=m +CONFIG_AD7766=m +CONFIG_AD7791=m +CONFIG_AD7793=m +CONFIG_AD7887=m +CONFIG_AD7923=m +CONFIG_AD799X=m +CONFIG_AXP20X_ADC=m +CONFIG_AXP288_ADC=m +CONFIG_CC10001_ADC=m +CONFIG_HI8435=m +CONFIG_HX711=m +CONFIG_INA2XX_ADC=m +CONFIG_MAX1027=m +CONFIG_MAX11100=m +CONFIG_MAX1118=m +CONFIG_MAX1363=m +CONFIG_MAX9611=m +CONFIG_MCP320X=m +CONFIG_MCP3422=m +CONFIG_NAU7802=m +CONFIG_TI_ADC081C=m +CONFIG_TI_ADC0832=m +CONFIG_TI_ADC084S021=m +CONFIG_TI_ADC12138=m +CONFIG_TI_ADC108S102=m +CONFIG_TI_ADC128S052=m +CONFIG_TI_ADC161S626=m +CONFIG_TI_ADS7950=m +CONFIG_TI_TLC4541=m +CONFIG_SENSORS_LTC2978=m +CONFIG_DS4424=m +CONFIG_SENSORS_LM75=m +CONFIG_LTC2497=m +CONFIG_SENSORS_LTC4151=m +CONFIG_SENSORS_LTC2945=m +CONFIG_SENSORS_ADM9240=m +CONFIG_SENSORS_TPS40422=m +CONFIG_AD5064=m +CONFIG_AD5360=m +CONFIG_AD5380=m +CONFIG_AD5421=m +CONFIG_AD5449=m +CONFIG_AD5592R=m +CONFIG_AD5593R=m +CONFIG_AD5504=m +CONFIG_AD5624R_SPI=m +CONFIG_LTC2632=m +CONFIG_AD5686_SPI=m +CONFIG_AD5696_I2C=m +CONFIG_AD5755=m +CONFIG_AD5758=m +CONFIG_AD5761=m +CONFIG_AD5764=m +CONFIG_AD5791=m +CONFIG_AD7303=m +CONFIG_AD8801=m +CONFIG_MAX517=m +CONFIG_MCP4725=m +CONFIG_MCP4922=m +CONFIG_TI_DAC082S085=m +CONFIG_TI_DAC5571=m +CONFIG_SPI_INTEL_SPI_PLATFORM=m +CONFIG_SPI_INTEL_SPI=m +CONFIG_SERIAL_8250_RUNTIME_UARTS=4 [arm64] From 19266b4ce02d5af2a73e4b29a1f6367073d76786 Mon Sep 17 00:00:00 2001 From: Madhava Reddy Siddareddygari Date: Wed, 14 Dec 2022 11:45:31 -0800 Subject: [PATCH 2/2] Review comments incorporated Removed duplicate entries from kconfig-inclusion file. Signed-off-by: Madhava Reddy Siddareddygari --- patch/kconfig-inclusions | 63 ---------------------------------------- 1 file changed, 63 deletions(-) diff --git a/patch/kconfig-inclusions b/patch/kconfig-inclusions index 00cf1ccd5883..dcb9fca833fd 100644 --- a/patch/kconfig-inclusions +++ b/patch/kconfig-inclusions @@ -89,77 +89,14 @@ CONFIG_OF=y CONFIG_OF_MDIO=m CONFIG_MDIO_BUS_MUX_GPIO=m CONFIG_MDIO_BUS_MUX=m -CONFIG_MFD_SYSCON=y CONFIG_REGMAP_MMIO=y CONFIG_ARCH_NR_GPIO=10240 -CONFIG_AD7266=m -CONFIG_AD7291=m -CONFIG_AD7298=m -CONFIG_AD7476=m -CONFIG_AD7766=m -CONFIG_AD7791=m -CONFIG_AD7793=m -CONFIG_AD7887=m -CONFIG_AD7923=m -CONFIG_AD799X=m -CONFIG_AXP20X_ADC=m -CONFIG_AXP288_ADC=m -CONFIG_CC10001_ADC=m -CONFIG_HI8435=m -CONFIG_HX711=m -CONFIG_INA2XX_ADC=m -CONFIG_MAX1027=m -CONFIG_MAX11100=m -CONFIG_MAX1118=m -CONFIG_MAX1363=m -CONFIG_MAX9611=m -CONFIG_MCP320X=m -CONFIG_MCP3422=m -CONFIG_NAU7802=m -CONFIG_TI_ADC081C=m -CONFIG_TI_ADC0832=m -CONFIG_TI_ADC084S021=m -CONFIG_TI_ADC12138=m -CONFIG_TI_ADC108S102=m -CONFIG_TI_ADC128S052=m -CONFIG_TI_ADC161S626=m -CONFIG_TI_ADS7950=m CONFIG_TI_TLC4541=m CONFIG_SENSORS_LTC2978=m -CONFIG_DS4424=m -CONFIG_SENSORS_LM75=m -CONFIG_LTC2497=m -CONFIG_SENSORS_LTC4151=m CONFIG_SENSORS_LTC2945=m -CONFIG_SENSORS_ADM9240=m CONFIG_SENSORS_TPS40422=m -CONFIG_AD5064=m -CONFIG_AD5360=m -CONFIG_AD5380=m -CONFIG_AD5421=m -CONFIG_AD5449=m -CONFIG_AD5592R=m -CONFIG_AD5593R=m -CONFIG_AD5504=m -CONFIG_AD5624R_SPI=m -CONFIG_LTC2632=m -CONFIG_AD5686_SPI=m -CONFIG_AD5696_I2C=m -CONFIG_AD5755=m -CONFIG_AD5758=m -CONFIG_AD5761=m -CONFIG_AD5764=m -CONFIG_AD5791=m -CONFIG_AD7303=m -CONFIG_AD8801=m -CONFIG_MAX517=m -CONFIG_MCP4725=m -CONFIG_MCP4922=m -CONFIG_TI_DAC082S085=m -CONFIG_TI_DAC5571=m CONFIG_SPI_INTEL_SPI_PLATFORM=m CONFIG_SPI_INTEL_SPI=m -CONFIG_SERIAL_8250_RUNTIME_UARTS=4 [arm64]