]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
dt-bindings: mfd: Move embedded controllers to own directory
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 25 Aug 2025 08:12:02 +0000 (10:12 +0200)
committerLee Jones <lee@kernel.org>
Wed, 1 Oct 2025 09:28:27 +0000 (10:28 +0100)
Move several embedded controller bindings (like ChromeOS EC, Gateworks
System Controller and Kontron sl28cpld Board Management) to new
subdirectory "embedded-controller" matching their purpose.

An embedded controller (EC) is a discrete component that contains a
microcontroller (i.e. a small CPU running a small firmware without
operating system) mounted into a larger computer system running
a fully fledged operating system that needs to utilize the embedded
controller as part of its operation.

So far the EC bindings were split between "mfd" and "platform"
directory.  MFD name comes from Linux, not hardware, and "platform" is a
bit too generic.

Rename Gateworks GSC and Huawei Gaokun filenames to match compatible, as
preferred for bindings.

Acked-by: Michael Walle <mwalle@kernel.org> # for sl28cpld
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Mark Brown <broonie@kernel.org>
Reviewed-by: "Rob Herring (Arm)" <robh@kernel.org>
Link: https://lore.kernel.org/r/20250825081201.9775-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
16 files changed:
Documentation/devicetree/bindings/embedded-controller/acer,aspire1-ec.yaml [moved from Documentation/devicetree/bindings/platform/acer,aspire1-ec.yaml with 94% similarity]
Documentation/devicetree/bindings/embedded-controller/google,cros-ec.yaml [moved from Documentation/devicetree/bindings/mfd/google,cros-ec.yaml with 99% similarity]
Documentation/devicetree/bindings/embedded-controller/gw,gsc.yaml [moved from Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml with 98% similarity]
Documentation/devicetree/bindings/embedded-controller/huawei,gaokun3-ec.yaml [moved from Documentation/devicetree/bindings/platform/huawei,gaokun-ec.yaml with 97% similarity]
Documentation/devicetree/bindings/embedded-controller/kontron,sl28cpld.yaml [moved from Documentation/devicetree/bindings/mfd/kontron,sl28cpld.yaml with 97% similarity]
Documentation/devicetree/bindings/embedded-controller/lenovo,yoga-c630-ec.yaml [moved from Documentation/devicetree/bindings/platform/lenovo,yoga-c630-ec.yaml with 95% similarity]
Documentation/devicetree/bindings/embedded-controller/microsoft,surface-sam.yaml [moved from Documentation/devicetree/bindings/platform/microsoft,surface-sam.yaml with 92% similarity]
Documentation/devicetree/bindings/gpio/kontron,sl28cpld-gpio.yaml
Documentation/devicetree/bindings/hwmon/kontron,sl28cpld-hwmon.yaml
Documentation/devicetree/bindings/interrupt-controller/kontron,sl28cpld-intc.yaml
Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml
Documentation/devicetree/bindings/pwm/kontron,sl28cpld-pwm.yaml
Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml
Documentation/devicetree/bindings/sound/google,cros-ec-codec.yaml
Documentation/devicetree/bindings/watchdog/kontron,sl28cpld-wdt.yaml
MAINTAINERS

similarity index 94%
rename from Documentation/devicetree/bindings/platform/acer,aspire1-ec.yaml
rename to Documentation/devicetree/bindings/embedded-controller/acer,aspire1-ec.yaml
index 7cb0134134ffa6cf1a03cbfdb95d444818fdb992..01ee61768527c86e9a89af81d18ed9d883d0aa38 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: http://devicetree.org/schemas/platform/acer,aspire1-ec.yaml#
+$id: http://devicetree.org/schemas/embedded-controller/acer,aspire1-ec.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Acer Aspire 1 Embedded Controller
similarity index 99%
rename from Documentation/devicetree/bindings/mfd/google,cros-ec.yaml
rename to Documentation/devicetree/bindings/embedded-controller/google,cros-ec.yaml
index 50f457090066904dc13fa5ea45834562718e4fde..3ab5737c9a8f3f08ec280698a8fb5a5a48aa1387 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: http://devicetree.org/schemas/mfd/google,cros-ec.yaml#
+$id: http://devicetree.org/schemas/embedded-controller/google,cros-ec.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: ChromeOS Embedded Controller
similarity index 98%
rename from Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml
rename to Documentation/devicetree/bindings/embedded-controller/gw,gsc.yaml
index dc379f3ebf24ff04a19a0f28663d6afe1fcaa75d..82d4b2dadbae4e3360b2ff0ba9cb6ea4d3a6549c 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
 %YAML 1.2
 ---
