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
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
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
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
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 for
<50>; /* 50 millisecond */
wakeup-source;
}
&dwc3_usb {
extcon = <&usb_cable>;
};
&charger {
extcon = <&ta_cable>;
};
Signed-off-by: Venkat Reddy Talla
Signed-off-by: Chanwoo C
://lkml.org/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 n
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
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
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
,
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
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
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
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
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
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
.
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
> * 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
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
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
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
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
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
23 matches
Mail list logo