linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] dt-bindings: mediatek: update bindings for MT7629 SoC
@ 2019-02-17 13:50 Ryder Lee
  2019-02-17 13:50 ` [PATCH 2/3] dt-bindings: soc: fix a typo for MT7623A Ryder Lee
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Ryder Lee @ 2019-02-17 13:50 UTC (permalink / raw)
  To: Matthias Brugger, Rob Herring
  Cc: devicetree, Ryder Lee, Marc Zyngier, Greg Kroah-Hartman,
	Sean Wang, Weijie Gao, linux-kernel, linux-mediatek,
	linux-arm-kernel

From: Ryder Lee <ryder.lee@mediatek.com>

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 <ryder.lee@mediatek.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 .../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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/3] dt-bindings: soc: fix a typo for MT7623A
  2019-02-17 13:50 [PATCH 1/3] dt-bindings: mediatek: update bindings for MT7629 SoC Ryder Lee
@ 2019-02-17 13:50 ` Ryder Lee
  2019-02-28 18:43   ` Rob Herring
  2019-02-17 13:50 ` [PATCH 3/3] dt-bindings: timer: mediatek: update bindings for MT7629 SoC Ryder Lee
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Ryder Lee @ 2019-02-17 13:50 UTC (permalink / raw)
  To: Matthias Brugger, Rob Herring
  Cc: devicetree, Ryder Lee, Sean Wang, Weijie Gao, linux-kernel,
	linux-mediatek, linux-arm-kernel

From: Ryder Lee <ryder.lee@mediatek.com>

This fixes a typo for MT7623A

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
---
 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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 3/3] dt-bindings: timer: mediatek: update bindings for MT7629 SoC
  2019-02-17 13:50 [PATCH 1/3] dt-bindings: mediatek: update bindings for MT7629 SoC Ryder Lee
  2019-02-17 13:50 ` [PATCH 2/3] dt-bindings: soc: fix a typo for MT7623A Ryder Lee
@ 2019-02-17 13:50 ` Ryder Lee
  2019-02-17 21:48   ` Daniel Lezcano
  2019-02-28 18:43 ` [PATCH 1/3] dt-bindings: " Rob Herring
  2019-04-16  7:32 ` Matthias Brugger
  3 siblings, 1 reply; 7+ messages in thread
From: Ryder Lee @ 2019-02-17 13:50 UTC (permalink / raw)
  To: Matthias Brugger, Rob Herring
  Cc: devicetree, Ryder Lee, Daniel Lezcano, Sean Wang, Weijie Gao,
	linux-kernel, linux-mediatek, linux-arm-kernel

From: Ryder Lee <ryder.lee@mediatek.com>

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 <ryder.lee@mediatek.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 .../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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 3/3] dt-bindings: timer: mediatek: update bindings for MT7629 SoC
  2019-02-17 13:50 ` [PATCH 3/3] dt-bindings: timer: mediatek: update bindings for MT7629 SoC Ryder Lee
@ 2019-02-17 21:48   ` Daniel Lezcano
  0 siblings, 0 replies; 7+ messages in thread
From: Daniel Lezcano @ 2019-02-17 21:48 UTC (permalink / raw)
  To: Ryder Lee, Matthias Brugger, Rob Herring
  Cc: devicetree, Ryder Lee, Sean Wang, Weijie Gao, linux-kernel,
	linux-mediatek, linux-arm-kernel

On 17/02/2019 14:50, Ryder Lee wrote:
> From: Ryder Lee <ryder.lee@mediatek.com>
> 
> 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 <ryder.lee@mediatek.com>
> Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
> ---

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/3] dt-bindings: mediatek: update bindings for MT7629 SoC
  2019-02-17 13:50 [PATCH 1/3] dt-bindings: mediatek: update bindings for MT7629 SoC Ryder Lee
  2019-02-17 13:50 ` [PATCH 2/3] dt-bindings: soc: fix a typo for MT7623A Ryder Lee
  2019-02-17 13:50 ` [PATCH 3/3] dt-bindings: timer: mediatek: update bindings for MT7629 SoC Ryder Lee
@ 2019-02-28 18:43 ` Rob Herring
  2019-04-16  7:32 ` Matthias Brugger
  3 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2019-02-28 18:43 UTC (permalink / raw)
  To: Ryder Lee
  Cc: devicetree, Ryder Lee, Marc Zyngier, Greg Kroah-Hartman,
	Sean Wang, Weijie Gao, linux-kernel, Rob Herring, linux-mediatek,
	Matthias Brugger, linux-arm-kernel

On Sun, 17 Feb 2019 21:50:30 +0800, Ryder Lee wrote:
> From: Ryder Lee <ryder.lee@mediatek.com>
> 
> 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 <ryder.lee@mediatek.com>
> Cc: Marc Zyngier <marc.zyngier@arm.com>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> ---
>  .../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 <robh@kernel.org>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/3] dt-bindings: soc: fix a typo for MT7623A
  2019-02-17 13:50 ` [PATCH 2/3] dt-bindings: soc: fix a typo for MT7623A Ryder Lee
@ 2019-02-28 18:43   ` Rob Herring
  0 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2019-02-28 18:43 UTC (permalink / raw)
  To: Ryder Lee
  Cc: devicetree, Ryder Lee, Sean Wang, Weijie Gao, linux-kernel,
	Rob Herring, linux-mediatek, Matthias Brugger, linux-arm-kernel

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

Reviewed-by: Rob Herring <robh@kernel.org>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/3] dt-bindings: mediatek: update bindings for MT7629 SoC
  2019-02-17 13:50 [PATCH 1/3] dt-bindings: mediatek: update bindings for MT7629 SoC Ryder Lee
                   ` (2 preceding siblings ...)
  2019-02-28 18:43 ` [PATCH 1/3] dt-bindings: " Rob Herring
@ 2019-04-16  7:32 ` Matthias Brugger
  3 siblings, 0 replies; 7+ messages in thread
From: Matthias Brugger @ 2019-04-16  7:32 UTC (permalink / raw)
  To: Ryder Lee, Rob Herring
  Cc: devicetree, Ryder Lee, Marc Zyngier, Greg Kroah-Hartman,
	Sean Wang, Weijie Gao, linux-kernel, linux-mediatek,
	linux-arm-kernel



On 17/02/2019 14:50, Ryder Lee wrote:
> From: Ryder Lee <ryder.lee@mediatek.com>
> 
> 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 <ryder.lee@mediatek.com>
> Cc: Marc Zyngier <marc.zyngier@arm.com>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> ---

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"
>  
> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-04-16  7:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-17 13:50 [PATCH 1/3] dt-bindings: mediatek: update bindings for MT7629 SoC Ryder Lee
2019-02-17 13:50 ` [PATCH 2/3] dt-bindings: soc: fix a typo for MT7623A Ryder Lee
2019-02-28 18:43   ` Rob Herring
2019-02-17 13:50 ` [PATCH 3/3] dt-bindings: timer: mediatek: update bindings for MT7629 SoC Ryder Lee
2019-02-17 21:48   ` Daniel Lezcano
2019-02-28 18:43 ` [PATCH 1/3] dt-bindings: " Rob Herring
2019-04-16  7:32 ` Matthias Brugger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).