,
Alexandre Belloni (1):
iio: Add Nuvoton NAU7802 ADC driver
Maxime Ripard (2):
ARM: mxs: cfa10049: Switch bus i2c1 to bitbanging
ARM: mxs: cfa10049: Add NAU7802 ADCs to the device tree
.../bindings/iio/adc/nuvoton-nau7802.txt | 17 +
arch/arm/boot/dts/imx28-cfa10049.dts
From: Maxime Ripard maxime.rip...@free-electrons.com
Since these ADCs share the same non-configurable address on the I2C bus,
they have to be put behind a muxer.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
The Nuvoton NAU7802 ADC is a 24-bit 2-channels I2C ADC, with adjustable
gain and sampling rates.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
.../bindings/iio/adc/nuvoton-nau7802.txt | 17
From: Maxime Ripard maxime.rip...@free-electrons.com
The ADCs connected to this bus have been experiencing some timeout
issues when using the iMX28 i2c controller. Switching back to bitbanging
solves this.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
error_device_register;
+}
+
+return 0;
+
+error_device_register:
+mutex_destroy(st-lock);
datalock?
oops
Thanks again for your review, I'll prepare a v2 while waiting for your
answers.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/imx28-cfa10049.dts |5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/imx28-cfa10049.dts
b/arch/arm/boot/dts/imx28-cfa10049.dts
index b9dad4e..f16c1e2 100644
--- a/arch/arm/boot
Linus, Grant,
I take the liberty to ping you on that one as it is a regression and it
may be worth to include it in 3.9 if it is still time to do so.
Best regards,
On 03/04/2013 19:40, Alexandre Belloni wrote:
We actually have to pass chip as the host_data parameter of
irq_domain_add_simple
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/imx28-cfa10049.dts | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx28-cfa10049.dts
b/arch/arm/boot/dts/imx28-cfa10049.dts
index ded7784
Some pins on the i.mx23 and i.mx28 are missing pull-ups, document that
oddity because it was difficult to know the expected behaviour.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
I don't think it is necessary to list the pins with the missing pull ups in
that file
(), pca953x_irq_unmask(), pca953x_irq_bus_lock(),
pca953x_irq_bus_sync_unlock() and pca953x_irq_set_type().
Fixes regression introduced by commit
0e8f2fdacf1d44651aa7e57063c76142d1f4988b (gpio: pca953x: use simple
irqdomain)
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
This would
ARM Performance Monitor Units are available on the am33xx, add the support in
the dtsi.
Tested with perf and oprofile on a regular beaglebone.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/am33xx.dtsi | 5 +
1 file changed, 5 insertions(+)
diff
ARM Performance Monitor Units are available on the sama5d3, add the support in
the dtsi.
Tested with perf and oprofile on the sama5d31ek.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
arch/arm/boot/dts/sama5d3.dtsi | 5 +
1 file changed, 5 insertions(+)
diff
take this series as is ?
Regards,
On 26/07/2013 18:13, Jonathan Cameron wrote:
Alexandre Belloni alexandre.bell...@free-electrons.com wrote:
On 23/07/2013 15:25, Hector Palacios wrote:
Dear Lars,
On 07/23/2013 10:46 AM, Lars-Peter Clausen wrote:
On 07/22/2013 04:04 PM, Hector Palacios wrote
.
Regards,
--
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
other temp patch without
waiting for this one.
Maybe, we can get the patch set as is and do further clean up later.
Anyway, that driver is still in staging, right ?
As said, I'm willing to propose something for the scale calculation.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel
but at the same time, I
don't believe we will see that IP in another chip in the future.
Are my explanations clear enough to take a decision ?
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Hi Wolfram,
On 15/08/2013 12:03, Wolfram Sang wrote:
On Wed, Jul 03, 2013 at 10:59:22AM +0200, Alexandre Belloni wrote:
This patch fixes two error handling cases in mxs_i2c_xfer_msg():
- in PIO mode, mxs_i2c_pio_setup_xfer() may return
Hi,
On 01/07/2013 19:16, Alexandre Belloni wrote:
The mxs LRADC is able to read an internal die temperature sensor. The
temperature has to be calculated from the value read on channel 8 and channel
9.
To be able to expose the result to hwmon, implement iio channel 8 as
(channel 9 - channel
From: Maxime Ripard maxime.rip...@free-electrons.com
Since these ADCs share the same non-configurable address on the I2C bus,
they have to be put behind a muxer.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
From: Maxime Ripard maxime.rip...@free-electrons.com
The ADCs connected to this bus have been experiencing some timeout
issues when using the iMX28 i2c controller. Switching back to bitbanging
solves this.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
Signed-off-by: Alexandre
The Nuvoton NAU7802 ADC is a 24-bit 2-channels I2C ADC, with adjustable
gain and sampling rates.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
.../bindings/iio/adc/nuvoton-nau7802.txt | 17
have any hardware to test.
Regards,
Alexandre Belloni (1):
iio: Add Nuvoton NAU7802 ADC driver
Maxime Ripard (2):
ARM: mxs: cfa10049: Switch bus i2c1 to bitbanging
ARM: mxs: cfa10049: Add NAU7802 ADCs to the device tree
.../bindings/iio/adc/nuvoton-nau7802.txt | 17 +
arch/arm
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
drivers/video/backlight/hx8357.c | 183 +--
1 file changed, 175 insertions(+), 8 deletions(-)
diff --git a/drivers/video/backlight/hx8357.c b/drivers/video/backlight/hx8357.c
index
From: Maxime Ripard maxime.rip...@free-electrons.com
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
drivers/video/backlight/hx8357.c | 53 +++-
1 file changed, 31
Hi,
On 26/07/2013 01:52, Jingoo Han wrote:
On Thursday, July 25, 2013 10:05 PM, Maxime Ripard wrote:
From: Alexandre Belloni alexandre.bell...@free-electrons.com
Add support for the Himax HX8369 controller as it is quite similar to the
hx8357.
Signed-off-by: Alexandre Belloni
' which
mask the interrupt until the handle has treated it.
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com
This solves the issue on my side.
Tested-by: Alexandre Belloni alexandre.bell...@free-electrons.com
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android
As per the datasheets, maximum battery regulation voltage is 4440mV.
The formula is (voltage - offset) / step, so the maximum value is:
(4440 - 3500) / 20 = 47
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
drivers/power/bq2415x_charger.c | 2 +-
1 file changed, 1
://www.spinics.net/lists/linux-i2c/msg12523.html
I couldn't test your patches yet though. I'll try to test as soon as I
get some free time.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line
As per the datasheets, maximum battery regulation voltage is 4440mV.
The formula is (voltage - offset) / step, so the maximum value is:
(4440 - 3500) / 20 = 47
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
drivers/power/bq2415x_charger.c | 6 +-
1 file changed, 5
Hi,
I forgot to add this is a v2 and I just added a comment.
On 16/10/2013 16:08, Alexandre Belloni wrote:
As per the datasheets, maximum battery regulation voltage is 4440mV.
The formula is (voltage - offset) / step, so the maximum value is:
(4440 - 3500) / 20 = 47
Signed-off
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
drivers/pinctrl/pinctrl-at91.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c
index f350fd2..ad48179 100644
--- a/drivers/pinctrl
Other MMC hosts handle a regulator named vmmc-supply that allows to power the
MMC card or SDIO device before communicating on the bus.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
drivers/mmc/host/atmel-mci.c | 12
1 file changed, 12 insertions(+)
diff
Other MMC hosts handle a regulator named vmmc-supply that allows to power the
MMC card or SDIO device before communicating on the bus.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
Changes in v2:
- use mmc_regulator_get_supply instead of devm_regulator_get
drivers
On 17/10/2013 10:34, Ulf Hansson wrote:
On 17 October 2013 00:19, Alexandre Belloni
alexandre.bell...@free-electrons.com wrote:
Other MMC hosts handle a regulator named vmmc-supply that allows to power the
MMC card or SDIO device before communicating on the bus.
Signed-off-by: Alexandre
Other MMC hosts handle a regulator named vmmc-supply that allows to power the
MMC card or SDIO device before communicating on the bus.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
Changes in v2:
- use mmc_regulator_get_supply instead of devm_regulator_get
Changes
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
On 15/10/2013 15:56, Pali Rohár wrote:
On Wednesday 02 October 2013 12:24:22 Alexandre Belloni wrote:
As per the datasheets, maximum battery regulation voltage is
4440mV.
The formula is (voltage - offset) / step, so the maximum value
On 01/11/2013 15:59, Bo Shen wrote:
Add Atmel PWM controller driver based on PWM framework.
This is the basic function implementation of Atmel PWM controller.
It can work with PWM based led and backlight.
Signed-off-by: Bo Shen voice.s...@atmel.com
Acked-by: Alexandre Belloni alexandre.bell
On 01/11/2013 16:00, Bo Shen wrote:
Add atmel pwm driver device tree binding document
Signed-off-by: Bo Shen voice.s...@atmel.com
Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
Changes in v6:
- New, split binding document as a separate patch
Changes in v5: None
, we'll have to postpone them for v3.16.
We were aiming at 3.16 anyway. No worries.
--
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
On 13/03/2014 at 09:56:48 +, Sebastian Hesselbarth wrote :
On 03/12/2014 12:22 PM, Alexandre Belloni wrote:
The 25MHz crystal is on the board, please move it to the board dts.
If you can confirm that sysmgr clock comes directly from this crystal,
I agree. If it is fed into a pll
= disabled;
+};
berlin2/berlin2cd have a vast amount of 8 apb timers. Any timers missing
here or did Marvell remove them?
Also for uart, can you please double-check if there is no uart2?
We don't have those informations, maybe Jisheng can help ?
--
Alexandre Belloni
working on that, do you have some code that you can share right now ?
--
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
wrong from the beginning.
Alexandre Belloni (2):
PWM: atmel-pwm: Fix polarity handling
PWM: atmel: correct CDTY calculation
drivers/pwm/pwm-atmel.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
--
1.8.3.2
--
To unsubscribe from this list: send the line unsubscribe linux
overwriting the prescaler bits.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
drivers/pwm/pwm-atmel.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/pwm/pwm-atmel.c b/drivers/pwm/pwm-atmel.c
index bf4144a14661..2d69e9c431dd 100644
the polarity was inversed).
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
drivers/pwm/pwm-atmel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pwm/pwm-atmel.c b/drivers/pwm/pwm-atmel.c
index 2d69e9c431dd..0adc952cc4ef 100644
--- a/drivers/pwm
.
The other issue is that it may happen that CUPD is not flushed before enabling
the channel so it will update CDTY/CPRD just after one period. So we always set
CUPD, even when the channel is not enabled.
Tested on at91sam9g45 and sama5d31ek.
Signed-off-by: Alexandre Belloni alexandre.bell...@free
believe they didn't get broken
a way or another.
Regards,
--
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
Hi,
On 15/03/2014 at 16:34:02 +, Jonathan Cameron wrote :
Applied to the fixes-togreg branch of iio.git.
Note that is likely that this will go upstream after the merge window now.
I was aiming at 3.15 anyway.
Thanks for you help !
--
Alexandre Belloni, Free Electrons
Embedded Linux
On 16/03/2014 at 18:16:54 +, Jonathan Cameron wrote :
On 05/03/14 17:35, Alexandre Belloni wrote:
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
Hi,
On 16/03/2014 at 18:30:07 +, Jonathan Cameron wrote :
On 05/03/14 17:35, Alexandre Belloni wrote:
This patch set is a followup of my previous series: iio: adc: at91 fixes
I'm sorry it is so long, I made sure this is bissectable.
It's a nice series, don't apologise for doing things
On 16/03/2014 at 18:18:41 +, Jonathan Cameron wrote :
On 05/03/14 17:35, Alexandre Belloni wrote:
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
),
+ CLKDEV_CON_DEV_ID(NULL, f600.gpio, pioB_clk),
+ CLKDEV_CON_DEV_ID(NULL, f800.gpio, pioC_clk),
do we really need this?
Yes, until all the SoCs are switch to the CCF, we may build kernel
supporting multiple sam9 SoCs without CCF.
Best regards,
--
Alexandre Belloni, Free Electrons
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
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
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
Acked-by: Dmitry Torokhov dmitry.torok...@gmail.com
---
MAINTAINERS | 6 -
drivers/input/touchscreen
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
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
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
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
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
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
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 a51b8badbf8e..3b5bacd4d8da 100644
--- a/drivers/iio/adc
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
Acked-by: Jonathan Cameron ji
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
Acked
and
this is the speed used by atmel_tsadcc.
It lowers the maximum throughput rate from 44 samples per second to 12958
samples per second. It shouldn't be an issue as the CPU is not able to keep up
reading samples at that frequency.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
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
commit log for patch 5
Alexandre Belloni (15):
ARM: at91: sam9g45: remove unused platform_data
ARM: at91: sam9260: remove unused platform_data
iio: adc: at91: cleanup platform_data
iio: adc: at91_adc: Add support for touchscreens without TSMR
ARM: at91: sam9m10g45ek: Add touchscreen support
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
Acked
-lradc.c:1558: warning: passing argument 1 of
'__div64_32' from incompatible pointer type
When building on avr32.
Reported-by: fengguang...@intel.com
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
drivers/staging/iio/adc/mxs-lradc.c | 2 +-
1 file changed, 1 insertion
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(), called from
of_pwm_get().
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
drivers/leds/leds-pwm.c | 5 +
1 file changed, 5
Hi,
On 21/02/2014 at 20:48:53 +0100, Alexandre Belloni wrote :
+ ahb {
+ apb {
+ mmc0: mmc@fffa4000 {
+ pinctrl-0 =
+ pinctrl_board_mmc0
Remove the properties that are not used anymore by the at91_adc driver.
Also, stop using unit-addresses for the triggers as suggested by Mark
Rutland in
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-February/234184.html
Signed-off-by: Alexandre Belloni alexandre.bell...@free
Remove the properties that are not used anymore by the at91_adc driver.
Also, stop using unit-addresses for the triggers as suggested by Mark
Rutland in
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-February/234184.html
Signed-off-by: Alexandre Belloni alexandre.bell...@free
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
.../devicetree/bindings/arm/atmel-adc.txt | 76 --
.../devicetree/bindings/iio/adc/at91_adc.txt | 76 ++
2 files changed, 76 insertions(+), 76 deletions(-)
delete mode
-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
.../devicetree/bindings/arm/atmel-adc.txt | 29 +-
1 file changed, 12 insertions(+), 17 deletions(-)
diff --git a/Documentation/devicetree/bindings/arm/atmel-adc.txt
b/Documentation/devicetree/bindings/arm
Remove the properties that are not used anymore by the at91_adc driver.
Also, stop using unit-addresses for the triggers as suggested by Mark
Rutland in
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-February/234184.html
Signed-off-by: Alexandre Belloni alexandre.bell...@free
Remove the properties that are not used anymore by the at91_adc driver.
Also, stop using unit-addresses for the triggers as suggested by Mark
Rutland in
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-February/234184.html
Signed-off-by: Alexandre Belloni alexandre.bell...@free
Remove the properties that are not used anymore by the at91_adc driver.
Also, stop using unit-addresses for the triggers as suggested by Mark
Rutland in
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-February/234184.html
Signed-off-by: Alexandre Belloni alexandre.bell...@free
Hi,
On 26/02/2014 at 18:39:04 +0100, Maxime Ripard wrote :
Hi Alexandre,
On Wed, Feb 26, 2014 at 06:01:08PM +0100, Alexandre Belloni wrote:
This corrects the example by removing the unit-address, as suggested by Mark
Rutland in
http://lists.infradead.org/pipermail/linux-arm-kernel/2014
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
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
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 | 227 +-
1 file changed, 226 insertions(+), 1 deletion(-)
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
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
-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
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 | 16
1 file changed, 16 insertions(+)
diff --git a/arch/arm/mach-at91/at91sam9rl.c b/arch/arm/mach-at91
.
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 transition for sam9rl SoCs
ARM
for that case and returns an error, not allowing the driver to be
loaded with no endpoints.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
drivers/usb/gadget/atmel_usba_udc.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/usb/gadget/atmel_usba_udc.c
b/drivers
atmel,at91sam9rl-udc is a USB gadget, it has now means to control vbus.
atmel,vbus-gpio is in fact used to detect the presence of vbus.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
---
Documentation/devicetree/bindings/usb/atmel-usb.txt | 4 ++--
1 file changed, 2
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
it wrong.
Alexandre Belloni (7):
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: at91sam9260: remove useless adc properties
ARM: at91/dt
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
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 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/at91sam9g45.dtsi | 11 ++-
1 file
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 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
/2014-February/232185.html
I've hit the issue, precisely using those bindings.
--
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
1 - 100 of 10184 matches
Mail list logo