From d4d54c75f8e30899362b0aec80abd51762c29f13 Mon Sep 17 00:00:00 2001 From: Jacky Bai Date: Tue, 25 May 2021 11:04:52 +0800 Subject: dt-bindings: gpio: gpio-vf610: Add imx8ulp compatible string Add the compatible string for i.MX8ULP. Signed-off-by: Jacky Bai Reviewed-by: Linus Walleij Reviewed-by: Dong Aisheng Acked-by: Rob Herring --- Documentation/devicetree/bindings/gpio/gpio-vf610.yaml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Documentation/devicetree') diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml index 19738a457a58..e1359391d3a4 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml +++ b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml @@ -24,6 +24,9 @@ properties: - items: - const: fsl,imx7ulp-gpio - const: fsl,vf610-gpio + - items: + - const: fsl,imx8ulp-gpio + - const: fsl,imx7ulp-gpio reg: description: The first reg tuple represents the PORT module, the second tuple -- cgit v1.2.3 From c53e269b756326ca0c366825a8bb68796f858275 Mon Sep 17 00:00:00 2001 From: Jacky Bai Date: Tue, 25 May 2021 11:05:17 +0800 Subject: dt-bindings: i2c: imx-lpi2c: Add imx8ulp compatible string Add the compatible for i.MX8ULP. Signed-off-by: Jacky Bai Reviewed-by: Dong Aisheng Acked-by: Rob Herring --- Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Documentation/devicetree') diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml b/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml index 29b9447f3b84..0875753c7d15 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml +++ b/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml @@ -19,7 +19,9 @@ properties: - fsl,imx7ulp-lpi2c - fsl,imx8qm-lpi2c - items: - - const: fsl,imx8qxp-lpi2c + - enum: + - fsl,imx8qxp-lpi2c + - fsl,imx8ulp-lpi2c - const: fsl,imx7ulp-lpi2c reg: -- cgit v1.2.3 From 0da92aa23af39c392b73c405f1201a60c6859380 Mon Sep 17 00:00:00 2001 From: Jacky Bai Date: Tue, 25 May 2021 11:05:49 +0800 Subject: dt-bindings: mmc: imx-esdhc: Add imx8ulp compatible string The USDHC on i.MX8ULP is derived from i.MX8MM, it uses two compatible strings, so update the compatible string for i.MX8ULP. Signed-off-by: Jacky Bai Reviewed-by: Dong Aisheng Acked-by: Rob Herring --- Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Documentation/devicetree') diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml index a3412f221104..f9d095762a3f 100644 --- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml +++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml @@ -43,6 +43,10 @@ properties: - fsl,imx8qm-usdhc - fsl,imx8qxp-usdhc - const: fsl,imx7d-usdhc + - items: + - enum: + - fsl,imx8ulp-usdhc + - const: fsl,imx8mm-usdhc reg: maxItems: 1 -- cgit v1.2.3 From 81e3bb762354dda881f61729df420161124ce5a3 Mon Sep 17 00:00:00 2001 From: Jacky Bai Date: Tue, 25 May 2021 11:06:28 +0800 Subject: dt-bindings: serial: fsl-lpuart: Add imx8ulp compatible string The lpuart on i.MX8ULP is derived from i.MX7ULP, it uses two compatible strings, so update the compatible string for i.MX8ULP. Signed-off-by: Jacky Bai Reviewed-by: Dong Aisheng Acked-by: Rob Herring --- Documentation/devicetree/bindings/serial/fsl-lpuart.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Documentation/devicetree') diff --git a/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml b/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml index a90c971b4f1f..e7ac63dd1469 100644 --- a/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml +++ b/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml @@ -22,7 +22,9 @@ properties: - fsl,imx7ulp-lpuart - fsl,imx8qm-lpuart - items: - - const: fsl,imx8qxp-lpuart + - enum: + - fsl,imx8qxp-lpuart + - fsl,imx8ulp-lpuart - const: fsl,imx7ulp-lpuart reg: -- cgit v1.2.3 From 106eb79473e589598e119c2c0a576be12fcfff6a Mon Sep 17 00:00:00 2001 From: Jacky Bai Date: Tue, 25 May 2021 11:07:12 +0800 Subject: dt-bindings: spi: fsl-lpspi: Add imx8ulp compatible string The lpspi on i.MX8ULP is derived from i.MX7ULP, it uses two compatible strings, so update the comaptible string for i.MX8ULP. Signed-off-by: Jacky Bai Reviewed-by: Dong Aisheng Acked-by: Rob Herring --- Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Documentation/devicetree') diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml index 312d8fee9dbb..1d46877fe46a 100644 --- a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml +++ b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml @@ -14,10 +14,13 @@ allOf: properties: compatible: - enum: - - fsl,imx7ulp-spi - - fsl,imx8qxp-spi - + oneOf: + - enum: + - fsl,imx7ulp-spi + - fsl,imx8qxp-spi + - items: + - const: fsl,imx8ulp-spi + - const: fsl,imx7ulp-spi reg: maxItems: 1 -- cgit v1.2.3 From 5c108f9ebc8373e187319ae41b22d78c4b299184 Mon Sep 17 00:00:00 2001 From: Jacky Bai Date: Tue, 25 May 2021 11:07:43 +0800 Subject: dt-bindings: timer: tpm-timer: Add imx8ulp compatible string The tpm timer on i.MX8ULP is derived from i.MX7ULP, it use two compatible strings, so update the compatible string for it. Signed-off-by: Jacky Bai Reviewed-by: Dong Aisheng Acked-by: Rob Herring --- Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Documentation/devicetree') diff --git a/Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml b/Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml index edd9585f6726..f69773a8e4b9 100644 --- a/Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml +++ b/Documentation/devicetree/bindings/timer/nxp,tpm-timer.yaml @@ -19,7 +19,11 @@ description: | properties: compatible: - const: fsl,imx7ulp-tpm + oneOf: + - const: fsl,imx7ulp-tpm + - items: + - const: fsl,imx8ulp-tpm + - const: fsl,imx7ulp-tpm reg: maxItems: 1 -- cgit v1.2.3 From 9a466019190ca91272097b5849534c14aa7093d9 Mon Sep 17 00:00:00 2001 From: Jacky Bai Date: Tue, 25 May 2021 11:08:15 +0800 Subject: dt-bindings: watchdog: imx7ulp-wdt: Add imx8ulp compatible string The wdog on i.MX8ULP is derived from i.MX7ULP, it uses two compatible strings, so update the compatible string for i.MX8ULP. Signed-off-by: Jacky Bai Reviewed-by: Dong Aisheng Acked-by: Rob Herring --- Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Documentation/devicetree') diff --git a/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml b/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml index 51d6d482bbc2..fb603a20e396 100644 --- a/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/fsl-imx7ulp-wdt.yaml @@ -14,8 +14,11 @@ allOf: properties: compatible: - enum: - - fsl,imx7ulp-wdt + oneOf: + - const: fsl,imx7ulp-wdt + - items: + - const: fsl,imx8ulp-wdt + - const: fsl,imx7ulp-wdt reg: maxItems: 1 -- cgit v1.2.3 From 30f384bb6ff1a844c3d34c5c3988b0862f2e00cc Mon Sep 17 00:00:00 2001 From: Jacky Bai Date: Tue, 27 Apr 2021 10:12:50 +0800 Subject: dt-bindings: arm: fsl: Add binding for imx8ulp evk Add the dt binding for i.MX8ULP EVK board. i.MX 8ULP is part of the ULP family with emphasis on extreme low-power techniques using the 28 nm fully depleted silicon on insulator process. Like i.MX 7ULP, i.MX 8ULP continues to be based on asymmetric architecture, however will add a third DSP domain for advanced voice/audio capability and a Graphics domain where it is possible to access graphics resources from the application side or the realtime side. Signed-off-by: Jacky Bai Reviewed-by: Dong Aisheng Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Documentation/devicetree') diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 60f4862ba15e..812e795665b9 100644 --- a/Documentation/devicetree/bindings/arm/fsl.yaml +++ b/Documentation/devicetree/bindings/arm/fsl.yaml @@ -822,6 +822,12 @@ properties: - const: toradex,colibri-imx8x - const: fsl,imx8qxp + - description: i.MX8ULP based Boards + items: + - enum: + - fsl,imx8ulp-evk # i.MX8ULP EVK Board + - const: fsl,imx8ulp + - description: Freescale Vybrid Platform Device Tree Bindings -- cgit v1.2.3 From 4e5b5eb5784baba33d483fb80eeb8e71056e0f89 Mon Sep 17 00:00:00 2001 From: Clark Wang Date: Fri, 4 Jun 2021 11:01:13 +0800 Subject: MLK-25559-2 dt-bindings: pwm: rpmsg-imx: add pwm over rpmsg drivers doc Add new dt-bingdings doc for pwm over rpmsg driver. Signed-off-by: Clark Wang Reviewed-by: Jun Li (cherry picked from commit 3fe5d73064c7bd6fafc139232176d5a311526179) --- .../devicetree/bindings/pwm/pwm-rpmsg-imx.yaml | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/pwm-rpmsg-imx.yaml (limited to 'Documentation/devicetree') diff --git a/Documentation/devicetree/bindings/pwm/pwm-rpmsg-imx.yaml b/Documentation/devicetree/bindings/pwm/pwm-rpmsg-imx.yaml new file mode 100644 index 000000000000..04ce7305535d --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/pwm-rpmsg-imx.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/pwm-rpmsg-imx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX PWM over RPMSG driver + +maintainers: + - Clark Wang + +description: | + Acore may need to use some TPM resources of Mcore on some SoC platforms. + This driver provide a protocol to send pwm request through RPMSG to + Mcore and control the TPM modules on Mcore. + Mcore will operate its TPM modules according to the Acore request. + +properties: + "#pwm-cells": + const: 3 + + compatible: + enum: + - fsl,pwm-rpchip + + fsl,pwm-channel-number: + maxItems: 1 + +required: + - "#pwm-cells" + - compatible + - fsl,pwm-channel-number + +additionalProperties: false + +examples: + - | + tpm_rpchip_0: pwm { + compatible = "fsl,pwm-rpchip"; + fsl,pwm-channel-number = <6>; + #pwm-cells = <3>; + status = "okay"; + }; -- cgit v1.2.3 From f897b0e9b8a6a118d4cc24848c0b8159e2f21f40 Mon Sep 17 00:00:00 2001 From: Liu Ying Date: Fri, 28 May 2021 10:45:17 +0800 Subject: MLK-25549 dt-bindings: mfd: Add i.MX8ulp System Integration Module (SIM) binding This patch adds bindings for i.MX8ulp System Integration Module (SIM). For now, this binding documentation only supports the SIM module in AVD (Audio-Video Domain). All child devices of SIM should be explicitly required in the binding documentation. Cc: Dong Aisheng Cc: Leo Li Reviewed-by: Dong Aisheng Signed-off-by: Liu Ying --- .../devicetree/bindings/mfd/nxp,imx8ulp-sim.yaml | 77 ++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/nxp,imx8ulp-sim.yaml (limited to 'Documentation/devicetree') diff --git a/Documentation/devicetree/bindings/mfd/nxp,imx8ulp-sim.yaml b/Documentation/devicetree/bindings/mfd/nxp,imx8ulp-sim.yaml new file mode 100644 index 000000000000..bca44d4439ee --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/nxp,imx8ulp-sim.yaml @@ -0,0 +1,77 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/nxp,imx8ulp-sim.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX8ulp System Integration Module Bindings + +maintainers: + - Liu Ying + +description: | + The System Integration Module (SIM) provides system control and chip + configuration registers. One typical use-case is for some other nodes to + acquire a reference to the syscon node by phandle, and the other typical + use-case is that the operating system should consider all subnodes of the + SIM module as separate child devices. + +properties: + $nodename: + pattern: "^syscon@[0-9a-f]+$" + + compatible: + items: + - enum: + - nxp,imx8ulp-avd-sim + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + +patternProperties: + "^(reset-controller|mux-controller)$": + type: object + description: The possible child devices of the SIM module. + +required: + - compatible + - reg + - clocks + +allOf: + - if: + properties: + compatible: + contains: + const: nxp,imx8ulp-avd-sim + then: + required: + - reset-controller + - mux-controller + +additionalProperties: false + +examples: + - | + #include + syscon@2da50000 { + compatible = "nxp,imx8ulp-avd-sim", "syscon", "simple-mfd"; + reg = <0x2da50000 0x38>; + clocks = <&pcc5 IMX8ULP_CLK_AVD_SIM>; + + reset-controller { + compatible = "nxp,imx8ulp-avd-sim-reset"; + #reset-cells = <1>; + }; + + mux-controller { + compatible = "mmio-mux"; + #mux-control-cells = <1>; + mux-reg-masks = <0x8 0x00000200>; + }; + }; -- cgit v1.2.3