ARM: OMAP2+: AM33XX: Enable few drivers in omap2plus_defconfig
Subsystems (2)
v3 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.
Changes from v2:
- Incorporated Tony's comments on v2
* Enabled as modules instead of kernel built-in drivers.
- Dropped 1st patch because it was accepted.
Changes from v1:
- Incorporated martinez javier's comments on v1
* Enabled few more triggers in omap2plus_defconfig
- Included Igor's patch, which modifies the omap2plus defconfig for AM33XX devices.
AnilKumar Ch (7):
ARM: OMAP2+: omap2plus_defconfig: Add tps65910 support
ARM: OMAP2+: omap2plus_defconfig: Add lis3lv02d support
ARM: OMAP2+: omap2plus_defconfig: Add tsl2550 support
ARM: OMAP2+: omap2plus_defconfig: Add matrix-keypad support
ARM: OMAP2+: omap2plus_defconfig: Add tmp275 sensor support
ARM: OMAP2+: omap2plus_defconfig: Add leds-gpio support
ARM: OMAP2+: omap2plus_defconfig: Add D_CAN support
arch/arm/configs/omap2plus_defconfig | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
Signature · 1 line
1.7.9.5
PATCH v3 1/7 ARM: OMAP2+: omap2plus_defconfig: Add tps65910 support
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 drivers 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 v3 2/7 ARM: OMAP2+: omap2plus_defconfig: Add lis3lv02d support
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 as moudle 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=m +CONFIG_SENSORS_LIS3_I2C=m CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y CONFIG_SCSI_MULTI_LUN=y
Signature · 1 line
1.7.9.5
PATCH v3 3/7 ARM: OMAP2+: omap2plus_defconfig: Add tsl2550 support
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 as module 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=m +CONFIG_SENSORS_TSL2550=m CONFIG_SENSORS_LIS3_I2C=m CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y
Signature · 1 line
1.7.9.5
PATCH v3 4/7 ARM: OMAP2+: omap2plus_defconfig: Add matrix-keypad support
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 as module 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=m CONFIG_KEYBOARD_TWL4030=y CONFIG_INPUT_TOUCHSCREEN=y CONFIG_TOUCHSCREEN_ADS7846=y
Signature · 1 line
1.7.9.5
PATCH v3 5/7 ARM: OMAP2+: omap2plus_defconfig: Add tmp275 sensor support
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 as module 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=m CONFIG_WATCHDOG=y CONFIG_OMAP_WATCHDOG=y CONFIG_TWL4030_WATCHDOG=y
Signature · 1 line
1.7.9.5
PATCH v3 6/7 ARM: OMAP2+: omap2plus_defconfig: Add leds-gpio support
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 different TRIGGERS like TRIGGER_TIMER, TRIGGER_HEARTBEAT and etc.
--- arch/arm/configs/omap2plus_defconfig | 10 ++++++++++ 1 file changed, 10 insertions(+)
arch/arm/configs/omap2plus_defconfig +10 -0
@@ -203,6 +203,16 @@ 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_ONESHOT=y +CONFIG_LEDS_TRIGGER_HEARTBEAT=y +CONFIG_LEDS_TRIGGER_BACKLIGHT=y +CONFIG_LEDS_TRIGGER_CPU=y +CONFIG_LEDS_TRIGGER_GPIO=y +CONFIG_LEDS_TRIGGER_DEFAULT_ON=y CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_TWL92330=y CONFIG_RTC_DRV_TWL4030=y
Signature · 1 line
1.7.9.5
PATCH v3 7/7 ARM: OMAP2+: omap2plus_defconfig: Add D_CAN support
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 as module in omap2plus_defconfig.
--- arch/arm/configs/omap2plus_defconfig | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm/configs/omap2plus_defconfig +5 -0
@@ -52,6 +52,11 @@ CONFIG_IP_PNP_RARP=y # CONFIG_INET_LRO is not set # CONFIG_IPV6 is not set CONFIG_NETFILTER=y +CONFIG_CAN=m +CONFIG_CAN_RAW=m +CONFIG_CAN_BCM=m +CONFIG_CAN_C_CAN=m +CONFIG_CAN_C_CAN_PLATFORM=m CONFIG_BT=m CONFIG_BT_HCIUART=m CONFIG_BT_HCIUART_H4=y
Signature · 1 line
1.7.9.5
v3 cover ARM: OMAP2+: AM33XX: Enable few drivers in omap2plus_defconfig
In reply to AnilKumar ChHi,
Quoted 17 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.
Changes from v2:
- Incorporated Tony's comments on v2
* Enabled as modules instead of kernel built-in drivers.
- Dropped 1st patch because it was accepted.Changes from v1:
- Incorporated martinez javier's comments on v1
* Enabled few more triggers inomap2plus_defconfig
- Included Igor's patch, which modifies the omap2plus defconfig for AM33XX devices.
Quoted 8 lines
AnilKumar Ch (7):
ARM: OMAP2+:omap2plus_defconfig: Add tps65910 support
ARM: OMAP2+:omap2plus_defconfig: Add lis3lv02d support
ARM: OMAP2+:omap2plus_defconfig: Add tsl2550 support
ARM: OMAP2+:omap2plus_defconfig: Add matrix-keypad support
ARM: OMAP2+:omap2plus_defconfig: Add tmp275 sensor support
ARM: OMAP2+:omap2plus_defconfig: Add leds-gpio support
ARM: OMAP2+:omap2plus_defconfig: AddD_CANsupport
Doing this as 7 separate patches seems excessive to me. Just do it as one single patch instead.
-Olof
v3 cover ARM: OMAP2+: AM33XX: Enable few drivers in omap2plus_defconfig
Quoted 29 lines · Olof Johansson
Hi,
Quoted 17 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.
Changes from v2:
- Incorporated Tony's comments on v2
* Enabled as modules instead of kernel built-in drivers.
- Dropped 1st patch because it was accepted.Changes from v1:
- Incorporated martinez javier's comments on v1
* Enabled few more triggers inomap2plus_defconfig
- Included Igor's patch, which modifies the omap2plus defconfig for AM33XX devices.Quoted 8 lines
AnilKumar Ch (7):
ARM: OMAP2+:omap2plus_defconfig: Add tps65910 support
ARM: OMAP2+:omap2plus_defconfig: Add lis3lv02d support
ARM: OMAP2+:omap2plus_defconfig: Add tsl2550 support
ARM: OMAP2+:omap2plus_defconfig: Add matrix-keypad support
ARM: OMAP2+:omap2plus_defconfig: Add tmp275 sensor support
ARM: OMAP2+:omap2plus_defconfig: Add leds-gpio support
ARM: OMAP2+:omap2plus_defconfig: AddD_CANsupport
Quoted 3 lines
Doing this as 7 separate patches seems excessive to me. Just do it as one single patch instead.
Hi Olof,
I will send v4 by merging all the patches into single patch.
Thanks
AnilKumar