Use the correct compatible string for the ADC of the at91sam9x5 family of SoCs.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9x5.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi
b
for compatible string is: manufacturer,model,
I agree with chipidea,ci13xxx, thanks.
I think we should probably avoid using wildcards in the compatible
string.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91rm9200.dtsi | 304 ++
1 file changed, 304 insertions(+)
diff --git a/arch/arm/boot/dts/at91rm9200.dtsi
b/arch/arm/boot/dts/at91rm9200.dtsi
index c61b16fba79b
When the main crystal frequency is not set, the main clock is approximated using
the MAINF value in the CKGR_MCFR register. Warn the user in that case.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
drivers/clk/at91/clk-main.c | 1 +
1 file changed, 1 insertion
Define at91rm9200ek main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91rm9200ek.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/at91rm9200ek.dts
b/arch/arm/boot/dts
...@linux.it
Alexandre Belloni (33):
Documentation: dt: document all the atmel pmc compatibles
ARM: at91/dt: ariag25: define crystals frequencies
clk: at91: main: warn when the main crystal frequency is not set
ARM: at91: prepare common clk transition for rm9200
ARM: at91/dt: rm9200: define
Define Acme Systems srl Fox G20 main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Cc: Douglas Gilbert dgilb...@interlog.com
---
arch/arm/boot/dts/at91-foxg20.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts
Define kizbox board's main crystal frequency.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Cc: Gael Portay g.por...@overkiz.com
---
arch/arm/boot/dts/kizbox.dts | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/kizbox.dts b/arch/arm/boot/dts
Define at91sam9g20ek main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9g20ek_common.dtsi | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9g20ek_common.dtsi
b/arch/arm/boot
Define the at91sam9g45 clocks in the SoC dtsi file.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9g45.dtsi | 340 -
1 file changed, 339 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts
Define at91sam9263ek main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9263ek.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9263ek.dts
b/arch/arm/boot/dts
Define Ronetix pm9g45 main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/pm9g45.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/pm9g45.dts b/arch/arm/boot/dts/pm9g45.dts
index
Define Calao USB-A9263 main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Cc: Gregory Hermant gregory.herm...@calao-systems.com
---
arch/arm/boot/dts/usb_a9263.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts
Define Calao TNY-A9263 main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Cc: Gregory Hermant gregory.herm...@calao-systems.com
---
arch/arm/boot/dts/tny_a9263.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts
This patch removes the selection of AT91_USE_OLD_CLK when selecting
at91sam9263 SoC support. This will automatically enable COMMON_CLK_AT91
option and add support for at91 common clock implementation.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91
Define the at91sam9263 clocks in the SoC dtsi file.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9263.dtsi | 311 +
1 file changed, 311 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9263.dtsi
b/arch
Define at91sam9m10g45ek main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9m10g45ek.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9m10g45ek.dts
b/arch/arm/boot/dts
Define Cosino boards main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Cc: Rodolfo Giometti giome...@linux.it
---
arch/arm/boot/dts/at91-cosino.dtsi | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/at91
Enclose the sam9263 old clk registration in #if defined(CONFIG_OLD_CLK_AT91)
#endif
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/at91sam9263.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/at91sam9263
Enclose the sam9g45 old clk registration in #if defined(CONFIG_OLD_CLK_AT91)
#endif
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/at91sam9g45.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/at91sam9g45
This patch removes the selection of AT91_USE_OLD_CLK when selecting at91sam9g45
SoC support. This will automatically enable COMMON_CLK_AT91 option and add
support for at91 common clock implementation.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91
Define Somfy Animeo IP main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/animeo_ip.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/animeo_ip.dts b/arch/arm/boot/dts/animeo_ip.dts
index
Define Telit GE863-PRO3, AK signal CDU and Telit EVK-PRO3 main and slow
crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Cc: Fabio Porcedda fabio.porce...@gmail.com
Cc: Jiri Prchal jiri.prc...@aksignal.cz
---
arch/arm/boot/dts/ge863-pro3.dtsi | 8
Define Calao TNY-A9260 and TNY-A9G20 main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Cc: Gregory Hermant gregory.herm...@calao-systems.com
---
arch/arm/boot/dts/tny_a9260_common.dtsi | 8
1 file changed, 8 insertions(+)
diff
Define egnite Ethernut 5 main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Cc: Tim Schendekehl tim.schendek...@egnite.de
---
arch/arm/boot/dts/ethernut5.dts | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts
Define Phontech MPA 1600 main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Cc: Joachim Eastwood manab...@gmail.com
---
arch/arm/boot/dts/mpa1600.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/mpa1600.dts b
Define Calao USB-A9260, USB-A9G20 and USB-A9G20-LPW main and slow crystals
frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Cc: Gregory Hermant gregory.herm...@calao-systems.com
---
arch/arm/boot/dts/usb_a9260_common.dtsi | 8
1 file changed, 8
This patch removes the selection of AT91_USE_OLD_CLK when selecting at91sam9260
SoCs support. This will automatically enable COMMON_CLK_AT91 option and add
support for at91 common clk implementation.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91
Define Calao QIL-A9260 main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Cc: Gregory Hermant gregory.herm...@calao-systems.com
---
arch/arm/boot/dts/at91-qil_a9260.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm
Define the at91sam9g20 clocks that differ from at91sam9260 in the SoC dtsi file.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9g20.dtsi | 24
1 file changed, 24 insertions(+)
diff --git a/arch/arm/boot/dts
Enclose the rm9200 old clk registration in #if defined(CONFIG_OLD_CLK_AT91)
#endif
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/at91rm9200.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/at91rm9200.c b
Enclose the sam9260 old clk registration in #if defined(CONFIG_OLD_CLK_AT91)
#endif
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/at91sam9260.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/at91sam9260
Define Acme Systems Aria G25 board main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91-ariag25.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/at91-ariag25.dts
b/arch/arm/boot/dts
Documentation for atmel-pmc only list one compatible, add the remaining
compatible strings.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
Documentation/devicetree/bindings/arm/atmel-pmc.txt | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git
Define the at91sam9260 clocks in the SoC dtsi file.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9260.dtsi | 314 -
1 file changed, 313 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts
This patch removes the selection of AT91_USE_OLD_CLK when selecting at91rm9200
SoC support. This will automatically enable COMMON_CLK_AT91 option and add
support for at91 common clk implementation.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91
;
};
pmc: pmc@fc00 {
--
2.0.1
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord
);
+ at91_pm_set_standby(of_id-data);
}
static struct of_device_id shdwc_ids[] = {
--
2.0.1
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message
/at91sam9g45_reset.S
create mode 100644 drivers/power/reset/at91-poweroff.c
create mode 100644 drivers/power/reset/at91-reset.c
--
2.0.1
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line
When using device tree, select the Atmel RAM controller driver to handle its
clocks.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/Kconfig | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91
The CLK_IGNORE_UNUSED flag was added on all the system clocks because of the
ddrck. Now that it is handled by the ram controller driver, we can drop it.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
drivers/clk/at91/clk-system.c | 8 +---
1 file changed, 1
Atmel SoCs have one or multiple RAM controllers that need one or multiple clocks
to run.
This driver handle those clocks.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
.../devicetree/bindings/arm/atmel-at91.txt | 1 +
drivers/memory/Kconfig
Define the available clock for mprddr and take both mpddr_clk and ddrck in the
ram controller driver.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/sama5d3.dtsi | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot
Make the ram controller driver take the ddrck clock for at91sam9n12 and
at91sam9x5. For at91sam9g45, use mck instead.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9n12.dtsi | 2 ++
arch/arm/boot/dts/at91sam9x5.dtsi | 2 ++
2 files changed, 4
management driver.
Alexandre Belloni (5):
memory: add a driver for atmel ram controllers
ARM: at91: select ATMEL_RAMC when using OF
ARM: at91/dt: sama5d3: define mpddr clock and ramc clocks
ARM: at91/dt: at91sam9: use ddrck in ramc
clk: at91: remove the useless CLK_IGNORE_UNUSED flag
Hi,
On 07/07/2014 at 17:46:42 +0200, Boris Brezillon wrote :
On Mon, 7 Jul 2014 17:19:11 +0200
Alexandre Belloni alexandre.bell...@free-electrons.com wrote:
Atmel SoCs have one or multiple RAM controllers that need one or multiple
clocks
to run.
This driver handle those clocks
What would you prefer ? pr_err() and panic or BUG_ON ?. We can also
probably simply put a single pr_err(), anyway, the platform will stop
just before switching to userspace.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
one the compatible is
wrong
Keeping atmel,at91sam9g45-ddramc allows to reuse the old code for the
iomap needed for the PM code without adding a new compatible in the
ramc_ids[] array.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
Define Somfy Animeo IP main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/animeo_ip.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/animeo_ip.dts b/arch/arm/boot/dts/animeo_ip.dts
index
Enclose the sam9g45 old clk registration in #if defined(CONFIG_OLD_CLK_AT91)
#endif
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/at91sam9g45.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/at91sam9g45
Define Cosino boards main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Cc: Rodolfo Giometti giome...@linux.it
---
arch/arm/boot/dts/at91-cosino.dtsi | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/at91
Define at91sam9263ek main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9263ek.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9263ek.dts
b/arch/arm/boot/dts
Define Calao TNY-A9263 main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Cc: Gregory Hermant gregory.herm...@calao-systems.com
---
arch/arm/boot/dts/tny_a9263.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts
Define Calao USB-A9263 main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Cc: Gregory Hermant gregory.herm...@calao-systems.com
---
arch/arm/boot/dts/usb_a9263.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts
This patch removes the selection of AT91_USE_OLD_CLK when selecting
at91sam9263 SoC support. This will automatically enable COMMON_CLK_AT91
option and add support for at91 common clock implementation.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91
Enclose the sam9263 old clk registration in #if defined(CONFIG_OLD_CLK_AT91)
#endif
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/at91sam9263.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/at91sam9263
Define Ronetix pm9g45 main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/pm9g45.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/pm9g45.dts b/arch/arm/boot/dts/pm9g45.dts
index
Define the at91sam9263 clocks in the SoC dtsi file.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9263.dtsi | 311 +
1 file changed, 311 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9263.dtsi
b/arch
This patch removes the selection of AT91_USE_OLD_CLK when selecting at91sam9g45
SoC support. This will automatically enable COMMON_CLK_AT91 option and add
support for at91 common clock implementation.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91
Define at91sam9m10g45ek main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9m10g45ek.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9m10g45ek.dts
b/arch/arm/boot/dts
Define Calao QIL-A9260 main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Cc: Gregory Hermant gregory.herm...@calao-systems.com
---
arch/arm/boot/dts/at91-qil_a9260.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm
Define the at91sam9g45 clocks in the SoC dtsi file.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9g45.dtsi | 340 -
1 file changed, 339 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts
Define kizbox board's main crystal frequency.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Cc: Gael Portay g.por...@overkiz.com
---
arch/arm/boot/dts/kizbox.dts | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/kizbox.dts b/arch/arm/boot/dts
Define egnite Ethernut 5 main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Cc: Tim Schendekehl tim.schendek...@egnite.de
---
arch/arm/boot/dts/ethernut5.dts | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts
Define Acme Systems srl Fox G20 main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Cc: Douglas Gilbert dgilb...@interlog.com
---
arch/arm/boot/dts/at91-foxg20.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts
Define Telit GE863-PRO3, AK signal CDU and Telit EVK-PRO3 main and slow
crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Cc: Fabio Porcedda fabio.porce...@gmail.com
Cc: Jiri Prchal jiri.prc...@aksignal.cz
---
arch/arm/boot/dts/ge863-pro3.dtsi | 8
Define Phontech MPA 1600 main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Cc: Joachim Eastwood manab...@gmail.com
---
arch/arm/boot/dts/mpa1600.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/mpa1600.dts b
Define Calao USB-A9260, USB-A9G20 and USB-A9G20-LPW main and slow crystals
frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Cc: Gregory Hermant gregory.herm...@calao-systems.com
---
arch/arm/boot/dts/usb_a9260_common.dtsi | 8
1 file changed, 8
Define at91sam9g20ek main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9g20ek_common.dtsi | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9g20ek_common.dtsi
b/arch/arm/boot
Define Acme Systems Aria G25 board main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91-ariag25.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/at91-ariag25.dts
b/arch/arm/boot/dts
Define Calao TNY-A9260 and TNY-A9G20 main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Cc: Gregory Hermant gregory.herm...@calao-systems.com
---
arch/arm/boot/dts/tny_a9260_common.dtsi | 8
1 file changed, 8 insertions(+)
diff
Define at91rm9200ek main and slow crystals frequencies.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91rm9200ek.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/at91rm9200ek.dts
b/arch/arm/boot/dts
This patch removes the selection of AT91_USE_OLD_CLK when selecting at91sam9260
SoCs support. This will automatically enable COMMON_CLK_AT91 option and add
support for at91 common clk implementation.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91
Documentation for atmel-pmc only list one compatible, add the remaining
compatible strings.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
Documentation/devicetree/bindings/arm/atmel-pmc.txt | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git
Enclose the sam9260 old clk registration in #if defined(CONFIG_OLD_CLK_AT91)
#endif
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/at91sam9260.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/at91sam9260
Define the at91sam9g20 clocks that differ from at91sam9260 in the SoC dtsi file.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9g20.dtsi | 24
1 file changed, 24 insertions(+)
diff --git a/arch/arm/boot/dts
Define the at91sam9260 clocks in the SoC dtsi file.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9260.dtsi | 314 -
1 file changed, 313 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts
This patch removes the selection of AT91_USE_OLD_CLK when selecting at91rm9200
SoC support. This will automatically enable COMMON_CLK_AT91 option and add
support for at91 common clk implementation.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Acked-by: Boris BREZILLON
Enclose the rm9200 old clk registration in #if defined(CONFIG_OLD_CLK_AT91)
#endif
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Acked-by: Boris BREZILLON boris.brezil...@free-electrons.com
---
arch/arm/mach-at91/at91rm9200.c | 6 +-
1 file changed, 5 insertions
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91rm9200.dtsi | 304 ++
1 file changed, 304 insertions(+)
diff --git a/arch/arm/boot/dts/at91rm9200.dtsi
b/arch/arm/boot/dts/at91rm9200.dtsi
index c61b16fba79b
...@gmail.com
Cc: Jiri Prchal jiri.prc...@aksignal.cz
Cc: Tim Schendekehl tim.schendek...@egnite.de
Cc: Gael Portay g.por...@overkiz.com
Cc: Rodolfo Giometti giome...@linux.it
Alexandre Belloni (33):
Alexandre Belloni (32):
Documentation: dt: document all the atmel pmc compatibles
ARM: at91/dt
On 08/07/2014 at 08:11:29 +0200, Jiří Prchal wrote :
Hi,
the slow crystal is not on the module ge863-pro3, but it's usually
on application board. So I think this clock should be in board dts.
Right, I'll move the 32kHz crystal to the board dts.
Dne 7.7.2014 22:23, Alexandre Belloni napsal
When using device tree, select the Atmel RAM controller driver to handle its
clocks.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/Kconfig | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91
Atmel SoCs have one or multiple RAM controllers that need one or multiple clocks
to run.
This driver handle those clocks.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
drivers/memory/Kconfig| 10 +
drivers/memory/Makefile | 1 +
drivers/memory/atmel
The CLK_IGNORE_UNUSED flag was added on all the system clocks because of the
ddrck. Now that it is handled by the ram controller driver, we can drop it.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
drivers/clk/at91/clk-system.c | 8 +---
1 file changed, 1
management driver.
Changes in v2:
- use ATMEL_SDRAMC instead of ATMEL_RAMC
- use atmel,sama5d3-ddramc instead of atmel,sama5d3-mpddramc
- not getting mpddrck is now an error
- handle atmel,sama5d3-ddramc in mach-at91/setup.c
Alexandre Belloni (6):
ARM: at91: Add new binding for sama5d3-ddramc
Define the available clock for mprddr and take both mpddr_clk and ddrck in the
ram controller driver.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/sama5d3.dtsi | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot
Make the ram controller driver take the ddrck clock for at91sam9n12 and
at91sam9x5.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9n12.dtsi | 2 ++
arch/arm/boot/dts/at91sam9x5.dtsi | 2 ++
2 files changed, 4 insertions(+)
diff --git a/arch
The IP for the SDRAM controller found on sama5d3 SoCs is different from the g45
one. Introduce a new compatible string to reflect that.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
Documentation/devicetree/bindings/arm/atmel-at91.txt | 1 +
arch/arm/mach-at91/setup.c
.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please
on a G45-EK without DT and an Xplained with DT.
On the whole series,
Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Thanks,
Maxime
Changes from v1:
- Changed Kconfig option to ATMEL_PIT
- Used DIV_ROUND_CLOSEST to compute the pit rate
Maxime Ripard (14):
AT91
Hi,
On 01/07/2014 at 18:35:50 +0200, Arnd Bergmann wrote :
On Tuesday 01 July 2014 16:12:09 Alexandre Belloni wrote:
Looks good overall, but I think this Kconfig snippet should be cleaned
up a little now:
config AT91_USE_OLD_CLK
bool
config AT91_PMC_UNIT
bool
On 01/07/2014 at 19:01:12 +0200, Arnd Bergmann wrote :
On Tuesday 01 July 2014 18:48:51 Alexandre Belloni wrote:
On 01/07/2014 at 18:35:50 +0200, Arnd Bergmann wrote :
If I read this right, disabling 'USE_OF' results in still using
the old clock interface. Is that intentional? If you want
attribution purposes.
This was tested on a custom i.MX28 platform.
Alexandre Belloni (1):
iio: mxs-lradc: convert is_divided to a bitmap
Hector Palacios (3):
iio: mxs-lradc: add scale attribute to channels
iio: mxs-lradc: add scale_available file to channels
iio: mxs-lradc: add write_raw
parts to build
a long decimal number.
Signed-off-by: Hector Palacios hector.palac...@digi.com
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Acked-by: Marek Vasut ma...@denx.de
---
drivers/staging/iio/adc/mxs-lradc.c | 106 +++-
1 file changed
mxs_lradc.is_divided was an unsigned long array. Convert it to a bitmap to save
some memory.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
drivers/staging/iio/adc/mxs-lradc.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging
From: Hector Palacios hector.palac...@digi.com
Added write_raw function to manipulate the optional divider_by_two
through the scaling attribute out of the available scales.
Signed-off-by: Hector Palacios hector.palac...@digi.com
Signed-off-by: Alexandre Belloni alexandre.bell...@free
(where the fixed pre-dividers apply)
- allows to read the scaling attribute (computed from the Vref)
Signed-off-by: Hector Palacios hector.palac...@digi.com.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Acked-by: Marek Vasut ma...@denx.de
---
drivers/staging/iio/adc/mxs
attribution purposes.
This was tested on a custom i.MX28 platform.
Alexandre Belloni (1):
iio: mxs-lradc: convert is_divided to a bitmap
Hector Palacios (3):
iio: mxs-lradc: add scale attribute to channels
iio: mxs-lradc: add scale_available file to channels
iio: mxs-lradc: add write_raw
From: Hector Palacios hector.palac...@digi.com
Added write_raw function to manipulate the optional divider_by_two
through the scaling attribute out of the available scales.
Signed-off-by: Hector Palacios hector.palac...@digi.com
Signed-off-by: Alexandre Belloni alexandre.bell...@free
601 - 700 of 10184 matches
Mail list logo