2015-04-16 13:03:37

by Gaël PORTAY

[permalink] [raw]
Subject: [PATCH] ARM: at91/dt: drop deprecated mainck node from pmc

The clock-frequency property became obsolete since the rework of the main
clock driver in 3.16 (see commit 27cb1c2083373a44130d50d4d2fb64cf7eff2d90).

It now get and uses the clock-frequency from the main_xtal node.

Signed-off-by: Gaël PORTAY <[email protected]>
---
arch/arm/boot/dts/at91-sama5d3_xplained.dts | 6 ------
arch/arm/boot/dts/at91sam9rlek.dts | 6 ------
arch/arm/boot/dts/sama5d3xcm.dtsi | 6 ------
3 files changed, 18 deletions(-)

diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
index fec1fca..1721e9b 100644
--- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
@@ -204,12 +204,6 @@
};
};
};
-
- pmc: pmc@fffffc00 {
- main: mainck {
- clock-frequency = <12000000>;
- };
- };
};

nand0: nand@60000000 {
diff --git a/arch/arm/boot/dts/at91sam9rlek.dts b/arch/arm/boot/dts/at91sam9rlek.dts
index 9be5b54..d9299be3 100644
--- a/arch/arm/boot/dts/at91sam9rlek.dts
+++ b/arch/arm/boot/dts/at91sam9rlek.dts
@@ -181,12 +181,6 @@
};
};

- pmc: pmc@fffffc00 {
- main: mainck {
- clock-frequency = <12000000>;
- };
- };
-
watchdog@fffffd40 {
status = "okay";
};
diff --git a/arch/arm/boot/dts/sama5d3xcm.dtsi b/arch/arm/boot/dts/sama5d3xcm.dtsi
index 7d6babd..ef404e9 100644
--- a/arch/arm/boot/dts/sama5d3xcm.dtsi
+++ b/arch/arm/boot/dts/sama5d3xcm.dtsi
@@ -67,12 +67,6 @@
rxd3-skew-ps = <400>;
};
};
-
- pmc: pmc@fffffc00 {
- main: mainck {
- clock-frequency = <12000000>;
- };
- };
};

nand0: nand@60000000 {
--
1.9.1


2015-04-16 12:46:02

by Boris Brezillon

[permalink] [raw]
Subject: Re: [PATCH] ARM: at91/dt: drop deprecated mainck node from pmc

On Thu, 16 Apr 2015 14:25:44 +0200
Gaël PORTAY <[email protected]> wrote:

> The clock-frequency property became obsolete since the rework of the main
> clock driver in 3.16 (see commit 27cb1c2083373a44130d50d4d2fb64cf7eff2d90).
>
> It now get and uses the clock-frequency from the main_xtal node.
>
> Signed-off-by: Gaël PORTAY <[email protected]>

Acked-by: Boris Brezillon <[email protected]>

> ---
> arch/arm/boot/dts/at91-sama5d3_xplained.dts | 6 ------
> arch/arm/boot/dts/at91sam9rlek.dts | 6 ------
> arch/arm/boot/dts/sama5d3xcm.dtsi | 6 ------
> 3 files changed, 18 deletions(-)
>
> diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> index fec1fca..1721e9b 100644
> --- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> +++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> @@ -204,12 +204,6 @@
> };
> };
> };
> -
> - pmc: pmc@fffffc00 {
> - main: mainck {
> - clock-frequency = <12000000>;
> - };
> - };
> };
>
> nand0: nand@60000000 {
> diff --git a/arch/arm/boot/dts/at91sam9rlek.dts b/arch/arm/boot/dts/at91sam9rlek.dts
> index 9be5b54..d9299be3 100644
> --- a/arch/arm/boot/dts/at91sam9rlek.dts
> +++ b/arch/arm/boot/dts/at91sam9rlek.dts
> @@ -181,12 +181,6 @@
> };
> };
>
> - pmc: pmc@fffffc00 {
> - main: mainck {
> - clock-frequency = <12000000>;
> - };
> - };
> -
> watchdog@fffffd40 {
> status = "okay";
> };
> diff --git a/arch/arm/boot/dts/sama5d3xcm.dtsi b/arch/arm/boot/dts/sama5d3xcm.dtsi
> index 7d6babd..ef404e9 100644
> --- a/arch/arm/boot/dts/sama5d3xcm.dtsi
> +++ b/arch/arm/boot/dts/sama5d3xcm.dtsi
> @@ -67,12 +67,6 @@
> rxd3-skew-ps = <400>;
> };
> };
> -
> - pmc: pmc@fffffc00 {
> - main: mainck {
> - clock-frequency = <12000000>;
> - };
> - };
> };
>
> nand0: nand@60000000 {



--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

2015-05-04 16:08:44

by Gaël PORTAY

[permalink] [raw]
Subject: Re: [PATCH] ARM: at91/dt: drop deprecated mainck node from pmc

On 16/04/2015 14:45, Boris Brezillon wrote:
> On Thu, 16 Apr 2015 14:25:44 +0200
> Gaël PORTAY <[email protected]> wrote:
>
>> The clock-frequency property became obsolete since the rework of the main
>> clock driver in 3.16 (see commit 27cb1c2083373a44130d50d4d2fb64cf7eff2d90).
>>
>> It now get and uses the clock-frequency from the main_xtal node.
>>
>> Signed-off-by: Gaël PORTAY <[email protected]>
> Acked-by: Boris Brezillon <[email protected]>
>
>> ---
>> arch/arm/boot/dts/at91-sama5d3_xplained.dts | 6 ------
>> arch/arm/boot/dts/at91sam9rlek.dts | 6 ------
>> arch/arm/boot/dts/sama5d3xcm.dtsi | 6 ------
>> 3 files changed, 18 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
>> index fec1fca..1721e9b 100644
>> --- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
>> +++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
>> @@ -204,12 +204,6 @@
>> };
>> };
>> };
>> -
>> - pmc: pmc@fffffc00 {
>> - main: mainck {
>> - clock-frequency = <12000000>;
>> - };
>> - };
>> };
>>
>> nand0: nand@60000000 {
>> diff --git a/arch/arm/boot/dts/at91sam9rlek.dts b/arch/arm/boot/dts/at91sam9rlek.dts
>> index 9be5b54..d9299be3 100644
>> --- a/arch/arm/boot/dts/at91sam9rlek.dts
>> +++ b/arch/arm/boot/dts/at91sam9rlek.dts
>> @@ -181,12 +181,6 @@
>> };
>> };
>>
>> - pmc: pmc@fffffc00 {
>> - main: mainck {
>> - clock-frequency = <12000000>;
>> - };
>> - };
>> -
>> watchdog@fffffd40 {
>> status = "okay";
>> };
>> diff --git a/arch/arm/boot/dts/sama5d3xcm.dtsi b/arch/arm/boot/dts/sama5d3xcm.dtsi
>> index 7d6babd..ef404e9 100644
>> --- a/arch/arm/boot/dts/sama5d3xcm.dtsi
>> +++ b/arch/arm/boot/dts/sama5d3xcm.dtsi
>> @@ -67,12 +67,6 @@
>> rxd3-skew-ps = <400>;
>> };
>> };
>> -
>> - pmc: pmc@fffffc00 {
>> - main: mainck {
>> - clock-frequency = <12000000>;
>> - };
>> - };
>> };
>>
>> nand0: nand@60000000 {
>>

Hi everyone,

Any news about this patch ?

Best regards,
Gaël PORTAY

PS: I hope this mail does not sound insistent :)

