2020-12-23 08:46:53

by Neal Liu

[permalink] [raw]
Subject: [PATCH v1 1/2] arm64: dts: mt6779: Support devapc

Signed-off-by: Neal Liu <[email protected]>
---
arch/arm64/boot/dts/mediatek/mt6779.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt6779.dtsi b/arch/arm64/boot/dts/mediatek/mt6779.dtsi
index 370f309..52ecfc7 100644
--- a/arch/arm64/boot/dts/mediatek/mt6779.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt6779.dtsi
@@ -189,6 +189,14 @@
#clock-cells = <1>;
};

+ devapc: devapc@10207000 {
+ compatible = "mediatek,mt6779-devapc";
+ reg = <0 0x10207000 0 0x1000>;
+ interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_LOW>;
+ clocks = <&infracfg_ao CLK_INFRA_DEVICE_APC>;
+ clock-names = "devapc-infra-clock";
+ };
+
uart0: serial@11002000 {
compatible = "mediatek,mt6779-uart",
"mediatek,mt6577-uart";
--
1.7.9.5


2020-12-23 09:54:48

by Neal Liu

[permalink] [raw]
Subject: Re: [PATCH v1 1/2] arm64: dts: mt6779: Support devapc

+add comments & reviewed-by Hanks

On Wed, 2020-12-23 at 16:44 +0800, Neal Liu wrote:

Support DEVAPC on MT6779 platforms by adding device node.

Reviewed-by: Hanks Chen <[email protected]>
> Signed-off-by: Neal Liu <[email protected]>
> ---
> arch/arm64/boot/dts/mediatek/mt6779.dtsi | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt6779.dtsi b/arch/arm64/boot/dts/mediatek/mt6779.dtsi
> index 370f309..52ecfc7 100644
> --- a/arch/arm64/boot/dts/mediatek/mt6779.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt6779.dtsi
> @@ -189,6 +189,14 @@
> #clock-cells = <1>;
> };
>
> + devapc: devapc@10207000 {
> + compatible = "mediatek,mt6779-devapc";
> + reg = <0 0x10207000 0 0x1000>;
> + interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_LOW>;
> + clocks = <&infracfg_ao CLK_INFRA_DEVICE_APC>;
> + clock-names = "devapc-infra-clock";
> + };
> +
> uart0: serial@11002000 {
> compatible = "mediatek,mt6779-uart",
> "mediatek,mt6577-uart";

2021-01-31 20:02:16

by Matthias Brugger

[permalink] [raw]
Subject: Re: [PATCH v1 1/2] arm64: dts: mt6779: Support devapc



On 23/12/2020 10:52, Neal Liu wrote:
> +add comments & reviewed-by Hanks
>
> On Wed, 2020-12-23 at 16:44 +0800, Neal Liu wrote:
>
> Support DEVAPC on MT6779 platforms by adding device node.
>
> Reviewed-by: Hanks Chen <[email protected]>

Apllied with the description and Reviewed-by to v5.11-next/dts64

Thanks a lot!

>> Signed-off-by: Neal Liu <[email protected]>
>> ---
>> arch/arm64/boot/dts/mediatek/mt6779.dtsi | 8 ++++++++
>> 1 file changed, 8 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/mediatek/mt6779.dtsi b/arch/arm64/boot/dts/mediatek/mt6779.dtsi
>> index 370f309..52ecfc7 100644
>> --- a/arch/arm64/boot/dts/mediatek/mt6779.dtsi
>> +++ b/arch/arm64/boot/dts/mediatek/mt6779.dtsi
>> @@ -189,6 +189,14 @@
>> #clock-cells = <1>;
>> };
>>
>> + devapc: devapc@10207000 {
>> + compatible = "mediatek,mt6779-devapc";
>> + reg = <0 0x10207000 0 0x1000>;
>> + interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_LOW>;
>> + clocks = <&infracfg_ao CLK_INFRA_DEVICE_APC>;
>> + clock-names = "devapc-infra-clock";
>> + };
>> +
>> uart0: serial@11002000 {
>> compatible = "mediatek,mt6779-uart",
>> "mediatek,mt6577-uart";
>