Commit 211d5933 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull RTC updates from Alexandre Belloni:
 "Subsystem:
   - add data_race() in rtc_dev_poll()

  Drivers:
   - remove i2c_match_id usage
   - abx80x: Disable alarm feature if no interrupt attached
   - ti-k3: support resuming from IO DDR low power mode"

* tag 'rtc-7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux:
  rtc: abx80x: Disable alarm feature if no interrupt attached
  rtc: ntxec: fix OF node reference imbalance
  rtc: pic32: allow driver to be compiled with COMPILE_TEST
  rtc: ti-k3: Add support to resume from IO DDR low power mode
  rtc: cmos: Use platform_get_irq_optional() in cmos_platform_probe()
  dt-bindings: rtc: add olpc,xo1-rtc to trivial-rtc
  dt-bindings: rtc: sc2731: Add compatible for SC2730
  rtc: add data_race() in rtc_dev_poll()
  rtc: armada38x: zalloc + calloc to single allocation
  dt-bindings: rtc: isl12026: convert to YAML schema
  dt-bindings: rtc: microcrystal,rv3028: Allow to specify vdd-supply
  rtc: max77686: convert to i2c_new_ancillary_device
  dt-bindings: rtc: mpfs-rtc: permit resets
  rtc: rx8025: Remove use of i2c_match_id()
  rtc: rv8803: Remove use of i2c_match_id()
  rtc: rs5c372: Remove use of i2c_match_id()
  rtc: pcf2127: Remove use of i2c_match_id()
  rtc: m41t80: Remove use of i2c_match_id()
  rtc: abx80x: Remove use of i2c_match_id()
parents 1d9f1b5e 0fedce72
Loading
Loading
Loading
Loading
+0 −28
Original line number Diff line number Diff line
ISL12026 I2C RTC/EEPROM

ISL12026 is an I2C RTC/EEPROM combination device.  The RTC and control
registers respond at bus address 0x6f, and the EEPROM array responds
at bus address 0x57.  The canonical "reg" value will be for the RTC portion.

Required properties supported by the device:

 - "compatible": must be "isil,isl12026"
 - "reg": I2C bus address of the device (always 0x6f)

Optional properties:

 - "isil,pwr-bsw": If present PWR.BSW bit must be set to the specified
                   value for proper operation.

 - "isil,pwr-sbib": If present PWR.SBIB bit must be set to the specified
                    value for proper operation.


Example:

	rtc@6f {
		compatible = "isil,isl12026";
		reg = <0x6f>;
		isil,pwr-bsw = <0>;
		isil,pwr-sbib = <1>;
	}
+59 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/rtc/isil,isl12026.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Intersil ISL12026 I2C RTC/EEPROM

maintainers:
  - Piyush Patle <piyushpatle228@gmail.com>

description:
  The ISL12026 is a combination RTC and EEPROM device connected via I2C.
  The RTC and control registers respond at address 0x6f, while the EEPROM
  array responds at address 0x57. The "reg" property refers to the RTC
  portion of the device.

allOf:
  - $ref: rtc.yaml#

properties:
  compatible:
    const: isil,isl12026

  reg:
    maxItems: 1
    description: I2C address of the RTC portion (must be 0x6f)

  isil,pwr-bsw:
    $ref: /schemas/types.yaml#/definitions/uint32
    enum: [ 0, 1 ]
    description:
      Value written to the PWR.BSW bit for proper device operation.

  isil,pwr-sbib:
    $ref: /schemas/types.yaml#/definitions/uint32
    enum: [ 0, 1 ]
    description:
      Value written to the PWR.SBIB bit for proper device operation.

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;

        rtc@6f {
            compatible = "isil,isl12026";
            reg = <0x6f>;
            isil,pwr-bsw = <0>;
            isil,pwr-sbib = <1>;
        };
    };
+3 −0
Original line number Diff line number Diff line
@@ -47,6 +47,9 @@ properties:
      - const: rtc
      - const: rtcref

  resets:
    maxItems: 1

required:
  - compatible
  - reg
+2 −0
Original line number Diff line number Diff line
@@ -32,6 +32,8 @@ properties:
      - 9000
      - 15000

  vdd-supply: true

required:
  - compatible
  - reg
+0 −5
Original line number Diff line number Diff line
OLPC XO-1 RTC
~~~~~~~~~~~~~

Required properties:
 - compatible : "olpc,xo1-rtc"
Loading