18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 28c2ecf20Sopenharmony_ci%YAML 1.2 38c2ecf20Sopenharmony_ci--- 48c2ecf20Sopenharmony_ci$id: http://devicetree.org/schemas/regulator/google,cros-ec-regulator.yaml# 58c2ecf20Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml# 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_cititle: ChromeOS EC controlled voltage regulators 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_cimaintainers: 108c2ecf20Sopenharmony_ci - Pi-Hsun Shih <pihsun@chromium.org> 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_cidescription: 138c2ecf20Sopenharmony_ci Any property defined as part of the core regulator binding, defined in 148c2ecf20Sopenharmony_ci regulator.yaml, can also be used. 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ciallOf: 178c2ecf20Sopenharmony_ci - $ref: "regulator.yaml#" 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ciproperties: 208c2ecf20Sopenharmony_ci compatible: 218c2ecf20Sopenharmony_ci const: google,cros-ec-regulator 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci reg: 248c2ecf20Sopenharmony_ci maxItems: 1 258c2ecf20Sopenharmony_ci description: Identifier for the voltage regulator to ChromeOS EC. 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_cirequired: 288c2ecf20Sopenharmony_ci - compatible 298c2ecf20Sopenharmony_ci - reg 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ciunevaluatedProperties: false 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ciexamples: 348c2ecf20Sopenharmony_ci - | 358c2ecf20Sopenharmony_ci spi0 { 368c2ecf20Sopenharmony_ci #address-cells = <1>; 378c2ecf20Sopenharmony_ci #size-cells = <0>; 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ci cros_ec: ec@0 { 408c2ecf20Sopenharmony_ci compatible = "google,cros-ec-spi"; 418c2ecf20Sopenharmony_ci reg = <0>; 428c2ecf20Sopenharmony_ci #address-cells = <1>; 438c2ecf20Sopenharmony_ci #size-cells = <0>; 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ci regulator@0 { 468c2ecf20Sopenharmony_ci compatible = "google,cros-ec-regulator"; 478c2ecf20Sopenharmony_ci regulator-min-microvolt = <1800000>; 488c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 498c2ecf20Sopenharmony_ci reg = <0>; 508c2ecf20Sopenharmony_ci }; 518c2ecf20Sopenharmony_ci }; 528c2ecf20Sopenharmony_ci }; 538c2ecf20Sopenharmony_ci... 54