2019-02-17 14:27:42

by Ryder Lee

[permalink] [raw]
Subject: [PATCH 1/3] dt-bindings: mediatek: update bindings for MT7629 SoC

From: Ryder Lee <[email protected]>

This updates bindings for MT7629 SoC, which includes very basic items
such as system timer, UART, sysirq and scpsys unit.

Signed-off-by: Ryder Lee <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
---
.../devicetree/bindings/interrupt-controller/mediatek,sysirq.txt | 5 +++--
Documentation/devicetree/bindings/serial/mtk-uart.txt | 3 ++-
Documentation/devicetree/bindings/soc/mediatek/scpsys.txt | 3 ++-
3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/interrupt-controller/mediatek,sysirq.txt b/Documentation/devicetree/bindings/interrupt-controller/mediatek,sysirq.txt
index c5d5891..e8b3688 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/mediatek,sysirq.txt
+++ b/Documentation/devicetree/bindings/interrupt-controller/mediatek,sysirq.txt
@@ -1,6 +1,6 @@
-+Mediatek MT65xx/MT67xx/MT81xx sysirq
+MediaTek sysirq

-Mediatek SOCs sysirq support controllable irq inverter for each GIC SPI
+MediaTek SOCs sysirq support controllable irq inverter for each GIC SPI
interrupt.

Required properties:
@@ -10,6 +10,7 @@ Required properties:
"mediatek,mt8127-sysirq", "mediatek,mt6577-sysirq": for MT8127
"mediatek,mt7622-sysirq", "mediatek,mt6577-sysirq": for MT7622
"mediatek,mt7623-sysirq", "mediatek,mt6577-sysirq": for MT7623
+ "mediatek,mt7629-sysirq", "mediatek,mt6577-sysirq": for MT7629
"mediatek,mt6795-sysirq", "mediatek,mt6577-sysirq": for MT6795
"mediatek,mt6797-sysirq", "mediatek,mt6577-sysirq": for MT6797
"mediatek,mt6765-sysirq", "mediatek,mt6577-sysirq": for MT6765
diff --git a/Documentation/devicetree/bindings/serial/mtk-uart.txt b/Documentation/devicetree/bindings/serial/mtk-uart.txt
index 742cb47..4910f63 100644
--- a/Documentation/devicetree/bindings/serial/mtk-uart.txt
+++ b/Documentation/devicetree/bindings/serial/mtk-uart.txt
@@ -1,4 +1,4 @@
-* Mediatek Universal Asynchronous Receiver/Transmitter (UART)
+* MediaTek Universal Asynchronous Receiver/Transmitter (UART)

Required properties:
- compatible should contain:
@@ -13,6 +13,7 @@ Required properties:
* "mediatek,mt6797-uart" for MT6797 compatible UARTS
* "mediatek,mt7622-uart" for MT7622 compatible UARTS
* "mediatek,mt7623-uart" for MT7623 compatible UARTS
+ * "mediatek,mt7629-uart" for MT7629 compatible UARTS
* "mediatek,mt8127-uart" for MT8127 compatible UARTS
* "mediatek,mt8135-uart" for MT8135 compatible UARTS
* "mediatek,mt8173-uart" for MT8173 compatible UARTS
diff --git a/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt b/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
index d6fe16f..9a88d418 100644
--- a/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
+++ b/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
@@ -23,6 +23,7 @@ Required properties:
- "mediatek,mt7622-scpsys"
- "mediatek,mt7623-scpsys", "mediatek,mt2701-scpsys": For MT7623 SoC
- "mediatek,mt7623a-scpsys": For MT7623A SoC
+ - "mediatek,mt7629-scpsys", "mediatek,mt7622-scpsys": For MT7629 SoC
- "mediatek,mt8173-scpsys"
- #power-domain-cells: Must be 1
- reg: Address range of the SCPSYS unit
@@ -33,7 +34,7 @@ Required properties:
Required clocks for MT2701 or MT7623: "mm", "mfg", "ethif"
Required clocks for MT2712: "mm", "mfg", "venc", "jpgdec", "audio", "vdec"
Required clocks for MT6797: "mm", "mfg", "vdec"
- Required clocks for MT7622: "hif_sel"
+ Required clocks for MT7622 or MT7629: "hif_sel"
Required clocks for MT7622A: "ethif"
Required clocks for MT8173: "mm", "mfg", "venc", "venc_lt"

--
1.9.1



2019-02-17 14:27:04

by Ryder Lee

[permalink] [raw]
Subject: [PATCH 3/3] dt-bindings: timer: mediatek: update bindings for MT7629 SoC

From: Ryder Lee <[email protected]>

Update the binding for MT7629 SoC, which uses fallback compatible to
MT6765 SYST, so add more descriptions to distinguish it from the other
SoCs that use GPT.

