rtc: expand charge support, implement rx8130 charging
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 2 repliesApplied
- v18 patches 3 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | dt-bindings: rtc: let aux-voltage-chargeable supersede trickle-diode-disableDocumentation/ | +10 | 1 reply | |
| 2/8 | dt-bindings: rtc: ds1307: let aux-voltage-chargeable supersede trickle-diode-disableDocumentation/ | +8 | 0 replies | |
| 3/8 | dt-bindings: rtc: ds1307: add rx8130 aux-voltage-chargeable supportDocumentation/ | +1 | 0 replies | |
| 4/8 | rtc: ds1307: apply DS13XX_TRICKLE_CHARGER_MAGIC only conditionallydrivers/ | +2 | 0 replies | |
| 5/8 | rtc: ds1307: introduce requires_trickle_resistor per chipdrivers/ | +7 | 0 replies | |
| 6/8 | rtc: ds1307: store previous charge default per chipdrivers/ | +8 | 0 replies | |
| 7/8 | rtc: ds1307: consider aux-voltage-chargeabledrivers/ | +21 | 0 replies | |
| 8/8 | rtc: ds1307: enable rx8130's backup battery, make it chargeable optionallydrivers/ | +15 | 0 replies |
Reviews trailers per patch
3 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Rob Herring |
|---|---|
| 1/8 | R-b |
| 2/8 | R-b |
| 3/8 | R-b |
| 4/8 | |
| 5/8 | |
| 6/8 | |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/8] rtc: expand charge support, implement rx8130 charging
In order to preserve previous RTC charging behavior while allowing to add new charging configurations this series adds the dt property aux-voltage-chargeable as a uint enum. It supersedes the trickle-diode-disable flag.
Then the ds1307 driver's charging infrastructure is generalized:
- support charging on 'aux-voltage-chargeable = <1>'
- keep the previous charge default per chip
- make trickle-resistor-ohms optional for charging
- apply DS13XX_TRICKLE_CHARGER_MAGIC only conditionally
This preparatory work allows to enable Epson's RX8130 backup battery and make it chargeable when 'aux-voltage-chargeable = <1>' is given.
Regards,
Bastian
Bastian Krause (8):
dt-bindings: rtc: let aux-voltage-chargeable supersede
trickle-diode-disable
dt-bindings: rtc: ds1307: let aux-voltage-chargeable supersede
trickle-diode-disable
dt-bindings: rtc: ds1307: add rx8130 aux-voltage-chargeable support
rtc: ds1307: apply DS13XX_TRICKLE_CHARGER_MAGIC only conditionally
rtc: ds1307: introduce requires_trickle_resistor per chip
rtc: ds1307: store previous charge default per chip
rtc: ds1307: consider aux-voltage-chargeable
rtc: ds1307: enable rx8130's backup battery, make it chargeable
optionally
.../devicetree/bindings/rtc/rtc-ds1307.txt | 9 ++- .../devicetree/bindings/rtc/rtc.yaml | 10 ++++ drivers/rtc/rtc-ds1307.c | 58 +++++++++++++++++-- 3 files changed, 71 insertions(+), 6 deletions(-)
Signature · 1 line
2.28.0