]> Git Repo - linux.git/commitdiff
Merge tag 'rtc-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
authorLinus Torvalds <[email protected]>
Wed, 21 Oct 2020 18:22:08 +0000 (11:22 -0700)
committerLinus Torvalds <[email protected]>
Wed, 21 Oct 2020 18:22:08 +0000 (11:22 -0700)
Pull RTC updates from Alexandre Belloni:
 "A new driver this cycle is making the bulk of the changes and the
  rx8010 driver has been rework to use the modern APIs.

  Summary:

  Subsystem:
   - new generic DT properties: aux-voltage-chargeable,
     trickle-voltage-millivolt

  New driver:
   - Microcrystal RV-3032

  Drivers:
   - ds1307: use aux-voltage-chargeable
   - r9701, rx8010: modernization of the driver
   - rv3028: fix clock output, trickle resistor values, RAM
     configuration registers"

* tag 'rtc-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (50 commits)
  rtc: r9701: set range
  rtc: r9701: convert to devm_rtc_allocate_device
  rtc: r9701: stop setting RWKCNT
  rtc: r9701: remove useless memset
  rtc: r9701: stop setting a default time
  rtc: r9701: remove leftover comment
  rtc: rv3032: Add a driver for Microcrystal RV-3032
  dt-bindings: rtc: rv3032: add RV-3032 bindings
  dt-bindings: rtc: add trickle-voltage-millivolt
  rtc: rv3028: ensure ram configuration registers are saved
  rtc: rv3028: factorize EERD bit handling
  rtc: rv3028: fix trickle resistor values
  rtc: rv3028: fix clock output support
  rtc: mt6397: Remove unused member dev
  rtc: rv8803: simplify the return expression of rv8803_nvram_write
  rtc: meson: simplify the return expression of meson_vrtc_probe
  rtc: rx8010: rename rx8010_init_client() to rx8010_init()
  rtc: ds1307: enable rx8130's backup battery, make it chargeable optionally
  rtc: ds1307: consider aux-voltage-chargeable
  rtc: ds1307: store previous charge default per chip
  ...

1  2 
Documentation/devicetree/bindings/rtc/rtc.yaml

index 2d055e37e6f7fe84e9e48d7678c199a8ced5c4fa,b1a45d2fc59a727716e87c20dcf0aac0fb758963..8acd2de3de3adb7b8325a6bb6e68147d8bfbb082
@@@ -17,6 -17,15 +17,15 @@@ properties
    $nodename:
      pattern: "^rtc(@.*|-[0-9a-f])*$"
  
+   aux-voltage-chargeable:
+     $ref: /schemas/types.yaml#/definitions/uint32
+     enum: [0, 1]
+     description: |
+       Tells whether the battery/supercap of the RTC (if any) is
+       chargeable or not:
+       0: not chargeable
+       1: chargeable
    quartz-load-femtofarads:
      $ref: /schemas/types.yaml#/definitions/uint32
      description:
@@@ -35,6 -44,7 +44,7 @@@
      description:
        Do not use internal trickle charger diode. Should be given if
        internal trickle charger diode should be disabled.
+     deprecated: true
  
    trickle-resistor-ohms:
      $ref: /schemas/types.yaml#/definitions/uint32
        Selected resistor for trickle charger. Should be given
        if trickle charger should be enabled.
  
+   trickle-voltage-millivolt:
+     description:
+       Selected voltage for trickle charger. Should be given
+       if trickle charger should be enabled and the trickle voltage is different
+       from the RTC main power supply.
    wakeup-source:
      $ref: /schemas/types.yaml#/definitions/flag
      description:
        Enables wake up of host system on alarm.
  
 +additionalProperties: true
 +
  ...
This page took 0.076546 seconds and 4 git commands to generate.