[PATCH v4 3/4] ARM: dts: AM33XX: Enable system power off control in am335x-bone

2012-12-13 Thread AnilKumar Ch
Enable system power off control for BeagleBone in am335x-bone.dts file under rtc node. RTC is the incharge of controlling the system power. This flag is used by the driver to hook up the pm_power_off system call. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-bone.dts

[PATCH v4 2/4] ARM: dts: AM33XX: Set pmic-shutdown-controller for BeagleBone

2012-12-13 Thread AnilKumar Ch
Set ti,pmic-shutdown-controller for BeagleBone in am335x-bone.dts file, this flag is used by the driver to set tps65217 PMIC status to OFF when PWR_EN toggle. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-bone.dts |2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v4 0/4] pm: Add power off control

2012-12-13 Thread AnilKumar Ch
the time rollover logic with the help of rtc-lib APIs AnilKumar Ch (3): ARM: dts: AM33XX: Set pmic-shutdown-controller for BeagleBone ARM: dts: AM33XX: Enable system power off control in am335x-bone ARM: OMAP2+: omap2plus_defconfig: Enable RTC support Colin Foe-Parker (1): rtc

[PATCH v4 4/4] ARM: OMAP2+: omap2plus_defconfig: Enable RTC support

2012-12-13 Thread AnilKumar Ch
AM33XX family of devices use RTC module, one has to manually enable this support to use RTC features. So this patch enable RTC driver in omap2plus_defconfig. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/configs/omap2plus_defconfig |1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v4 1/4] rtc: OMAP: Add system pm_power_off to rtc driver

2012-12-13 Thread AnilKumar Ch
PMIC_POWER_EN is pulled low * Enable PMIC_POWER_EN in rtc module * Set rtc ALARM2 time * Enable ALARM2 interrupt Signed-off-by: Colin Foe-Parker colin.foepar...@logicpd.com [anilku...@ti.com: move poweroff additions to rtc driver] Signed-off-by: AnilKumar Ch anilku...@ti.com --- Documentation/devicetree

[PATCH RESEND] ARM: dts: AM33XX: Rename I2C and GPIO nodes

2012-11-21 Thread AnilKumar Ch
Rename I2C and GPIO nodes according to AM33XX TRM. According to AM33XX TRM device instances are starting from 0 like i2c0, i2c1 and i2c3. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com [pa...@antoniou-consulting.com: initial patch by pantelis's] Signed-off-by: AnilKumar Ch anilku

[PATCH v3 0/5] pm: Add power off control

2012-11-20 Thread AnilKumar Ch
Changes from v1: - Incorporated Vaibhav's comments on v1 * Changed the time rollover logic with the help of rtc-lib APIs AnilKumar Ch (3): ARM: dts: AM33XX: Set pmic-shutdown-controller for BeagleBone ARM: dts: AM33XX: Enable system power off control in am335x-bone

[PATCH v3 4/5] ARM: dts: AM33XX: Enable system power off control in am335x-bone

2012-11-20 Thread AnilKumar Ch
Enable system power off control for BeagleBone in am335x-bone.dts file under rtc node. RTC is the in-charge of controlling the system power. This flag is used by the driver to hook up the pm_power_off system call. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-bone.dts

[PATCH v3 3/5] ARM: dts: AM33XX: Set pmic-shutdown-controller for BeagleBone

2012-11-20 Thread AnilKumar Ch
Set ti,pmic-shutdown-controller for BeagleBone in am335x-bone.dts file, this flag is used by the driver to set tps65217 PMIC status to OFF when PWR_EN toggle. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-bone.dts |2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v3 5/5] ARM: OMAP2+: omap2plus_defconfig: Enable RTC support

2012-11-20 Thread AnilKumar Ch
AM33XX family of devices uses RTC module, one has to manually enable this support to use RTC features. So this patch enable RTC driver in omap2plus_defconfig. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/configs/omap2plus_defconfig |1 + 1 file changed, 1 insertion(+) diff

[PATCH v3 2/5] mfd: tps65217: Set PMIC to shutdown on PWR_EN toggle

2012-11-20 Thread AnilKumar Ch
-by: Colin Foe-Parker colin.foepar...@logicpd.com [anilku...@ti.com: move the additions to tps65217 MFD driver] Signed-off-by: AnilKumar Ch anilku...@ti.com --- .../devicetree/bindings/regulator/tps65217.txt |4 drivers/mfd/tps65217.c | 12 2

[PATCH v3 1/5] rtc: OMAP: Add system pm_power_off to rtc driver

2012-11-20 Thread AnilKumar Ch
RTC. Signed-off-by: Colin Foe-Parker colin.foepar...@logicpd.com [anilku...@ti.com: move poweroff additions to rtc driver] Signed-off-by: AnilKumar Ch anilku...@ti.com --- Documentation/devicetree/bindings/rtc/rtc-omap.txt |5 ++ drivers/rtc/rtc-omap.c | 81

