.../bindings/{mfd => embedded-controller}/google,cros-ec.yaml | 2 +- .../gateworks-gsc.yaml => embedded-controller/gw,gsc.yaml} | 2 +- .../{mfd => embedded-controller}/kontron,sl28cpld.yaml | 2 +- .../devicetree/bindings/gpio/kontron,sl28cpld-gpio.yaml | 2 +- .../devicetree/bindings/hwmon/kontron,sl28cpld-hwmon.yaml | 2 +- .../bindings/interrupt-controller/kontron,sl28cpld-intc.yaml | 2 +- Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml | 2 +- .../devicetree/bindings/pwm/kontron,sl28cpld-pwm.yaml | 2 +- Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml | 4 ++-- .../devicetree/bindings/sound/google,cros-ec-codec.yaml | 2 +- .../devicetree/bindings/watchdog/kontron,sl28cpld-wdt.yaml | 2 +- MAINTAINERS | 4 ++-- 12 files changed, 14 insertions(+), 14 deletions(-) rename Documentation/devicetree/bindings/{mfd => embedded-controller}/google,cros-ec.yaml (99%) rename Documentation/devicetree/bindings/{mfd/gateworks-gsc.yaml => embedded-controller/gw,gsc.yaml} (98%) rename Documentation/devicetree/bindings/{mfd => embedded-controller}/kontron,sl28cpld.yaml (97%)
Move ChromeOS Embedded Controller, Gateworks System Controller and
Kontron sl28cpld Board Management Controller to new subdirectory
"embedded-controller" matching their purpose. MFD is coming from Linux
and does not really fit the actual purpose of this hardware.
Rename Gateworks GSC filename to match compatible, as preferred for
bindings.
Acked-by: Michael Walle <mwalle@kernel.org> # for sl28cpld
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Cc: Mathew McBride <matt@traverse.com.au>
Lee,
Can you take it via MFD?
Changes in v2:
1. Correct remaining paths in other schemas ($ref and descriptions)
---
.../bindings/{mfd => embedded-controller}/google,cros-ec.yaml | 2 +-
.../gateworks-gsc.yaml => embedded-controller/gw,gsc.yaml} | 2 +-
.../{mfd => embedded-controller}/kontron,sl28cpld.yaml | 2 +-
.../devicetree/bindings/gpio/kontron,sl28cpld-gpio.yaml | 2 +-
.../devicetree/bindings/hwmon/kontron,sl28cpld-hwmon.yaml | 2 +-
.../bindings/interrupt-controller/kontron,sl28cpld-intc.yaml | 2 +-
Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml | 2 +-
.../devicetree/bindings/pwm/kontron,sl28cpld-pwm.yaml | 2 +-
Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml | 4 ++--
.../devicetree/bindings/sound/google,cros-ec-codec.yaml | 2 +-
.../devicetree/bindings/watchdog/kontron,sl28cpld-wdt.yaml | 2 +-
MAINTAINERS | 4 ++--
12 files changed, 14 insertions(+), 14 deletions(-)
rename Documentation/devicetree/bindings/{mfd => embedded-controller}/google,cros-ec.yaml (99%)
rename Documentation/devicetree/bindings/{mfd/gateworks-gsc.yaml => embedded-controller/gw,gsc.yaml} (98%)
rename Documentation/devicetree/bindings/{mfd => embedded-controller}/kontron,sl28cpld.yaml (97%)
diff --git a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml b/Documentation/devicetree/bindings/embedded-controller/google,cros-ec.yaml
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 50f457090066..3ab5737c9a8f 100644
--- a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml
+++ b/Documentation/devicetree/bindings/embedded-controller/google,cros-ec.yaml
@@ -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
diff --git a/Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml b/Documentation/devicetree/bindings/embedded-controller/gw,gsc.yaml
similarity index 98%
rename from Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml
rename to Documentation/devicetree/bindings/embedded-controller/gw,gsc.yaml
index dc379f3ebf24..82d4b2dadbae 100644
--- a/Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml
+++ b/Documentation/devicetree/bindings/embedded-controller/gw,gsc.yaml
@@ -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
diff --git a/Documentation/devicetree/bindings/mfd/kontron,sl28cpld.yaml b/Documentation/devicetree/bindings/embedded-controller/kontron,sl28cpld.yaml
similarity index 97%
rename from Documentation/devicetree/bindings/mfd/kontron,sl28cpld.yaml
rename to Documentation/devicetree/bindings/embedded-controller/kontron,sl28cpld.yaml
index 37207a97e06c..0b752f3baaa9 100644
--- a/Documentation/devicetree/bindings/mfd/kontron,sl28cpld.yaml
+++ b/Documentation/devicetree/bindings/embedded-controller/kontron,sl28cpld.yaml
@@ -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
diff --git a/Documentation/devicetree/bindings/gpio/kontron,sl28cpld-gpio.yaml b/Documentation/devicetree/bindings/gpio/kontron,sl28cpld-gpio.yaml
index b032471831e7..02663d67eac7 100644
--- a/Documentation/devicetree/bindings/gpio/kontron,sl28cpld-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/kontron,sl28cpld-gpio.yaml
@@ -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
diff --git a/Documentation/devicetree/bindings/hwmon/kontron,sl28cpld-hwmon.yaml b/Documentation/devicetree/bindings/hwmon/kontron,sl28cpld-hwmon.yaml
index 010333cb25c0..5803a1770cad 100644
--- a/Documentation/devicetree/bindings/hwmon/kontron,sl28cpld-hwmon.yaml
+++ b/Documentation/devicetree/bindings/hwmon/kontron,sl28cpld-hwmon.yaml
@@ -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:
diff --git a/Documentation/devicetree/bindings/interrupt-controller/kontron,sl28cpld-intc.yaml b/Documentation/devicetree/bindings/interrupt-controller/kontron,sl28cpld-intc.yaml
index e8dfa6507f64..87df07beda59 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/kontron,sl28cpld-intc.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/kontron,sl28cpld-intc.yaml
@@ -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.
diff --git a/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml b/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml
index f7bc84b05a87..8f5a468cfb91 100644
--- a/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml
+++ b/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml
@@ -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#
diff --git a/Documentation/devicetree/bindings/pwm/kontron,sl28cpld-pwm.yaml b/Documentation/devicetree/bindings/pwm/kontron,sl28cpld-pwm.yaml
index 981cfec53f37..19a9d2e15a96 100644
--- a/Documentation/devicetree/bindings/pwm/kontron,sl28cpld-pwm.yaml
+++ b/Documentation/devicetree/bindings/pwm/kontron,sl28cpld-pwm.yaml
@@ -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).
diff --git a/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml b/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml
index adc6b3f36fde..179c98b33b4d 100644
--- a/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml
+++ b/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml
@@ -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
diff --git a/Documentation/devicetree/bindings/sound/google,cros-ec-codec.yaml b/Documentation/devicetree/bindings/sound/google,cros-ec-codec.yaml
index 1434f4433738..dd51e8c5b8c2 100644
--- a/Documentation/devicetree/bindings/sound/google,cros-ec-codec.yaml
+++ b/Documentation/devicetree/bindings/sound/google,cros-ec-codec.yaml
@@ -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#
diff --git a/Documentation/devicetree/bindings/watchdog/kontron,sl28cpld-wdt.yaml b/Documentation/devicetree/bindings/watchdog/kontron,sl28cpld-wdt.yaml
index 179272f74de5..872a8471ef65 100644
--- a/Documentation/devicetree/bindings/watchdog/kontron,sl28cpld-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/kontron,sl28cpld-wdt.yaml
@@ -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#
diff --git a/MAINTAINERS b/MAINTAINERS
index 7969d09dff17..f3e4c1aa656e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -10129,7 +10129,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
@@ -23177,10 +23177,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
--
2.48.1
On Fri, 22 Aug 2025 09:57:13 +0200, Krzysztof Kozlowski wrote: > Move ChromeOS Embedded Controller, Gateworks System Controller and > Kontron sl28cpld Board Management Controller to new subdirectory > "embedded-controller" matching their purpose. MFD is coming from Linux > and does not really fit the actual purpose of this hardware. > > Rename Gateworks GSC filename to match compatible, as preferred for > bindings. > > [...] Applied, thanks! [1/1] dt-bindings: mfd: Move embedded controllers to own directory commit: 152afab28f7659a4292c9f7d3324eaeb49a55b8b -- Lee Jones [李琼斯]
On 02/09/2025 16:53, Lee Jones wrote: >> [...] > > Applied, thanks! > > [1/1] dt-bindings: mfd: Move embedded controllers to own directory > commit: 152afab28f7659a4292c9f7d3324eaeb49a55b8b There was a v3 here: https://lore.kernel.org/r/20250825081201.9775-2-krzysztof.kozlowski@linaro.org/ Best regards, Krzysztof
On Tue, 02 Sep 2025, Krzysztof Kozlowski wrote: > On 02/09/2025 16:53, Lee Jones wrote: > >> [...] > > > > Applied, thanks! > > > > [1/1] dt-bindings: mfd: Move embedded controllers to own directory > > commit: 152afab28f7659a4292c9f7d3324eaeb49a55b8b > > > There was a v3 here: > > https://lore.kernel.org/r/20250825081201.9775-2-krzysztof.kozlowski@linaro.org/ Drop this, applied that! -- Lee Jones [李琼斯]
On Fri, Aug 22, 2025 at 09:57:13AM +0200, Krzysztof Kozlowski wrote: > Move ChromeOS Embedded Controller, Gateworks System Controller and > Kontron sl28cpld Board Management Controller to new subdirectory > "embedded-controller" matching their purpose. MFD is coming from Linux > and does not really fit the actual purpose of this hardware. > > Rename Gateworks GSC filename to match compatible, as preferred for > bindings. > > Acked-by: Michael Walle <mwalle@kernel.org> # for sl28cpld > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > --- > > Cc: Mathew McBride <matt@traverse.com.au> > > Lee, > Can you take it via MFD? > > Changes in v2: > 1. Correct remaining paths in other schemas ($ref and descriptions) > --- > .../bindings/{mfd => embedded-controller}/google,cros-ec.yaml | 2 +- > .../gateworks-gsc.yaml => embedded-controller/gw,gsc.yaml} | 2 +- > .../{mfd => embedded-controller}/kontron,sl28cpld.yaml | 2 +- > .../devicetree/bindings/gpio/kontron,sl28cpld-gpio.yaml | 2 +- > .../devicetree/bindings/hwmon/kontron,sl28cpld-hwmon.yaml | 2 +- > .../bindings/interrupt-controller/kontron,sl28cpld-intc.yaml | 2 +- > Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml | 2 +- > .../devicetree/bindings/pwm/kontron,sl28cpld-pwm.yaml | 2 +- > Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml | 4 ++-- > .../devicetree/bindings/sound/google,cros-ec-codec.yaml | 2 +- > .../devicetree/bindings/watchdog/kontron,sl28cpld-wdt.yaml | 2 +- > MAINTAINERS | 4 ++-- > 12 files changed, 14 insertions(+), 14 deletions(-) > rename Documentation/devicetree/bindings/{mfd => embedded-controller}/google,cros-ec.yaml (99%) > rename Documentation/devicetree/bindings/{mfd/gateworks-gsc.yaml => embedded-controller/gw,gsc.yaml} (98%) > rename Documentation/devicetree/bindings/{mfd => embedded-controller}/kontron,sl28cpld.yaml (97%) Who's the maintainer for the 'embedded-controller' directory? Fine if me, just need to know. Other candidates: Documentation/devicetree/bindings/platform/* Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml Documentation/devicetree/bindings/misc/ge-achc.yaml ? Rob
On 22/08/2025 22:40, Rob Herring wrote: >> --- >> .../bindings/{mfd => embedded-controller}/google,cros-ec.yaml | 2 +- >> .../gateworks-gsc.yaml => embedded-controller/gw,gsc.yaml} | 2 +- >> .../{mfd => embedded-controller}/kontron,sl28cpld.yaml | 2 +- >> .../devicetree/bindings/gpio/kontron,sl28cpld-gpio.yaml | 2 +- >> .../devicetree/bindings/hwmon/kontron,sl28cpld-hwmon.yaml | 2 +- >> .../bindings/interrupt-controller/kontron,sl28cpld-intc.yaml | 2 +- >> Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml | 2 +- >> .../devicetree/bindings/pwm/kontron,sl28cpld-pwm.yaml | 2 +- >> Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml | 4 ++-- >> .../devicetree/bindings/sound/google,cros-ec-codec.yaml | 2 +- >> .../devicetree/bindings/watchdog/kontron,sl28cpld-wdt.yaml | 2 +- >> MAINTAINERS | 4 ++-- >> 12 files changed, 14 insertions(+), 14 deletions(-) >> rename Documentation/devicetree/bindings/{mfd => embedded-controller}/google,cros-ec.yaml (99%) >> rename Documentation/devicetree/bindings/{mfd/gateworks-gsc.yaml => embedded-controller/gw,gsc.yaml} (98%) >> rename Documentation/devicetree/bindings/{mfd => embedded-controller}/kontron,sl28cpld.yaml (97%) > > Who's the maintainer for the 'embedded-controller' directory? Fine if > me, just need to know. It does not have corresponding driver subsystem, then I guess you. Placing above bindings, whose drivers are MFD, in the MFD subdirectory made it obvious. Now it will be a bit less obvious, but that's the drawback of organizing bindings per hardware, not per Linux subsystem. > > Other candidates: > Documentation/devicetree/bindings/platform/* > Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml > Documentation/devicetree/bindings/misc/ge-achc.yaml ? Indeed, I'll move these as well. Best regards, Krzysztof
On Fri, Aug 22, 2025 at 9:57 AM Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > Move ChromeOS Embedded Controller, Gateworks System Controller and > Kontron sl28cpld Board Management Controller to new subdirectory > "embedded-controller" matching their purpose. MFD is coming from Linux > and does not really fit the actual purpose of this hardware. > > Rename Gateworks GSC filename to match compatible, as preferred for > bindings. Maybe add some definition of what we mean with "embedded controller"? Something like: "An embedded controller 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." > Acked-by: Michael Walle <mwalle@kernel.org> # for sl28cpld > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Overall this looks reasonable: Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Yours, Linus Walleij
© 2016 - 2025 Red Hat, Inc.