(), 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
---
This would probably be good to introduce that patch
Signed-off-by: Alexandre Belloni
---
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/dts/imx28-cfa10049.dts
+++ b/arch
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
---
drivers/power/bq2415x_charger.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Hi Jonathan,
I don't actually see it in iio.git on kernel.org, am I doing something
wrong ?
On 06/07/2013 12:24, Jonathan Cameron wrote:
> On 07/04/2013 10:08 AM, Lars-Peter Clausen wrote:
>> On 06/24/2013 07:24 PM, Alexandre Belloni wrote:
>>> The Nuvoton NAU7802 ADC is
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
> up to new platform devices. This causes a similar issues as interrupt
> resolution and should be fixable by extending the of_platform_probe()
> function introduced in patch 7 of this series.
I believe this will solve the issue I was hitting back in June where
of_i2c_register_devic
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
On 08/10/2013 14:05, Thierry Reding wrote:
> On Mon, Sep 30, 2013 at 05:22:33PM +0200, Alexandre Belloni wrote:
>> I found that disabling a pwm while it is at a low level will actually
put it
>> back at a high level. The main sympt
RESOURCE_MEM, 0);
> + if (!res)
> + return -ENODEV;
> +
> + atmel_pwm->base = devm_ioremap_resource(&pdev->dev, res);
> +
> + atmel_pwm->clk = devm_clk_get(&pdev->dev, NULL);
> + if (IS_ERR(atmel_pwm->clk))
> + return PTR_E
using the request and free callbacks to enable and disable the
pwm channels and the clock.
Signed-off-by: Alexandre Belloni
---
This patch applies after:
[PATCH v4] PWM: atmel-pwm: add PWM controller driver
drivers/pwm/pwm-atmel.c | 14 +-
1 file changed, 5 insertions(+), 9
On 29/09/2013 12:12, Bo Shen wrote:
> Hi Alexandre,
>
> On 9/28/2013 04:10, Alexandre Belloni wrote:
>> I found that disabling a pwm while it is at a low level will actually
>> put it
>> back at a high level. The main symptom is that leds-pwm is calling
>> pwm_di
t same time fix this issue?
I think it would be better that you fix that particular part in a v5 and
I'll respin my patch for request/free based on that
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this l
using the request and free callbacks to enable and disable the
pwm channels and the clock.
Signed-off-by: Alexandre Belloni
---
Applies on [PATCH v5] PWM: atmel-pwm: add PWM controller driver
Changes in v2:
- add dummies pwm_enable and pwm_disable to be able to register the pwm chip.
drivers
On 30/09/2013 11:10, 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
Acked-by: Alexandre Belloni
>
> Paweł
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
>> the body of a message to majord...@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
--
Alexandre Belloni, Free Electrons
E
Signed-off-by: Alexandre Belloni
---
arch/arm/mach-at91/sama5d3.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/mach-at91/sama5d3.c b/arch/arm/mach-at91/sama5d3.c
index 4012797..8e43e8d 100644
--- a/arch/arm/mach-at91/sama5d3.c
+++ b/arch/arm/mach-at91/sama5d3.c
@@ -241,6
t; Signed-off-by: Bo Shen
>
> It seems simple and nice.
>
> Acked-by: Nicolas Ferre
Tested on a sama5d31 board with leds-pwm.
Tested-by: Alexandre Belloni
>
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To
,
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
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
Signed-off-by: Maxime Ripard
---
arch/arm/boot/dts/imx28-cfa10049.dts | 18 ++
1 file changed, 18 insertions
The Nuvoton NAU7802 ADC is a 24-bit 2-channels I2C ADC, with adjustable
gain and sampling rates.
Signed-off-by: Alexandre Belloni
Signed-off-by: Maxime Ripard
---
.../bindings/iio/adc/nuvoton-nau7802.txt | 17 +
drivers/iio/adc/Kconfig|9 +
drivers
From: Maxime Ripard
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
---
arch/arm/boot/dts/imx28-cfa10049.dts | 108 --
1 file c
of_property_read_u32(np, "nuvoton,vldo", &tmp);
>> +st->vref_mv = tmp;
>> +
>> +data = NAU7802_PUCTRL_PUD_BIT | NAU7802_PUCTRL_PUA_BIT |
>> +NAU7802_PUCTRL_CS_BIT;
>> +if (tmp >= 2400)
>> +data |= NAU7802_PUCTRL_AVDDS_BIT;
rks as
it is always called from arch/ and is clearly not fool proofed enough.
Maybe DT could help ?
Arnd, do you have any input ?
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "u
tting more platforms getting it wrong. I
think it boils down to who wants to take the maintenance burden. I would
believe that doing it in phylib is more future proof. But I'm fine
with whatever the consensus will be.
However, it is becoming urgent for Atmel to get the fix in 3.10 so that
t
ce to `mdiobus_write'
arch/arm/mach-at91/built-in.o: In function `sama5_dt_device_init':
:(.init.text+0x1e34): undefined reference to `phy_register_fixup_for_uid'
when CONFIG_PHYLIB is not selected.
Signed-off-by: Alexandre Belloni
---
arch/arm/mach-at91/Kconfig | 1 +
arch
hat Allwinner will never be able to get code in the
mainline after Olof and Maxime told you that they are already working,
at least discussing with them.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this lis
From: Maxime Ripard
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
Signed-off-by: Maxime Ripard
---
arch/arm/boot/dts/imx28-cfa10049.dts | 18 ++
1 file changed, 18 insertions
From: Maxime Ripard
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
Signed-off-by: Alexandre Belloni
---
arch/arm/boot/dts/imx28-cfa10049.dts | 108
The Nuvoton NAU7802 ADC is a 24-bit 2-channels I2C ADC, with adjustable
gain and sampling rates.
Signed-off-by: Alexandre Belloni
Signed-off-by: Maxime Ripard
---
.../bindings/iio/adc/nuvoton-nau7802.txt | 17 +
drivers/iio/adc/Kconfig| 9 +
drivers/iio
ult but I don't 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
Signed-off-by: Alexandre Belloni
---
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 69f5672..b1c4042 100644
--- a/drivers
From: Maxime Ripard
Signed-off-by: Alexandre Belloni
Signed-off-by: Maxime Ripard
---
drivers/video/backlight/hx8357.c | 53 +++-
1 file changed, 31 insertions(+), 22 deletions(-)
diff --git a/drivers/video/backlight/hx8357.c b/drivers/video/backlight
On 22/06/2013 14:02, Lars-Peter Clausen wrote:
> On 06/22/2013 01:55 PM, Jonathan Cameron wrote:
>> On 06/20/2013 07:57 PM, Alexandre Belloni wrote:
>>> The Nuvoton NAU7802 ADC is a 24-bit 2-channels I2C ADC, with adjustable
>>> gain and sampling rates.
>>>
>
On 22/06/2013 15:20, Lars-Peter Clausen wrote:
> On 06/22/2013 03:07 PM, Alexandre Belloni wrote:
>> On 22/06/2013 14:02, Lars-Peter Clausen wrote:
>>> On 06/22/2013 01:55 PM, Jonathan Cameron wrote:
>>>> On 06/20/2013 07:57 PM, Alexandre Belloni wrote:
>>>&
On 24/06/2013 08:41, Lars-Peter Clausen wrote:
> On 06/20/2013 08:57 PM, Alexandre Belloni wrote:
>> The Nuvoton NAU7802 ADC is a 24-bit 2-channels I2C ADC, with adjustable
>> gain and sampling rates.
>>
>> Signed-off-by: Alexandre Belloni
>> Signed-off-by: Maxim
-10055 (hx8357) and CFA-10056 (hx8369).
Alexandre Belloni (1):
fb: backlight: HX8357: Add HX8369 support
Maxime Ripard (1):
video: hx8357: Make IM pins optional
drivers/video/backlight/hx8357.c | 256 +--
1 file changed, 219 insertions(+), 37 deletions
From: Maxime Ripard
The IM pins of the HX8357 controller are used to define the interface used to
feed pixel stream to the LCD panel.
Most of the time, these pins are directly routed to either the ground or the VCC
to set their values.
Remove the need to assign GPIOs to these pins when we are i
Add support for the Himax HX8369 controller as it is quite similar to the
hx8357.
Signed-off-by: Alexandre Belloni
---
changes since v1:
- use the data element of of_device_id to select the correct initialization
function
drivers/video/backlight/hx8357.c | 203
From: Maxime Ripard
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
Signed-off-by: Maxime Ripard
---
arch/arm/boot/dts/imx28-cfa10049.dts | 18 ++
1 file changed, 18 insertions
The Nuvoton NAU7802 ADC is a 24-bit 2-channels I2C ADC, with adjustable
gain and sampling rates.
Signed-off-by: Alexandre Belloni
Signed-off-by: Maxime Ripard
---
.../bindings/iio/adc/nuvoton-nau7802.txt | 18 +
drivers/iio/adc/Kconfig| 9 +
drivers/iio
n
the DT as Jonathan seemed to be ok with that. If anybody is using a nau7802 with
an external reference, it will still be time to add the fixed regulator. It
shouldn't be difficult but I don't have any hardware to test.
Regards,
Alexandre Belloni (1):
iio: Add Nuvoton NAU7802 ADC
From: Maxime Ripard
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
Signed-off-by: Alexandre Belloni
---
arch/arm/boot/dts/imx28-cfa10049.dts | 108
On 24/06/2013 18:41, Lars-Peter Clausen wrote:
> Ah, ok, makes sense.
>
I just sent v3, thanks for your reviews !
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubs
The lradc is actually available on the Crystalfontz cfa-10036.
Signed-off-by: Alexandre Belloni
---
arch/arm/boot/dts/imx28-cfa10036.dts | 4
arch/arm/boot/dts/imx28-cfa10049.dts | 1 -
arch/arm/boot/dts/imx28-cfa10055.dts | 1 -
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git
Adding #io-channel-cells property to lradc allows us to use the lradc as an iio
provider.
Signed-off-by: Alexandre Belloni
---
arch/arm/boot/dts/imx28.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi
index 600f7cb..9a7feeb
defines the lradc as present on the cfa-10036 and thus removes
it from i.mx28-cfa10049.dts and imx28-cfa10055.dts as they both include
imx28-cfa10036.dts
The third patch adds the driver itself.
And the final patch adds the driver bindings to the cfa-10036.
Alexandre Belloni (4):
arm: mxs: Add #io
The low resolution ADC of the mxs is able to read an internal temperature
sensor, expose that using hwmon.
Signed-off-by: Alexandre Belloni
---
.../devicetree/bindings/hwmon/mxs-cputemp.txt | 18 +++
Documentation/hwmon/mxs-cputemp| 29 +
drivers/hwmon/Kconfig
Signed-off-by: Alexandre Belloni
---
arch/arm/boot/dts/imx28-cfa10036.dts | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx28-cfa10036.dts
b/arch/arm/boot/dts/imx28-cfa10036.dts
index 802e0e9..5afb945 100644
--- a/arch/arm/boot/dts/imx28-cfa10036
Since the info_mask split, iio_channel_has_info() is not working correctly.
info_mask_separate and info_mask_shared_by_type, it is not possible to compare
them directly with the iio_chan_info_enum enum. Correct that bit using the BIT()
macro.
Cc: # 3.10.x
Signed-off-by: Alexandre Belloni
When reading IIO_CHAN_INFO_OFFSET, the return value of iio_channel_read() for
success will be IIO_VAL*, checking for 0 is not correct.
Cc: # 3.10.x
Signed-off-by: Alexandre Belloni
---
drivers/iio/inkern.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/inkern.c
IIO_CHAN_INFO_OFFSET so that it can be processed by hwmon through the in kernel
provider/consumer mechanism.
Signed-off-by: Alexandre Belloni
---
drivers/staging/iio/adc/mxs-lradc.c | 99 ++---
1 file changed, 82 insertions(+), 17 deletions(-)
diff --git a/drivers/staging/iio
>;
#size-cells = <0>;
adc0: nau7802@2a {
compatible = "nuvoton,nau7802";
reg = <0x2a>;
nuvoton,vldo = <3000>;
};
};
[...]
--
Alexandre
On 02/07/2013 13:45, Fabio Estevam wrote:
> Shouldn't this be
>
> i2c@1 {
> reg = <1>; ?
>
No, we have 4 devices on that mux and 2 pins to select the muxing.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Andro
On 02/07/2013 13:50, Alexandre Belloni wrote:
> On 02/07/2013 13:45, Fabio Estevam wrote:
>
>> Shouldn't this be
>>
>> i2c@1 {
>> reg = <1>; ?
>>
>
> No, we have 4 devices on that mux and 2 pins to select the muxing.
On 02/07/2013 18:33, Marek Vasut wrote:
> Dear Alexandre Belloni,
>
>> On 02/07/2013 13:50, Alexandre Belloni wrote:
>>> On 02/07/2013 13:45, Fabio Estevam wrote:
>>>> Shouldn't this be
>>>>
>>>> i2c@1 {
>>>>
-ENXIO. In that case, we want to go through the
MXS_I2C_CTRL1_CLR_GOT_A_NAK before returning.
Signed-off-by: Alexandre Belloni
---
drivers/i2c/busses/i2c-mxs.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/i2c/busses/i2c-mxs.c b/drivers/i2c/busses/i2c-mxs.c
On 06/07/2013 12:26, Jonathan Cameron wrote:
> On 06/24/2013 06:24 PM, Alexandre Belloni wrote:
>> From: Maxime Ripard
>>
>> The ADCs connected to this bus have been experiencing some timeout
>> issues when using the iMX28 i2c controller. Switching back to bitbanging
&
From: Brian Lilly
The CFA-10056 is a breakout board for the CFA-10036, and is
basically a CFA-10037, with ai 4.3" screen.
Signed-off-by: Brian Lilly
Signed-off-by: Alexandre Belloni
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/imx28-cfa10056.dts
From: Brian Lilly
The CFA-10057 is a breakout board for the CFA-10036 that has Ethernet, USB and a
5" LCD screen on it.
Signed-off-by: Brian Lilly
Signed-off-by: Alexandre Belloni
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/imx28-cfa10058.dts
Hi,
This patch series add DT for the Crystalfontz CFA-10056 and Crystalfontz
CFA-10058.
The first patch simplifies board detection in mach-mxs.c as suggested by Thomas
Petazzoni in his review of the precedent DT additions.
The next patches are ading the DTs.
Thanks,
Alexandre
Alexandre
As all CrystalFontz boards are compatible with "crystalfontz,cfa10036", make it
easier to add future boards.
Signed-off-by: Alexandre Belloni
---
arch/arm/mach-mxs/mach-mxs.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/arch/arm/mach-mxs/mach-mxs.c b/arch/ar
As all CrystalFontz boards are compatible with "crystalfontz,cfa10036", make it
easier to add future boards.
Signed-off-by: Alexandre Belloni
---
arch/arm/mach-mxs/mach-mxs.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/arch/arm/mach-mxs/mach-mxs.c b/arch/ar
the review from Maxime Ripard
Thanks,
Alexandre
Alexandre Belloni (1):
ARM: mxs: Simplify detection of CrystalFontz boards
Brian Lilly (2):
ARM: mxs: dt: Add Crystalfontz CFA-10056 device tree
ARM: mxs: dt: Add Crystalfontz CFA-10058 device tree
arch/arm/boot/dts/Makefile | 2
From: Brian Lilly
The CFA-10056 is a breakout board for the CFA-10036, and is
basically a CFA-10037, with a 4.3" screen.
Signed-off-by: Brian Lilly
Signed-off-by: Alexandre Belloni
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/imx28-cfa10056.dts
From: Brian Lilly
The CFA-10057 is a breakout board for the CFA-10036 that has Ethernet, USB and a
5" LCD screen on it.
Signed-off-by: Brian Lilly
Signed-off-by: Alexandre Belloni
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/imx28-cfa10058.dts
Hi,
On 27/06/2013 16:27, Guenter Roeck wrote:
> On Thu, Jun 27, 2013 at 11:17:32AM +0200, Maxime Ripard wrote:
>> On Wed, Jun 26, 2013 at 07:39:27AM -0700, Guenter Roeck wrote:
>>> On Wed, Jun 26, 2013 at 10:51:12AM +0200, Alexandre Belloni wrote:
>>>> The low resolu
Necessary pins are now grabbed by respective drivers. Unecessary hogpins are
simply removed.
Signed-off-by: Alexandre Belloni
---
arch/arm/boot/dts/imx28-cfa10057.dts | 23 +++
1 file changed, 3 insertions(+), 20 deletions(-)
diff --git a/arch/arm/boot/dts/imx28-cfa10057
up the remaining boards DTs.
Changes in v3
- Cleaned up all the DTs for crystalfontz boards.
Changes in v2:
- took into account the review from Maxime Ripard
Thanks,
Alexandre Belloni (6):
ARM: mxs: Simplify detection of CrystalFontz boards
ARM: mxs: dt: cfa10036: make hogpins grabbed by
From: Brian Lilly
The CFA-10058 is a breakout board for the CFA-10036 that has Ethernet, USB and a
5" LCD screen on it.
Signed-off-by: Brian Lilly
Signed-off-by: Alexandre Belloni
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/imx28-cfa10058.dts
Signed-off-by: Alexandre Belloni
---
arch/arm/boot/dts/imx28-cfa10055.dts | 38
1 file changed, 13 insertions(+), 25 deletions(-)
diff --git a/arch/arm/boot/dts/imx28-cfa10055.dts
b/arch/arm/boot/dts/imx28-cfa10055.dts
index 1581112..171bcbe 100644
--- a
Signed-off-by: Alexandre Belloni
---
arch/arm/boot/dts/imx28-cfa10037.dts | 19 ++-
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/arch/arm/boot/dts/imx28-cfa10037.dts
b/arch/arm/boot/dts/imx28-cfa10037.dts
index c2ef3a3..182b99f 100644
--- a/arch/arm/boot/dts
Signed-off-by: Alexandre Belloni
---
arch/arm/boot/dts/imx28-cfa10049.dts | 73 +++-
1 file changed, 63 insertions(+), 10 deletions(-)
diff --git a/arch/arm/boot/dts/imx28-cfa10049.dts
b/arch/arm/boot/dts/imx28-cfa10049.dts
index 04b2f76..06e4cfa 100644
--- a
Signed-off-by: Alexandre Belloni
---
arch/arm/boot/dts/imx28-cfa10036.dts | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/imx28-cfa10036.dts
b/arch/arm/boot/dts/imx28-cfa10036.dts
index 94c4476..1ec8c94 100644
--- a/arch/arm/boot/dts/imx28-cfa10036
From: Brian Lilly
The CFA-10056 is a breakout board for the CFA-10036, and is
basically a CFA-10037, with a 4.3" screen.
Signed-off-by: Brian Lilly
Signed-off-by: Alexandre Belloni
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/imx28-cfa10056.dts
As all CrystalFontz boards are compatible with "crystalfontz,cfa10036", make it
easier to add future boards.
Signed-off-by: Alexandre Belloni
Acked-by: Maxime Ripard
---
arch/arm/mach-mxs/mach-mxs.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/arch/arm/mac
On 28/06/2013 16:18, Lars-Peter Clausen wrote:
> On 06/27/2013 09:26 PM, Alexandre Belloni wrote:
>>
>> They are already registered as IIO_TEMP but only implement read_raw. Also,
>>
>> iio_hwmon_read_val() is using iio_read_channel_processed() and that will
>>
red them the other way around: first the
> breakout board, then the 10036.
Do you want me to send a reordered serie or will you do it when applying
the patches ? You can just apply patch 4/8 last.
thanks,
- --
Alexandre Belloni, Free Electrons
Embed
On 01/07/2013 11:06, Shawn Guo wrote:
> On Sun, Jun 30, 2013 at 06:11:16PM +0200, Alexandre Belloni wrote:
>> Do you want me to send a reordered serie or will you do it when applying
>> the patches ? You can just apply patch 4/8 last.
>
> Please resend, since you have some co
Signed-off-by: Alexandre Belloni
Acked-by: Maxime Ripard
---
arch/arm/boot/dts/imx28-cfa10049.dts | 73 +++-
1 file changed, 63 insertions(+), 10 deletions(-)
diff --git a/arch/arm/boot/dts/imx28-cfa10049.dts
b/arch/arm/boot/dts/imx28-cfa10049.dts
index 04b2f76
Signed-off-by: Alexandre Belloni
Acked-by: Maxime Ripard
---
arch/arm/boot/dts/imx28-cfa10037.dts | 19 ++-
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/arch/arm/boot/dts/imx28-cfa10037.dts
b/arch/arm/boot/dts/imx28-cfa10037.dts
index c2ef3a3..182b99f 100644
Signed-off-by: Alexandre Belloni
Acked-by: Maxime Ripard
---
arch/arm/boot/dts/imx28-cfa10036.dts | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/imx28-cfa10036.dts
b/arch/arm/boot/dts/imx28-cfa10036.dts
index 94c4476..1ec8c94 100644
--- a/arch/arm
up the remaining boards DTs.
Changes in v4
- corrected comment for cfa-10056 and made it cfa-10037 compatible
- reordered patches
Changes in v3
- Cleaned up all the DTs for crystalfontz boards.
Changes in v2:
- took into account the review from Maxime Ripard
Thanks,
Alexandre Belloni (6
Signed-off-by: Alexandre Belloni
Acked-by: Maxime Ripard
---
arch/arm/boot/dts/imx28-cfa10055.dts | 38
1 file changed, 13 insertions(+), 25 deletions(-)
diff --git a/arch/arm/boot/dts/imx28-cfa10055.dts
b/arch/arm/boot/dts/imx28-cfa10055.dts
index 1581112
Necessary pins are now grabbed by respective drivers. Unecessary hogpins are
simply removed.
Signed-off-by: Alexandre Belloni
Acked-by: Maxime Ripard
---
arch/arm/boot/dts/imx28-cfa10057.dts | 23 +++
1 file changed, 3 insertions(+), 20 deletions(-)
diff --git a/arch/arm
As all CrystalFontz boards are compatible with "crystalfontz,cfa10036", make it
easier to add future boards.
Signed-off-by: Alexandre Belloni
Acked-by: Maxime Ripard
---
arch/arm/mach-mxs/mach-mxs.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/arch/arm/mac
From: Brian Lilly
The CFA-10058 is a breakout board for the CFA-10036 that has Ethernet, USB and a
5" LCD screen on it.
Signed-off-by: Brian Lilly
Signed-off-by: Alexandre Belloni
Acked-by: Maxime Ripard
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/imx28-cfa1005
From: Brian Lilly
The CFA-10056 is a breakout board for the CFA-10036, and is
basically a CFA-10037, with a 4.3" screen.
Signed-off-by: Brian Lilly
Signed-off-by: Alexandre Belloni
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/imx28-cfa10056.dts
-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_se
Hi,
On 26/07/2013 01:52, Jingoo Han wrote:
> On Thursday, July 25, 2013 10:05 PM, Maxime Ripard wrote:
>> From: Alexandre Belloni
>>
>> Add support for the Himax HX8369 controller as it is quite similar to the
>> hx8357.
>>
>> Signed-off-by: Alexandre B
this case we have to use 'handle_level_irq' which
> mask the interrupt until the handle has treated it.
>
> Signed-off-by: Boris BREZILLON
This solves the issue on my side.
Tested-by: Alexandre Belloni
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
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
---
arch/arm/boot/dts/am33xx.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts
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
---
arch/arm/boot/dts/sama5d3.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d3.dtsi
ew, the divider that is before the mux (the by 4
divider on channel 3 on my drawing) is not part of the the ADC, it is
not fixed by that IP. And indeed, that changed between the i.mx23 and
i.mx28 while the IP is the same.
So, the two solutions you suggest are:
1/ using a fixed-regulator phandle per cha
ou'll take this series as is ?
Regards,
On 26/07/2013 18:13, Jonathan Cameron wrote:
>
> Alexandre Belloni wrote:
>> On 23/07/2013 15:25, Hector Palacios wrote:
>>> Dear Lars,
>>>
>>> On 07/23/2013 10:46 AM, Lars-Peter Clausen wrote:
&
ng
those. Also, in my patch, I was passing channel->chan as an int but I
don't see any drawbacks of passing a pointer to the struct iio_chan_spec.
As a note, I'm waiting for your patch to get included so that we won't
get any conflicts.
Regards,
--
Alexandre Belloni, Free Electrons
Em
ctor Palacios
Looks good to me:
Acked-by: Alexandre Belloni
And you are right, we will probably need to hide the 64bits math. I'll
try to think of something.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe fro
0
> and 0x3 (18 bits), instead of between 0 and 0xfff (12 bits).
>
> Signed-off-by: Hector Palacios
> ---
>
Looks good to me:
Acked-by: Alexandre Belloni
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To un
f a measured sample value.
>
> Signed-off-by: Hector Palacios
Acked-by: Alexandre Belloni
--
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
On 19/07/2013 11:13, Hector Palacios wrote:
> 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
Looks good to me:
Acked-by: Alexandre Belloni
--
Alexandre Belloni, Fr
f an IP block by describing heaps of registers in the DT. It
may look ugly here because you have a lot of channels but I find that
quite acceptable.
Regards,
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this
able.dev_attr.attr,
>>> +&iio_dev_attr_in_voltage14_scale_available.dev_attr.attr,
>>> +&iio_dev_attr_in_voltage15_scale_available.dev_attr.attr,
>>> +NULL
>>> +};
>>
>> This should really be using the iio_chan_spec_ext_info
>>
1 - 100 of 5828 matches
Mail list logo