55 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/regulator/google,cros-ec-regulator.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: ChromeOS EC controlled voltage regulators8 9maintainers:10 - Pi-Hsun Shih <pihsun@chromium.org>11 12description:13 Any property defined as part of the core regulator binding, defined in14 regulator.yaml, can also be used.15 16allOf:17 - $ref: regulator.yaml#18 19properties:20 compatible:21 const: google,cros-ec-regulator22 23 reg:24 maxItems: 125 description: Identifier for the voltage regulator to ChromeOS EC.26 27required:28 - compatible29 - reg30 31unevaluatedProperties: false32 33examples:34 - |35 spi {36 #address-cells = <1>;37 #size-cells = <0>;38 39 cros_ec: ec@0 {40 compatible = "google,cros-ec-spi";41 reg = <0>;42 #address-cells = <1>;43 #size-cells = <0>;44 interrupts = <99 0>;45 46 regulator@0 {47 compatible = "google,cros-ec-regulator";48 regulator-min-microvolt = <1800000>;49 regulator-max-microvolt = <3300000>;50 reg = <0>;51 };52 };53 };54...55