2015-05-04 17:11:09

by Alexandre Belloni

[permalink] [raw]
Subject: Re: [PATCH] ARM: at91/dt: drop deprecated mainck node from pmc

On 04/05/2015 at 18:08:28 +0200, Ga?l PORTAY wrote :
> Any news about this patch ?
>

We are still quite early in the development cycle and Nicolas is not
available right now. Be patient ;)


--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

2015-05-11 09:22:49

by Nicolas Ferre

[permalink] [raw]
Subject: Re: [PATCH] ARM: at91/dt: drop deprecated mainck node from pmc

Le 16/04/2015 14:25, Gaël PORTAY a écrit :
> The clock-frequency property became obsolete since the rework of the main
> clock driver in 3.16 (see commit 27cb1c2083373a44130d50d4d2fb64cf7eff2d90).
>
> It now get and uses the clock-frequency from the main_xtal node.
>
> Signed-off-by: Gaël PORTAY <[email protected]>

Acked-by: Nicolas Ferre <[email protected]>

and queued in at91-4.2-dt branch.

Thanks!

> ---
> arch/arm/boot/dts/at91-sama5d3_xplained.dts | 6 ------
> arch/arm/boot/dts/at91sam9rlek.dts | 6 ------
> arch/arm/boot/dts/sama5d3xcm.dtsi | 6 ------
> 3 files changed, 18 deletions(-)
>
> diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> index fec1fca..1721e9b 100644
> --- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> +++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
> @@ -204,12 +204,6 @@
> };
> };
> };
> -
> - pmc: pmc@fffffc00 {
> - main: mainck {
> - clock-frequency = <12000000>;
> - };
> - };
> };
>
> nand0: nand@60000000 {
> diff --git a/arch/arm/boot/dts/at91sam9rlek.dts b/arch/arm/boot/dts/at91sam9rlek.dts
> index 9be5b54..d9299be3 100644
> --- a/arch/arm/boot/dts/at91sam9rlek.dts
> +++ b/arch/arm/boot/dts/at91sam9rlek.dts
> @@ -181,12 +181,6 @@
> };
> };
>
> - pmc: pmc@fffffc00 {
> - main: mainck {
> - clock-frequency = <12000000>;
> - };
> - };
> -
> watchdog@fffffd40 {
> status = "okay";
> };
> diff --git a/arch/arm/boot/dts/sama5d3xcm.dtsi b/arch/arm/boot/dts/sama5d3xcm.dtsi
> index 7d6babd..ef404e9 100644
> --- a/arch/arm/boot/dts/sama5d3xcm.dtsi
> +++ b/arch/arm/boot/dts/sama5d3xcm.dtsi
> @@ -67,12 +67,6 @@
> rxd3-skew-ps = <400>;
> };
> };
> -
> - pmc: pmc@fffffc00 {
> - main: mainck {
> - clock-frequency = <12000000>;
> - };
> - };
> };
>
> nand0: nand@60000000 {
>


--
Nicolas Ferre