get rid of that assignment as it is done in
usb_gadget_remove_driver() anyway ?
return 0;
}
--
1.8.1.2
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
signature.asc
Description: Digital signature
Hi Felipe,
On 28/02/2014 at 15:35:42 +0100, Nicolas Ferre wrote :
On 27/02/2014 16:42, Alexandre Belloni :
If no endpoints are present in the device tree, the kernel will cras hwith
the
s/cras hwith/crash with/
Do you want me to send a v2 with that typo corrected or could you
correct
: gadget: udc-core: fix a regression during gadget
driver unbinding)
Cc: sta...@vger.kernel.org # v3.2+
Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com
Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
Changelog:
v1 - v2
Fixed the signature block
.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
drivers/iio/adc/at91_adc.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c
index 5b1aa027c034..0b103f905607 100644
--- a/drivers/iio/adc/at91_adc.c
,code = 259;
+ gpio-key,wakeup;
+ };
+ };
+};
--
1.9.0
--
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
),
+ CLKDEV_CON_DEV_ID(NULL, f400.gpio, pioA_clk),
+ CLKDEV_CON_DEV_ID(NULL, f600.gpio, pioB_clk),
+ CLKDEV_CON_DEV_ID(NULL, f800.gpio, pioC_clk),
};
static struct clk_lookup usart_clocks_lookups[] = {
--
1.9.0
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel
Apart from my two nitpicks, the whole series is
Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com
On 03/03/2014 at 11:05:53 +0100, Jean-Jacques Hiblot wrote :
This patch set aims at bringing a device tree support for the sam9261.
It's mostly based on the sam9263 and sam9x5 stuff
would belong to the dtsi as this is generic enough.
Also, it was suggested by Mark that list entries should be bracketed
separately. But I guess we may not want to mix styles in the same file.
Nicolas, what do you think ?
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android
on the at91sam9g45 and at91sam9260
based boards. It would be great if they could make it in 3.14. But I'm not sure
it is worth applying them to 3.13.
Alexandre Belloni (3):
iio: adc: at91_adc: Repair broken platform_data support
ARM: at91: at91sam9g45: change at91_adc name
ARM: at91: at91sam9260: change
We can't use at91_adc to refer to the at91_adc driver anymore as the name is
used to match an id_table.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/at91sam9g45_devices.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm
We can't use at91_adc to refer to the at91_adc driver anymore as
the name is used to match an id_table.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/at91sam9260_devices.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm
time calculation changed since
at91sam9x5)
Cc: sta...@vger.kernel.org # v3.13+
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
drivers/iio/adc/at91_adc.c | 26 ++
1 file changed, 22 insertions(+), 4 deletions(-)
diff --git a/drivers/iio/adc
The tsadcc node is useless as it doesn't refer to anything and the touchscreen
is handled by the adc0 node.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Cc: Rodolfo Giometti giome...@linux.it
---
arch/arm/boot/dts/at91-cosino_mega2560.dts | 5 -
1 file changed, 5
The atmel_tsadcc driver is not used anymore, it has been replaced by at91_adc so
remove it.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
MAINTAINERS | 6 -
drivers/input/touchscreen/Kconfig| 12 --
drivers/input/touchscreen
atmel_tsadcc has been removed, stop selecting it.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/configs/sama5_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig
index dc3881e07630
atmel_tsadcc is not allowing to use the remaining ADC channels while at91_adc
does. Completely switch to at91_adc and remove the tsadcc platform_data for
at91sam9g45 and at91sam9g45 based boards.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/configs
based boards.
10-11) Prepare the atmel_tsadcc removal by switching sam9rl and sam9g45 to use
only at91_adc instead of atmel_tsadcc.
12-15) atmel_tsadcc removal
Alexandre Belloni (15):
ARM: at91: sam9g45: remove unused platform_data
ARM: at91: sam9260: remove unused platform_data
iio
atmel_tsadcc is not allowing to use the remaining ADC channels while at91_adc
does. Completely switch to at91_adc and remove the tsadcc platform_data for
at91sam9rl and at91sam9rl based boards.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/configs
That include file is now only used by the at91_adc driver, remove it from
include/mach for better driver separation.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/include/mach/at91_adc.h | 120 -
drivers/iio/adc
and
this is the speed used by atmel_tsadcc.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/at91sam9g45.c| 2 +-
arch/arm/mach-at91/board-sam9m10g45ek.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/at91sam9g45.c b
num_channels and registers are not used anymore since they are defined inside
the at91_adc driver and assigned by matching the id_table.
Also, remove the mach/at91_adc.h include that is not necessary anymore.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
drivers/iio/adc/at91_adc.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c
index c3ea34025749..c47dcbaa56ef 100644
--- a/drivers/iio/adc
Old ADCs, as present on the sam9rl and the sam9g45 don't have a TSMR register
and the touchscreen support should be handled differently.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/include/mach/at91_adc.h | 13 ++
drivers/iio/adc/at91_adc.c
num_channels and registers are not used anymore since they are defined inside
the driver and assigned by matching the id_table.
Also, struct at91_adc_reg_desc is now only used inside the driver.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
drivers/iio/adc/at91_adc.c
at91_adc now supports reading a touchscreen for ADCs without a TSMR register.
Enable touchscreen support through at91_adc. This allows to use both a
touchscreen and the remaining ADC channel at the same time.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach
num_channels and registers are not used anymore since they are defined inside
the at91_adc driver and assigned by matching the id_table.
Also, remove the mach/at91_adc.h include that is not necessary anymore.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm
The ADC clock needs to be defined to enable the at91_adc driver. It is defined
to the same speed that is used for atmel_tsadcc.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/at91sam9rl.c | 7 +++
arch/arm/mach-at91/at91sam9rl_devices.c | 85
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/board.h | 3 ---
include/linux/platform_data/atmel.h | 7 ---
2 files changed, 10 deletions(-)
diff --git a/arch/arm/mach-at91/board.h b/arch/arm/mach-at91/board.h
index 6c08b341167d
Remove the properties that are not used anymore by the at91_adc driver.
Cc: Rodolfo Giometti giome...@linux.it
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91-cosino.dtsi | 1 -
arch/arm/boot/dts/at91-cosino_mega2560.dts | 1 -
2 files
propagating
them.
Also fixes atmel,adc-use-external-triggers property name.
Finally, fixes a few typos.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
.../devicetree/bindings/arm/atmel-adc.txt | 33 +++---
1 file changed, 17 insertions(+), 16
Remove the properties that are not used anymore by the at91_adc driver.
Also, add #address-cells, #size-cells and a reg for each trigger to comply to
the ePAPR.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9g45.dtsi | 11 ++-
1 file
Remove the properties that are not used anymore by the at91_adc driver and fix
the atmel,adc-use-external-triggers property name.
Also, add #address-cells, #size-cells and a reg for each trigger to comply to
the ePAPR.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Remove the properties that are not used anymore by the at91_adc driver and fix
the atmel,adc-use-external-triggers property name.
Also, add #address-cells, #size-cells and a reg for each trigger to comply to
the ePAPR.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Remove the properties that are not used anymore by the at91_adc driver.
Also, add #address-cells, #size-cells and a reg for each trigger to comply to
the ePAPR.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9260.dtsi | 11 ++-
1 file
Remove the properties that are not used anymore by the at91_adc driver.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Cc: Douglas Gilbert dgilb...@interlog.com
---
arch/arm/boot/dts/at91-ariag25.dts | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/boot/dts/at91
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
.../devicetree/bindings/arm/atmel-adc.txt | 82 --
.../devicetree/bindings/iio/adc/at91_adc.txt | 82 ++
2 files changed, 82 insertions(+), 82 deletions(-)
delete mode
name in the
documentation and in the device tree that got it wrong.
Alexandre Belloni (8):
Documentation: dt: iio: improve atmel-adc documentation
Documentation: dt: iio: move arm/atmel-adc.txt to iio/adc/at91_adc.txt
ARM: at91/dt: at91-ariag25: remove useless adc properties
ARM: at91/dt
Define at91sam9rl clocks in at91sam9rl dtsi file.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9rl.dtsi | 227 +-
1 file changed, 226 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts
Define the main clock frequency for the new main clock node in
at91sam9rlek.dts
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9rlek.dts | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9rlek.dts
b/arch/arm
This patch encloses sam9rl old clk registration in
#if defined(CONFIG_OLD_CLK_AT91)/#endif sections.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/at91sam9rl.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach
-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/board-dt-sam9.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/board-dt-sam9.c
b/arch/arm/mach-at91/board-dt-sam9.c
index 3dab868b02fa..575b0be66ca8 100644
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 4f0e800e7e71..7013b7b66a1e 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm
This adds preliminary DT support for the at91sam9rl.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9rl.dtsi | 577 ++
1 file changed, 577 insertions(+)
create mode 100644 arch/arm/boot/dts/at91sam9rl.dtsi
Add a device tree for the at91sam9rl-ek. For now it supports:
- MMC
- dbgu
- usart1
- watchdog
- nand
- leds
- buttons
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/Makefile | 2 +
arch/arm/boot/dts/at91sam9rlek.dts | 151
at91sam9rl now has a device tree, add it to the at91_dt_defconfig.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/configs/at91_dt_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/at91_dt_defconfig
b/arch/arm/configs
Add the new names, coming from DT, for the clock lookups.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/at91sam9rl.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm/mach-at91/at91sam9rl.c b/arch/arm/mach-at91
v3:
- reordered nand
- removed ADC and USB gadget definition as they were not working. They will
come with another set of patches adding proper support.
Alexandre Belloni (8):
ARM: at91: prepare at91sam9rl DT transition
ARM: at91: Add at91sam9rl DT SoC support
ARM: at91/defconfig: Add
, if it is too late, we'll push for stable.
Thanks !
--
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
://www.marvell.com/digital-entertainment/armada-1500-pro/
I would move that description to the commit logs. Else one would have to
lookup the mailing list archive to read it.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from
On 12/03/2014 at 12:06:03 +0100, Antoine Ténart wrote :
Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
Documentation/arm/Marvell/README | 5 +
.../devicetree/bindings/arm/marvell
instead.
Reported-by: Dan Carpenter dan.carpen...@oracle.com
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
drivers/staging/iio/adc/mxs-lradc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/iio/adc/mxs-lradc.c
b/drivers/staging/iio/adc
16 would be accepted as a channel number but it is invalid. It doesn't really
have any effect as mxs_lradc_read_raw is called from a controlled environment
so it it only gets values going from 0 to 15.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
drivers/staging/iio
in_voltage8_scale_available and in_voltage9_scale_available are exposed to
userspace but useless as in_voltage8_raw and in_voltage9_raw are not available.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
drivers/staging/iio/adc/mxs-lradc.c | 4
1 file changed, 4
really have any impact as we control the input but is
there for correctness.
The last one removes useless scale_available files for channel 8 and 9 as they
are read has a temperature channel. I feel it is safe to do as no releases were
made with those so we are not really breaking the ABI.
Alexandre
Hi,
I still don't see that on mmc.git, Any issue with that patch ? I would
prefer not missing the 3.14 merge window.
Regards
On 18/12/2013 09:16, Ludovic Desroches wrote:
Hi Alexandre,
On Tue, Dec 17, 2013 at 08:03:12PM +0100, Alexandre Belloni wrote:
Hi,
It seems that patch never made
On 13/01/2014 21:25, Marek Vasut wrote:
On Monday, January 13, 2014 at 05:02:02 PM, Alexandre Belloni wrote:
16 would be accepted as a channel number but it is invalid. It doesn't
really have any effect as mxs_lradc_read_raw is called from a controlled
environment so it it only gets values
from the CPU point of view...
So I think that Jean-Jacques DT is okay concerning this.
Ok, I'm perfectly fine with that. Thanks for the answer !
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send
at91sam9rl now has a device tree, add it to the at91_dt_defconfig.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/configs/at91_dt_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/at91_dt_defconfig
b/arch/arm/configs
Add a device tree for the at91sam9rl-ek. For now it supports:
- MMC
- dbgu
- usart1
- watchdog
- nand
- leds
- buttons
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/Makefile | 2 +
arch/arm/boot/dts/at91sam9rlek.dts | 151
- leds
- buttons
Next:
- spi
- dataflash
- i2c
- lcd
- touchscreen
- usb gadget
- audio
- common clock framework conversion
Alexandre Belloni (3):
ARM: at91: Add at91sam9rl DT SoC support
ARM: at91/defconfig: Add the sam9rl to the list of DT-enabled SOCs
ARM: at91: dt: sam9rl: Device
This adds preliminary DT support for the at91sam9rl.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9rl.dtsi | 626 ++
arch/arm/mach-at91/at91sam9rl.c | 16 +
2 files changed, 642 insertions(+)
create
-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
drivers/clk/at91/clk-master.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/at91/clk-master.c b/drivers/clk/at91/clk-master.c
index bd313f7..c1af80b 100644
--- a/drivers/clk/at91/clk-master.c
On 17/02/2014 at 11:30:57 +0100, Nicolas Ferre wrote :
On 15/02/2014 02:14, Alexandre Belloni :
Add a device tree for the at91sam9rl-ek. For now it supports:
- MMC
- dbgu
- usart1
- watchdog
- nand
- leds
- buttons
Signed-off-by: Alexandre Belloni alexandre.bell
On 17/02/2014 at 11:20:13 +0100, Thomas Petazzoni wrote :
Dear Alexandre Belloni,
On Sat, 15 Feb 2014 02:14:18 +0100, Alexandre Belloni wrote:
+ model = Atmel AT91SAM9RL family SoC;
+ compatible = atmel,at91sam9rl;
Since you have it in your board .dts file, I guess you should add
This patch encloses sam9rl old clk registration in
#if defined(CONFIG_OLD_CLK_AT91)/#endif sections.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/at91sam9rl.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach
to the watchdog description (new in 3.14)
- added CCF conversion
Alexandre Belloni (7):
ARM: at91: Add at91sam9rl DT SoC support
ARM: at91/defconfig: Add the sam9rl to the list of DT-enabled SOCs
ARM: at91: dt: sam9rl: Device Tree for the at91sam9rlek
ARM: at91: prepare common clk
This adds preliminary DT support for the at91sam9rl.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9rl.dtsi | 628 ++
arch/arm/mach-at91/at91sam9rl.c | 16 +
2 files changed, 644 insertions(+)
create
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 4f0e800e7e71..7013b7b66a1e 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm
-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/board-dt-sam9.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/board-dt-sam9.c
b/arch/arm/mach-at91/board-dt-sam9.c
index 3dab868b02fa..575b0be66ca8 100644
Define at91sam9rl clocks in at91sam9rl dtsi file.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9rl.dtsi | 231 +-
1 file changed, 229 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts
Add a device tree for the at91sam9rl-ek. For now it supports:
- MMC
- dbgu
- usart1
- watchdog
- nand
- leds
- buttons
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/Makefile | 2 +
arch/arm/boot/dts/at91sam9rlek.dts | 151
at91sam9rl now has a device tree, add it to the at91_dt_defconfig.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/configs/at91_dt_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/at91_dt_defconfig
b/arch/arm/configs
Define the main clock frequency for the new main clock node in
at91sam9rlek.dts
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9rlek.dts | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9rlek.dts
b/arch/arm
On 19/02/2014 at 17:00:20 +, Mark Rutland wrote :
On Wed, Feb 19, 2014 at 03:32:24PM +, Alexandre Belloni wrote:
This adds preliminary DT support for the at91sam9rl.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9rl.dtsi
This adds preliminary DT support for the at91sam9rl.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9rl.dtsi | 622 ++
1 file changed, 622 insertions(+)
create mode 100644 arch/arm/boot/dts/at91sam9rl.dtsi
there is not reg property
Alexandre Belloni (8):
ARM: at91: prepare at91sam9rl DT transition
ARM: at91: Add at91sam9rl DT SoC support
ARM: at91/defconfig: Add the sam9rl to the list of DT-enabled SOCs
ARM: at91: dt: sam9rl: Device Tree for the at91sam9rlek
ARM: at91: prepare common clk
Define the main clock frequency for the new main clock node in
at91sam9rlek.dts
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9rlek.dts | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9rlek.dts
b/arch/arm
at91sam9rl now has a device tree, add it to the at91_dt_defconfig.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/configs/at91_dt_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/at91_dt_defconfig
b/arch/arm/configs
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 4f0e800e7e71..7013b7b66a1e 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm
Define at91sam9rl clocks in at91sam9rl dtsi file.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9rl.dtsi | 231 +-
1 file changed, 229 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts
This patch encloses sam9rl old clk registration in
#if defined(CONFIG_OLD_CLK_AT91)/#endif sections.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/at91sam9rl.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach
Add a device tree for the at91sam9rl-ek. For now it supports:
- MMC
- dbgu
- usart1
- watchdog
- nand
- leds
- buttons
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/Makefile | 2 +
arch/arm/boot/dts/at91sam9rlek.dts | 151
-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/board-dt-sam9.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/board-dt-sam9.c
b/arch/arm/mach-at91/board-dt-sam9.c
index 3dab868b02fa..575b0be66ca8 100644
Add the new names, coming from DT, for the clock lookups.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/mach-at91/at91sam9rl.c | 16
1 file changed, 16 insertions(+)
diff --git a/arch/arm/mach-at91/at91sam9rl.c b/arch/arm/mach-at91
reworking
those. So, in light of what Nicolas said, I've sent v3 taking into
account all your other comments.
I believe we have 3 at91sam9 SoCs that will enter the DT world for 3.15.
I suggest that we finish the DT and CCF transition then we'll take some
time to rework the pinctrl driver.
--
Alexandre
A few at91 defconfigs where not updated in a long time, refresh the configs for
at91sam9rl and at91sam9260/at91sam9g20.
Alexandre Belloni (3):
arm: at91sam9rl: refresh defconfig
arm: at91sam9260_9g20: remove useless configuration
arm: at91sam9260_9g20: refresh configuration
arch/arm
Select CONFIG_EMBEDDED as it it useful for that board.
Also select CONFIG_MTD_UBI to really enable UBIfs (CONFIG_FS_UBIFS depends on
it).
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/configs/at91sam9260_9g20_defconfig | 2 ++
1 file changed, 2 insertions
A few configuration symbols are deprecated and disappeared a few versions ago,
remove them.
CONFIG_FPE_NWFPE depends on OABI_COMPAT which was not selected.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/configs/at91sam9260_9g20_defconfig | 7 ---
1 file
The defconfig for the at91sam9rl is quite old, refresh it:
- now uses EABI instead of OABI
- add devtmpfs support
- add UBI/UBIfs support
- remove a few config symbols that disappeared
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/configs
-kernel
--
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
= 0xee00 0x200;
+ };
+
Same here, the apb is actually under the bus matrix.
I don't know whether it can be represented another way though.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from
,at91rm9200-pinctrl,
simple-bus;
+ ranges = 0xf400 0xf400 0xa00;
+
I believe you got the range wrong, shouldn't it be:
ranges = 0xf400 0xf400 0x600;
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android
On 18/03/2014 at 16:02:51 -0700, Bryan Wu wrote :
On Mon, Mar 17, 2014 at 11:38 AM, Alexandre Belloni
alexandre.bell...@free-electrons.com wrote:
Set inversed polarity when .active_low is set in the platform_data. With
device
tree, this is taken care of by of_pwm_xlate_with_flags
The real polarity of the LEDs is inversed. The led is between 3.3v and the PWM.
It was working before because the driver was getting the duty cycle calculation
wrong.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9m10g45ek.dts | 5 +++--
1
PWM: atmel-pwm: Fix polarity handling
Alexandre Belloni (3):
ARM: at91/dt: sam9g45: improve ADC/touchscreen support
ARM: at91/dt: at91sam9m10g45ek: add ADC and touchscreen support
ARM: at91/dt: at91sam9m10g45ek PWM leds polarity is inversed
arch/arm/boot/dts/at91sam9g45.dtsi | 33
Fixes the compatible string, adds the pinmuxing for the ADC pins.
Also, removes atmel,adc-use-external-triggers as it is not possible to remove it
unless redefining the whole adc node
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9g45.dtsi
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/at91sam9m10g45ek.dts | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9m10g45ek.dts
b/arch/arm/boot/dts/at91sam9m10g45ek.dts
index 7ff665a8c708..7800931a4b16
string documentation checks
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
Documentation/devicetree/bindings/arm/atmel-aic.txt | 3 +--
Documentation/devicetree/bindings/arm/atmel-at91.txt | 10 --
Documentation/devicetree/bindings/dma/atmel-dma.txt
On 19/03/2014 at 11:33:34 +0100, Nicolas Ferre wrote :
On 19/03/2014 11:26, Alexandre Belloni :
Avoids getting the newly introduced warning:
WARNING: DT compatible string atmel,at91sam9g45-adc appears un-documented
-- check ./Documentation/devicetree/bindings
string documentation checks
Cc: Rob Herring r...@kernel.org
Cc: Joe Perches j...@perches.com
Cc: Grant Likely grant.lik...@linaro.org
Cc: Andy Whitcroft a...@canonical.com
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
Changes
101 - 200 of 10184 matches
Mail list logo