cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

ricoh,rn5t618.yaml (2646B)


      1# SPDX-License-Identifier: GPL-2.0
      2%YAML 1.2
      3---
      4$id: http://devicetree.org/schemas/mfd/ricoh,rn5t618.yaml#
      5$schema: http://devicetree.org/meta-schemas/core.yaml#
      6
      7title: Ricoh RN5T567/RN5T618/RC5T619 PMIC
      8
      9maintainers:
     10  - Andreas Kemnade <andreas@kemnade.info>
     11
     12description: |
     13  Ricoh RN5T567/RN5T618/RC5T619 is a power management IC family which
     14  integrates 3 to 5 step-down DCDC converters, 7 to 10 low-dropout regulators,
     15  GPIOs, and a watchdog timer. It can be controlled through an I2C interface.
     16  The RN5T618/RC5T619 provides additionally a Li-ion battery charger,
     17  fuel gauge, and an ADC.
     18  The RC5T619 additionally includes USB charger detection and an RTC.
     19
     20allOf:
     21  - if:
     22      properties:
     23        compatible:
     24          contains:
     25            const: ricoh,rn5t567
     26    then:
     27      properties:
     28        regulators:
     29          patternProperties:
     30            "^(DCDC[1-4]|LDO[1-5]|LDORTC[12])$":
     31              $ref: ../regulator/regulator.yaml
     32          additionalProperties: false
     33  - if:
     34      properties:
     35        compatible:
     36          contains:
     37            const: ricoh,rn5t618
     38    then:
     39      properties:
     40        regulators:
     41          patternProperties:
     42            "^(DCDC[1-3]|LDO[1-5]|LDORTC[12])$":
     43              $ref: ../regulator/regulator.yaml
     44          additionalProperties: false
     45  - if:
     46      properties:
     47        compatible:
     48          contains:
     49            const: ricoh,rc5t619
     50    then:
     51      properties:
     52        regulators:
     53          patternProperties:
     54            "^(DCDC[1-5]|LDO[1-9]|LDO10|LDORTC[12])$":
     55              $ref: ../regulator/regulator.yaml
     56          additionalProperties: false
     57
     58properties:
     59  compatible:
     60    enum:
     61      - ricoh,rn5t567
     62      - ricoh,rn5t618
     63      - ricoh,rc5t619
     64
     65  reg:
     66    maxItems: 1
     67
     68  interrupts:
     69    maxItems: 1
     70
     71  system-power-controller:
     72    type: boolean
     73    description: |
     74      See Documentation/devicetree/bindings/power/power-controller.txt
     75
     76  regulators:
     77    type: object
     78
     79additionalProperties: false
     80
     81required:
     82  - compatible
     83  - reg
     84
     85examples:
     86  - |
     87    #include <dt-bindings/interrupt-controller/irq.h>
     88    i2c {
     89      #address-cells = <1>;
     90      #size-cells = <0>;
     91
     92      pmic@32 {
     93        compatible = "ricoh,rn5t618";
     94        reg = <0x32>;
     95        interrupt-parent = <&gpio5>;
     96        interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
     97        system-power-controller;
     98
     99        regulators {
    100          DCDC1 {
    101            regulator-min-microvolt = <1050000>;
    102            regulator-max-microvolt = <1050000>;
    103          };
    104
    105          DCDC2 {
    106            regulator-min-microvolt = <1175000>;
    107            regulator-max-microvolt = <1175000>;
    108          };
    109        };
    110      };
    111    };