This patch adds support for accuracy retrieval on fixed clocks.
It also adds a new dt property called 'clock-accuracy' to define the clock
accuracy.
This can be usefull for oscillator (RC, crystal, ...) definitions which are
always given an accuracy characteristic.
---
.../devicetree/bindings/clo
optional and may be implemented if the clock is not
a perfect clock (accuracy != 0 ppb).
Signed-off-by: Boris BREZILLON
---
Documentation/clk.txt|4 ++
drivers/clk/Kconfig |4 ++
drivers/clk/clk.c| 91 --
include/linux
Sorry for the noise, I forgot to add "--in-reply-to" option.
On 01/08/2013 17:02, Boris BREZILLON wrote:
The clock accuracy is expressed in ppb (parts per billion) and represents
the possible clock drift.
Say you have a clock (e.g. an oscillator) which provides a fixed clock of
20M
On 01/08/2013 16:39, Alan Stern wrote:
On Thu, 1 Aug 2013, Boris BREZILLON wrote:
The AT91 PMC (Power Management Controller) provides an USB clock used by
USB Full Speed host (ohci) and USB Full Speed device (udc).
The usb drivers (ohci and udc) must configure this clock to 48Mhz.
This
new at91 clk support
Signed-off-by: Boris BREZILLON
---
drivers/usb/gadget/at91_udc.c | 21 +++--
drivers/usb/gadget/at91_udc.h |2 +-
2 files changed, 20 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/gadget/at91_udc.c b/drivers/usb/gadget/at91_udc.c
index fce8e4e
new at91 clk support
Signed-off-by: Boris BREZILLON
---
drivers/usb/host/ohci-at91.c | 23 +--
1 file changed, 21 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c
index 9677f68..db60048 100644
--- a/drivers/usb/host/ohci
:
* add missing clk_put for existing clk (fclk and uclk)
* add usb clock (uclk) support
Changes since v1:
- use IS_ENABLED(CONFIG_COMMON_CLK) to isolate new at91 clk support
Boris BREZILLON (2):
usb: gadget: at91_udc: add missing clk_put on fclk and iclk
usb: gadget: at91_udc: add
when moving to common clk framework.
This patch adds support for usb clock retrieval and configuration, and is
backward compatible with the current at91 clk implementation (if usb clk
is not found, it does not configure/enable it).
Signed-off-by: Boris BREZILLON
---
drivers/usb/gadget/at91_udc.c
This patch adds missing clk_put on fclk and iclk in case the probe function
fails after these clocks have been retrieved.
Signed-off-by: Boris BREZILLON
---
drivers/usb/gadget/at91_udc.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/usb/gadget/at91_udc.c b/drivers/usb
Hello Richard,
On 01/08/2013 09:37, Richard Genoud wrote:
2013/8/1 Boris BREZILLON :
Hello,
This patch series move at91 SoCs peripheral id definitions from machine
specific include dir to dt-bindings include dir.
These macros are used to reference interrupts instead of peripheral numbers
l and programmable clk dt bindings (1 master node
and multiple child nodes each defining a system/peripheral or prog clock)
- fix bugs in sama5 dt definition
Boris BREZILLON (19):
ARM: at91: move at91_pmc.h to include/linux/clk/at91_pmc.h
ARM: at91: add Kconfig options for common clk su
Hello Chris,
Could you take this patch ?
It has been acked by Ludovic, and I need it in order to gracefully handle
at91's SoCs migration to common clk framework.
Thanks.
Best Regards,
Boris
On 18/07/2013 09:38, Boris BREZILLON wrote:
Replace clk_enable/disable with clk_prepare_e
uring out what I should use to implement my fallback ?
1) use the register/unregister/register sequence
2) reimplement the "for (i = 0; i < PHY_MAX_ADDR; i++)" mdiobus_scan loop
Thanks.
Best Regards,
Boris
Boris BREZILLON (1):
phylib: mdio: handle register/unregister/register sequ
h replaces the device_register call with device_add in
mdiobus_register and move the device struct initialization in the
mdiobus_alloc_size function.
Thus the device struct is only initialized once.
Signed-off-by: Boris BREZILLON
---
drivers/net/phy/mdio_bus.c |6 --
1 file changed, 4
Hello Florian,
Thanks for your answer.
On 22/08/2013 14:43, Florian Fainelli wrote:
Hello Boris,
2013/8/22 Boris BREZILLON :
Hello,
This patch is a proposal to support the register/unregister/register
sequence on a given mdio bus.
I use the register/unregister/register sequence to add a
On 22/08/2013 15:15, Florian Fainelli wrote:
2013/8/22 boris brezillon :
Hello Florian,
Thanks for your answer.
On 22/08/2013 14:43, Florian Fainelli wrote:
Hello Boris,
2013/8/22 Boris BREZILLON :
Hello,
This patch is a proposal to support the register/unregister/register
sequence on a
On 22/08/2013 14:33, Boris BREZILLON wrote:
Hello,
This patch is a proposal to support the register/unregister/register
sequence on a given mdio bus.
I forgot to ask, if this limitation was made on purpose ?
In other terms: no one should ever try to register, unregister and
register again
a
On 22/08/2013 17:27, Greg Kroah-Hartman wrote:
On Thu, Aug 22, 2013 at 02:33:56PM +0200, Boris BREZILLON wrote:
Hello,
This patch is a proposal to support the register/unregister/register
sequence on a given mdio bus.
I use the register/unregister/register sequence to add a fallback when the
This patch describe the phy used on atmel sama5d3 mother board:
- phy address
- phy interrupt pin
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/sama5d3xmb.dtsi |8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d3xmb.dtsi
b/arch/arm/boot/dts
Hello Florian,
On 22/08/2013 17:57, Boris BREZILLON wrote:
The macb driver only handle PHY description through platform_data
(macb_platform_data).
Thus, when using dt you cannot define phy properties like phy address or
phy irq pin.
This patch makes use of the of_mdiobus_register to add
Hello,
This patch series adds support for ethernet phy definition using device
tree.
This may help in moving some at91 boards to dt (some of them define an
interrupt pin).
Tested on samad31ek.
Best Regards,
Boris
Boris BREZILLON (2):
net/cadence/macb: add support for dt phy definition
ARM
autoscan procedure is added in case there is no phy
devices defined in dt.
Signed-off-by: Boris BREZILLON
---
drivers/net/ethernet/cadence/macb.c | 41 +--
1 file changed, 34 insertions(+), 7 deletions(-)
diff --git a/drivers/net/ethernet/cadence/macb.c
b/drivers/net
Test the presence of a PHY device before printing attached PHY
informations.
Signed-off-by: Boris BREZILLON
---
drivers/net/ethernet/cadence/macb.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/cadence/macb.c
b/drivers/net/ethernet/cadence
s a better representation of the real hardware (drop unneed
dt nodes) and avoids peripheral id conflict (which is not the case for
current sama5d3 SoCs, but could be if other SoCs of this family are
released).
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/sama5d3.dtsi
Hello Richard,
On 07/08/2013 12:38, Richard Genoud wrote:
2013/8/7 Boris BREZILLON :
This patch splits the sam9x5 peripheral definitions into:
- a common base for all sam9x5 SoCs (at91sam9x5.dtsi)
- several optional peripheral definitions which will be included by specific
sam9x5 SoCs
l hardware (drop unneeded
dt nodes) and avoids future peripheral id conflict (lcdc and isi both use
peripheral id 25).
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/at91sam9g25.dtsi |2 +
arch/arm/boot/dts/at91sam9g35.dtsi |1 +
arch/arm/boot/dts/at91sam9x25.dtsi
Add clocks to clock lookup table for uart DT entries.
Signed-off-by: Boris BREZILLON
---
arch/arm/mach-at91/at91sam9x5.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-at91/at91sam9x5.c b/arch/arm/mach-at91/at91sam9x5.c
index 2abee66..916e5a1 100644
--- a/arch/arm/mach
Hello Thomas,
Sorry for the noise, this mail was filtered by LKML and LAKML beacause
thunderbird
added HTML contents.
On 07/08/2013 18:08, Thomas Petazzoni wrote:
Dear Boris BREZILLON,
On Wed, 7 Aug 2013 12:14:26 +0200, Boris BREZILLON wrote:
This patch splits the sam9x5 peripheral
Hello Arnd,
On 07/08/2013 22:24, Arnd Bergmann wrote:
On Thursday 01 August 2013, Boris BREZILLON wrote:
This patch moves peripheral id definitions from machine specific include
dir (arch/arm/mach-at91/include/mach/'soc-name'.h) to dt-bindinds include
dir (include/dt-bindings/at91
On 07/08/2013 20:59, Linus Walleij wrote:
On Sat, Jul 20, 2013 at 4:51 PM, Boris BREZILLON
wrote:
The current implementation handle both edge and level interrupts with the
'handle_simple_irq' handler.
Level interrupts are active as long as the pin stays at the configured
level (l
(1 master node
and multiple child nodes each defining a system/peripheral or prog clock)
- fix bugs in sama5 dt definition
Boris BREZILLON (19):
ARM: at91: move at91_pmc.h to include/linux/clk/at91_pmc.h
ARM: at91: add Kconfig options for common clk support
clk: at91: add PMC base
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_pmc.h).
We need this to avoid reference to machine specific headers in clk
drivers.
Signed-off-by: Boris BREZILLON
---
arch/arm/mach
w clk implementation. These SoCs won't setup the
register_clocks callback (clk registration is done using of_clk_init).
Signed-off-by: Boris BREZILLON
---
arch/arm/mach-at91/Kconfig| 21 +
arch/arm/mach-at91/Kconfig.non_dt |6 ++
arch/arm/mach-at9
matching
the definitions in pmc_clk_ids).
This patch copies at91_pmc_base (memory mapping) and at91sam9_idle
(function) from arch/arm/mach-at91/clock.c (which is not compiled if
COMMON_CLK_AT91 is enabled).
Signed-off-by: Boris BREZILLON
---
drivers/clk/Makefile |1 +
drivers/clk/at91
This patch adds new at91 main oscillator clock implementation using common
clk framework.
If rate is not provided during clock registration it is calculated using
the slow clock (main clk parent in this case) rate and MCFR register.
Signed-off-by: Boris BREZILLON
---
drivers/clk/at91/Makefile
This patch adds a new macro file for PMC macros.
This macro file includes the definitions of SR (status register) bit
offsets and will be use to reference PMC irqs.
Signed-off-by: Boris BREZILLON
---
include/dt-bindings/clk/at91/common/pmc.h | 20
1 file changed, 20
Signed-off-by: Boris BREZILLON
---
drivers/clk/at91/Makefile |2 +-
drivers/clk/at91/clk-pll.c| 506 +
drivers/clk/at91/clk-plldiv.c | 137 +++
drivers/clk/at91/pmc.c| 21 ++
drivers/clk/at91/pmc.h| 11 +
in
This patch adds the PLL id macros which will be used by pll dt definitions.
Signed-off-by: Boris BREZILLON
---
include/dt-bindings/clk/at91/common/clk-pll.h | 13 +
1 file changed, 13 insertions(+)
create mode 100644 include/dt-bindings/clk/at91/common/clk-pll.h
diff --git a
checked during rate change to avoid
over/underclocking.
These characteristics are described in atmel's SoC datasheet in
"Electrical Characteristics" paragraph.
Signed-off-by: Boris BREZILLON
---
drivers/clk/at91/Makefile |2 +-
drivers/clk/at91/clk-
This patch adds new at91 system clock implementation using common clk
framework.
Some peripherals need to enable a "system" clock in order to work properly.
Each system clock is given an id based on the bit position in SCER/SCDR
registers.
Signed-off-by: Boris BREZILLON
---
driver
This patch adds system clk ids definitions into dt-bindinds include dir
(include/dt-bindings/clk/at91/'soc-name'/system-clk.h).
These definitions will be used by dt definition to define and reference
system clks.
Signed-off-by: Boris BREZILLON
---
.../dt-bindings/clk/at91/at91
ed to
define and reference peripheral clocks.
Some new SoCs (at91sam9x5 and sama5d3) provide a new register (PCR) where you
can configure the peripheral clock as a division of the master clock.
This will help reducing the peripherals power comsumption.
Signed-off-by: Boris BREZILLON
---
drivers/clk
This patch adds the peripheral divisors macros (for sam9x5 compatible IPs)
which will be used by peripheral clk dt definitions.
Signed-off-by: Boris BREZILLON
---
.../clk/at91/at91sam9x5/clk-peripheral.h | 15 +++
1 file changed, 15 insertions(+)
create mode 100644
(see atmel's datasheets).
Signed-off-by: Boris BREZILLON
---
drivers/clk/at91/Makefile |2 +
drivers/clk/at91/clk-programmable.c | 419 +++
drivers/clk/at91/pmc.c | 15 ++
drivers/clk/at91/pmc.h |9 +
4 files ch
This adds new at91 utmi clock implementation using common clk framework.
This clock is a pll with a fixed factor (x40).
It is used as a source for usb clock.
Signed-off-by: Boris BREZILLON
---
arch/arm/mach-at91/Kconfig |7 ++
drivers/clk/at91/Makefile |1 +
drivers/clk/at91/clk
This patch adds new at91 clks dt bindings documentation.
Signed-off-by: Boris BREZILLON
---
.../devicetree/bindings/clock/at91-clock.txt | 312
1 file changed, 312 insertions(+)
create mode 100644 Documentation/devicetree/bindings/clock/at91-clock.txt
diff --git a
This patch adds at91 smd (Soft Modem) clock implementation using common clk
framework.
Not used by any driver right now.
Signed-off-by: Boris BREZILLON
---
arch/arm/mach-at91/Kconfig |5 ++
drivers/clk/at91/Makefile |1 +
drivers/clk/at91/clk-smd.c | 171
This patch adds new at91 usb clock implementation using common clk framework.
This clock is used to clock usb ports (ohci, ehci and udc).
Signed-off-by: Boris BREZILLON
---
arch/arm/mach-at91/Kconfig | 11 ++
drivers/clk/at91/Makefile |1 +
drivers/clk/at91/clk-usb.c | 323
Use device tree to get the source clock of the PIT (Periodic Interval Timer).
If the clock is not found in device tree (or dt is not enabled) we'll try to
get it using clk_lookup definitions.
Signed-off-by: Boris BREZILLON
---
arch/arm/mach-at91/at91sam926x_time.c | 14 +-
1
).
Signed-off-by: Boris BREZILLON
---
arch/arm/mach-at91/clock.c |6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c
index 5f02aea..4d4463a 100644
--- a/arch/arm/mach-at91/clock.c
+++ b/arch/arm/mach-at91/clock.c
@@ -884,6 +884,12
ed in
this order):
1) "ARM: at91/dt: split sama5d3 definition" (v1)
2) "ARM: at91/dt: make use of periph id macros" (v2, not submitted yet)
3) "ARM: at91: move to common clk framework" (v3)
I will answer to this mail and join this patch series' dependencies in
attach
before
calling the PIT init function.
The device tree clock registration is enabled only if common clk is
selected. Else the old clk registration is been done during
at91_dt_initialize call.
Signed-off-by: Boris BREZILLON
---
arch/arm/mach-at91/board-dt-sama5.c | 10 +-
1 file changed
Define the main clock frequency for the new main clock node
in sama5d3xcm.dtsi.
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/sama5d3xcm.dtsi |6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d3xcm.dtsi
b/arch/arm/boot/dts/sama5d3xcm.dtsi
index 6a1871b
Define sama5d3 clocks in sama5d3 device tree.
Add references to the appropriate clocks in each peripheral.
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/sama5d3.dtsi | 331 ++-
arch/arm/boot/dts/sama5d3_can.dtsi | 19 ++
arch/arm/boot/dts
This patch removes the old main clk node which is now useless as sama5d3
SoCs and boards are no longer compatible with the old at91 clk
implementations.
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/sama5d3xcm.dtsi | 11 ---
1 file changed, 11 deletions(-)
diff --git a/arch
This patch removes the selection of AT91_USE_OLD_CLK when selecting sama5d3
SoC support. This will enable automatically enable COMMON_CLK_AT91 option
and add support for at91 common clk implementation.
Signed-off-by: Boris BREZILLON
---
arch/arm/mach-at91/Kconfig |1 -
1 file changed, 1
This patch enclose sama5d3 old clk registration in
"#if defined(CONFIG_OLD_CLK_AT91) #endif" sections.
Signed-off-by: Boris BREZILLON
---
arch/arm/mach-at91/sama5d3.c |6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/sama5d3.c b/arch/arm
before
calling the PIT init function.
The device tree clock registration is enabled only if common clk is
selected. Else the old clk registration is been done during
at91_dt_initialize call.
Signed-off-by: Boris BREZILLON
---
arch/arm/mach-at91/board-dt-sama5.c | 10 +-
1 file changed
This patch enclose sama5d3 old clk registration in
"#if defined(CONFIG_OLD_CLK_AT91) #endif" sections.
Signed-off-by: Boris BREZILLON
---
arch/arm/mach-at91/sama5d3.c |6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/sama5d3.c b/arch/arm
Define sama5d3 clocks in sama5d3 device tree.
Add references to the appropriate clocks in each peripheral.
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/sama5d3.dtsi | 331 ++-
arch/arm/boot/dts/sama5d3_can.dtsi | 19 ++
arch/arm/boot/dts
Define the main clock frequency for the new main clock node
in sama5d3xcm.dtsi.
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/sama5d3xcm.dtsi |6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d3xcm.dtsi
b/arch/arm/boot/dts/sama5d3xcm.dtsi
index 6a1871b
This patch removes the selection of AT91_USE_OLD_CLK when selecting sama5d3
SoC support. This will enable automatically enable COMMON_CLK_AT91 option
and add support for at91 common clk implementation.
Signed-off-by: Boris BREZILLON
---
arch/arm/mach-at91/Kconfig |1 -
1 file changed, 1
This patch removes the old main clk node which is now useless as sama5d3
SoCs and boards are no longer compatible with the old at91 clk
implementations.
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/sama5d3xcm.dtsi | 11 ---
1 file changed, 11 deletions(-)
diff --git a/arch
Hello Jean-Christophe,
On 08/08/2013 16:07, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 12:14 Wed 07 Aug , Boris BREZILLON wrote:
This patch splits the sam9x5 peripheral definitions into:
- a common base for all sam9x5 SoCs (at91sam9x5.dtsi)
- several optional peripheral definitions which
On 08/08/2013 17:23, boris brezillon wrote:
Hello Jean-Christophe,
On 08/08/2013 16:07, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 12:14 Wed 07 Aug , Boris BREZILLON wrote:
This patch splits the sam9x5 peripheral definitions into:
- a common base for all sam9x5 SoCs (at91sam9x5.dtsi
On 18/07/2013 13:25, Mark Brown wrote:
On Thu, Jul 18, 2013 at 09:48:40AM +0200, Boris BREZILLON wrote:
clk_prepare/unprepare (and indirectly clk_prepare_enable/disable_unprepare)
may sleep and thus cannot be called in critical section.
Applied, thanks.
Thanks
--
To unsubscribe from this list
On 18/07/2013 12:58, Mark Brown wrote:
On Thu, Jul 18, 2013 at 12:21:38PM +0200, boris brezillon wrote:
I can send you the whole series if you want (already sent to LKML
and LAKML).
But I'd like to understand who I should send patches from this series to.
When you send me patch 5/5 wi
e handle has treated it.
Signed-off-by: Boris BREZILLON
---
drivers/pinctrl/pinctrl-at91.c | 16 ++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c
index 5d7529e..76e108d 100644
--- a/drivers/pinctrl/
Le 17/07/2013 16:49, Boris BREZILLON a écrit :
This patch removes all references to the old at91 clks implementation and
make use of the new at91 clk implem for at91sam9g45 SoC.
All dt specific lookups are removed (handled in clk device tree binding).
Signed-off-by: Boris BREZILLON
---
arch
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
On 26/07/2013 16:10, Richard Genoud wrote:
On 17/07/2013 15:34, Boris BREZILLON wrote:
Hello,
This patch series is a proposal to move at91 clock implementation
to common clk framework.
Most of the clock provided by the PMC (Power Management Controller) are
implemented :
- main clock (main
On 17/07/2013 15:40, Boris BREZILLON wrote:
This is the at91 main oscillator clock implementation using common
clk framework.
If rate is not provided during clock registraction it is computed using
the slow clock (main clk parent in this case) rate and the MCFR register.
Signed-off-by: Boris
On 26/07/2013 17:44, boris brezillon wrote:
On 26/07/2013 16:10, Richard Genoud wrote:
On 17/07/2013 15:34, Boris BREZILLON wrote:
Hello,
This patch series is a proposal to move at91 clock implementation
to common clk framework.
Most of the clock provided by the PMC (Power Management
Hello Nicolas,
On 12/08/2013 15:52, Nicolas Ferre wrote:
On 01/08/2013 08:18, Boris BREZILLON :
The AT91 PMC (Power Management Controller) provides an USB clock used by
USB Full Speed host (ohci) and USB Full Speed device (udc).
The usb drivers (ohci and udc) must configure this clock to 48Mhz
Hello Felipe
On 12/08/2013 20:08, Felipe Balbi wrote:
On Mon, Aug 12, 2013 at 03:52:01PM +0200, Nicolas Ferre wrote:
On 01/08/2013 08:18, Boris BREZILLON :
The AT91 PMC (Power Management Controller) provides an USB clock used by
USB Full Speed host (ohci) and USB Full Speed device (udc).
The
r the arch specific irq handler inside the the init
functions using set_handle_irq. This way we can remove all the machine
specific "handle_irq".
This patch series was tested on kizbox board (sam9g20 SoC) using
device tree. Could someone test it on other boards (both dt and non dt)?
Best Re
Move arch/arm/mach-at91/irq.c to drivers/irqchip/irq-at91.c.
Move arch/arm/mach-at91/at91_aic.h to
arch/arm/mach-at91/include/mach/at91_aic.h to avoid ugly reference
to header file :
#include "../../arch/arm/mach-at91/at91_aic.h"
Signed-off-by: Boris BREZILLON
---
arch/arm/mach-at9
Replace machine specific init_irq functions with IRQCHIP_DECLARE.
Signed-off-by: Boris BREZILLON
---
arch/arm/mach-at91/board-dt-rm9200.c | 11 ---
arch/arm/mach-at91/board-dt-sam9.c | 12
arch/arm/mach-at91/board-dt-sama5.c | 12
arch/arm/mach-at91
Set machine specific irq handler using set_handle_irq inside aic init functions
instead of handle_irq pointer from machine_desc.
Signed-off-by: Boris BREZILLON
---
arch/arm/mach-at91/board-1arm.c|1 -
arch/arm/mach-at91/board-afeb-9260v1.c |1 -
arch/arm/mach-at91/board
From: Boris BREZILLON
Replace machine specific init_irq functions with IRQCHIP_DECLARE.
Signed-off-by: Boris BREZILLON
---
arch/arm/mach-at91/board-dt-rm9200.c | 11 ---
arch/arm/mach-at91/board-dt-sam9.c | 12
arch/arm/mach-at91/board-dt-sama5.c | 12
From: Boris BREZILLON
Set machine specific irq handler using set_handle_irq inside aic init
functions instead of handle_irq pointer from machine_desc.
Signed-off-by: Boris BREZILLON
---
arch/arm/mach-at91/board-1arm.c|1 -
arch/arm/mach-at91/board-afeb-9260v1.c |1
tree. Could someone test it on other boards (both dt and non dt)?
Best Regards,
Boris
Boris BREZILLON (3):
ARM: at91: move at91 aic driver to drivers/irqchip
ARM: at91: use IRQCHIP_DECLARE instead of machine specific init_irq
ARM: at91: use set_handle_irq instead of machine specific handle_irq
On 23/05/2013 14:13, Thomas Petazzoni wrote:
Dear Russell King - ARM Linux,
On Thu, 23 May 2013 11:18:25 +0100, Russell King - ARM Linux wrote:
I notice arch/arm/mach-at91/pm.c makes use of some of the register
definitions:
at91_irq_suspend();
pr_debug("AT91: PM - wake mask
On 23/05/2013 11:06, Jean-Christophe PLAGNIOL-VILLARD wrote:
On 11:05 Thu 23 May , Boris BREZILLON wrote:
Move arch/arm/mach-at91/irq.c to drivers/irqchip/irq-at91.c.
Move arch/arm/mach-at91/at91_aic.h to
arch/arm/mach-at91/include/mach/at91_aic.h to avoid ugly reference
to header file
Replace machine specific init_irq functions with IRQCHIP_DECLARE.
Signed-off-by: Boris BREZILLON
---
arch/arm/mach-at91/board-dt-rm9200.c | 11 ---
arch/arm/mach-at91/board-dt-sam9.c | 12
arch/arm/mach-at91/board-dt-sama5.c | 12
arch/arm/mach-at91
The PA24 pin is wrongly assigned to peripheral B.
In the current config there is 2 ETX3 pins (PA11 and PA24) and
no ETXER pin (PA22).
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/at91sam9260.dtsi |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts
Set machine specific irq handler using set_handle_irq inside aic init
functions instead of handle_irq pointer from machine_desc.
Signed-off-by: Boris BREZILLON
---
arch/arm/mach-at91/at91_aic.h |3 ---
arch/arm/mach-at91/board-1arm.c |1 -
arch/arm/mach-at91/board-afeb
Move arch/arm/mach-at91/irq.c to drivers/irqchip/irq-at91.c.
Move arch/arm/mach-at91/at91_aic.h to include/linux/irqchip/at91.h to
avoid reference to machine specific hearder files.
Remove __ASSEMBLY__ section in header file (at91_aic_base is only used
in .c files).
Signed-off-by: Boris BREZILLON
IMR and AT91_AIC_IPR
- at91xxx.c : NR_AICX_IRQS
Please let me know what you think is best.
Best Regards,
Boris
Boris BREZILLON (3):
ARM: at91: use set_handle_irq instead of machine specific handle_irq
ARM: at91: move at91 aic driver to drivers/irqchip
ARM: at91: use IRQCHIP_DECLARE instead of machi
Hello,
I sent a patch 1 month ago to add pinctrl support to pwm-atmel-tcb
driver and didn't get any review.
Could you take a look?
This patch adds pins request for the pwm device exposed by the TC
block using the pinctrl subsystem.
Best Regards,
Boris
Signed-off-by: Boris BREZ
On 23/05/2013 21:35, Thierry Reding wrote:
On Thu, May 23, 2013 at 06:38:52PM +0200, Boris BREZILLON wrote:
Hello,
I sent a patch 1 month ago to add pinctrl support to pwm-atmel-tcb
driver and didn't get any review.
Could you take a look?
This patch adds pins request for the pwm d
Hello,
This patch adds pinctrl configs for at91 Timer Conter blocks.
These pin configs will be referenced by "atmel,tcb-pwm" devices to
setup pins as PWM output.
Best Regards,
Boris
Signed-off-by: Boris BREZILLON
---
arch/arm/boot/dts/at91rm9200.dt
On 24/05/2013 16:12, Nicolas Ferre wrote:
On 24/05/2013 16:05, Jean-Christophe PLAGNIOL-VILLARD :
On 12:05 Fri 24 May , Boris BREZILLON wrote:
Hello,
This patch adds pinctrl configs for at91 Timer Conter blocks.
These pin configs will be referenced by "atmel,tcb-pwm" devices to
is
given by tc-block field in an "atmel,pwm-tcb" compatible node.
This patch was tested on kizbox board (at91sam9g20 SoC) with
pwm-leds.
Regards,
Boris
Signed-off-by: Boris BREZILLON
---
Changes since v1:
- Fix device tree binding Documentation
- Fix Kconfig issues (
On 08/01/2013 08:10, Thierry Reding wrote:
> On Thu, Dec 20, 2012 at 10:12:56AM +0100, Boris BREZILLON wrote:
>> Hi,
>>
>> Sorry for resend. The previous version still has alignment issues on
>> atmel_tcb_pwm_set_polarity, atmel_tcb_pwm_request and
>> atmel_t
On 08/01/2013 08:10, Thierry Reding wrote:
> On Thu, Dec 20, 2012 at 10:12:56AM +0100, Boris BREZILLON wrote:
>> Hi,
>>
>> Sorry for resend. The previous version still has alignment issues on
>> atmel_tcb_pwm_set_polarity, atmel_tcb_pwm_request and
>> atmel_t
given by tc-block field in an "atmel,tcb-pwm" compatible node.
This patch was tested on kizbox board (at91sam9g20 SoC) with
pwm-leds.
Regards,
Boris
Signed-off-by: Boris BREZILLON
---
Changes since v1:
- Fix device tree binding Documentation
- Fix Kconfig issues (
On 09/01/2013 08:46, Thierry Reding wrote:
> On Tue, Jan 08, 2013 at 04:36:42PM +0100, Boris BREZILLON wrote:
>> Hi,
>>
>> This patch adds a PWM driver based on Atmel Timer Counter Block.
>> Timer Counter Block is used in Waveform generator mode.
>>
>> A T
On Tue, 19 Jul 2016 11:11:54 -0700
Andrey Smirnov wrote:
> On Tue, Jul 19, 2016 at 9:22 AM, Richard Weinberger wrote:
> > Am 19.07.2016 um 18:12 schrieb Boris Brezillon:
> >>>> Not sure a BUG_ON() is worst than a NULL-pointer exception ;-).
> >>>
> &g
On Tue, 19 Jul 2016 11:19:16 -0700
Brian Norris wrote:
> On Tue, Jul 19, 2016 at 06:12:48PM +0200, Boris Brezillon wrote:
> > On Tue, 19 Jul 2016 18:02:27 +0200
> > Richard Weinberger wrote:
> > > Am 19.07.2016 um 17:59 schrieb Boris Brezillon:
> > > >
301 - 400 of 5738 matches
Mail list logo