-$id: http://devicetree.org/schemas/mfd/gateworks-gsc.yaml#
+$id: http://devicetree.org/schemas/embedded-controller/gw,gsc.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Gateworks System Controller
similarity index 97%
rename from Documentation/devicetree/bindings/platform/huawei,gaokun-ec.yaml
rename to Documentation/devicetree/bindings/embedded-controller/huawei,gaokun3-ec.yaml
index 4a03b0ee3149002f001de0f78f73cbb2448df393..cd9e65b6c2ea35ad2501091be085b0c2711a53c6 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: http://devicetree.org/schemas/platform/huawei,gaokun-ec.yaml#
+$id: http://devicetree.org/schemas/embedded-controller/huawei,gaokun3-ec.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Huawei Matebook E Go Embedded Controller
similarity index 97%
rename from Documentation/devicetree/bindings/mfd/kontron,sl28cpld.yaml
rename to Documentation/devicetree/bindings/embedded-controller/kontron,sl28cpld.yaml
index 37207a97e06c69d444642766fc544bcd49c3e66b..0b752f3baaa946ebc36205d562ed8b12b4f4e14a 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: http://devicetree.org/schemas/mfd/kontron,sl28cpld.yaml#
+$id: http://devicetree.org/schemas/embedded-controller/kontron,sl28cpld.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Kontron's sl28cpld board management controller
similarity index 95%
rename from Documentation/devicetree/bindings/platform/lenovo,yoga-c630-ec.yaml
rename to Documentation/devicetree/bindings/embedded-controller/lenovo,yoga-c630-ec.yaml
index 3180ce1a22d445dec5b3008b70ddeae18293033e..a029b38e8dc0b1206c20d19458db83ad8f2f49c7 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: http://devicetree.org/schemas/platform/lenovo,yoga-c630-ec.yaml#
+$id: http://devicetree.org/schemas/embedded-controller/lenovo,yoga-c630-ec.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Lenovo Yoga C630 Embedded Controller.
similarity index 92%
rename from Documentation/devicetree/bindings/platform/microsoft,surface-sam.yaml
rename to Documentation/devicetree/bindings/embedded-controller/microsoft,surface-sam.yaml
index b33d26f15b2afa9447b1b7f0825dcc009d6cb952..9202cfca0b3518eb207e637d915368e59e2c0227 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
-$id: http://devicetree.org/schemas/platform/microsoft,surface-sam.yaml#
+$id: http://devicetree.org/schemas/embedded-controller/microsoft,surface-sam.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
 title: Surface System Aggregator Module (SAM, SSAM)
index b032471831e7c711892787b6d279a7dfa46da974..02663d67eac751b4175502f9e7d5100bc1340b20 100644 (file)
@@ -11,7 +11,7 @@ maintainers:
 
 description: |
   This module is part of the sl28cpld multi-function device. For more
-  details see ../mfd/kontron,sl28cpld.yaml.
+  details see ../embedded-controller/kontron,sl28cpld.yaml.
 
   There are three flavors of the GPIO controller, one full featured
   input/output with interrupt support (kontron,sl28cpld-gpio), one
index 010333cb25c0e1e2706a466bef217d823bfcca60..5803a1770cad6882e1e47051df65494343a98840 100644 (file)
@@ -11,7 +11,7 @@ maintainers:
 
 description: |
   This module is part of the sl28cpld multi-function device. For more
-  details see ../mfd/kontron,sl28cpld.yaml.
+  details see ../embedded-controller/kontron,sl28cpld.yaml.
 
 properties:
   compatible:
index e8dfa6507f64d3812edb29247d6b80cfc9cbc316..87df07beda5926bf0aeab8630cc96a18def8f15d 100644 (file)
@@ -11,7 +11,7 @@ maintainers:
 
 description: |
   This module is part of the sl28cpld multi-function device. For more
-  details see ../mfd/kontron,sl28cpld.yaml.
+  details see ../embedded-controller/kontron,sl28cpld.yaml.
 
   The following interrupts are available. All types and levels are fixed
   and handled by the board management controller.
index f7bc84b05a871b186905b8413795d1ab8fc20afc..8f5a468cfb91fbf7f47b8c993bfd4fa20b6db795 100644 (file)
@@ -14,7 +14,7 @@ description: |
   Google's ChromeOS EC PWM is a simple PWM attached to the Embedded Controller
   (EC) and controlled via a host-command interface.
   An EC PWM node should be only found as a sub-node of the EC node (see
-  Documentation/devicetree/bindings/mfd/google,cros-ec.yaml).
+  Documentation/devicetree/bindings/embedded-controller/google,cros-ec.yaml).
 
 allOf:
   - $ref: pwm.yaml#
index 981cfec53f37271e8ed8238f22cccd86a3e55b0e..19a9d2e15a964fc539452bae7ee32e7616d8033c 100644 (file)
@@ -11,7 +11,7 @@ maintainers:
 
 description: |
   This module is part of the sl28cpld multi-function device. For more
