[PATCH 1/2] dt-bindings: clock: Move at91.h to dt-bindigs/clock

Nicolas Ferre nicolas.ferre at atmel.com
Fri Apr 18 08:53:25 PDT 2014


On 06/03/2014 07:04, Tushar Behera :
> Most of the clock related dt-binding header files are located in
> dt-bindings/clock folder. It would be good to keep all the similar
> header files at a single location.
> 
> Signed-off-by: Tushar Behera <tushar.behera at linaro.org>
> CC: Rob Landley <rob at landley.net>
> CC: Andrew Victor <linux at maxim.org.za>
> CC: Jean-Christophe Plagniol-Villard <plagnioj at jcrosoft.com>

I have just added at91sam9261 and at91sam9rl which appeared in 3.15
merge window and stacked this patch on top of at91-3.15-fixes.

I hope that it will be accepted for 3.15.

Bye,


> ---
>  .../devicetree/bindings/clock/at91-clock.txt       |    2 +-
>  arch/arm/boot/dts/sama5d3.dtsi                     |    2 +-
>  arch/arm/boot/dts/sama5d3_mci2.dtsi                |    2 +-
>  arch/arm/boot/dts/sama5d3_tcb1.dtsi                |    2 +-
>  arch/arm/boot/dts/sama5d3_uart.dtsi                |    2 +-
>  include/dt-bindings/{clk => clock}/at91.h          |    0
>  6 files changed, 5 insertions(+), 5 deletions(-)
>  rename include/dt-bindings/{clk => clock}/at91.h (100%)
> 
> diff --git a/Documentation/devicetree/bindings/clock/at91-clock.txt b/Documentation/devicetree/bindings/clock/at91-clock.txt
> index cd5e239..6794cdc 100644
> --- a/Documentation/devicetree/bindings/clock/at91-clock.txt
> +++ b/Documentation/devicetree/bindings/clock/at91-clock.txt
> @@ -62,7 +62,7 @@ Required properties for PMC node:
>  - interrupt-controller : tell that the PMC is an interrupt controller.
>  - #interrupt-cells : must be set to 1. The first cell encodes the interrupt id,
>  	and reflect the bit position in the PMC_ER/DR/SR registers.
> -	You can use the dt macros defined in dt-bindings/clk/at91.h.
> +	You can use the dt macros defined in dt-bindings/clock/at91.h.
>  	0 (AT91_PMC_MOSCS) -> main oscillator ready
>  	1 (AT91_PMC_LOCKA) -> PLL A ready
>  	2 (AT91_PMC_LOCKB) -> PLL B ready
> diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
> index 3d5faf8..8c977b5 100644
> --- a/arch/arm/boot/dts/sama5d3.dtsi
> +++ b/arch/arm/boot/dts/sama5d3.dtsi
> @@ -13,7 +13,7 @@
>  #include <dt-bindings/pinctrl/at91.h>
>  #include <dt-bindings/interrupt-controller/irq.h>
>  #include <dt-bindings/gpio/gpio.h>
> -#include <dt-bindings/clk/at91.h>
> +#include <dt-bindings/clock/at91.h>
>  
>  / {
>  	model = "Atmel SAMA5D3 family SoC";
> diff --git a/arch/arm/boot/dts/sama5d3_mci2.dtsi b/arch/arm/boot/dts/sama5d3_mci2.dtsi
> index b029fe7..1b02208 100644
> --- a/arch/arm/boot/dts/sama5d3_mci2.dtsi
> +++ b/arch/arm/boot/dts/sama5d3_mci2.dtsi
> @@ -9,7 +9,7 @@
>  
>  #include <dt-bindings/pinctrl/at91.h>
>  #include <dt-bindings/interrupt-controller/irq.h>
> -#include <dt-bindings/clk/at91.h>
> +#include <dt-bindings/clock/at91.h>
>  
>  / {
>  	ahb {
> diff --git a/arch/arm/boot/dts/sama5d3_tcb1.dtsi b/arch/arm/boot/dts/sama5d3_tcb1.dtsi
> index 382b044..0284845 100644
> --- a/arch/arm/boot/dts/sama5d3_tcb1.dtsi
> +++ b/arch/arm/boot/dts/sama5d3_tcb1.dtsi
> @@ -9,7 +9,7 @@
>  
>  #include <dt-bindings/pinctrl/at91.h>
>  #include <dt-bindings/interrupt-controller/irq.h>
> -#include <dt-bindings/clk/at91.h>
> +#include <dt-bindings/clock/at91.h>
>  
>  / {
>  	aliases {
> diff --git a/arch/arm/boot/dts/sama5d3_uart.dtsi b/arch/arm/boot/dts/sama5d3_uart.dtsi
> index a9fa75e..7a8d4c6 100644
> --- a/arch/arm/boot/dts/sama5d3_uart.dtsi
> +++ b/arch/arm/boot/dts/sama5d3_uart.dtsi
> @@ -9,7 +9,7 @@
>  
>  #include <dt-bindings/pinctrl/at91.h>
>  #include <dt-bindings/interrupt-controller/irq.h>
> -#include <dt-bindings/clk/at91.h>
> +#include <dt-bindings/clock/at91.h>
>  
>  / {
>  	aliases {
> diff --git a/include/dt-bindings/clk/at91.h b/include/dt-bindings/clock/at91.h
> similarity index 100%
> rename from include/dt-bindings/clk/at91.h
> rename to include/dt-bindings/clock/at91.h
> 


-- 
Nicolas Ferre



More information about the linux-arm-kernel mailing list