[PATCH v2] can: c_can: Add d_can raminit support

2012-11-20 Thread AnilKumar Ch
-by: AnilKumar Ch anilku...@ti.com --- Changes from v1: - Incorporated Marc's comments on v1 * sanity check moved to c_can_probe() from c_can_hw_raminit() * device instance is assigned using conditional operator * Changed warning to info to tell control module

[PATCH v2 4/4] ARM: dts: AM33XX: Enable system power off control in am335x-bone

2012-11-16 Thread AnilKumar Ch
Enable system power off control for BeagleBone in am335x-bone.dts file under rtc node. RTC is the incharge of controlling the system power. This flag is used by the driver to hook up the pm_power_off system call. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-bone.dts

[PATCH v2 3/4] ARM: dts: AM33XX: Set pmic-shutdown-controller for BeagleBone

2012-11-16 Thread AnilKumar Ch
Set ti,pmic-shutdown-controller for BeagleBone in am335x-bone.dts file, this flag is used by the driver to set tps65217 PMIC status to OFF when PWR_EN toggle. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-bone.dts |2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v2 0/4] pm: Add power off control

2012-11-16 Thread AnilKumar Ch
ALARM2 interrupt These patches were tested on AM335x-Bone. Changes from v1: - Incorporated Vaibhav's comments on v1 * Changed the time rollover logic with the help of rtc-lib APIs AnilKumar Ch (2): ARM: dts: AM33XX: Set pmic-shutdown-controller for BeagleBone ARM

[PATCH v2 1/4] mfd: tps65217: Set PMIC to shutdowm on PWR_EN toggle

2012-11-16 Thread AnilKumar Ch
to tps65217 MFD driver] Signed-off-by: AnilKumar Ch anilku...@ti.com --- .../devicetree/bindings/regulator/tps65217.txt |4 drivers/mfd/tps65217.c | 12 2 files changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator

[PATCH v2 2/4] rtc: OMAP: Add system pm_power_off to rtc driver

2012-11-16 Thread AnilKumar Ch
RTC. Signed-off-by: Colin Foe-Parker colin.foepar...@logicpd.com [anilku...@ti.com: move poweroff additions to rtc driver] Signed-off-by: AnilKumar Ch anilku...@ti.com --- Documentation/devicetree/bindings/rtc/rtc-omap.txt |5 ++ drivers/rtc/rtc-omap.c | 81

[PATCH v6] Input: matrix-keypad - Add device tree support

2012-11-15 Thread AnilKumar Ch
Add device tree support to matrix keypad driver and usage details are added to device tree documentation. Also modified the driver according to recent update of matrix_keypad_build_keymap(), which automatically allocate memory for keymap. Signed-off-by: AnilKumar Ch anilku...@ti.com Signed-off

[PATCH RESEND v6] Input: matrix-keypad - Add device tree support

2012-11-15 Thread AnilKumar Ch
Add device tree support to matrix keypad driver and usage details are added to device tree documentation. Also modified the driver according to recent update of matrix_keypad_build_keymap(), which automatically allocate memory for keymap. Driver was tested on AM335x EVM. Signed-off-by: AnilKumar

[PATCH 2/3] ARM: dts: AM33XX: Add d_can instances to aliases

2012-11-14 Thread AnilKumar Ch
-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am33xx.dtsi |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 5dfd682..c92c35f 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi @@ -21,6 +21,8

[PATCH 3/3] ARM: dts: AM33XX: Add memory resource to d_can node

2012-11-14 Thread AnilKumar Ch
we have a separate control module driver to write to control module, d_can driver will handle the register writes to control module by itself. So a new address space to represent this control module register is added to d_can driver. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot

[PATCH 1/3] can: c_can: Add d_can raminit support

2012-11-14 Thread AnilKumar Ch
aliases node. Signed-off-by: AnilKumar Ch anilku...@ti.com --- drivers/net/can/c_can/c_can.c | 12 +++ drivers/net/can/c_can/c_can.h |3 +++ drivers/net/can/c_can/c_can_platform.c | 34 +++- 3 files changed, 48 insertions(+), 1 deletion

[PATCH 0/3] can: Add D_CAN raminit support to am335x-evm

