[PATCH v2 2/2] regulator: tps65132: add device-tree binding

2017-04-12 Thread Venkat Reddy Talla
Add tps65132 regulator device-tree binding documentation Signed-off-by: Venkat Reddy Talla <vreddyta...@nvidia.com> --- Changes for v2: - change dts property names - add reg dts property --- .../bindings/regulator/tps65132-regulator.txt | 46 ++ 1 file chang

[PATCH v2 2/2] regulator: tps65132: add device-tree binding

2017-04-12 Thread Venkat Reddy Talla
Add tps65132 regulator device-tree binding documentation Signed-off-by: Venkat Reddy Talla --- Changes for v2: - change dts property names - add reg dts property --- .../bindings/regulator/tps65132-regulator.txt | 46 ++ 1 file changed, 46 insertions(+) create mode

[PATCH v2 1/2] regulator: tps65132: add regulator driver for TI TPS65132

2017-04-12 Thread Venkat Reddy Talla
output. Signed-off-by: Venkat Reddy Talla <vreddyta...@nvidia.com> Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com> --- Changes for v2: - use of_parse_cb to parse dts properties - change dts property names - use module_i2c_driver --- drivers/regulator/Kconfig |

[PATCH v2 1/2] regulator: tps65132: add regulator driver for TI TPS65132

2017-04-12 Thread Venkat Reddy Talla
output. Signed-off-by: Venkat Reddy Talla Signed-off-by: Laxman Dewangan --- Changes for v2: - use of_parse_cb to parse dts properties - change dts property names - use module_i2c_driver --- drivers/regulator/Kconfig | 8 + drivers/regulator/Makefile | 1 + drivers

[PATCH 2/2] regulator: tps65132: add device-tree binding

2017-03-06 Thread Venkat Reddy Talla
Adding tps65132 regulator devicetree binding documentation Signed-off-by: Venkat Reddy Talla <vreddyta...@nvidia.com> --- .../bindings/regulator/tps65132-regulator.txt | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bi

[PATCH 2/2] regulator: tps65132: add device-tree binding

2017-03-06 Thread Venkat Reddy Talla
Adding tps65132 regulator devicetree binding documentation Signed-off-by: Venkat Reddy Talla --- .../bindings/regulator/tps65132-regulator.txt | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/tps65132

[PATCH 1/2] regulator: tps65132: add regulator driver for TI TPS65132

2017-03-06 Thread Venkat Reddy Talla
output. Signed-off-by: Venkat Reddy Talla <vreddyta...@nvidia.com> --- drivers/regulator/Kconfig | 8 + drivers/regulator/Makefile | 1 + drivers/regulator/tps65132-regulator.c | 327 + 3 files changed, 336 insertions(+) creat

[PATCH 1/2] regulator: tps65132: add regulator driver for TI TPS65132

2017-03-06 Thread Venkat Reddy Talla
output. Signed-off-by: Venkat Reddy Talla --- drivers/regulator/Kconfig | 8 + drivers/regulator/Makefile | 1 + drivers/regulator/tps65132-regulator.c | 327 + 3 files changed, 336 insertions(+) create mode 100644 drivers/regulator

[PATCH] rtc: max77683: avoid regmap bulk write for max77620

2016-12-12 Thread Venkat Reddy Talla
Adding support to avoid regmap bulk write for the devices which are not supported register bulk write. Max77620 RTC device does not support register bulk write so disabling regmap bulk write for max77620 rtc device and enabling only for max77683. Signed-off-by: Venkat Reddy Talla <vredd

[PATCH] rtc: max77683: avoid regmap bulk write for max77620

2016-12-12 Thread Venkat Reddy Talla
Adding support to avoid regmap bulk write for the devices which are not supported register bulk write. Max77620 RTC device does not support register bulk write so disabling regmap bulk write for max77620 rtc device and enabling only for max77683. Signed-off-by: Venkat Reddy Talla --- drivers

[PATCH v2 2/2] dt-bindings: max77620: add documentation for MPOK property

2016-11-17 Thread Venkat Reddy Talla
Adding documentation for maxim,power-ok-control dts property Signed-off-by: Venkat Reddy Talla <vreddyta...@nvidia.com> --- Changes from V1: None --- Documentation/devicetree/bindings/mfd/max77620.txt | 12 1 file changed, 12 insertions(+) diff --git a/Documentation/devi

[PATCH v2 2/2] dt-bindings: max77620: add documentation for MPOK property

