xref: /freebsd/sys/contrib/device-tree/Bindings/hwmon/pmbus/isil,isl68137.yaml (revision 833e5d42ab135b0238e61c5b3c19b8619677cbfa)
15f62a964SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
25f62a964SEmmanuel Vadot%YAML 1.2
35f62a964SEmmanuel Vadot---
45f62a964SEmmanuel Vadot
55f62a964SEmmanuel Vadot$id: http://devicetree.org/schemas/hwmon/pmbus/isil,isl68137.yaml#
65f62a964SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
75f62a964SEmmanuel Vadot
85f62a964SEmmanuel Vadottitle: Renesas Digital Multiphase Voltage Regulators with PMBus
95f62a964SEmmanuel Vadot
105f62a964SEmmanuel Vadotmaintainers:
115f62a964SEmmanuel Vadot  - Grant Peltier <grant.peltier.jg@renesas.com>
125f62a964SEmmanuel Vadot
135f62a964SEmmanuel Vadotdescription: |
145f62a964SEmmanuel Vadot  Renesas digital multiphase voltage regulators with PMBus.
155f62a964SEmmanuel Vadot  https://www.renesas.com/en/products/power-management/multiphase-power/multiphase-dcdc-switching-controllers
165f62a964SEmmanuel Vadot
175f62a964SEmmanuel Vadotproperties:
185f62a964SEmmanuel Vadot  compatible:
195f62a964SEmmanuel Vadot    enum:
205f62a964SEmmanuel Vadot      - isil,isl68137
215f62a964SEmmanuel Vadot      - renesas,isl68220
225f62a964SEmmanuel Vadot      - renesas,isl68221
235f62a964SEmmanuel Vadot      - renesas,isl68222
245f62a964SEmmanuel Vadot      - renesas,isl68223
255f62a964SEmmanuel Vadot      - renesas,isl68224
265f62a964SEmmanuel Vadot      - renesas,isl68225
275f62a964SEmmanuel Vadot      - renesas,isl68226
285f62a964SEmmanuel Vadot      - renesas,isl68227
295f62a964SEmmanuel Vadot      - renesas,isl68229
305f62a964SEmmanuel Vadot      - renesas,isl68233
315f62a964SEmmanuel Vadot      - renesas,isl68239
325f62a964SEmmanuel Vadot      - renesas,isl69222
335f62a964SEmmanuel Vadot      - renesas,isl69223
345f62a964SEmmanuel Vadot      - renesas,isl69224
355f62a964SEmmanuel Vadot      - renesas,isl69225
365f62a964SEmmanuel Vadot      - renesas,isl69227
375f62a964SEmmanuel Vadot      - renesas,isl69228
385f62a964SEmmanuel Vadot      - renesas,isl69234
395f62a964SEmmanuel Vadot      - renesas,isl69236
405f62a964SEmmanuel Vadot      - renesas,isl69239
415f62a964SEmmanuel Vadot      - renesas,isl69242
425f62a964SEmmanuel Vadot      - renesas,isl69243
435f62a964SEmmanuel Vadot      - renesas,isl69247
445f62a964SEmmanuel Vadot      - renesas,isl69248
455f62a964SEmmanuel Vadot      - renesas,isl69254
465f62a964SEmmanuel Vadot      - renesas,isl69255
475f62a964SEmmanuel Vadot      - renesas,isl69256
485f62a964SEmmanuel Vadot      - renesas,isl69259
495f62a964SEmmanuel Vadot      - isil,isl69260
505f62a964SEmmanuel Vadot      - renesas,isl69268
515f62a964SEmmanuel Vadot      - isil,isl69269
525f62a964SEmmanuel Vadot      - renesas,isl69298
535f62a964SEmmanuel Vadot      - renesas,raa228000
545f62a964SEmmanuel Vadot      - renesas,raa228004
555f62a964SEmmanuel Vadot      - renesas,raa228006
565f62a964SEmmanuel Vadot      - renesas,raa228228
575f62a964SEmmanuel Vadot      - renesas,raa229001
585f62a964SEmmanuel Vadot      - renesas,raa229004
59*833e5d42SEmmanuel Vadot      - renesas,raa229621
605f62a964SEmmanuel Vadot
615f62a964SEmmanuel Vadot  reg:
625f62a964SEmmanuel Vadot    maxItems: 1
635f62a964SEmmanuel Vadot
645f62a964SEmmanuel Vadot  '#address-cells':
655f62a964SEmmanuel Vadot    const: 1
665f62a964SEmmanuel Vadot
675f62a964SEmmanuel Vadot  '#size-cells':
685f62a964SEmmanuel Vadot    const: 0
695f62a964SEmmanuel Vadot
705f62a964SEmmanuel VadotpatternProperties:
715f62a964SEmmanuel Vadot  "^channel@([0-3])$":
725f62a964SEmmanuel Vadot    type: object
735f62a964SEmmanuel Vadot    description:
745f62a964SEmmanuel Vadot      Container for properties specific to a particular channel (rail).
755f62a964SEmmanuel Vadot
765f62a964SEmmanuel Vadot    properties:
775f62a964SEmmanuel Vadot      reg:
785f62a964SEmmanuel Vadot        description: The channel (rail) index.
795f62a964SEmmanuel Vadot        items:
805f62a964SEmmanuel Vadot          minimum: 0
815f62a964SEmmanuel Vadot          maximum: 3
825f62a964SEmmanuel Vadot
835f62a964SEmmanuel Vadot      vout-voltage-divider:
845f62a964SEmmanuel Vadot        description: |
855f62a964SEmmanuel Vadot          Resistances of a voltage divider placed between Vout and the voltage
865f62a964SEmmanuel Vadot          sense (Vsense) pin for the given channel (rail). It has two numbers
875f62a964SEmmanuel Vadot          representing the resistances of the voltage divider provided as
885f62a964SEmmanuel Vadot          <Rout Rtotal> which yields an adjusted Vout as
895f62a964SEmmanuel Vadot          Vout_adj = Vout * Rtotal / Rout given the original Vout as reported
905f62a964SEmmanuel Vadot          by the Vsense pin. Given a circuit configuration similar to the one
915f62a964SEmmanuel Vadot          below, Rtotal = R1 + Rout.
925f62a964SEmmanuel Vadot
935f62a964SEmmanuel Vadot            Vout ----.
945f62a964SEmmanuel Vadot                     |
955f62a964SEmmanuel Vadot                  .-----.
965f62a964SEmmanuel Vadot                  | R1  |
975f62a964SEmmanuel Vadot                  '-----'
985f62a964SEmmanuel Vadot                     |
995f62a964SEmmanuel Vadot                     +---- Vsense
1005f62a964SEmmanuel Vadot                     |
1015f62a964SEmmanuel Vadot                  .-----.
1025f62a964SEmmanuel Vadot                  | Rout|
1035f62a964SEmmanuel Vadot                  '-----'
1045f62a964SEmmanuel Vadot                     |
1055f62a964SEmmanuel Vadot                    GND
1065f62a964SEmmanuel Vadot
1075f62a964SEmmanuel Vadot        $ref: /schemas/types.yaml#/definitions/uint32-array
1085f62a964SEmmanuel Vadot        minItems: 2
1095f62a964SEmmanuel Vadot        maxItems: 2
1105f62a964SEmmanuel Vadot
1115f62a964SEmmanuel Vadot    required:
1125f62a964SEmmanuel Vadot      - reg
1135f62a964SEmmanuel Vadot
1145f62a964SEmmanuel Vadot    additionalProperties: false
1155f62a964SEmmanuel Vadot
1165f62a964SEmmanuel Vadotrequired:
1175f62a964SEmmanuel Vadot  - compatible
1185f62a964SEmmanuel Vadot  - reg
1195f62a964SEmmanuel Vadot
1205f62a964SEmmanuel VadotadditionalProperties: false
1215f62a964SEmmanuel Vadot
1225f62a964SEmmanuel Vadotexamples:
1235f62a964SEmmanuel Vadot  - |
1245f62a964SEmmanuel Vadot    i2c {
1255f62a964SEmmanuel Vadot      #address-cells = <1>;
1265f62a964SEmmanuel Vadot      #size-cells = <0>;
1275f62a964SEmmanuel Vadot
1285f62a964SEmmanuel Vadot      isl68239@60 {
1295f62a964SEmmanuel Vadot        compatible = "isil,isl68137";
1305f62a964SEmmanuel Vadot        reg = <0x60>;
1315f62a964SEmmanuel Vadot      };
1325f62a964SEmmanuel Vadot    };
1335f62a964SEmmanuel Vadot  - |
1345f62a964SEmmanuel Vadot    i2c {
1355f62a964SEmmanuel Vadot      #address-cells = <1>;
1365f62a964SEmmanuel Vadot      #size-cells = <0>;
1375f62a964SEmmanuel Vadot
1385f62a964SEmmanuel Vadot      isl68239@60 {
1395f62a964SEmmanuel Vadot        compatible = "renesas,isl68239";
1405f62a964SEmmanuel Vadot        reg = <0x60>;
1415f62a964SEmmanuel Vadot        #address-cells = <1>;
1425f62a964SEmmanuel Vadot        #size-cells = <0>;
1435f62a964SEmmanuel Vadot
1445f62a964SEmmanuel Vadot        channel@0 {
1455f62a964SEmmanuel Vadot          reg = <0>;
1465f62a964SEmmanuel Vadot          vout-voltage-divider = <1000 2000>;  // Reported Vout/Pout would be scaled by 2
1475f62a964SEmmanuel Vadot        };
1485f62a964SEmmanuel Vadot      };
1495f62a964SEmmanuel Vadot    };
150