Signed-off-by: Ryder Lee <[email protected]>
Cc: Daniel Lezcano <[email protected]>
---
.../devicetree/bindings/timer/mediatek,mtk-timer.txt | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
index 18d4d01..ff7c567 100644
--- a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
+++ b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
@@ -1,7 +1,7 @@
-Mediatek Timers
+MediaTek Timers
---------------

-Mediatek SoCs have two different timers on different platforms,
+MediaTek SoCs have two different timers on different platforms,
- GPT (General Purpose Timer)
- SYST (System Timer)

@@ -9,6 +9,7 @@ The proper timer will be selected automatically by driver.

Required properties:
- compatible should contain:
+ For those SoCs that use GPT
* "mediatek,mt2701-timer" for MT2701 compatible timers (GPT)
* "mediatek,mt6580-timer" for MT6580 compatible timers (GPT)
* "mediatek,mt6589-timer" for MT6589 compatible timers (GPT)
@@ -17,7 +18,11 @@ Required properties:
* "mediatek,mt8135-timer" for MT8135 compatible timers (GPT)
* "mediatek,mt8173-timer" for MT8173 compatible timers (GPT)
* "mediatek,mt6577-timer" for MT6577 and all above compatible timers (GPT)
- * "mediatek,mt6765-timer" for MT6765 compatible timers (SYST)
+
+ For those SoCs that use SYST
+ * "mediatek,mt7629-timer" for MT7629 compatible timers (SYST)
+ * "mediatek,mt6765-timer" for MT6765 and all above compatible timers (SYST)
+
- reg: Should contain location and length for timer register.
- clocks: Should contain system clock.

--
1.9.1


2019-02-17 14:27:22

by Ryder Lee

[permalink] [raw]
Subject: [PATCH 2/3] dt-bindings: soc: fix a typo for MT7623A

From: Ryder Lee <[email protected]>

This fixes a typo for MT7623A

Signed-off-by: Ryder Lee <[email protected]>
---
Documentation/devicetree/bindings/soc/mediatek/scpsys.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt b/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
index 9a88d418..876693a 100644
--- a/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
+++ b/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
@@ -35,7 +35,7 @@ Required properties:
Required clocks for MT2712: "mm", "mfg", "venc", "jpgdec", "audio", "vdec"
Required clocks for MT6797: "mm", "mfg", "vdec"
Required clocks for MT7622 or MT7629: "hif_sel"
- Required clocks for MT7622A: "ethif"
+ Required clocks for MT7623A: "ethif"
Required clocks for MT8173: "mm", "mfg", "venc", "venc_lt"

Optional properties:
--
1.9.1


2019-02-17 21:49:04

by Daniel Lezcano

[permalink] [raw]
Subject: Re: [PATCH 3/3] dt-bindings: timer: mediatek: update bindings for MT7629 SoC

On 17/02/2019 14:50, Ryder Lee wrote:
> From: Ryder Lee <[email protected]>
>
> Update the binding for MT7629 SoC, which uses fallback compatible to
> MT6765 SYST, so add more descriptions to distinguish it from the other
> SoCs that use GPT.
>
> Signed-off-by: Ryder Lee <[email protected]>
> Cc: Daniel Lezcano <[email protected]>
> ---

Applied for 5.1

Thanks

-- Daniel


--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog


2019-02-28 18:56:28

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH 1/3] dt-bindings: mediatek: update bindings for MT7629 SoC

On Sun, 17 Feb 2019 21:50:30 +0800, Ryder Lee wrote:
> From: Ryder Lee <[email protected]>
>
> This updates bindings for MT7629 SoC, which includes very basic items
> such as system timer, UART, sysirq and scpsys unit.
>
> Signed-off-by: Ryder Lee <[email protected]>
> Cc: Marc Zyngier <[email protected]>
> Cc: Greg Kroah-Hartman <[email protected]>
> ---
> .../devicetree/bindings/interrupt-controller/mediatek,sysirq.txt | 5 +++--
> Documentation/devicetree/bindings/serial/mtk-uart.txt | 3 ++-
> Documentation/devicetree/bindings/soc/mediatek/scpsys.txt | 3 ++-
> 3 files changed, 7 insertions(+), 4 deletions(-)
>

Reviewed-by: Rob Herring <[email protected]>

2019-02-28 18:56:31

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH 2/3] dt-bindings: soc: fix a typo for MT7623A

On Sun, 17 Feb 2019 21:50:31 +0800, Ryder Lee wrote:
> From: Ryder Lee <[email protected]>
>
> This fixes a typo for MT7623A
>
> Signed-off-by: Ryder Lee <[email protected]>
> ---
> Documentation/devicetree/bindings/soc/mediatek/scpsys.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Rob Herring <[email protected]>

2019-04-16 07:33:55

by Matthias Brugger