2016-11-17 Thread Venkat Reddy Talla
Adding documentation for maxim,power-ok-control dts property Signed-off-by: Venkat Reddy Talla --- Changes from V1: None --- Documentation/devicetree/bindings/mfd/max77620.txt | 12 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/max77620.txt

[PATCH v2 1/2] regulator: max77620: add support to configure MPOK

2016-11-17 Thread Venkat Reddy Talla
, to avoid this MPOK bit of those regulators need to be set to 0 so that PMIC GPIO1 will not go low. Signed-off-by: Venkat Reddy Talla <vreddyta...@nvidia.com> --- changes in v2: - updated commit message for the patch - address review comments --- drivers/regulator/max77620-regulator.

[PATCH v2 1/2] regulator: max77620: add support to configure MPOK

2016-11-17 Thread Venkat Reddy Talla
, to avoid this MPOK bit of those regulators need to be set to 0 so that PMIC GPIO1 will not go low. Signed-off-by: Venkat Reddy Talla --- changes in v2: - updated commit message for the patch - address review comments --- drivers/regulator/max77620-regulator.c | 46

[PATCH 2/2] dt-bindings: max77620: add documentation for MPOK property

2016-11-16 Thread Venkat Reddy Talla
Adding documentation for maxim,power-ok-control dts property Signed-off-by: Venkat Reddy Talla <vreddyta...@nvidia.com> --- Documentation/devicetree/bindings/mfd/max77620.txt | 12 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/max77620.

[PATCH 2/2] dt-bindings: max77620: add documentation for MPOK property

2016-11-16 Thread Venkat Reddy Talla
Adding documentation for maxim,power-ok-control dts property Signed-off-by: Venkat Reddy Talla --- Documentation/devicetree/bindings/mfd/max77620.txt | 12 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/max77620.txt b/Documentation/devicetree

[PATCH 1/2] regulator: max77620: add support to configure MPOK

2016-11-16 Thread Venkat Reddy Talla
Adding support to configure regulator POK mapping bit to control nRST_IO and GPIO1 POK function. Signed-off-by: Venkat Reddy Talla <vreddyta...@nvidia.com> --- drivers/regulator/max77620-regulator.c | 39 ++ include/linux/mfd/max77620.h | 2 ++ 2

[PATCH 1/2] regulator: max77620: add support to configure MPOK

2016-11-16 Thread Venkat Reddy Talla
Adding support to configure regulator POK mapping bit to control nRST_IO and GPIO1 POK function. Signed-off-by: Venkat Reddy Talla --- drivers/regulator/max77620-regulator.c | 39 ++ include/linux/mfd/max77620.h | 2 ++ 2 files changed, 41 insertions

[PATCH] extcon: adc-jack: update cable state during boot

2016-07-05 Thread Venkat Reddy Talla
Update cable state during boot to avoid any missing external cable events occurred before driver initialisation. Signed-off-by: Venkat Reddy Talla <vreddyta...@nvidia.com> --- drivers/extcon/extcon-adc-jack.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/extcon/extcon-adc-ja

[PATCH] extcon: adc-jack: update cable state during boot

2016-07-05 Thread Venkat Reddy Talla
Update cable state during boot to avoid any missing external cable events occurred before driver initialisation. Signed-off-by: Venkat Reddy Talla --- drivers/extcon/extcon-adc-jack.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/extcon/extcon-adc-jack.c b/drivers/extcon/extcon

[PATCH] extcon: adc-jack: add suspend/resume support

2016-06-30 Thread Venkat Reddy Talla
adding suspend and resume funtionality for extcon-adc-jack driver to configure system wake up for extcon events, also adding support to enable/disable system wakeup through flag wakeup_source based on platform requirement. Signed-off-by: Venkat Reddy Talla <vreddyta...@nvidia.com> --- d

[PATCH] extcon: adc-jack: add suspend/resume support

2016-06-30 Thread Venkat Reddy Talla
adding suspend and resume funtionality for extcon-adc-jack driver to configure system wake up for extcon events, also adding support to enable/disable system wakeup through flag wakeup_source based on platform requirement. Signed-off-by: Venkat Reddy Talla --- drivers/extcon/extcon-adc-jack.c

[PATCH v2 1/1] regulator: max77620: check for valid regulator info

2016-06-29 Thread Venkat Reddy Talla
pointer exception if regulator not registered with core. Signed-off-by: Venkat Reddy Talla <vreddyta...@nvidia.com> --- changes in v2: - updated commit message for the patch --- drivers/regulator/max77620-regulator.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/d

[PATCH v2 1/1] regulator: max77620: check for valid regulator info

2016-06-29 Thread Venkat Reddy Talla
pointer exception if regulator not registered with core. Signed-off-by: Venkat Reddy Talla --- changes in v2: - updated commit message for the patch --- drivers/regulator/max77620-regulator.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/max77620

RE: [PATCH 1/1] regulator: max77620: check for valid regulator info

2016-06-27 Thread Venkat Reddy Talla
> * PGP Signed by an unknown key > > On Mon, Jun 27, 2016 at 05:13:44PM +0530, Venkat Reddy Talla wrote: > > Check for valid regulator information data before configuring FPS > > source and FPS power up/down period to avoid NULL pointer exception if > > entries for P

RE: [PATCH 1/1] regulator: max77620: check for valid regulator info

2016-06-27 Thread Venkat Reddy Talla
> * PGP Signed by an unknown key > > On Mon, Jun 27, 2016 at 05:13:44PM +0530, Venkat Reddy Talla wrote: > > Check for valid regulator information data before configuring FPS > > source and FPS power up/down period to avoid NULL pointer exception if > > entries for P

[PATCH 1/1] regulator: max77620: check for valid regulator info

2016-06-27 Thread Venkat Reddy Talla
. Signed-off-by: Venkat Reddy Talla <vreddyta...@nvidia.com> --- drivers/regulator/max77620-regulator.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/max77620-regulator.c b/drivers/regulator/max77620-regulator.c index 321e804..a1b49a6

[PATCH 1/1] regulator: max77620: check for valid regulator info

2016-06-27 Thread Venkat Reddy Talla
. Signed-off-by: Venkat Reddy Talla --- drivers/regulator/max77620-regulator.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/max77620-regulator.c b/drivers/regulator/max77620-regulator.c index 321e804..a1b49a6 100644 --- a/drivers/regulator/max77620

[PATCH 1/1] gpio: max77620: get gpio value based on direction

2016-06-27 Thread Venkat Reddy Talla
Gpio direction is determined by DIRx bit of GPIO configuration register, return max77620 gpio value based on direction in or out. Signed-off-by: Venkat Reddy Talla <vreddyta...@nvidia.com> --- drivers/gpio/gpio-max77620.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff

[PATCH 1/1] gpio: max77620: get gpio value based on direction

2016-06-27 Thread Venkat Reddy Talla
Gpio direction is determined by DIRx bit of GPIO configuration register, return max77620 gpio value based on direction in or out. Signed-off-by: Venkat Reddy Talla --- drivers/gpio/gpio-max77620.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-max77620

RE: [PATCH v4] extcon: gpio: Add the support for Device tree bindings

2016-05-26 Thread Venkat Reddy Talla
g/lkml/2015/10/21/906 > > > Thanks, > Chanwoo Choi > > > On Thu, May 26, 2016 at 8:47 PM, Venkat Reddy Talla > <vreddyta...@nvidia.com> wrote: > > Add the support for Device tree bindings of extcon-gpio driver. > > The extcon-gpio device tree node

RE: [PATCH v4] extcon: gpio: Add the support for Device tree bindings

2016-05-26 Thread Venkat Reddy Talla
g/lkml/2015/10/21/906 > > > Thanks, > Chanwoo Choi > > > On Thu, May 26, 2016 at 8:47 PM, Venkat Reddy Talla > wrote: > > Add the support for Device tree bindings of extcon-gpio driver. > > The extcon-gpio device tree node must i

[PATCH v4] extcon: gpio: Add the support for Device tree bindings

2016-05-26 Thread Venkat Reddy Talla
econd */ wakeup-source; } _usb { extcon = <_cable>; }; { extcon = <_cable>; }; Signed-off-by: Venkat Reddy Talla <vreddyta...@nvidia.com> Signed-off-by: Chanwoo Choi <cw00.c...@samsung.com> Signed-off-by

[PATCH v4] extcon: gpio: Add the support for Device tree bindings

2016-05-26 Thread Venkat Reddy Talla
econd */ wakeup-source; } _usb { extcon = <_cable>; }; { extcon = <_cable>; }; Signed-off-by: Venkat Reddy Talla Signed-off-by: Chanwoo Choi Signed-off-by: MyungJoo Ham --- changes from v3: - add description for wa

[PATCH v2 2/2] extcon: gpio: add DT binding doc for extcon-gpio

2016-05-25 Thread Venkat Reddy Talla
Adding DT binding doc for extcon gpio device properties. Signed-off-by: Venkat Reddy Talla <vreddyta...@nvidia.com> --- changes in v2: - added description for extcon-gpio - using gpio flag cell to handle gpio active state - change dts property name gpio to gpios - removed prefix for de

