~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mfd/ricoh,rn5t618.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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 
  7 title: Ricoh RN5T567/RN5T618/RC5T619 PMIC
  8 
  9 maintainers:
 10   - Andreas Kemnade <andreas@kemnade.info>
 11 
 12 description: |
 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 
 20 allOf:
 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: /schemas/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: /schemas/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: /schemas/regulator/regulator.yaml
 56           additionalProperties: false
 57 
 58 properties:
 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 
 79 additionalProperties: false
 80 
 81 required:
 82   - compatible
 83   - reg
 84 
 85 examples:
 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     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php