2012-11-14 Thread AnilKumar Ch
addition patch, which is not added to am335x-evm.dts (only supports CPLD profile#0) because d_can1 is supported under CPLD profile#1. AnilKumar Ch (3): can: c_can: Add d_can raminit support ARM: dts: AM33XX: Add d_can instances to aliases ARM: dts: AM33XX: Add memory resource to d_can node

[PATCH v5] Input: matrix-keypad - Add device tree support

2012-11-10 Thread AnilKumar Ch
Add device tree support to matrix keypad driver and usage details are added to device tree documentation. Driver was tested on AM335x EVM. Signed-off-by: AnilKumar Ch anilku...@ti.com --- This patch was tested on AM335x-EVM and based on linux-next, cleanly applies on top of input/next Changes

[PATCH v4] Input: matrix-keypad - Add device tree support

2012-11-07 Thread AnilKumar Ch
Add device tree support to matrix keypad driver and usage details are added to device tree documentation. Driver was tested on AM335x EVM. Signed-off-by: AnilKumar Ch anilku...@ti.com --- This patch was tested on AM335x-EVM and based on linux-next, cleanly applies on top of input/next Changes

[PATCH RESEND 02/10] ARM: dts: AM33XX: Add matrix keypad device tree data to am335x-evm

2012-11-06 Thread AnilKumar Ch
Add matrix keypad device tree data to am335x-evm by adding all the necessary parameters like keymap, row column gpios and etc. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm

[PATCH RESEND 06/10] ARM: dts: AM33XX: Add user-leds device tree data to am335x-bone

2012-11-06 Thread AnilKumar Ch
Add gpio-leds device tree data to am335x-bone device to enable gpio based user-leds (USR0, USR1, USR2 and USR3) present on BeagleBone. [k...@dominion.thruhere.net: led0, led1 suggested by koen] Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-bone.dts | 30

[PATCH RESEND 09/10] ARM: dts: AM33XX: Add pinmux configuration for gpio-keys to EVMSK

2012-11-06 Thread AnilKumar Ch
module is functional as expected. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts index 7262fa8..0f825dd 100644

[PATCH RESEND 05/10] ARM: dts: AM33XX: Add pinmux configuration for user-leds to BONE

2012-11-06 Thread AnilKumar Ch
module is functional as expected. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-bone.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts index 91eee97..1aac58b 100644 --- a/arch

[PATCH RESEND 08/10] ARM: dts: AM33XX: Add user-leds device tree data to am335x-evmsk

2012-11-06 Thread AnilKumar Ch
Add gpio-leds device tree data to am335x-evmsk device to enable gpio based user-leds (USR0, USR1, USR2 and USR3) present on am335x starter kit. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts | 30 ++ 1 file changed, 30 insertions

[PATCH RESEND 00/10] ARM: dts: AM33XX: Add device tree data

2012-11-06 Thread AnilKumar Ch
AnilKumar Ch (10): ARM: dts: AM33XX: Add pinmux configuration for matrix keypad to EVM ARM: dts: AM33XX: Add matrix keypad device tree data to am335x-evm ARM: dts: AM33XX: Add pinmux configuration for volume-keys to EVM ARM: dts: AM33XX: Add volume-keys device tree data to am335x-evm ARM: dts

[PATCH RESEND 04/10] ARM: dts: AM33XX: Add volume-keys device tree data to am335x-evm

2012-11-06 Thread AnilKumar Ch
Add gpio based volume keys device tree data to am335x-evm by adding all the required parameters like keycode, gpios and etc. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm

[PATCH RESEND 10/10] ARM: dts: AM33XX: Add push-buttons device tree data to am335x-evmsk

2012-11-06 Thread AnilKumar Ch
Add gpio based push buttons device tree data to am335x-evmsk device by adding all the necessary parameters like key-code, gpios and etc. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts | 31 +++ 1 file changed, 31 insertions

[PATCH RESEND 01/10] ARM: dts: AM33XX: Add pinmux configuration for matrix keypad to EVM

2012-11-06 Thread AnilKumar Ch
is functional as expected. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index 513284f..9199456 100644 --- a/arch/arm/boot/dts/am335x

[PATCH RESEND 03/10] ARM: dts: AM33XX: Add pinmux configuration for volume-keys to EVM

2012-11-06 Thread AnilKumar Ch
is functional as expected. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-evm.dts |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index 8076e66..e087b87 100644 --- a/arch/arm/boot/dts

[PATCH 4/4] ARM: dts: AM33XX: Enable system power off control in am335x-bone

2012-11-05 Thread AnilKumar Ch
Enable system power off control for BeagleBone in am335x-bone.dts file under rtc node. RTC is the incharge of controlling the system power. This flag is used by the driver to hook up the pm_power_off system call. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-bone.dts

[PATCH 0/4] pm: Add power off control

2012-11-05 Thread AnilKumar Ch
ALARM2 interrupt These patches were tested on AM335x-Bone. AnilKumar Ch (2): ARM: dts: AM33XX: Set pmic-shutdown-controller for BeagleBone ARM: dts: AM33XX: Enable system power off control in am335x-bone Colin Foe-Parker (2): mfd: tps65217: Set PMIC to shutdowm on PWR_EN toggle rtc: OMAP: Add

[PATCH 3/4] ARM: dts: AM33XX: Set pmic-shutdown-controller for BeagleBone

2012-11-05 Thread AnilKumar Ch
Set ti,pmic-shutdown-controller for BeagleBone in am335x-bone.dts file, this flag is used by the driver to set tps65217 PMIC status to OFF when PWR_EN toggle. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-bone.dts |2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 1/4] mfd: tps65217: Set PMIC to shutdowm on PWR_EN toggle