[PATCH v2 2/2] extcon: gpio: add DT binding doc for extcon-gpio

2016-05-25 Thread Venkat Reddy Talla
Adding DT binding doc for extcon gpio device properties. Signed-off-by: Venkat Reddy Talla --- changes in v2: - added description for extcon-gpio - using gpio flag cell to handle gpio active state - change dts property name gpio to gpios - removed prefix for debounce - added description

[PATCH v2 1/2] extcon: gpio: add device tree support for extcon-gpio

2016-05-25 Thread Venkat Reddy Talla
Adding device tree support for extcon-gpio driver. Signed-off-by: Venkat Reddy Talla <vreddyta...@nvidia.com> --- changes in v2: - using gpio flag cell to handle gpio active state - change dts property name gpio to gpios - removed prefix for debounce --- --- drivers/extcon/extcon-

[PATCH v2 1/2] extcon: gpio: add device tree support for extcon-gpio

2016-05-25 Thread Venkat Reddy Talla
Adding device tree support for extcon-gpio driver. Signed-off-by: Venkat Reddy Talla --- changes in v2: - using gpio flag cell to handle gpio active state - change dts property name gpio to gpios - removed prefix for debounce --- --- drivers/extcon/extcon-gpio.c | 80

RE: [PATCH 2/2] extcon: gpio: add DT binding doc for extcon-gpio

2016-05-17 Thread Venkat Reddy Talla
Thanks for review, please find my inline reply. > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: Wednesday, May 04, 2016 7:01 PM > To: Venkat Reddy Talla > Cc: MyungJoo Ham; Chanwoo Choi; Pawel Moll; Mark Rutland; Ian Campbell; > Kumar

RE: [PATCH 2/2] extcon: gpio: add DT binding doc for extcon-gpio

2016-05-17 Thread Venkat Reddy Talla
Thanks for review, please find my inline reply. > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: Wednesday, May 04, 2016 7:01 PM > To: Venkat Reddy Talla > Cc: MyungJoo Ham; Chanwoo Choi; Pawel Moll; Mark Rutland; Ian Campbell; > Kumar

[PATCH 2/2] extcon: gpio: add DT binding doc for extcon-gpio

2016-05-02 Thread Venkat Reddy Talla
Addiing DT binding doc for the extcon gpios properties. Signed-off-by: Venkat Reddy Talla <vreddyta...@nvidia.com> --- .../devicetree/bindings/extcon/extcon-gpio.txt| 19 +++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/

[PATCH 2/2] extcon: gpio: add DT binding doc for extcon-gpio

2016-05-02 Thread Venkat Reddy Talla
Addiing DT binding doc for the extcon gpios properties. Signed-off-by: Venkat Reddy Talla --- .../devicetree/bindings/extcon/extcon-gpio.txt| 19 +++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/extcon/extcon-gpio.txt diff --git

[PATCH 1/2] extcon: gpio: add device tree support for extcon-gpio

2016-05-02 Thread Venkat Reddy Talla
Adding device tree support for extcon-gpio driver. Signed-off-by: Venkat Reddy Talla <vreddyta...@nvidia.com> --- drivers/extcon/extcon-gpio.c | 80 +++--- include/linux/extcon/extcon-gpio.h | 2 + 2 files changed, 76 insertions(+), 6 deletions(-)

[PATCH 1/2] extcon: gpio: add device tree support for extcon-gpio

2016-05-02 Thread Venkat Reddy Talla
Adding device tree support for extcon-gpio driver. Signed-off-by: Venkat Reddy Talla --- drivers/extcon/extcon-gpio.c | 80 +++--- include/linux/extcon/extcon-gpio.h | 2 + 2 files changed, 76 insertions(+), 6 deletions(-) diff --git a/drivers/extcon

[PATCH 1/1] extcon: gpio: queue work only if debounce is NZ

2016-03-08 Thread Venkat Reddy Talla
Use queue_delayed_work only when debounce time is required to read gpio state properly, read the gpio state and set the extcon cable state in IRQ handler context if gpio settling time is not needed. Signed-off-by: Venkat Reddy Talla <vreddyta...@nvidia.com> --- drivers/extcon/extcon-gpio

[PATCH 1/1] extcon: gpio: queue work only if debounce is NZ

2016-03-08 Thread Venkat Reddy Talla
Use queue_delayed_work only when debounce time is required to read gpio state properly, read the gpio state and set the extcon cable state in IRQ handler context if gpio settling time is not needed. Signed-off-by: Venkat Reddy Talla --- drivers/extcon/extcon-gpio.c | 6 +- 1 file changed, 5