-  details see ../mfd/kontron,sl28cpld.yaml.
+  details see ../embedded-controller/kontron,sl28cpld.yaml.
 
   The controller supports one PWM channel and supports only four distinct
   frequencies (250Hz, 500Hz, 1kHz, 2kHz).
index adc6b3f36fde49eb3fa7ed3f08b0fa9e7f331162..179c98b33b4d9fac98bc890c1f173d39e9510626 100644 (file)
@@ -58,7 +58,7 @@ properties:
     maxItems: 1
 
   cros-ec-rpmsg:
-    $ref: /schemas/mfd/google,cros-ec.yaml
+    $ref: /schemas/embedded-controller/google,cros-ec.yaml
     description:
       This subnode represents the rpmsg device. The properties
       of this node are defined by the individual bindings for
@@ -126,7 +126,7 @@ patternProperties:
         maxItems: 1
 
       cros-ec-rpmsg:
-        $ref: /schemas/mfd/google,cros-ec.yaml
+        $ref: /schemas/embedded-controller/google,cros-ec.yaml
         description:
           This subnode represents the rpmsg device. The properties
           of this node are defined by the individual bindings for
index 1434f443373892bd9b94df639bcf08585f019596..dd51e8c5b8c233a6c17b40ceaf69759b84338bfa 100644 (file)
@@ -15,7 +15,7 @@ description: |
   Embedded Controller (EC) and is controlled via a host-command
   interface.  An EC codec node should only be found inside the "codecs"
   subnode of a cros-ec node.
-  (see Documentation/devicetree/bindings/mfd/google,cros-ec.yaml).
+  (see Documentation/devicetree/bindings/embedded-controller/google,cros-ec.yaml).
 
 allOf:
   - $ref: dai-common.yaml#
index 179272f74de5fbd1caa8008fdc3b576b65ae5694..872a8471ef65fe11e4c9c65be8843605a5a35ec7 100644 (file)
@@ -11,7 +11,7 @@ maintainers:
 
 description: |
   This module is part of the sl28cpld multi-function device. For more
-  details see ../mfd/kontron,sl28cpld.yaml.
+  details see ../embedded-controller/kontron,sl28cpld.yaml.
 
 allOf:
   - $ref: watchdog.yaml#
index cf2f09782499b24961c8b0216b7b2d275dd03699..6e3961562d29cf4ab1781634a9f8e367e02743b2 100644 (file)
@@ -10128,7 +10128,7 @@ F:      drivers/media/i2c/gc2145.c
 GATEWORKS SYSTEM CONTROLLER (GSC) DRIVER
 M:     Tim Harvey <tharvey@gateworks.com>
 S:     Maintained
-F:     Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml
+F:     Documentation/devicetree/bindings/embedded-controller/gw,gsc.yaml
 F:     Documentation/hwmon/gsc-hwmon.rst
 F:     drivers/hwmon/gsc-hwmon.c
 F:     drivers/mfd/gateworks-gsc.c
@@ -11299,7 +11299,7 @@ F:      drivers/net/ethernet/huawei/hinic3/
 HUAWEI MATEBOOK E GO EMBEDDED CONTROLLER DRIVER
 M:     Pengyu Luo <mitltlatltl@gmail.com>
 S:     Maintained
-F:     Documentation/devicetree/bindings/platform/huawei,gaokun-ec.yaml
+F:     Documentation/devicetree/bindings/embedded-controller/huawei,gaokun3-ec.yaml
 F:     drivers/platform/arm64/huawei-gaokun-ec.c
 F:     drivers/power/supply/huawei-gaokun-battery.c
 F:     drivers/usb/typec/ucsi/ucsi_huawei_gaokun.c
@@ -23210,10 +23210,10 @@ F:    drivers/usb/misc/sisusbvga/
 SL28 CPLD MFD DRIVER
 M:     Michael Walle <mwalle@kernel.org>
 S:     Maintained
+F:     Documentation/devicetree/bindings/embedded-controller/kontron,sl28cpld.yaml
 F:     Documentation/devicetree/bindings/gpio/kontron,sl28cpld-gpio.yaml
 F:     Documentation/devicetree/bindings/hwmon/kontron,sl28cpld-hwmon.yaml
 F:     Documentation/devicetree/bindings/interrupt-controller/kontron,sl28cpld-intc.yaml
-F:     Documentation/devicetree/bindings/mfd/kontron,sl28cpld.yaml
 F:     Documentation/devicetree/bindings/pwm/kontron,sl28cpld-pwm.yaml
 F:     Documentation/devicetree/bindings/watchdog/kontron,sl28cpld-wdt.yaml
 F:     drivers/gpio/gpio-sl28cpld.c