2012-11-05 Thread AnilKumar Ch
to tps65217 MFD driver] Signed-off-by: AnilKumar Ch anilku...@ti.com --- .../devicetree/bindings/regulator/tps65217.txt |4 drivers/mfd/tps65217.c | 12 2 files changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator

[PATCH 2/4] rtc: OMAP: Add system pm_power_off to rtc driver

2012-11-05 Thread AnilKumar Ch
RTC. Signed-off-by: Colin Foe-Parker colin.foepar...@logicpd.com [anilku...@ti.com: move poweroff additions to rtc driver] Signed-off-by: AnilKumar Ch anilku...@ti.com --- Documentation/devicetree/bindings/rtc/rtc-omap.txt |5 ++ drivers/rtc/rtc-omap.c | 79

[PATCH 10/10] ARM: dts: AM33XX: Add push-buttons device tree data to am335x-evmsk

2012-11-05 Thread AnilKumar Ch
Add gpio based push buttons device tree data to am335x-evmsk device by adding all the necessary parameters like key-code, gpios and etc. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts | 31 +++ 1 file changed, 31 insertions

[PATCH 03/10] ARM: dts: AM33XX: Add pinmux configuration for volume-keys to EVM

2012-11-05 Thread AnilKumar Ch
is functional as expected. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-evm.dts |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index 8076e66..e087b87 100644 --- a/arch/arm/boot/dts

[PATCH 09/10] ARM: dts: AM33XX: Add pinmux configuration for gpio-keys to EVMSK

2012-11-05 Thread AnilKumar Ch
module is functional as expected. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts index 7262fa8..0f825dd 100644

[PATCH 01/10] ARM: dts: AM33XX: Add pinmux configuration for matrix keypad to EVM

2012-11-05 Thread AnilKumar Ch
is functional as expected. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index 513284f..9199456 100644 --- a/arch/arm/boot/dts/am335x

[PATCH 08/10] ARM: dts: AM33XX: Add user-leds device tree data to am335x-evmsk

2012-11-05 Thread AnilKumar Ch
Add gpio-leds device tree data to am335x-evmsk device to enable gpio based user-leds (USR0, USR1, USR2 and USR3) present on am335x starter kit. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts | 30 ++ 1 file changed, 30 insertions

[PATCH 05/10] ARM: dts: AM33XX: Add pinmux configuration for user-leds to BONE

2012-11-05 Thread AnilKumar Ch
module is functional as expected. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-bone.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts index 6f9c48e..0bd0355 100644 --- a/arch

[PATCH 06/10] ARM: dts: AM33XX: Add user-leds device tree data to am335x-bone

2012-11-05 Thread AnilKumar Ch
Add gpio-leds device tree data to am335x-bone device to enable gpio based user-leds (USR0, USR1, USR2 and USR3) present on BeagleBone. [k...@dominion.thruhere.net: led0, led1 suggested by koen] Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-bone.dts | 30

[PATCH 04/10] ARM: dts: AM33XX: Add volume-keys device tree data to am335x-evm

2012-11-05 Thread AnilKumar Ch
Add gpio based volume keys device tree data to am335x-evm by adding all the required parameters like keycode, gpios and etc. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm

[PATCH 00/10] ARM: dts: AM33XX: Add device tree data

2012-11-05 Thread AnilKumar Ch
default state pinmux/conf settings are added because of sleep/idle state pinctrl values are not available. These patches are based on linux-omap-dt:for_3.8/dts tree and these were tested on am33xx devices according to added functionality. AnilKumar Ch (10): ARM: dts: AM33XX: Add pinmux configuration

[PATCH 07/10] ARM: dts: AM33XX: Add pinmux configuration for gpio-leds to EVMSK

2012-11-05 Thread AnilKumar Ch
. With this configurations module is functional as expected. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts index 6f53879..659ec5b 100644

[PATCH 02/10] ARM: dts: AM33XX: Add matrix keypad device tree data to am335x-evm

2012-11-05 Thread AnilKumar Ch
Add matrix keypad device tree data to am335x-evm by adding all the necessary parameters like keymap, row column gpios and etc. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-evm.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm

[PATCH v3] Input: matrix-keypad - Add device tree support

2012-11-02 Thread AnilKumar Ch
Add device tree support to matrix keypad driver and usage details are added to device tree documentation. Driver was tested on AM335x EVM. Signed-off-by: AnilKumar Ch anilku...@ti.com --- This patch was tested on AM335x-EVM with DT patches, DT data patches will be submitted once this is accepted

[PATCH] Documentation: dt: i2c: Update trivial-devices list

2012-10-19 Thread AnilKumar Ch
Update i2c trivial-devices list by adding the description for ti,tmp275 temperature sensor and taos,tsl2550 ambient light sensor. Signed-off-by: AnilKumar Ch anilku...@ti.com --- .../devicetree/bindings/i2c/trivial-devices.txt|2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 1/2] Input: matrix-keypad - remove const from pointer to array of gpios

2012-10-19 Thread AnilKumar Ch
Remove const from pointer to array of gpios in matrix_keypad_platform_data struct. This is required if we update row_gpios and col_gpios based on device tree data. Signed-off-by: AnilKumar Ch anilku...@ti.com --- include/linux/input/matrix_keypad.h |4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 0/2] Input: matrix-keypad - Add device tree support

2012-10-19 Thread AnilKumar Ch
Add device tree support to matrix keypad driver by adding all necessary DT parameters. Also added device tree bindings. These patches were tested on AM335x-EVM with DT patches, DT patches will be submitted once these are accepted. AnilKumar Ch (2): Input: matrix-keypad - remove const from

[PATCH 2/2] Input: matrix-keypad - Add device tree support

2012-10-19 Thread AnilKumar Ch
Add device tree support to matrix keypad driver and usage details are added to device tree documentation. Driver was tested on AM335x EVM. Signed-off-by: AnilKumar Ch anilku...@ti.com --- .../devicetree/bindings/input/matrix-keypad.txt| 52 ++ drivers/input/keyboard/matrix_keypad.c

[PATCH v3 0/4] lis3: lis3lv02d_i2c: Add device tree support

2012-09-17 Thread AnilKumar Ch
drivers with some code clean-up. - Added lis331dlh compatible entry for lis331dlh parts AnilKumar Ch (4): lis3: lis3lv02d: remove lis3lv02d driver DT init lis3: lis3lv02d_spi: Add lis3lv02d device tree init lis3: lis3lv02d_i2c: Add lis3lv02d device tree init ARM: dts: AM33XX

[PATCH v3 4/4] ARM: dts: AM33XX: Add lis331dlh device tree data to am335x-evm

2012-09-17 Thread AnilKumar Ch
Add lis331dlh device tree data to am335x-evm.dts. In AM335x EVM lis331dlh accelerometer is connected to I2C2 bus. So this patch change the status of I2C2 node to okay to use I2C2 bus. Also added all the required platform data to am335x-evm. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch

[PATCH v3 1/4] lis3: lis3lv02d: remove lis3lv02d driver DT init

2012-09-17 Thread AnilKumar Ch
Remove lis3lv02d driver device tree initialization from core driver and move it to individual drivers. With the current implementation some pdata parameters are missing if we use lis3lv02d_init_device() in lis3lv02d_i2c driver. Signed-off-by: AnilKumar Ch anilku...@ti.com --- drivers/misc

[PATCH v3 2/4] lis3: lis3lv02d_spi: Add lis3lv02d device tree init

2012-09-17 Thread AnilKumar Ch
Add lis3lv02d device tree initialization code/API to take pdata from device node. Also remove CONFIG_OF ifdef from the driver, if CONFIG_OF is not defined then OF APIs returns 0. Signed-off-by: AnilKumar Ch anilku...@ti.com --- drivers/misc/lis3lv02d/lis3lv02d_spi.c |8 +--- 1 file

[PATCH v3 3/4] lis3: lis3lv02d_i2c: Add lis3lv02d device tree init

2012-09-17 Thread AnilKumar Ch
driver. Signed-off-by: AnilKumar Ch anilku...@ti.com --- Documentation/devicetree/bindings/misc/lis302.txt | 36 + drivers/misc/lis3lv02d/lis3lv02d_i2c.c| 18 +++ 2 files changed, 54 insertions(+) diff --git a/Documentation/devicetree/bindings/misc/lis302

[PATCH v2 2/4] lis3: lis3lv02d_spi: Add lis3lv02d device tree init

2012-09-14 Thread AnilKumar Ch
Add lis3lv02d device tree initialization code/API to take pdata from device node. Also remove CONFIG_OF ifdef from the driver, if CONFIG_OF is not defined then OF APIs returns 0. Signed-off-by: AnilKumar Ch anilku...@ti.com --- drivers/misc/lis3lv02d/lis3lv02d_spi.c |8 +--- 1 file

[PATCH v2 1/4] lis3: lis3lv02d: remove lis3lv02d driver DT init

2012-09-14 Thread AnilKumar Ch
Remove lis3lv02d driver device tree initialization from core driver and move it to individual drivers. With the current implementation some pdata parameters are missing if we use lis3lv02d_init_device() in lis3lv02d_i2c driver. Signed-off-by: AnilKumar Ch anilku...@ti.com --- drivers/misc

[PATCH v2 4/4] ARM: dts: AM33XX: Add lis331dlh device tree data to am335x-evm

2012-09-14 Thread AnilKumar Ch
Add lis331dlh device tree data to am335x-evm.dts. In AM335x EVM lis331dlh accelerometer is connected to I2C2 bus. So this patch change the status of I2C2 node to okay to use I2C2 bus. Also added all the required platform data to am335x-evm. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch

[PATCH v2 3/4] lis3: lis3lv02d_i2c: Add lis3lv02d device tree init

2012-09-14 Thread AnilKumar Ch
driver. Signed-off-by: AnilKumar Ch anilku...@ti.com --- drivers/misc/lis3lv02d/lis3lv02d_i2c.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/misc/lis3lv02d/lis3lv02d_i2c.c b/drivers/misc/lis3lv02d/lis3lv02d_i2c.c index 15255eb..56b5124 100644 --- a/drivers/misc

[PATCH v2 0/4] lis3: lis3lv02d_i2c: Add device tree support

2012-09-14 Thread AnilKumar Ch
-EVM. Changes from v1: - Moved lis3lv02d_init_dt to individual drivers with some code clean-up. - Added lis331dlh compatible entry for lis331dlh parts AnilKumar Ch (4): lis3: lis3lv02d: remove lis3lv02d driver DT init lis3: lis3lv02d_spi: Add lis3lv02d device tree

[PATCH 1/2] lis3: lis3lv02d_i2c: Add device tree support

2012-09-13 Thread AnilKumar Ch
Add device tree matching table support to lis3lv02d_i2c driver. If the driver data is passed from device tree, then this driver picks up platform data from device node through common/generic lis3lv02d.c driver. Signed-off-by: AnilKumar Ch anilku...@ti.com --- drivers/misc/lis3lv02d

[PATCH 2/2] ARM: dts: AM33XX: Add lis331dlh device tree data to am335x-evm

2012-09-13 Thread AnilKumar Ch
Add lis331dlh device tree data to am335x-evm.dts. In AM335x EVM lis331dlh accelerometer is connected to I2C2 bus. So this patch change the status to okay to use I2C2 bus. Also added all the required platform data to am335x-evm. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts

[PATCH v7 2/3] arm/dts: AM33XX: Configure pinmuxs for user leds control on Bone

2012-09-06 Thread AnilKumar Ch
Adds GPIO pinctrl nodes to am3358_pinmux master node to control user leds (USR0, USR1, USR2 and USR3) present on BeagleBone. [k...@dominion.thruhere.net: led0, led1 suggested by koen] Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-bone.dts | 43

[PATCH v7 3/3] arm/dts: AM33XX: Add D_CAN device tree data

2012-09-06 Thread AnilKumar Ch
Add Bosch D_CAN controller device tree data to AM33XX dtsi file by adding d_can device nodes with all the necessary parameters. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot

[PATCH v7 1/3] arm/dts: AM33XX: Add basic pinctrl device tree data

2012-09-06 Thread AnilKumar Ch
Adds basic pinctrl device tree data for AM33XX family of devices. This patch is based on the pinctrl-single driver. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am33xx.dtsi |9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch

[PATCH v7 0/3] arm/dts: Add device tree data for AM33XX devices

2012-09-06 Thread AnilKumar Ch
to GPIO mode. Changes from v3: - Updated the reg length based on latest AM335x TRM. Changes from v2: - user led pinmux comments updated according to Tony's comment. Changes from v1: - Rebased the patches based on latest pinctrl-single driver AnilKumar Ch (3

[PATCH v6 0/3] arm/dts: Add device tree data for AM33XX devices

2012-09-05 Thread AnilKumar Ch
: - user led pinmux comments updated according to Tony's comment. Changes from v1: - Rebased the patches based on latest pinctrl-single driver AnilKumar Ch (3): arm/dts: AM33XX: Add basic pinctrl device tree data arm/dts: AM33XX: Configure pinmuxs for user leds

[PATCH RESEND v5 1/3] arm/dts: AM33XX: Add basic pinctrl device tree data

2012-09-05 Thread AnilKumar Ch
Adds basic pinctrl device tree data for AM33XX family of devices. This patch is based on the pinctrl-single driver. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am33xx.dtsi |9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch

[PATCH RESEND v5 3/3] arm/dts: AM33XX: Add D_CAN device tree data

2012-09-05 Thread AnilKumar Ch
Add Bosch D_CAN controller device tree data to AM33XX dtsi file by adding d_can device nodes with all the necessary parameters. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot

[PATCH v6 2/3] arm/dts: AM33XX: Configure pinmuxs for user leds control on Bone

2012-09-05 Thread AnilKumar Ch
Adds GPIO pinctrl nodes to am3358_pinmux master node to control user leds (USR0, USR1, USR2 and USR3) present on BeagleBone. [k...@dominion.thruhere.net: led0, led1 suggested by koen] Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-bone.dts | 43

[PATCH v2] leds: leds-gpio: adopt pinctrl support

2012-09-01 Thread AnilKumar Ch
Adopt pinctrl support to leds-gpio driver based on leds-gpio device pointer, pinctrl driver configure SoC pins to GPIO mode according to definitions provided in .dts file. Signed-off-by: AnilKumar Ch anilku...@ti.com --- Changes from v1: - Seperated from Add DT for AM33XX devices patch

[PATCH v5 1/5] arm/dts: AM33XX: Add basic pinctrl device tree data

2012-08-31 Thread AnilKumar Ch
Adds basic pinctrl device tree data for AM33XX family of devices. This patch is based on the pinctrl-single driver. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am33xx.dtsi |9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch

[PATCH v5 3/5] arm/dts: AM33XX: Add D_CAN device tree data

2012-08-31 Thread AnilKumar Ch
Add Bosch D_CAN controller device tree data to AM33XX dtsi file by adding d_can device nodes with all the necessary parameters. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot

[PATCH v5 2/5] arm/dts: AM33XX: Configure pinmuxs for user leds control on Bone

2012-08-31 Thread AnilKumar Ch
Adds GPIO pinctrl nodes to am3358_pinmux master node to control user leds (USR0, USR1, USR2 and USR3) present on BeagleBone. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-bone.dts | 41 + 1 file changed, 41 insertions(+) diff

[PATCH 4/5] leds: leds-gpio: adopt pinctrl support

2012-08-31 Thread AnilKumar Ch
Adopt pinctrl support to leds-gpio driver, based on the device pointer (leds-gpio) pinctrl driver configure SoC pins to GPIO mode. Signed-off-by: AnilKumar Ch anilku...@ti.com --- drivers/leds/leds-gpio.c | 31 --- 1 file changed, 24 insertions(+), 7 deletions

[PATCH 5/5] of: Modify c_can binding documentation

2012-08-31 Thread AnilKumar Ch
Modify c_can binding documentation according to recent review comments on device tree data addition patches. Signed-off-by: AnilKumar Ch anilku...@ti.com --- .../devicetree/bindings/net/can/c_can.txt | 25 1 file changed, 20 insertions(+), 5 deletions(-) diff

[PATCH v5 0/5] Add device tree data for AM33XX devices

2012-08-31 Thread AnilKumar Ch
: - Updated the reg length based on latest AM335x TRM. Changes from v2: - user led pinmux comments updated according to Tony's comment. Changes from v1: - Rebased the patches based on latest pinctrl-single driver AnilKumar Ch (5): arm/dts: AM33XX: Add basic pinctrl device

[PATCH 0/2] ARM: OMAP2: AM33XX: Add cpufreq support

2012-08-31 Thread AnilKumar Ch
AnilKumar Ch (2): ARM: OMAP2+: AM33XX: Add clock entries to omap_clk data arm/dts: AM33XX: Add device tree OPP table arch/arm/boot/dts/am335x-bone.dts|6 ++ arch/arm/boot/dts/am335x-evm.dts |6 ++ arch/arm/boot/dts/am33xx.dtsi| 15 +++ arch/arm

[PATCH 1/2] ARM: OMAP2+: AM33XX: Add clock entries to omap_clk data

2012-08-31 Thread AnilKumar Ch
Add AM335x cpu0 clock entry to the corresponding clock data file. This is useful in getting the correct mpu clock pointer to change the cpu frequency in cpufreq driver. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/mach-omap2/clock33xx_data.c |1 + 1 file changed, 1 insertion

[PATCH 2/2] arm/dts: AM33XX: Add device tree OPP table

2012-08-31 Thread AnilKumar Ch
-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-bone.dts |6 ++ arch/arm/boot/dts/am335x-evm.dts |6 ++ arch/arm/boot/dts/am33xx.dtsi | 15 +++ 3 files changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x

[PATCH v4 0/3] Add device tree data for AM33XX devices

2012-08-28 Thread AnilKumar Ch
based on latest pinctrl-single driver AnilKumar Ch (3): arm/dts: AM33XX: Add basic pinctrl device tree data arm/dts: AM33XX: Configure pinmuxs for user leds control on Bone arm/dts: AM33XX: Add D_CAN device tree data arch/arm/boot/dts/am335x-bone.dts | 14 ++ arch/arm/boot/dts

[PATCH v4 3/3] arm/dts: AM33XX: Add D_CAN device tree data

2012-08-28 Thread AnilKumar Ch
Add Bosch D_CAN controller device tree data to AM33XX dtsi file by adding d_can device nodes with all the necessary parameters. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot

[PATCH RESEND v4 2/3] arm/dts: AM33XX: Configure pinmuxs for user leds control on Bone

2012-08-28 Thread AnilKumar Ch
Adds GPIO pinctrl nodes to am3358_pinmux master node to control user leds (USR0, USR1, USR2 and USR3) present on BeagleBone. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-bone.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH 0/4] Add device tree data for AM33XX devices

2012-08-16 Thread AnilKumar Ch
on AM335x-Bone and AM335x-EVM apply on linux-omap:devel-dt tree with this patch http://lkml.org/lkml/2012/8/15/106 AnilKumar Ch (4): arm/dts: AM33XX: Add basic pinctrl device tree data arm/dts: AM33XX: Configure pinmuxs for user leds control on Bone arm/dts: AM33XX: Configure pinmuxs

[PATCH v3 3/4] arm/dts: AM33XX: Configure pinmuxs for D_CAN1 on AM335x-EVM

2012-08-16 Thread AnilKumar Ch
Add D_CAN1 pinctrl node to am3358_pinmux master node to export D_CAN functionality on AM335x EVM according to pinctrl-single driver. Signed-off-by: AnilKumar Ch anilku...@ti.com --- Changes from v2: - Incorporated Vaibhav H's comments on v2 * Added dcan0 instances to am33xx.dtsi

[PATCH v4 2/4] arm/dts: AM33XX: Configure pinmuxs for user leds control on Bone

2012-08-16 Thread AnilKumar Ch
Adds GPIO pinctrl nodes to am3358_pinmux master node to control user leds (USR0, USR1, USR2 and USR3) present on BeagleBone. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-bone.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH v3 4/4] arm/dts: AM33XX: Add D_CAN device tree data

2012-08-16 Thread AnilKumar Ch
Add Bosch D_CAN controller device tree data to AM33XX dtsi file by adding d_can device nodes with all the necessary parameters. Signed-off-by: AnilKumar Ch anilku...@ti.com --- arch/arm/boot/dts/am335x-evm.dts |4 arch/arm/boot/dts/am33xx.dtsi| 18 ++ 2 files

[PATCH v4 1/4] arm/dts: AM33XX: Add basic pinctrl device tree data

2012-08-16 Thread AnilKumar Ch
Adds basic pinctrl device tree data for AM33XX family of devices. This patch is based on the pinctrl-single driver. Signed-off-by: AnilKumar Ch anilku...@ti.com --- Changes from v3: - Updated the reg length based on latest AM335x TRM. Changes from v2: - user led pinmux comments

[PATCH v3 0/3] Add DT support to C_CAN/D_CAN controller

2012-08-02 Thread AnilKumar Ch
* Modified c_can_dev_id enum to handle both devtype and platform device id index. * Removed legacy bosch,c_can_platform from DT bindings AnilKumar Ch (3): can: c_can: Add device tree support to Bosch C_CAN/D_CAN controller can: c_can: Modify c_can device names

[PATCH v3 1/3] can: c_can: Add device tree support to Bosch C_CAN/D_CAN controller

2012-08-02 Thread AnilKumar Ch
Add device tree support to C_CAN/D_CAN controller and usage details are added to device tree documentation. Driver was tested on AM335x EVM. Signed-off-by: AnilKumar Ch anilku...@ti.com --- .../devicetree/bindings/net/can/c_can.txt | 37 + drivers/net/can/c_can/c_can.h

[PATCH v3 3/3] can: c_can: Add runtime PM support to Bosch C_CAN/D_CAN controller

2012-08-02 Thread AnilKumar Ch
Add Runtime PM support to C_CAN/D_CAN controller. The runtime PM APIs control clocks for C_CAN/D_CAN IP and prevent access to the register of C_CAN/D_CAN IP when clock is turned off. Signed-off-by: AnilKumar Ch anilku...@ti.com --- drivers/net/can/c_can/c_can_platform.c |8 1 file

[PATCH v4 1/3] can: c_can: Modify c_can device names

2012-08-02 Thread AnilKumar Ch
Modify c_can device names from *_CAN_DEVTYPE to BOSCH_*_CAN to make use of same names for array indexes in c_can_id_table[] as well as device names. This patch also add indexes to c_can_id_table array. Signed-off-by: AnilKumar Ch anilku...@ti.com --- drivers/net/can/c_can/c_can.h

[PATCH v3 0/3] Add DT support to C_CAN/D_CAN controller

2012-08-02 Thread AnilKumar Ch
into CAN driver specific and device tree data addition specific. - Incorporated Marc's comments on v1 * Modified c_can_dev_id enum to handle both devtype and platform device id index. * Removed legacy bosch,c_can_platform from DT bindings AnilKumar

  1   2   >