From: b.brezillon@overkiz•com (boris brezillon)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH v2 01/42] ARM: at91: move at91_pmc.h to include/linux/clk/at91.h
Date: Wed, 24 Jul 2013 00:24:49 +0200 [thread overview]
Message-ID: <51EF02B1.8030201@overkiz.com> (raw)
In-Reply-To: <20130723180330.GL16015@ns203013.ovh.net>
Le 23/07/2013 20:03, Jean-Christophe PLAGNIOL-VILLARD a ?crit :
> On 15:37 Wed 17 Jul , Boris BREZILLON wrote:
>> This patch moves at91_pmc.h header from machine specific directory
>> (arch/arm/mach-at91/include/mach/at91_pmc.h) to clk include directory
>> (include/linux/clk/at91.h).
> please the at91_pmc.h in the name
>
> so we known the IP that we use and if we change it we will not have to rename
> it in the futur
OK. I will change the name to at91_pmc.h in the next version.
>
> otherwise
> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft•com>
>
> Best Regards,
> J.
>> We need this to avoid reference to machine specific headers in clk
>> drivers.
>>
>> Signed-off-by: Boris BREZILLON <b.brezillon@overkiz•com>
>> ---
>> arch/arm/mach-at91/at91rm9200.c | 2 +-
>> arch/arm/mach-at91/at91sam9260.c | 2 +-
>> arch/arm/mach-at91/at91sam9261.c | 2 +-
>> arch/arm/mach-at91/at91sam9263.c | 2 +-
>> arch/arm/mach-at91/at91sam9g45.c | 2 +-
>> arch/arm/mach-at91/at91sam9n12.c | 2 +-
>> arch/arm/mach-at91/at91sam9rl.c | 2 +-
>> arch/arm/mach-at91/at91sam9x5.c | 2 +-
>> arch/arm/mach-at91/clock.c | 2 +-
>> arch/arm/mach-at91/pm.c | 2 +-
>> arch/arm/mach-at91/pm_slowclock.S | 2 +-
>> arch/arm/mach-at91/sama5d3.c | 2 +-
>> arch/arm/mach-at91/setup.c | 2 +-
>> drivers/usb/gadget/atmel_usba_udc.c | 2 +-
>> .../mach/at91_pmc.h => include/linux/clk/at91.h | 2 +-
>> 15 files changed, 15 insertions(+), 15 deletions(-)
>> rename arch/arm/mach-at91/include/mach/at91_pmc.h => include/linux/clk/at91.h (99%)
>>
>> diff --git a/arch/arm/mach-at91/at91rm9200.c b/arch/arm/mach-at91/at91rm9200.c
>> index 4aad93d..8de5b02 100644
>> --- a/arch/arm/mach-at91/at91rm9200.c
>> +++ b/arch/arm/mach-at91/at91rm9200.c
>> @@ -12,13 +12,13 @@
>>
>> #include <linux/module.h>
>> #include <linux/reboot.h>
>> +#include <linux/clk/at91.h>
>>
>> #include <asm/irq.h>
>> #include <asm/mach/arch.h>
>> #include <asm/mach/map.h>
>> #include <asm/system_misc.h>
>> #include <mach/at91rm9200.h>
>> -#include <mach/at91_pmc.h>
>> #include <mach/at91_st.h>
>> #include <mach/cpu.h>
>>
>> diff --git a/arch/arm/mach-at91/at91sam9260.c b/arch/arm/mach-at91/at91sam9260.c
>> index 5de6074..db9d89a 100644
>> --- a/arch/arm/mach-at91/at91sam9260.c
>> +++ b/arch/arm/mach-at91/at91sam9260.c
>> @@ -11,6 +11,7 @@
>> */
>>
>> #include <linux/module.h>
>> +#include <linux/clk/at91.h>
>>
>> #include <asm/proc-fns.h>
>> #include <asm/irq.h>
>> @@ -20,7 +21,6 @@
>> #include <mach/cpu.h>
>> #include <mach/at91_dbgu.h>
>> #include <mach/at91sam9260.h>
>> -#include <mach/at91_pmc.h>
>>
>> #include "at91_aic.h"
>> #include "at91_rstc.h"
>> diff --git a/arch/arm/mach-at91/at91sam9261.c b/arch/arm/mach-at91/at91sam9261.c
>> index 0e07932..a4123bd 100644
>> --- a/arch/arm/mach-at91/at91sam9261.c
>> +++ b/arch/arm/mach-at91/at91sam9261.c
>> @@ -11,6 +11,7 @@
>> */
>>
>> #include <linux/module.h>
>> +#include <linux/clk/at91.h>
>>
>> #include <asm/proc-fns.h>
>> #include <asm/irq.h>
>> @@ -19,7 +20,6 @@
>> #include <asm/system_misc.h>
>> #include <mach/cpu.h>
>> #include <mach/at91sam9261.h>
>> -#include <mach/at91_pmc.h>
>>
>> #include "at91_aic.h"
>> #include "at91_rstc.h"
>> diff --git a/arch/arm/mach-at91/at91sam9263.c b/arch/arm/mach-at91/at91sam9263.c
>> index 6ce7d18..e0a1a68 100644
>> --- a/arch/arm/mach-at91/at91sam9263.c
>> +++ b/arch/arm/mach-at91/at91sam9263.c
>> @@ -11,6 +11,7 @@
>> */
>>
>> #include <linux/module.h>
>> +#include <linux/clk/at91.h>
>>
>> #include <asm/proc-fns.h>
>> #include <asm/irq.h>
>> @@ -18,7 +19,6 @@
>> #include <asm/mach/map.h>
>> #include <asm/system_misc.h>
>> #include <mach/at91sam9263.h>
>> -#include <mach/at91_pmc.h>
>>
>> #include "at91_aic.h"
>> #include "at91_rstc.h"
>> diff --git a/arch/arm/mach-at91/at91sam9g45.c b/arch/arm/mach-at91/at91sam9g45.c
>> index 474ee04..29ba2ca 100644
>> --- a/arch/arm/mach-at91/at91sam9g45.c
>> +++ b/arch/arm/mach-at91/at91sam9g45.c
>> @@ -12,13 +12,13 @@
>>
>> #include <linux/module.h>
>> #include <linux/dma-mapping.h>
>> +#include <linux/clk/at91.h>
>>
>> #include <asm/irq.h>
>> #include <asm/mach/arch.h>
>> #include <asm/mach/map.h>
>> #include <asm/system_misc.h>
>> #include <mach/at91sam9g45.h>
>> -#include <mach/at91_pmc.h>
>> #include <mach/cpu.h>
>>
>> #include "at91_aic.h"
>> diff --git a/arch/arm/mach-at91/at91sam9n12.c b/arch/arm/mach-at91/at91sam9n12.c
>> index c7d670d..c270503 100644
>> --- a/arch/arm/mach-at91/at91sam9n12.c
>> +++ b/arch/arm/mach-at91/at91sam9n12.c
>> @@ -8,12 +8,12 @@
>>
>> #include <linux/module.h>
>> #include <linux/dma-mapping.h>
>> +#include <linux/clk/at91.h>
>>
>> #include <asm/irq.h>
>> #include <asm/mach/arch.h>
>> #include <asm/mach/map.h>
>> #include <mach/at91sam9n12.h>
>> -#include <mach/at91_pmc.h>
>> #include <mach/cpu.h>
>>
>> #include "board.h"
>> diff --git a/arch/arm/mach-at91/at91sam9rl.c b/arch/arm/mach-at91/at91sam9rl.c
>> index d4ec0d9..2694bd1 100644
>> --- a/arch/arm/mach-at91/at91sam9rl.c
>> +++ b/arch/arm/mach-at91/at91sam9rl.c
>> @@ -10,6 +10,7 @@
>> */
>>
>> #include <linux/module.h>
>> +#include <linux/clk/at91.h>
>>
>> #include <asm/proc-fns.h>
>> #include <asm/irq.h>
>> @@ -19,7 +20,6 @@
>> #include <mach/cpu.h>
>> #include <mach/at91_dbgu.h>
>> #include <mach/at91sam9rl.h>
>> -#include <mach/at91_pmc.h>
>>
>> #include "at91_aic.h"
>> #include "at91_rstc.h"
>> diff --git a/arch/arm/mach-at91/at91sam9x5.c b/arch/arm/mach-at91/at91sam9x5.c
>> index 2abee66..9fdea07 100644
>> --- a/arch/arm/mach-at91/at91sam9x5.c
>> +++ b/arch/arm/mach-at91/at91sam9x5.c
>> @@ -8,12 +8,12 @@
>>
>> #include <linux/module.h>
>> #include <linux/dma-mapping.h>
>> +#include <linux/clk/at91.h>
>>
>> #include <asm/irq.h>
>> #include <asm/mach/arch.h>
>> #include <asm/mach/map.h>
>> #include <mach/at91sam9x5.h>
>> -#include <mach/at91_pmc.h>
>> #include <mach/cpu.h>
>>
>> #include "board.h"
>> diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c
>> index 6b2630a..cc263d0 100644
>> --- a/arch/arm/mach-at91/clock.c
>> +++ b/arch/arm/mach-at91/clock.c
>> @@ -24,9 +24,9 @@
>> #include <linux/clk.h>
>> #include <linux/io.h>
>> #include <linux/of_address.h>
>> +#include <linux/clk/at91.h>
>>
>> #include <mach/hardware.h>
>> -#include <mach/at91_pmc.h>
>> #include <mach/cpu.h>
>>
>> #include <asm/proc-fns.h>
>> diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c
>> index 15afb5d..de425e0 100644
>> --- a/arch/arm/mach-at91/pm.c
>> +++ b/arch/arm/mach-at91/pm.c
>> @@ -19,13 +19,13 @@
>> #include <linux/module.h>
>> #include <linux/platform_device.h>
>> #include <linux/io.h>
>> +#include <linux/clk/at91.h>
>>
>> #include <asm/irq.h>
>> #include <linux/atomic.h>
>> #include <asm/mach/time.h>
>> #include <asm/mach/irq.h>
>>
>> -#include <mach/at91_pmc.h>
>> #include <mach/cpu.h>
>>
>> #include "at91_aic.h"
>> diff --git a/arch/arm/mach-at91/pm_slowclock.S b/arch/arm/mach-at91/pm_slowclock.S
>> index 098c28d..76387e0 100644
>> --- a/arch/arm/mach-at91/pm_slowclock.S
>> +++ b/arch/arm/mach-at91/pm_slowclock.S
>> @@ -13,8 +13,8 @@
>> */
>>
>> #include <linux/linkage.h>
>> +#include <linux/clk/at91.h>
>> #include <mach/hardware.h>
>> -#include <mach/at91_pmc.h>
>> #include <mach/at91_ramc.h>
>>
>>
>> diff --git a/arch/arm/mach-at91/sama5d3.c b/arch/arm/mach-at91/sama5d3.c
>> index 4012797..32e0522 100644
>> --- a/arch/arm/mach-at91/sama5d3.c
>> +++ b/arch/arm/mach-at91/sama5d3.c
>> @@ -9,12 +9,12 @@
>>
>> #include <linux/module.h>
>> #include <linux/dma-mapping.h>
>> +#include <linux/clk/at91.h>
>>
>> #include <asm/irq.h>
>> #include <asm/mach/arch.h>
>> #include <asm/mach/map.h>
>> #include <mach/sama5d3.h>
>> -#include <mach/at91_pmc.h>
>> #include <mach/cpu.h>
>>
>> #include "soc.h"
>> diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c
>> index b17fbcf..de3c519 100644
>> --- a/arch/arm/mach-at91/setup.c
>> +++ b/arch/arm/mach-at91/setup.c
>> @@ -11,6 +11,7 @@
>> #include <linux/pm.h>
>> #include <linux/of_address.h>
>> #include <linux/pinctrl/machine.h>
>> +#include <linux/clk/at91.h>
>>
>> #include <asm/system_misc.h>
>> #include <asm/mach/map.h>
>> @@ -18,7 +19,6 @@
>> #include <mach/hardware.h>
>> #include <mach/cpu.h>
>> #include <mach/at91_dbgu.h>
>> -#include <mach/at91_pmc.h>
>>
>> #include "at91_shdwc.h"
>> #include "soc.h"
>> diff --git a/drivers/usb/gadget/atmel_usba_udc.c b/drivers/usb/gadget/atmel_usba_udc.c
>> index f018017..a678537 100644
>> --- a/drivers/usb/gadget/atmel_usba_udc.c
>> +++ b/drivers/usb/gadget/atmel_usba_udc.c
>> @@ -326,7 +326,7 @@ static int vbus_is_present(struct usba_udc *udc)
>>
>> #if defined(CONFIG_ARCH_AT91SAM9RL)
>>
>> -#include <mach/at91_pmc.h>
>> +#include <linux/clk/at91.h>
>>
>> static void toggle_bias(int is_on)
>> {
>> diff --git a/arch/arm/mach-at91/include/mach/at91_pmc.h b/include/linux/clk/at91.h
>> similarity index 99%
>> rename from arch/arm/mach-at91/include/mach/at91_pmc.h
>> rename to include/linux/clk/at91.h
>> index c604cc6..0ce9586 100644
>> --- a/arch/arm/mach-at91/include/mach/at91_pmc.h
>> +++ b/include/linux/clk/at91.h
>> @@ -1,5 +1,5 @@
>> /*
>> - * arch/arm/mach-at91/include/mach/at91_pmc.h
>> + * include/linux/clk/at91.h
>> *
>> * Copyright (C) 2005 Ivan Kokshaysky
>> * Copyright (C) SAN People
>> --
>> 1.7.9.5
>>
next prev parent reply other threads:[~2013-07-23 22:24 UTC|newest]
Thread overview: 64+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-17 13:34 [PATCH v2 00/42] ARM: at91: move to common clk framework Boris BREZILLON
2013-07-17 13:37 ` [PATCH v2 01/42] ARM: at91: move at91_pmc.h to include/linux/clk/at91.h Boris BREZILLON
2013-07-23 18:03 ` Jean-Christophe PLAGNIOL-VILLARD
2013-07-23 22:24 ` boris brezillon [this message]
2013-07-17 13:40 ` [PATCH v2 02/42] ARM: at91: add PMC main clock Boris BREZILLON
2013-07-17 16:39 ` boris brezillon
2013-07-26 16:41 ` boris brezillon
2013-07-17 13:42 ` [PATCH v2 03/42] ARM: at91: add PMC pll clocks Boris BREZILLON
2013-07-17 13:44 ` [PATCH v2 04/42] ARM: at91: add PMC master clock Boris BREZILLON
2013-07-17 13:45 ` [PATCH v2 05/42] ARM: at91: add PMC system clocks Boris BREZILLON
2013-07-17 13:46 ` [PATCH v2 06/42] ARM: at91: add PMC peripheral clocks Boris BREZILLON
2013-07-17 13:47 ` [PATCH v2 07/42] ARM: at91: add PMC programmable clocks Boris BREZILLON
2013-07-17 13:50 ` [PATCH v2 08/42] ARM: at91: add PMC utmi clock Boris BREZILLON
2013-07-17 13:52 ` [PATCH v2 09/42] ARM: at91: add PMC usb clock Boris BREZILLON
2013-07-17 13:53 ` [PATCH v2 10/42] ARM: at91: add PMC smd clock Boris BREZILLON
2013-07-17 13:55 ` [PATCH v2 11/42] ARM: at91: add PMC clk device tree binding doc Boris BREZILLON
2013-07-17 14:35 ` [PATCH v2 12/42] ARM: at91: move to common clk framework Boris BREZILLON
2013-07-17 14:41 ` [PATCH v2 13/42] ARM: at91: move at91rm9200 SoC to new at91 clk implem Boris BREZILLON
2013-07-17 14:42 ` [PATCH v2 14/42] ARM: at91: move at91sam9260 " Boris BREZILLON
2013-07-17 14:44 ` [PATCH v2 15/42] ARM: at91: move at91sam9261 " Boris BREZILLON
2013-07-17 14:45 ` [PATCH v2 16/42] ARM: at91: move at91sam9263 " Boris BREZILLON
2013-07-17 14:49 ` [PATCH v2 17/42] ARM: at91: move at91sam9g45 " Boris BREZILLON
2013-07-23 22:29 ` boris brezillon
2013-07-17 14:49 ` [PATCH v2 18/42] ARM: at91: move at91sam9n12 " Boris BREZILLON
2013-07-17 14:52 ` [PATCH v2 19/42] ARM: at91: move at91sam9rl " Boris BREZILLON
2013-07-17 14:53 ` [PATCH v2 20/42] ARM: at91: move at91sam9x5 SoCs " Boris BREZILLON
2013-07-17 14:59 ` [PATCH v2 21/42] ARM: at91: move at91sam9 " Boris BREZILLON
2013-07-17 14:59 ` [PATCH v2 22/42] ARM: at91: move sama5d3 " Boris BREZILLON
2013-07-17 15:00 ` [PATCH v2 23/42] ARM: at91: move at91rm9200 boards " Boris BREZILLON
2013-07-17 15:37 ` [PATCH v2 24/42] ARM: at91: move at91sam9 " Boris BREZILLON
2013-07-17 17:13 ` Russell King - ARM Linux
2013-07-17 20:32 ` boris brezillon
2013-07-17 15:46 ` [PATCH v2 25/42] ARM: at91: move pit timer to common clk framework Boris BREZILLON
2013-07-17 15:47 ` [PATCH v2 26/42] USB: ohci-at91: add usb_clk for transition " Boris BREZILLON
2013-07-31 7:56 ` boris brezillon
2013-07-31 14:32 ` Alan Stern
2013-07-17 15:49 ` [PATCH v2 27/42] usb: gadget: at91_udc: " Boris BREZILLON
2013-07-17 15:51 ` [PATCH v2 28/42] ARM: at91/dt: move at91rm9200 SoC to new at91 clk implem Boris BREZILLON
2013-07-17 15:53 ` [PATCH v2 29/42] ARM: at91/dt: move at91sam9260 " Boris BREZILLON
2013-07-17 15:55 ` [PATCH v2 30/42] ARM: at91/dt: move at91sam9263 " Boris BREZILLON
2013-07-17 16:00 ` [PATCH v2 31/42] ARM: at91/dt: move at91sam9g45 " Boris BREZILLON
2013-07-17 16:02 ` [PATCH v2 32/42] ARM: at91/dt: move at91sam9n12 " Boris BREZILLON
2013-07-17 16:05 ` [PATCH v2 33/42] ARM: at91/dt: move at91sam9x5 SoCs " Boris BREZILLON
2013-07-17 16:45 ` [PATCH v2 34/42] ARM: at91/dt: move at91sam9g20 SoC " Boris BREZILLON
2013-07-17 16:50 ` [PATCH v2 35/42] ARM: at91/dt: move sama5d3 SoCs " Boris BREZILLON
2013-07-17 20:06 ` [PATCH v2 36/42] ARM: at91/dt: move sam9260/sam9g20 " Boris BREZILLON
2013-07-17 20:08 ` [PATCH v2 37/42] ARM: at91/dt: move rm9200 boards " Boris BREZILLON
2013-07-17 20:09 ` [PATCH v2 38/42] ARM: at91/dt: move sam9263 " Boris BREZILLON
2013-07-17 20:17 ` [PATCH v2 39/42] ARM: at91/dt: move sam9g45 " Boris BREZILLON
2013-07-17 20:19 ` [PATCH v2 40/42] ARM: at91/dt: move sam9n12 " Boris BREZILLON
2013-07-17 20:21 ` [PATCH v2 41/42] ARM: at91/dt: move sam9x5 " Boris BREZILLON
2013-07-17 20:32 ` [PATCH v2 42/42] ARM: at91/dt: move sama5d3 " Boris BREZILLON
2013-07-18 8:51 ` [PATCH v2 00/42] ARM: at91: move to common clk framework boris brezillon
2013-07-26 14:10 ` Richard Genoud
2013-07-26 15:44 ` boris brezillon
2013-07-26 16:35 ` boris brezillon
2013-07-29 8:00 ` Richard Genoud
2013-07-29 9:25 ` boris brezillon
2013-07-29 14:18 ` Richard Genoud
2013-07-29 14:34 ` boris brezillon
2013-07-29 15:09 ` Richard Genoud
2013-07-29 15:14 ` boris brezillon
2013-07-29 16:44 ` boris brezillon
2013-07-27 4:41 ` boris brezillon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51EF02B1.8030201@overkiz.com \
--to=b.brezillon@overkiz$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox