Documentation/devicetree/bindings/rtc/isil,isl12026.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/rtc/isil,isl12026.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/rtc/isil,isl12026.yaml
Extension
.yaml
Size
1370 bytes
Lines
60
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# 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>;
        };
    };

Annotation

Implementation Notes