diff mbox

ARM: at91/dt: drop deprecated mainck node from pmc

Message ID 1429187145-10741-1-git-send-email-g.portay@overkiz.com (mailing list archive)
State New, archived
Headers show

Commit Message

Gaël PORTAY April 16, 2015, 12:25 p.m. UTC
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 <g.portay@overkiz.com>
---
 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(-)

Comments

Boris BREZILLON April 16, 2015, 12:45 p.m. UTC | #1
On Thu, 16 Apr 2015 14:25:44 +0200
Gaël PORTAY <g.portay@overkiz.com> 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 <g.portay@overkiz.com>

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>

> ---
>  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 {
Gaël PORTAY May 4, 2015, 4:08 p.m. UTC | #2
On 16/04/2015 14:45, Boris Brezillon wrote:
> On Thu, 16 Apr 2015 14:25:44 +0200
> Gaël PORTAY <g.portay@overkiz.com> 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 <g.portay@overkiz.com>
> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
>
>> ---
>>   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 :)
Alexandre Belloni May 4, 2015, 5:10 p.m. UTC | #3
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 ;)
Nicolas Ferre May 11, 2015, 9:21 a.m. UTC | #4
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 <g.portay@overkiz.com>

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>

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 {
>
diff mbox

Patch

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 {