On 03/22/2012 11:03 AM, Stefano Babic wrote:
On 18/10/2011 20:47, Kyle Manna wrote:
Add hwmod support to enable access to UART4 of the AM35xx series of
chips. The UART4 device referenced from the TRM will show up as ttyO3.
This was tested on an AM3505.
Signed-off-by: Kyle Manna
---
Hi Kyle
this same problem and have fixed it the same way, looks
good to me.
Reviewed-by: Kyle Manna
- Kyle
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Fix a typo that clobbers other interrupts in an unobvious way.
Signed-off-by: Kyle Manna
---
drivers/mfd/tps65910.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c
index 0d9c3eb..87cb3c9 100644
--- a/drivers/mfd/tps65910
Move the regulator defintions to the header so that platform board file
can use them to configure specific regulators.
Signed-off-by: Kyle Manna
Acked-by: Mark Brown
---
drivers/regulator/tps65910-regulator.c | 24
include/linux/mfd/tps65910.h | 25
The tps65910.h file depends on linux/gpio.h. Move the include from the
source file to the tps65910.h header file.
Signed-off-by: Kyle Manna
---
drivers/mfd/tps65910.c |1 -
include/linux/mfd/tps65910.h |3 +++
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers
.
Signed-off-by: Kyle Manna
Acked-by: Mark Brown
---
drivers/regulator/tps65910-regulator.c | 13 ++---
include/linux/mfd/tps65910.h |5 -
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/drivers/regulator/tps65910-regulator.c
b/drivers/regulator/tps65910
https://lkml.org/lkml/2011/10/19/191
Kyle Manna (6):
mfd: TPS65910: Handle non-existent devices
mfd: TPS65910: Add I2C slave address macros
mfd: TPS65910: Fix typo that clobbers genirq
mfd: TPS65910: Move linux/gpio.h include to header
regulator: TPS65910: Move regulator defs to h
Add I2C slave addresses to the header file so that platform definitions
can use them.
Signed-off-by: Kyle Manna
---
include/linux/mfd/tps65910.h |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/linux/mfd/tps65910.h b/include/linux/mfd/tps65910.h
index 82b4c88
invalid value, return -ENODEV.
Signed-off-by: Kyle Manna
---
drivers/mfd/tps65910.c | 22 --
1 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c
index 6f5b8cf..0d9c3eb 100644
--- a/drivers/mfd/tps65910.c
+++ b/drivers
Depending on the archs defined in the config, some functions are
referenced without being defined. This fixes compile time errors that
would otherwise result.
Signed-off-by: Kyle Manna
---
arch/arm/mach-omap2/io.c | 13 +
1 files changed, 13 insertions(+), 0 deletions(-)
diff
Add hwmod support to enable access to UART4 of the AM35xx series of
chips. The UART4 device referenced from the TRM will show up as ttyO3.
This was tested on an AM3505.
Signed-off-by: Kyle Manna
---
arch/arm/mach-omap2/clock3xxx_data.c | 11 ++
arch/arm/mach-omap2
Looks like you're missing one more section for OMAP3. Will reply with
a complete patch I was about to submit.
@@ -382,11 +387,14 @@ void __init omap2430_init_early(void)
omap_hwmod_init_postsetup();
omap2430_clk_init();
}
+#endif
/*
* Currently only board-omap3beagle.c should
Worst case this fixes the following error:
[ 72.086212] (NULL device *): conversion timeout!
Best case it prevents a crash
Signed-off-by: Kyle Manna
---
drivers/mfd/twl4030-madc.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/mfd/twl4030-madc.c b/drivers
Signed-off-by: Kyle Manna
---
arch/arm/mach-omap2/board-omap3beagle.c |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c
b/arch/arm/mach-omap2/board-omap3beagle.c
index 3ae16b4..9cc9fa9 100644
--- a/arch/arm/mach-omap2/board
These patches add basic functionality to the twl4030-madc driver to make
it work on the BeagleBoard xM.
Version 2 adds fixes per Grazvydas Ignotas and the check for NULL pointer patch.
Kyle Manna (4):
mfd: twl4030-madc: copy the device pointer
mfd: twl4030-madc: turn on the MADC clock
mfd
Without turning the MADC clock on, no MADC conversions occur.
$ cat /sys/class/hwmon/hwmon0/device/in8_input
[ 53.428436] twl4030_madc twl4030_madc: conversion timeout!
cat: read error: Resource temporarily unavailable
Signed-off-by: Kyle Manna
---
drivers/mfd/twl4030-madc.c | 22
If the twl4030-madc device wasn't registered, and another device, such
as twl4030-madc-hwmon, calls twl4030_madc_conversion() a NULL pointer is
dereferenced.
Signed-off-by: Kyle Manna
---
drivers/mfd/twl4030-madc.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --
These patches add basic functionality to the twl4030-madc driver to make
it work on the BeagleBoard xM. These patches were also tested on a OMAP3EVM.
Kyle Manna (3):
twl4030-madc: copy the device pointer
twl4030-madc: turn on the MADC clock
BeagleBoard: add support for the twl4030-madc
Without turning the MADC clock on, no MADC conversions occur.
$ cat /sys/class/hwmon/hwmon0/device/in8_input
[ 53.428436] twl4030_madc twl4030_madc: conversion timeout!
cat: read error: Resource temporarily unavailable
Signed-off-by: Kyle Manna
---
drivers/mfd/twl4030-madc.c | 22
Worst case this fixes the following error:
[ 72.086212] (NULL device *): conversion timeout!
Best case it prevents a crash
Signed-off-by: Kyle Manna
---
drivers/mfd/twl4030-madc.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/drivers/mfd/twl4030-madc.c b
Signed-off-by: Kyle Manna
---
arch/arm/mach-omap2/board-omap3beagle.c | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c
b/arch/arm/mach-omap2/board-omap3beagle.c
index 3ae16b4..a82d53b 100644
--- a/arch/arm/mach-omap2
21 matches
Mail list logo