Re: [PATCH] ARM: OMAP: Add support for AM35xx UART4/ttyO3

2012-03-22 Thread Kyle Manna
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

Re: [PATCH RFC] mfd: twl4030-madc: Enable ADC channels 3-6

2011-12-08 Thread Kyle Manna
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

[PATCH v3 3/6] mfd: TPS65910: Fix typo that clobbers genirq

2011-11-03 Thread Kyle Manna
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

[PATCH v3 5/6] regulator: TPS65910: Move regulator defs to header

2011-11-03 Thread Kyle Manna
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

[PATCH v3 4/6] mfd: TPS65910: Move linux/gpio.h include to header

2011-11-03 Thread Kyle Manna
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

[PATCH v3 6/6] regulator: TPS65910: Create an array for init data

2011-11-03 Thread Kyle Manna
. 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

[PATCH v3 0/6] mfd: TPS65910: Bug fixes and enhancements

2011-11-03 Thread Kyle Manna
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

[PATCH v3 2/6] mfd: TPS65910: Add I2C slave address macros

2011-11-03 Thread Kyle Manna
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

[PATCH v3 1/6] mfd: TPS65910: Handle non-existent devices

2011-11-03 Thread Kyle Manna
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

[PATCH] ARM: OMAP: Fix early init definitions

2011-10-18 Thread Kyle Manna
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

[PATCH] ARM: OMAP: Add support for AM35xx UART4/ttyO3

2011-10-18 Thread Kyle Manna
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

Re: [PATCH 1/1] ARM: OMAP: Add conditional compilation for board specific init functions

2011-10-18 Thread Kyle Manna
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

[PATCH v2 1/4] mfd: twl4030-madc: copy the device pointer

2011-08-11 Thread Kyle Manna
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

[PATCH v2 4/4] arm: BeagleBoard: add support for the twl4030-madc

2011-08-11 Thread Kyle Manna
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

[PATCH v2 0/4] Fixes to twl4030-madc and add BeagleBoard support

2011-08-11 Thread Kyle Manna
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

[PATCH v2 2/4] mfd: twl4030-madc: turn on the MADC clock

2011-08-11 Thread Kyle Manna
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

[PATCH v2 3/4] mfd: twl4030-madc: check for NULL pointer

2011-08-11 Thread Kyle Manna
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 --

[PATCH 0/3] Fixes to twl4030-madc and add BeagleBoard support

2011-08-10 Thread Kyle Manna
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

[PATCH 2/3] twl4030-madc: turn on the MADC clock

2011-08-10 Thread Kyle Manna
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

[PATCH 1/3] twl4030-madc: copy the device pointer

2011-08-10 Thread Kyle Manna
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

[PATCH 3/3] BeagleBoard: add support for the twl4030-madc

2011-08-10 Thread Kyle Manna
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