ARM: OMAP2+: AM33XX: Enable few drivers in omap2plus_defconfig
Subsystems (2)
cover ARM: OMAP2+: AM33XX: Enable few drivers in omap2plus_defconfig
This patch series enable tps65910, lis3lv02d accelerometer, tsl2550 ambient light sensor, matrix keypad, tmp275 temperature sensor, gpio leds and D_CAN drivers in omap2plus_defconfig.
These are the peripherals present in AM33XX family of devices.
AnilKumar Ch (7):
ARM: OMAP2+: omap2plus_defconfig: Enable tps65910 PMIC
ARM: OMAP2+: omap2plus_defconfig: Enable lis3lv02d accelerometer
ARM: OMAP2+: omap2plus_defconfig: Enable tsl2550 ambient light sensor
ARM: OMAP2+: omap2plus_defconfig: Enable matrix keypad driver
ARM: OMAP2+: omap2plus_defconfig: Enable tmp275 sensor
ARM: OMAP2+: omap2plus_defconfig: Enable leds-gpio driver
ARM: OMAP2+: omap2plus_defconfig: Enable DCAN controller
arch/arm/configs/omap2plus_defconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
Signature · 1 line
1.7.9.5
PATCH 1/7 ARM: OMAP2+: omap2plus_defconfig: Enable tps65910 PMIC
AM335X-EVM and AM335X-EVMSK devices have tps65910 PMIC regulator, one has to manually enable this support to use regulators. So this patch enables tps65910 mfd and regulator driver in omap2plus_defconfig.
--- arch/arm/configs/omap2plus_defconfig | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/configs/omap2plus_defconfig +2 -0
@@ -135,10 +135,12 @@ CONFIG_WATCHDOG=y CONFIG_OMAP_WATCHDOG=y CONFIG_TWL4030_WATCHDOG=y CONFIG_MFD_TPS65217=y +CONFIG_MFD_TPS65910=y CONFIG_REGULATOR_TWL4030=y CONFIG_REGULATOR_TPS65023=y CONFIG_REGULATOR_TPS6507X=y CONFIG_REGULATOR_TPS65217=y +CONFIG_REGULATOR_TPS65910=y CONFIG_FB=y CONFIG_FIRMWARE_EDID=y CONFIG_FB_MODE_HELPERS=y
Signature · 1 line
1.7.9.5
PATCH 2/7 ARM: OMAP2+: omap2plus_defconfig: Enable lis3lv02d accelerometer
In reply to AnilKumar ChAM335X-EVM and AM335X-EVMSK devices have lis331dlh accelerometer, one has to manually enable this support to use accelerometer. So this patch enables lis3lv02d driver in omap2plus_defconfig.
--- arch/arm/configs/omap2plus_defconfig | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/configs/omap2plus_defconfig +2 -0
@@ -83,6 +83,8 @@ CONFIG_MTD_UBI=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_SIZE=16384 +CONFIG_SENSORS_LIS3LV02D=y +CONFIG_SENSORS_LIS3_I2C=y CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y CONFIG_SCSI_MULTI_LUN=y
Signature · 1 line
1.7.9.5
PATCH 3/7 ARM: OMAP2+: omap2plus_defconfig: Enable tsl2550 ambient light sensor
In reply to AnilKumar ChAM335x-evm device have tsl2550 ambient light sensor, one has to manually enable this support to use light sensor. So this patch enables tsl2550 driver in omap2plus_defconfig.
--- arch/arm/configs/omap2plus_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/omap2plus_defconfig +1 -0
@@ -84,6 +84,7 @@ CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_SIZE=16384 CONFIG_SENSORS_LIS3LV02D=y +CONFIG_SENSORS_TSL2550=y CONFIG_SENSORS_LIS3_I2C=y CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y
Signature · 1 line
1.7.9.5
PATCH 4/7 ARM: OMAP2+: omap2plus_defconfig: Enable matrix keypad driver
In reply to AnilKumar ChAM335X-EVM device have 3x2 matrix keypad, one has to manually enable this support to use matrix keypad. So this patch enables matrix keypad driver in omap2plus_defconfig.
--- arch/arm/configs/omap2plus_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/omap2plus_defconfig +1 -0
@@ -111,6 +111,7 @@ CONFIG_USB_KC2190=y CONFIG_INPUT_JOYDEV=y CONFIG_INPUT_EVDEV=y CONFIG_KEYBOARD_GPIO=y +CONFIG_KEYBOARD_MATRIX=y CONFIG_KEYBOARD_TWL4030=y CONFIG_INPUT_TOUCHSCREEN=y CONFIG_TOUCHSCREEN_ADS7846=y
Signature · 1 line
1.7.9.5
PATCH 5/7 ARM: OMAP2+: omap2plus_defconfig: Enable tmp275 sensor
In reply to AnilKumar ChAM335x-evm device have temperature sensor, one has to manually enable this support to use of temperature sensor. So this patch enables tmp275 driver in omap2plus_defconfig.
--- arch/arm/configs/omap2plus_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/omap2plus_defconfig +1 -0
@@ -135,6 +135,7 @@ CONFIG_GPIO_SYSFS=y CONFIG_GPIO_TWL4030=y CONFIG_W1=y CONFIG_POWER_SUPPLY=y +CONFIG_SENSORS_LM75=y CONFIG_WATCHDOG=y CONFIG_OMAP_WATCHDOG=y CONFIG_TWL4030_WATCHDOG=y
Signature · 1 line
1.7.9.5
PATCH 6/7 ARM: OMAP2+: omap2plus_defconfig: Enable leds-gpio driver
In reply to AnilKumar ChAM335X-EVMSK and AM335X-BONE devices have gpio controlled user leds, one has to manually enable this support to use user leds. So this patch enables gpio-leds driver in omap2plus_defconfig. Also enables TRIGGER_TIMER and TRIGGER_HEARTBEAT.
--- arch/arm/configs/omap2plus_defconfig | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm/configs/omap2plus_defconfig +5 -0
@@ -202,6 +202,11 @@ CONFIG_MMC_UNSAFE_RESUME=y CONFIG_SDIO_UART=y CONFIG_MMC_OMAP=y CONFIG_MMC_OMAP_HS=y +CONFIG_NEW_LEDS=y +CONFIG_LEDS_GPIO=y +CONFIG_LEDS_TRIGGERS=y +CONFIG_LEDS_TRIGGER_TIMER=y +CONFIG_LEDS_TRIGGER_HEARTBEAT=y CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_OMAP=y CONFIG_RTC_DRV_TWL92330=y
Signature · 1 line
1.7.9.5
PATCH 6/7 ARM: OMAP2+: omap2plus_defconfig: Enable leds-gpio driver
Quoted 27 lines · AnilKumar Ch
AM335X-EVMSK and AM335X-BONE devices have gpio controlled user leds, one has to manually enable this support to use user leds. So this patch enables gpio-leds driver in
omap2plus_defconfig. Also enablesTRIGGER_TIMERandTRIGGER_HEARTBEAT.Signed-off-by AnilKumar Ch <[email protected]>--- arch/arm/configs/omap2plus_defconfig | 5 +++++ 1 file changed, 5 insertions(+)arch/arm/configs/omap2plus_defconfig +5
-1@@ -202,6 +202,11 @@ CONFIG_MMC_UNSAFE_RESUME=y CONFIG_SDIO_UART=y CONFIG_MMC_OMAP=y CONFIG_MMC_OMAP_HS=y +CONFIG_NEW_LEDS=y +CONFIG_LEDS_GPIO=y +CONFIG_LEDS_TRIGGERS=y +CONFIG_LEDS_TRIGGER_TIMER=y +CONFIG_LEDS_TRIGGER_HEARTBEAT=y CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_OMAP=y CONFIG_RTC_DRV_TWL92330=y --
Quoted 2 lines
1.7.9.5
Hi AnilKumar,
Your patch looks good to me but I would enable CONFIG_LEDS_TRIGGER_DEFAULT_ON too
since this seems to be a very popular trigger used on many boards.
But this could be made on a follow up patch too, so is your call.
Best regards,
Javier
PATCH 6/7 ARM: OMAP2+: omap2plus_defconfig: Enable leds-gpio driver
Quoted 33 lines · Javier Martinez Canillas
Quoted 27 lines · AnilKumar Ch
AM335X-EVMSK and AM335X-BONE devices have gpio controlled user leds, one has to manually enable this support to use user leds. So this patch enables gpio-leds driver in
omap2plus_defconfig. Also enablesTRIGGER_TIMERandTRIGGER_HEARTBEAT.Signed-off-by AnilKumar Ch <[email protected]>--- arch/arm/configs/omap2plus_defconfig | 5 +++++ 1 file changed, 5 insertions(+)arch/arm/configs/omap2plus_defconfig +5
-1@@ -202,6 +202,11 @@ CONFIG_MMC_UNSAFE_RESUME=y CONFIG_SDIO_UART=y CONFIG_MMC_OMAP=y CONFIG_MMC_OMAP_HS=y +CONFIG_NEW_LEDS=y +CONFIG_LEDS_GPIO=y +CONFIG_LEDS_TRIGGERS=y +CONFIG_LEDS_TRIGGER_TIMER=y +CONFIG_LEDS_TRIGGER_HEARTBEAT=y CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_OMAP=y CONFIG_RTC_DRV_TWL92330=y --Quoted 2 lines
1.7.9.5
Hi AnilKumar,
Quoted 5 lines
Your patch looks good to me but I would enable
CONFIG_LEDS_TRIGGER_DEFAULT_ONtoo
since this seems to be a very popular trigger used on many boards.But this could be made on a follow up patch too, so is your call.
I will submit v2 (with this change) in few days. I am waiting for review comments on other patches in this series.
Thanks
AnilKumar
PATCH 7/7 ARM: OMAP2+: omap2plus_defconfig: Enable DCAN controller
In reply to AnilKumar ChAM335X-EVM has BOSCH DCAN controller, one has to manually enable this support to use of DCAN controller. So this patch enables DCAN driver in omap2plus_defconfig.
--- arch/arm/configs/omap2plus_defconfig | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm/configs/omap2plus_defconfig +5 -0
@@ -54,6 +54,11 @@ CONFIG_IP_PNP_RARP=y # CONFIG_INET_LRO is not set # CONFIG_IPV6 is not set CONFIG_NETFILTER=y +CONFIG_CAN=y +CONFIG_CAN_RAW=y +CONFIG_CAN_BCM=y +CONFIG_CAN_C_CAN=y +CONFIG_CAN_C_CAN_PLATFORM=y CONFIG_BT=m CONFIG_BT_HCIUART=m CONFIG_BT_HCIUART_H4=y
Signature · 1 line
1.7.9.5
Tony Lindgren
maintainercover ARM: OMAP2+: AM33XX: Enable few drivers in omap2plus_defconfig
In reply to AnilKumar ChQuoted 15 lines · AnilKumar Ch
This patch series enable tps65910, lis3lv02d accelerometer, tsl2550 ambient light sensor, matrix keypad, tmp275 temperature sensor, gpio leds and
D_CANdrivers inomap2plus_defconfig.These are the peripherals present in AM33XX family of devices.
AnilKumar Ch (7):
ARM: OMAP2+:omap2plus_defconfig: Enable tps65910 PMIC
ARM: OMAP2+:omap2plus_defconfig: Enable lis3lv02d accelerometer
ARM: OMAP2+:omap2plus_defconfig: Enable tsl2550 ambient light sensor
ARM: OMAP2+:omap2plus_defconfig: Enable matrix keypad driver
ARM: OMAP2+:omap2plus_defconfig: Enable tmp275 sensor
ARM: OMAP2+:omap2plus_defconfig: Enable leds-gpio driver
ARM: OMAP2+:omap2plus_defconfig: Enable DCAN controller
Quoted 2 lines
arch/arm/configs/omap2plus_defconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
Let's make all these into modules except for the tps65910.
Regards,
Tony
cover ARM: OMAP2+: AM33XX: Enable few drivers in omap2plus_defconfig
Quoted 16 lines · Tony Lindgren
Quoted 15 lines · AnilKumar Ch
This patch series enable tps65910, lis3lv02d accelerometer, tsl2550 ambient light sensor, matrix keypad, tmp275 temperature sensor, gpio leds and
D_CANdrivers inomap2plus_defconfig.These are the peripherals present in AM33XX family of devices.
AnilKumar Ch (7):
ARM: OMAP2+:omap2plus_defconfig: Enable tps65910 PMIC
ARM: OMAP2+:omap2plus_defconfig: Enable lis3lv02d accelerometer
ARM: OMAP2+:omap2plus_defconfig: Enable tsl2550 ambient light sensor
ARM: OMAP2+:omap2plus_defconfig: Enable matrix keypad driver
ARM: OMAP2+:omap2plus_defconfig: Enable tmp275 sensor
ARM: OMAP2+:omap2plus_defconfig: Enable leds-gpio driver
ARM: OMAP2+:omap2plus_defconfig: Enable DCAN controller
Quoted 5 lines
Quoted 2 lines
arch/arm/configs/omap2plus_defconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)Let's make all these into modules except for the tps65910.
Happy New Year Tony,
I will send the updated series with the changes. Selecting leds-gpio driver as module is not supported, so leds-gpio driver is enabled by default and rest of the drivers as modules.
Thanks
AnilKumar