Linux Power Management development
 help / color / mirror / Atom feed
* [PATCH 0/3] Add support for Richtek RT9455 battery charger
@ 2015-05-25 10:22 Anda-Maria Nicolae
  2015-05-25 10:22 ` [PATCH 1/3] of: Add vendor prefix for Richtek Technology Corporation Anda-Maria Nicolae
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Anda-Maria Nicolae @ 2015-05-25 10:22 UTC (permalink / raw)
  To: sre-DgEjT+Ai2ygdnm+yROfE0A, dbaryshkov-Re5JQEeQqe8AvxtiuMwx3w,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A, pawel.moll-5wv7dgnIgG8,
	mark.rutland-5wv7dgnIgG8, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg,
	galak-sgV2jX0FEOL9JmXXK+q4OQ, dwmw2-wEGCiKHe2LqWVfeAwA7xHQ,
	linux-pm-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA

Hello,

The next 3 patches do the following:
- first patch adds Richtek Technology Corporation in the vendor-prefixes list
- second patch adds device tree binding example for Richtek RT9455 battery charger
- third patch adds the driver for Richtek RT9455 battery charger

Thanks,
Anda

Anda-Maria Nicolae (3):
  of: Add vendor prefix for Richtek Technology Corporation
  Documentation: devicetree: Add Richtek RT9455 bindings
  power_supply: Add support for Richtek RT9455 battery charger

 .../devicetree/bindings/power/rt9455_charger.txt   |   46 +
 .../devicetree/bindings/vendor-prefixes.txt        |    1 +
 drivers/power/Kconfig                              |    7 +
 drivers/power/Makefile                             |    1 +
 drivers/power/rt9455_charger.c                     | 1821 ++++++++++++++++++++
 5 files changed, 1876 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/power/rt9455_charger.txt
 create mode 100644 drivers/power/rt9455_charger.c

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH v7 0/3] Add support for Richtek RT9455 battery charger
@ 2015-05-29 14:25 Anda-Maria Nicolae
  2015-05-29 14:25 ` [PATCH 1/3] of: Add vendor prefix for Richtek Technology Corporation Anda-Maria Nicolae
  0 siblings, 1 reply; 6+ messages in thread
From: Anda-Maria Nicolae @ 2015-05-29 14:25 UTC (permalink / raw)
  To: sre, dbaryshkov, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak, dwmw2, linux-pm, linux-kernel, devicetree

The next 3 patches do the following:
- first patch adds Richtek Technology Corporation in the vendor-prefixes list
- second patch adds device tree binding example for Richtek RT9455 battery charger
- third patch adds the driver for Richtek RT9455 battery charger

The reason why v6 did not contain any modification except for patch splitting, is that
I did not scroll down the e-mail and I thought the patch splitting was the only modification
I need to do. My bad.

Updates from v6:
- added interrupt-parent and interrupts as required properties in DT file rt9455_charger.txt.
- removed interrupt-gpio and reset-gpio from DT file rt9455_charger.txt.
- used IRQ_TYPE_LEVEL_LOW (for this charger, it works the same with IRQ_TYPE_EDGE_RISING and
  with IRQ_TYPE_LEVEL_LOW, but I prefer IRQ_TYPE_LEVEL_LOW) in interrupt specification, 
  in DT file rt9455_charger.txt.
- removed gpiod_irq and gpio_irq from rt9455_info structure.
- set boost voltage value without previously reading the existing value in the register.
- set voreg value without previously reading the existing value in the register.
- removed rt9455_setup_irq function. client->irq is set even without calling of_irq_get().
- used devm_power_supply_register() and removed power_supply_unregister() from rt9455_remove().

Anda-Maria Nicolae (3):
  of: Add vendor prefix for Richtek Technology Corporation
  Documentation: devicetree: Add Richtek RT9455 bindings
  power_supply: Add support for Richtek RT9455 battery charger

 .../devicetree/bindings/power/rt9455_charger.txt   |   46 +
 .../devicetree/bindings/vendor-prefixes.txt        |    1 +
 drivers/power/Kconfig                              |    7 +
 drivers/power/Makefile                             |    1 +
 drivers/power/rt9455_charger.c                     | 1751 ++++++++++++++++++++
 5 files changed, 1806 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/power/rt9455_charger.txt
 create mode 100644 drivers/power/rt9455_charger.c

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-05-29 14:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-25 10:22 [PATCH 0/3] Add support for Richtek RT9455 battery charger Anda-Maria Nicolae
2015-05-25 10:22 ` [PATCH 1/3] of: Add vendor prefix for Richtek Technology Corporation Anda-Maria Nicolae
2015-05-25 10:22 ` [PATCH 3/3] power_supply: Add support for Richtek RT9455 battery charger Anda-Maria Nicolae
     [not found] ` <1432549343-5756-1-git-send-email-anda-maria.nicolae-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-05-25 10:22   ` [PATCH 2/3] Documentation: devicetree: Add Richtek RT9455 bindings Anda-Maria Nicolae
2015-05-29  2:42   ` [PATCH 0/3] Add support for Richtek RT9455 battery charger Sebastian Reichel
  -- strict thread matches above, loose matches on Subject: below --
2015-05-29 14:25 [PATCH v7 " Anda-Maria Nicolae
2015-05-29 14:25 ` [PATCH 1/3] of: Add vendor prefix for Richtek Technology Corporation Anda-Maria Nicolae

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox