Using set_scl may be ineffective before calling the driver specific
prepare_recovery callback, which might change into a test mode. So
instead of setting SCL in i2c_generic_scl_recovery, move it to
i2c_generic_recovery (after the optional prepare_recovery).
Signed-off-by: Jan Luebbe j
need to set them to 1 (which means high-impedance) to
avoid unwanted changes on the pins.
As a precaution, reset all these bits to their default values after
recovery is complete.
Signed-off-by: Jan Luebbe j...@pengutronix.de
---
drivers/i2c/busses/i2c-omap.c | 11 +++
1 file changed, 11
Hi Pantelis,
while trying out your patch on a custom AM335x board, I noticed that the
sysfs entries ware missing. This is fixed in the first patch, you might want
to squash that into your original patch.
The second one makes sure that the iio framework does not read invalid data.
Regards,
Jan
Check that mask is actually IIO_CHAN_INFO_RAW.
Also handle the case where not enough data is in the fifo.
Signed-off-by: Jan Luebbe j...@pengutronix.de
---
drivers/iio/adc/ti_am335x_adc.c | 48 -
1 file changed, 28 insertions(+), 20 deletions(-)
diff
Commit ti_tscadc: Update with IIO map interface deal with partial activation
by Pantelis Antoniou pa...@antoniou-consulting.com removed this line.
Without it, the in_voltage?_raw entries are missing from sysfs.
Signed-off-by: Jan Luebbe j...@pengutronix.de
---
drivers/iio/adc/ti_am335x_adc.c
On Mon, Mar 25, 2013 at 12:57:56PM +0530, Mugunthan V N wrote:
am33xx_pinmux: pinmux@44e10800 {
pinctrl-names = default;
- pinctrl-0 = user_leds_s0;
+ pinctrl-0 = user_leds_s0 cpsw_s0;
Why do you add cpsw_s0 to the pinmux node? This should go into
function.
Signed-off-by: Jan Luebbe j...@pengutronix.de
---
I've tested this on an AM335x based board which uses an external
GPIO expander.
drivers/mmc/host/omap_hsmmc.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers
-by: Jan Luebbe j...@pengutronix.de
---
drivers/gpio/gpio-omap.c | 65 +++---
1 file changed, 61 insertions(+), 4 deletions(-)
diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c
index d335af1..51434f3 100644
--- a/drivers/gpio/gpio-omap.c
+++ b
This allows using tools like mii-diag on CPSW.
Signed-off-by: Jan Luebbe j...@pengutronix.de
---
drivers/net/ethernet/ti/cpsw.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c
index 8de3e92..f476c03 100644
Signed-off-by: Jan Luebbe j...@pengutronix.de
---
drivers/net/ethernet/ti/cpsw.c | 47
1 file changed, 23 insertions(+), 24 deletions(-)
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c
index fb1a692..c0e676a 100644
Check that the number of available slaves passed from DT matches the
value of the slaves property in the cpsw node. Otherwise, priv-slaves
would be the wrong size.
Signed-off-by: Jan Luebbe j...@pengutronix.de
---
drivers/net/ethernet/ti/cpsw.c | 17 +
1 file changed, 17
for AM33xx.
Fix this by defining MULTI_OMAP2 when using SOC_AM33XX together with
something else.
Signed-off-by: Jan Luebbe j...@pengutronix.de
---
arch/arm/plat-omap/include/plat/multi.h |9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/plat-omap/include/plat/multi.h
b/arch
12 matches
Mail list logo