Add support for controlling voltage regulator that is connected and controlled by ChromeOS EC. Kernel controls these regulators through newly added EC host commands. Pi-Hsun Shih (2): dt-bindings: regulator: Add DT binding for cros-ec-regulator regulator: Add driver for cros-ec-regulator .../bindings/regulator/cros-ec-regulator.yaml | 39 +++ drivers/regulator/Kconfig | 7 + drivers/regulator/Makefile | 1 + drivers/regulator/cros-ec-regulator.c | 261 ++++++++++++++++++ .../linux/platform_data/cros_ec_commands.h | 82 ++++++ 5 files changed, 390 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/cros-ec-regulator.yaml create mode 100644 drivers/regulator/cros-ec-regulator.c base-commit: abfbb29297c27e3f101f348dc9e467b0fe70f919 -- 2.27.0.278.ge193c7cf3a9-goog