[permalink] [raw]
Subject: Re: [PATCH 1/3] dt-bindings: mediatek: update bindings for MT7629 SoC



On 17/02/2019 14:50, Ryder Lee wrote:
> From: Ryder Lee <[email protected]>
>
> This updates bindings for MT7629 SoC, which includes very basic items
> such as system timer, UART, sysirq and scpsys unit.
>
> Signed-off-by: Ryder Lee <[email protected]>
> Cc: Marc Zyngier <[email protected]>
> Cc: Greg Kroah-Hartman <[email protected]>
> ---

patch 1 and 2 applied. Thanks

> .../devicetree/bindings/interrupt-controller/mediatek,sysirq.txt | 5 +++--
> Documentation/devicetree/bindings/serial/mtk-uart.txt | 3 ++-
> Documentation/devicetree/bindings/soc/mediatek/scpsys.txt | 3 ++-
> 3 files changed, 7 insertions(+), 4 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/mediatek,sysirq.txt b/Documentation/devicetree/bindings/interrupt-controller/mediatek,sysirq.txt
> index c5d5891..e8b3688 100644
> --- a/Documentation/devicetree/bindings/interrupt-controller/mediatek,sysirq.txt
> +++ b/Documentation/devicetree/bindings/interrupt-controller/mediatek,sysirq.txt
> @@ -1,6 +1,6 @@
> -+Mediatek MT65xx/MT67xx/MT81xx sysirq
> +MediaTek sysirq
>
> -Mediatek SOCs sysirq support controllable irq inverter for each GIC SPI
> +MediaTek SOCs sysirq support controllable irq inverter for each GIC SPI
> interrupt.
>
> Required properties:
> @@ -10,6 +10,7 @@ Required properties:
> "mediatek,mt8127-sysirq", "mediatek,mt6577-sysirq": for MT8127
> "mediatek,mt7622-sysirq", "mediatek,mt6577-sysirq": for MT7622
> "mediatek,mt7623-sysirq", "mediatek,mt6577-sysirq": for MT7623
> + "mediatek,mt7629-sysirq", "mediatek,mt6577-sysirq": for MT7629
> "mediatek,mt6795-sysirq", "mediatek,mt6577-sysirq": for MT6795
> "mediatek,mt6797-sysirq", "mediatek,mt6577-sysirq": for MT6797
> "mediatek,mt6765-sysirq", "mediatek,mt6577-sysirq": for MT6765
> diff --git a/Documentation/devicetree/bindings/serial/mtk-uart.txt b/Documentation/devicetree/bindings/serial/mtk-uart.txt
> index 742cb47..4910f63 100644
> --- a/Documentation/devicetree/bindings/serial/mtk-uart.txt
> +++ b/Documentation/devicetree/bindings/serial/mtk-uart.txt
> @@ -1,4 +1,4 @@
> -* Mediatek Universal Asynchronous Receiver/Transmitter (UART)
> +* MediaTek Universal Asynchronous Receiver/Transmitter (UART)
>
> Required properties:
> - compatible should contain:
> @@ -13,6 +13,7 @@ Required properties:
> * "mediatek,mt6797-uart" for MT6797 compatible UARTS
> * "mediatek,mt7622-uart" for MT7622 compatible UARTS
> * "mediatek,mt7623-uart" for MT7623 compatible UARTS
> + * "mediatek,mt7629-uart" for MT7629 compatible UARTS
> * "mediatek,mt8127-uart" for MT8127 compatible UARTS
> * "mediatek,mt8135-uart" for MT8135 compatible UARTS
> * "mediatek,mt8173-uart" for MT8173 compatible UARTS
> diff --git a/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt b/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
> index d6fe16f..9a88d418 100644
> --- a/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
> +++ b/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
> @@ -23,6 +23,7 @@ Required properties:
> - "mediatek,mt7622-scpsys"
> - "mediatek,mt7623-scpsys", "mediatek,mt2701-scpsys": For MT7623 SoC
> - "mediatek,mt7623a-scpsys": For MT7623A SoC
> + - "mediatek,mt7629-scpsys", "mediatek,mt7622-scpsys": For MT7629 SoC
> - "mediatek,mt8173-scpsys"
> - #power-domain-cells: Must be 1
> - reg: Address range of the SCPSYS unit
> @@ -33,7 +34,7 @@ Required properties:
> Required clocks for MT2701 or MT7623: "mm", "mfg", "ethif"
> Required clocks for MT2712: "mm", "mfg", "venc", "jpgdec", "audio", "vdec"
> Required clocks for MT6797: "mm", "mfg", "vdec"
> - Required clocks for MT7622: "hif_sel"
> + Required clocks for MT7622 or MT7629: "hif_sel"
> Required clocks for MT7622A: "ethif"
> Required clocks for MT8173: "mm", "mfg", "venc", "venc_lt"
>
>