[PATCH] New Nokia RX-51 power supply battery driver

2012-10-30 Thread Pali Rohár
- Nokia RX-51 battery driver +Copyright (C) 2012 Pali Rohár pali.ro...@gmail.com + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License

[PATCH v2] New Nokia RX-51 power supply battery driver

2012-10-31 Thread Pali Rohár
). Signed-off-by: Pali Rohár pali.ro...@gmail.com --- /dev/null +++ linux/drivers/power/rx51_battery.c @@ -0,0 +1,251 @@ +/* + * rx51_battery.c - Nokia RX-51 battery driver + * Copyright (C) 2012 Pali Rohár pali.ro...@gmail.com + * + * This program is free software; you can redistribute

[PATCH] bq2415x charger driver

2012-11-02 Thread Pali Rohár
driver This patch implements driver for bq2415x charging chips. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- /dev/null +++ linux/drivers/power/bq2415x_charger.c @@ -0,0 +1,1644 @@ +/* +bq2415x_charger.c - bq2415x charger driver +Copyright (C) 2011-2012 Pali Rohár pali.ro

[PATCH] bq27x00_battery: Do not report nominal available capaciy if battery is not calibrated

2012-11-10 Thread Pali Rohár
Signed-off-by: Pali Rohár pali.ro...@gmail.com --- drivers/power/bq27x00_battery.c |8 1 file changed, 8 insertions(+) diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery.c index 5860d4d..41b3328 100644 --- a/drivers/power/bq27x00_battery.c +++ b/drivers

Re: BUG: Fn keys not working on EliteBook 8460p after fabf85e3ca15d5b94058f391dac8df870cdd427a

2013-04-17 Thread Pali Rohár
; - - //Enable magic for hotkeys that run on the SMBus - ec_write(0xe6,0x6e); + hp_wmi_enable_hotkeys(); } if (bios_capable) { Hello, I tested above patch and it fixing my problem. Now Fn keys working again on my HP EliteBook 8460p. -- Pali Rohár

Re: [PATCH v4] input: Add LED support to Synaptics device

2013-04-20 Thread Pali Rohár
with this patch? -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: [PATCH 1/2] mfd: twl4030-madc: Add support for raw value in twl4030_madc_conversion

2013-04-04 Thread Pali Rohár
On Sunday 24 March 2013 15:03:29 Pali Rohár wrote: On Saturday 02 March 2013 23:23:05 Pali Rohár wrote: On Friday 15 February 2013 23:56:49 Pali Rohár wrote: Driver twl4030-madc has hardcoded channel types (10 - battery current, 1 - battery temperature) and also conversation data

Re: [PATCH 1/2] mfd: twl4030-madc: Add support for raw value in twl4030_madc_conversion

2013-04-08 Thread Pali Rohár
On Thursday 04 April 2013 11:38:47 Samuel Ortiz wrote: Hi Pali, On Sat, Mar 02, 2013 at 11:23:05PM +0100, Pali Rohár wrote: On Friday 15 February 2013 23:56:49 Pali Rohár wrote: Driver twl4030-madc has hardcoded channel types (10 - battery current, 1 - battery temperature) and also

Re: [PATCH] power: rx51_battery: Fix reporting temperature

2013-04-08 Thread Pali Rohár
On Thursday 28 March 2013 17:42:23 Pali Rohár wrote: This patch fixing units (1/10 °C) in which is temperature reported. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- drivers/power/rx51_battery.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

Re: [PATCH 1/2] mfd: twl4030-madc: Add support for raw value in twl4030_madc_conversion

2013-04-10 Thread Pali Rohár
On Monday 08 April 2013 20:15:24 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [130404 02:37]: On Sunday 24 March 2013 15:03:29 Pali Rohár wrote: On Saturday 02 March 2013 23:23:05 Pali Rohár wrote: On Friday 15 February 2013 23:56:49 Pali Rohár wrote: Driver twl4030-madc

Re: [PATCH] RX-51: Fix probe order of SPI devices

2013-04-10 Thread Pali Rohár
On Tuesday 02 April 2013 18:31:38 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [130331 04:23]: On Sunday 31 March 2013 12:52:23 Sebastian Reichel wrote: On Sun, Mar 31, 2013 at 12:09:21PM +0200, Pali Rohár wrote: From: Joni Lapilainen joni.lapilai...@gmail.com Without

BUG: Fn keys not working on EliteBook 8460p after fabf85e3ca15d5b94058f391dac8df870cdd427a

2013-04-12 Thread Pali Rohár
it or revert that broken commit? This is critical problem, which caused my notebook to be unusable... -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: [PATCH] OMAP3 ROM Random Number Generator support

2013-03-28 Thread Pali Rohár
() with the platform device? Funcion clk_get() needs struct device* instead clk device name. And I do not know how to get that pointer to device. With clk_get_sys driver working. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: [PATCH] OMAP3 ROM Random Number Generator support

2013-03-28 Thread Pali Rohár
On Wednesday 27 March 2013 23:25:24 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [130327 15:08]: I will remove above code for checking omap type from hw rand driver, because same code is in omap part which creating platform_device for this driver. So soc.h is not needed. OK

Re: [PATCH v2] New Nokia RX-51 power supply battery driver

2013-03-30 Thread Pali Rohár
On Saturday 30 March 2013 22:42:29 Pavel Machek wrote: On Sat 2013-03-30 11:35:26, Anton Vorontsov wrote: On Sat, Mar 30, 2013 at 07:07:05PM +0100, Pavel Machek wrote: On Wed 2012-10-31 10:48:40, Pali Rohár wrote: Hello, I fixed style issues and added it to Makefile and Kconfig

Re: [PATCH] OMAP3 ROM Random Number Generator support

2013-03-31 Thread Pali Rohár
On Thursday 28 March 2013 22:44:11 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [130328 10:58]: Here is new version of patch: --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c @@ -486,6 +486,23 @@ static void omap_init_mcspi(void) static inline

[PATCH] RX-51: Fix probe order of SPI devices

2013-03-31 Thread Pali Rohár
From: Joni Lapilainen joni.lapilai...@gmail.com Without this patch LCD panel on Nokia RX-51 is still black Signed-off-by: Joni Lapilainen joni.lapilai...@gmail.com Signed-off-by: Pali Rohár pali.ro...@gmail.com --- arch/arm/mach-omap2/board-rx51-peripherals.c |2 +- 1 file changed, 1

Re: [PATCH] RX-51: Fix probe order of SPI devices

2013-03-31 Thread Pali Rohár
On Sunday 31 March 2013 12:52:23 Sebastian Reichel wrote: On Sun, Mar 31, 2013 at 12:09:21PM +0200, Pali Rohár wrote: From: Joni Lapilainen joni.lapilai...@gmail.com Without this patch LCD panel on Nokia RX-51 is still black Signed-off-by: Joni Lapilainen joni.lapilai...@gmail.com

Re: [PATCH] OMAP3 ROM Random Number Generator support

2013-03-31 Thread Pali Rohár
know this is Nokia's code, but still, if we can get some understanding... Regards, Ivo This driver is written by Juha Yrjola and is part of maemo 2.6.28 kernel. Juha Yrjola, are you still around? -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message

[PATCH] RX-51: ARM errata 430973 workaround

2013-03-31 Thread Pali Rohár
this workaround thumb-2 binaries crashing. So with this patch it is possible to recompile and run applications/binaries with thumb-2 ISA on RX-51. Signed-off-by: Ivaylo Dimitrov freemangor...@abv.bg Signed-off-by: Pali Rohár pali.ro...@gmail.com --- arch/arm/mach-omap2/Makefile|1

Re: [PATCH 1/2] mfd: twl4030-madc: Add support for raw value in twl4030_madc_conversion

2013-03-24 Thread Pali Rohár
On Saturday 02 March 2013 23:23:05 Pali Rohár wrote: On Friday 15 February 2013 23:56:49 Pali Rohár wrote: Driver twl4030-madc has hardcoded channel types (10 - battery current, 1 - battery temperature) and also conversation data in variable twl4030_divider_ratios. These hardcoded

Re: [PATCH] OMAP3 ROM Random Number Generator support

2013-03-24 Thread Pali Rohár
On Thursday 28 February 2013 19:05:47 Pali Rohár wrote: This driver provides kernel-side support for the Random Number Generator hardware found on OMAP34xx processors. This driver is included in Maemo 2.6.28 kernel used on Nokia N900. I fixed driver to work with 3.8 kernel and added

Re: [PATCH v2] ADP1653 board code for Nokia RX-51

2013-03-24 Thread Pali Rohár
On Thursday 07 March 2013 23:18:27 Sakari Ailus wrote: Hi guys, On Wed, Mar 06, 2013 at 10:44:41PM +0100, Sebastian Reichel wrote: On Wed, Mar 06, 2013 at 09:20:16PM +0100, Pali Rohár wrote: On Wednesday 06 March 2013 21:12:06 Pali Rohár wrote: On Sunday 17 February 2013 20:03:03

Re: [PATCH] arm: omap: RX-51: ARM errata 430973 workaround

2013-03-24 Thread Pali Rohár
On Wednesday 06 March 2013 20:13:15 Pali Rohár wrote: On Wednesday 06 March 2013 18:51:21 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [130306 06:13]: On Monday 04 March 2013 19:58:06 Tony Lindgren wrote: * Nishanth Menon n...@ti.com [130301 06:42]: On Fri, Mar 1, 2013

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-24 Thread Pali Rohár
On Sunday 17 February 2013 19:17:59 Mark Brown wrote: On Sun, Feb 17, 2013 at 05:40:41PM +0100, Pali Rohár wrote: $ dmesg | grep lis3 [ 110.454345] lis3lv02d_i2c 3-001d: Failed to get supply 'Vdd': -517 [ 110.457397] i2c 3-001d: Driver lis3lv02d_i2c requests probe deferral [ 111.507415

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-24 Thread Pali Rohár
On Sunday 24 March 2013 22:21:49 Mark Brown wrote: On Sun, Mar 24, 2013 at 03:50:42PM +0100, Pali Rohár wrote: There is no regulator 'Vdd' supply in board rx51 files. Can you look at code how it can be fixed? You need to look at the schematics rather than the code here - the code just

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-24 Thread Pali Rohár
On Sunday 24 March 2013 23:14:46 Mark Brown wrote: On Sun, Mar 24, 2013 at 10:27:32PM +0100, Pali Rohár wrote: On Sunday 24 March 2013 22:21:49 Mark Brown wrote: You need to look at the schematics rather than the code here - the code just needs to say what regulator supplies Vdd

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-26 Thread Pali Rohár
On Monday 25 March 2013 00:04:37 Mark Brown wrote: On Sun, Mar 24, 2013 at 11:44:59PM +0100, Pali Rohár wrote: On Sunday 24 March 2013 23:14:46 Mark Brown wrote: Well, you should seek support from the board vendor then. Not possible. Nokia is already using Windows Phones and life

Re: [PATCH] power: bq27x00_battery: Export all battery registers via sysfs

2013-03-26 Thread Pali Rohár
On Sunday 20 January 2013 10:53:01 Lars-Peter Clausen wrote: On 01/19/2013 03:01 PM, Pali Rohár wrote: bq27xxx batteries have a lot of properties, more than power_supply interface. Some of them can be usefull for userspace applications (like CI bit) but does not make sense to add bq

Re: [PATCH] arm: omap: RX-51: ARM errata 430973 workaround

2013-03-27 Thread Pali Rohár
On Wednesday 27 March 2013 21:56:07 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [130324 07:31]: it is possible to upstream errata 430973 workaround for RX-51? I think we should make the SMC handling a generic function for ARM. AFAIK just the SMC call numbering is different

Re: [PATCH] OMAP3 ROM Random Number Generator support

2013-03-27 Thread Pali Rohár
On Wednesday 27 March 2013 22:09:18 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [130228 10:09]: --- /dev/null +++ b/drivers/char/hw_random/omap3-rom-asm.S @@ -0,0 +1,27 @@ +/* + * Copyright (C) 2009 Nokia Corporation + * + * This program is free software; you can

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-03-28 Thread Pali Rohár
On Tuesday 26 March 2013 21:53:19 Aaro Koskinen wrote: Hi, On Tue, Mar 26, 2013 at 04:02:39PM +0100, Pali Rohár wrote: CCing Aaro and Tony. Look at this thread on: https://lkml.org/lkml/2013/2/16/152 What do you think how to fix this problem? I do not know about any HW regulator

[PATCH] power: rx51_battery: Fix reporting temperature

2013-03-28 Thread Pali Rohár
This patch fixing units (1/10 °C) in which is temperature reported. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- drivers/power/rx51_battery.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/power/rx51_battery.c b/drivers/power/rx51_battery.c index 820

Re: [PATCH 1/2] mfd: twl4030-madc: Add support for raw value in twl4030_madc_conversion

2013-03-02 Thread Pali Rohár
On Friday 15 February 2013 23:56:49 Pali Rohár wrote: Driver twl4030-madc has hardcoded channel types (10 - battery current, 1 - battery temperature) and also conversation data in variable twl4030_divider_ratios. These hardcoded channels are incorrect for Nokia RX-51 board (where is channel 0

Re: [PATCH] arm: omap: RX-51: ARM errata 430973 workaround

2013-03-06 Thread Pali Rohár
be worth looking at those a bit and see if this can be made generic. I think only the SMC call numbering is different for various SoCs? Regards, Tony Hi Tony, where are patches for ARM generic SMC handling? -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally

Re: [PATCH] tidspbridge: Fix compilation

2013-03-06 Thread Pali Rohár
On Monday 04 March 2013 10:14:31 Omar Ramirez Luna wrote: Hi, On Thu, Feb 28, 2013 at 11:51 AM, Pali Rohár pali.ro...@gmail.com wrote: Fix includes and use clk_prepare_enable/clk_disable_unprepare Signed-off-by: Pali Rohár pali.ro...@gmail.com Signed-off-by: Joni Lapilainen

Re: [PATCH] arm: omap: RX-51: ARM errata 430973 workaround

2013-03-06 Thread Pali Rohár
On Wednesday 06 March 2013 18:51:21 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [130306 06:13]: On Monday 04 March 2013 19:58:06 Tony Lindgren wrote: * Nishanth Menon n...@ti.com [130301 06:42]: On Fri, Mar 1, 2013 at 1:47 AM, Ивайло Димитров freemangor...@abv.bg wrote

Re: [PATCH v2] ADP1653 board code for Nokia RX-51

2013-03-06 Thread Pali Rohár
On Sunday 17 February 2013 20:03:03 Aaro Koskinen wrote: Hi, On Sun, Feb 17, 2013 at 04:16:49PM +0100, Pali Rohár wrote: I'm sending ADP1653 flash torch board code for Nokia RX-51. Kernel driver ADP1653 is already in upstream kernel. Board code was extracted from this big camera meego

Re: [PATCH v2] ADP1653 board code for Nokia RX-51

2013-03-06 Thread Pali Rohár
On Wednesday 06 March 2013 21:12:06 Pali Rohár wrote: On Sunday 17 February 2013 20:03:03 Aaro Koskinen wrote: Hi, On Sun, Feb 17, 2013 at 04:16:49PM +0100, Pali Rohár wrote: +/* + * arch/arm/mach-omap2/board-rx51-camera.c + * + * Copyright (C) 2008 Nokia Corporation

Re: [PATCH] bq27x00_battery: Fix reporting battery temperature

2013-02-09 Thread Pali Rohár
rx51_battery_read_temperature(struct rx51_device_info *di) break; } - return (rx51_temp_table2_first - min) * 100; + return (rx51_temp_table2_first - min) * 10; } /* -- 1.7.10.4 -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally

[PATCH] bq2415x_charger: Add support for offline and 100mA mode

2013-02-10 Thread Pali Rohár
* Renamed mode BQ2415X_MODE_NONE to BQ2415X_MODE_OFF because this mode turning chaging completly off * Added new mode BQ2415X_MODE_NONE which enable charging with maximal current limit 100mA (this is minimal safe value for bq2415x chips) Signed-off-by: Pali Rohár pali.ro...@gmail.com

Re: [PATCH] bq27x00_battery: Fix reporting battery temperature

2013-02-06 Thread Pali Rohár
On Sunday 03 February 2013 21:05:57 Anton Vorontsov wrote: On Sun, Feb 03, 2013 at 09:01:54PM +0100, Pali Rohár wrote: On Sunday 03 February 2013 04:44:51 Anton Vorontsov wrote: On Sat, Feb 02, 2013 at 11:06:09AM +0100, Pali Rohár wrote: Reported temperature can be also negative, so

[PATCH] bq27x00_battery: Fix reporting battery temperature

2013-02-02 Thread Pali Rohár
Reported temperature can be also negative, so cache value in non negative Kelvin degree. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- drivers/power/bq27x00_battery.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/power/bq27x00_battery.c b/drivers

Re: [PATCH] bq27x00_battery: Fix reporting battery temperature

2013-02-03 Thread Pali Rohár
On Sunday 03 February 2013 04:44:51 Anton Vorontsov wrote: On Sat, Feb 02, 2013 at 11:06:09AM +0100, Pali Rohár wrote: Reported temperature can be also negative, so cache value in non negative Kelvin degree. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- Applied, thanks! Now I

[PATCH] arm: omap: RX-51: ARM errata 430973 workaround

2013-02-28 Thread Pali Rohár
Signed-off-by: Ivaylo Dimitrov freemangor...@abv.bg Signed-off-by: Pali Rohár pali.ro...@gmail.com --- arch/arm/mach-omap2/Makefile|1 + arch/arm/mach-omap2/board-rx51-secure.c | 66 +++ arch/arm/mach-omap2/board-rx51-secure.h | 36

[PATCH] rc: ir-rx51: Fix compilation

2013-02-28 Thread Pali Rohár
From: Joni Lapilainen joni.lapilai...@gmail.com Signed-off-by: Joni Lapilainen joni.lapilai...@gmail.com --- drivers/media/rc/ir-rx51.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/media/rc/ir-rx51.c b/drivers/media/rc/ir-rx51.c index 8ead492..3971192

[PATCH] tidspbridge: Fix compilation

2013-02-28 Thread Pali Rohár
Fix includes and use clk_prepare_enable/clk_disable_unprepare Signed-off-by: Pali Rohár pali.ro...@gmail.com Signed-off-by: Joni Lapilainen joni.lapilai...@gmail.com --- drivers/staging/tidspbridge/core/dsp-clock.c | 16 drivers/staging/tidspbridge/core/tiomap3430.c |2

[PATCH] OMAP3 ROM Random Number Generator support

2013-02-28 Thread Pali Rohár
= THIS_MODULE, + }, + .probe = omap3_rom_rng_probe, + .remove = omap3_rom_rng_remove, +}; + +module_platform_driver(omap3_rom_rng_driver); + +MODULE_ALIAS(platform:omap3-rom-rng); +MODULE_AUTHOR(Juha Yrjola); +MODULE_LICENSE(GPL); -- Pali Rohár pali.ro...@gmail.com

[PATCH] RX-51: Register twl4030-madc device

2013-01-19 Thread Pali Rohár
Signed-off-by: Pali Rohár pali.ro...@gmail.com --- arch/arm/mach-omap2/board-rx51-peripherals.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index 9a0dbb7..286292e 100644 --- a/arch

[PATCH] usb: gadget: nokia: Add mass storage driver to g_nokia

2013-01-19 Thread Pali Rohár
Signed-off-by: Pali Rohár pali.ro...@gmail.com --- drivers/usb/gadget/nokia.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/usb/gadget/nokia.c b/drivers/usb/gadget/nokia.c index 661600a..56409ee 100644 --- a/drivers/usb/gadget/nokia.c +++ b/drivers

[PATCH] RX-51: Add leds lp5523 names from Maemo 5 2.6.28 kernel

2013-01-19 Thread Pali Rohár
Signed-off-by: Pali Rohár pali.ro...@gmail.com --- arch/arm/mach-omap2/board-rx51-peripherals.c |9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index 7611958..9a0dbb7 100644 --- a/arch/arm

[PATCH 1/2] ASoC: omap: rx51: Use snd_soc_register_card and add module alias for autoloading driver

2013-01-19 Thread Pali Rohár
Signed-off-by: Pali Rohár pali.ro...@gmail.com --- sound/soc/omap/rx51.c | 50 + 1 file changed, 30 insertions(+), 20 deletions(-) diff --git a/sound/soc/omap/rx51.c b/sound/soc/omap/rx51.c index d921ddb..82e3aae 100644 --- a/sound/soc/omap/rx51

[PATCH 2/2] ARM: OMAP: rx51: Register audio device

2013-01-19 Thread Pali Rohár
Signed-off-by: Pali Rohár pali.ro...@gmail.com --- arch/arm/mach-omap2/board-rx51-peripherals.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index 45d401a..038ea1f 100644 --- a/arch

[PATCH 0/2] Fix audio on Nokia RX-51

2013-01-19 Thread Pali Rohár
This patch series updating rx51 sound driver, using snd_soc_register_card, adding module alias for autoloading kernel driver and registring sound driver in rx51 board code. Pali Rohár (2): ASoC: omap: rx51: Use snd_soc_register_card and add module alias for autoloading driver ARM: OMAP

Re: [PATCH] usb: gadget: nokia: Add mass storage driver to g_nokia

2013-01-20 Thread Pali Rohár
On Sunday 20 January 2013 10:25:37 Felipe Balbi wrote: On Sun, Jan 20, 2013 at 03:58:13AM +0100, Pali Rohár wrote: Signed-off-by: Pali Rohár pali.ro...@gmail.com NAK for two reasons: a) the original Nokia kernel used a separate g_file_storage gadget to use Mass Storage mode, use

Re: [PATCH] usb: gadget: nokia: Add mass storage driver to g_nokia

2013-01-22 Thread Pali Rohár
On Monday 21 January 2013 09:05:06 Felipe Balbi wrote: Hi, On Sun, Jan 20, 2013 at 11:17:31AM +0100, Pali Rohár wrote: On Sunday 20 January 2013 10:25:37 Felipe Balbi wrote: On Sun, Jan 20, 2013 at 03:58:13AM +0100, Pali Rohár wrote: Signed-off-by: Pali Rohár pali.ro...@gmail.com

Re: [PATCH] usb: gadget: nokia: Add mass storage driver to g_nokia

2013-01-22 Thread Pali Rohár
On Tuesday 22 January 2013 17:17:21 Felipe Balbi wrote: Hi, On Tue, Jan 22, 2013 at 12:03:09PM +0100, Pali Rohár wrote: On Monday 21 January 2013 09:05:06 Felipe Balbi wrote: Hi, On Sun, Jan 20, 2013 at 11:17:31AM +0100, Pali Rohár wrote: On Sunday 20 January 2013 10:25:37

[PATCH] power: bq27x00_battery: Export all battery registers via sysfs

2013-01-19 Thread Pali Rohár
registers to sysfs entry registers in battery power_supply directory. Format is register=value on separate line. Because length of registers are different for each bq battery more for loops are needed. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- drivers/power/bq27x00_battery.c | 98

Re: [PATCH v2] power: bq27x00_battery: Export all battery registers via sysfs

2013-01-19 Thread Pali Rohár
On Saturday 19 January 2013 15:01:43 Pali Rohár wrote: bq27xxx batteries have a lot of properties, more than power_supply interface. Some of them can be usefull for userspace applications (like CI bit) but does not make sense to add bq specified property to power_supply interface. When

[PATCH 1/2] mfd: twl4030-madc: Add support for raw value in twl4030_madc_conversion

2013-02-15 Thread Pali Rohár
, but rather return raw. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- drivers/mfd/twl4030-madc.c | 14 ++ include/linux/i2c/twl4030-madc.h |2 ++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/mfd/twl4030-madc.c b/drivers/mfd/twl4030-madc.c index

[PATCH 2/2] power: rx51_battery: Fix reporting correct values

2013-02-15 Thread Pali Rohár
interface. Before this patch driver reported always incorrect values on 3.8 kernel (sometimes design capacity was negative). Signed-off-by: Pali Rohár pali.ro...@gmail.com --- drivers/power/rx51_battery.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/rx51_battery.c b/drivers

Driver lis3lv02d_i2c not working on Nokia RX-51

2013-02-16 Thread Pali Rohár
to do? -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

[PATCH] watchdog: omap_wdt: Add option nowayout

2013-02-16 Thread Pali Rohár
Like other watchdog drivers, this patch adds new option nowayout which overwrite WATCHDOG_NOWAYOUT. --- drivers/watchdog/omap_wdt.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index b0e541d..af88ffd 100644

[PATCH] input: tsc2005: Add MODULE_ALIAS

2013-02-16 Thread Pali Rohár
* This patch enable autoloading tsc2005 driver when is compiled as module Signed-off-by: Pali Rohár pali.ro...@gmail.com --- drivers/input/touchscreen/tsc2005.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/touchscreen/tsc2005.c b/drivers/input/touchscreen/tsc2005.c index

[PATCH] ADP1653 board code for Nokia RX-51

2013-02-17 Thread Pali Rohár
-zoom.o board-zoom-peripherals.o obj-$(CONFIG_MACH_OMAP_ZOOM2) += board-zoom-display.o obj-$(CONFIG_MACH_OMAP_ZOOM2) += board-zoom-debugboard.o -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: Driver lis3lv02d_i2c not working on Nokia RX-51

2013-02-17 Thread Pali Rohár
On Sunday 17 February 2013 17:25:24 Mark Brown wrote: On Sun, Feb 17, 2013 at 12:46:25AM +0100, Pali Rohár wrote: Accelerometer driver lis3lv02d_i2c not working on Nokia RX-51 with linux kernel 3.8-rc3. Probing for i2c device failing. I tried to compile older version and it working

Re: [PATCH v2] New Nokia RX-51 power supply battery driver

2012-11-19 Thread Pali Rohár
On Sunday 18 November 2012 15:12:40 Anton Vorontsov wrote: On Wed, Oct 31, 2012 at 10:48:40AM +0100, Pali Rohár wrote: Hello, I fixed style issues and added it to Makefile and Kconfig. power_supply: Add Nokia RX-51 battery driver This driver exporting battery design capacity

Re: [PATCH] bq27x00_battery: Do not report nominal available capaciy if battery is not calibrated

2012-11-19 Thread Pali Rohár
On Sunday 18 November 2012 16:05:52 Anton Vorontsov wrote: On Sat, Nov 10, 2012 at 03:42:48PM +0100, Pali Rohár wrote: Signed-off-by: Pali Rohár pali.ro...@gmail.com --- drivers/power/bq27x00_battery.c |8 1 file changed, 8 insertions(+) OK, I'm assuming we don't want

Re: [PATCH] omapfb: In omapfb_probe return -EPROBE_DEFER when display driver is not loaded yet

2013-08-05 Thread Pali Rohár
Hello, On Tuesday 23 July 2013 12:01:39 Tomi Valkeinen wrote: On 13/07/13 21:27, Pavel Machek wrote: On Wed 2013-07-10 15:08:59, Pali Rohár wrote: * On RX-51 probing for acx565akm driver is later then for omapfb which cause that omapfb probe fail and framebuffer is not working

[PATCH v3 1/2] ARM: OMAP: Add secure function omap_smc3() which calling instruction smc #1

2013-08-05 Thread Pali Rohár
Here is new version (v3) of omap secure part patch: Other secure functions omap_smc1() and omap_smc2() calling instruction smc #0 but Nokia RX-51 board needs to call smc #1 for PPA access. Signed-off-by: Ivaylo Dimitrov freemangor...@abv.bg Signed-off-by: Pali Rohár pali.ro...@gmail.com --- diff

leds-lp5523: Broken commit db6eaf8388a413a5ee1b4547ce78506b9c6456b0

2013-08-05 Thread Pali Rohár
. Can you fix this api problem? (maybe adding old sysfs attributes which would call new api function...) -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: leds-lp5523: Broken commit db6eaf8388a413a5ee1b4547ce78506b9c6456b0

2013-08-05 Thread Pali Rohár
them by using new functions. Additionally, I'll do same works in LP5521 driver also. Best Regards, Milo Hi, thank you very much! -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: [PATCH] nouveau: fix reclocking on nv40

2013-08-19 Thread Pali Rohár
On Friday 16 August 2013 14:57:07 Pali Rohár wrote: In commit 77145f1cbdf8d28b46ff8070ca749bad821e0774 was introduced error which cause that reclocking on nv40 not working anymore. There is missing assigment of return value from pll_calc to ret. Signed-off-by: Pali Rohár pali.ro

[PATCH] nouveau reclocking on nv40 not working since 77145f1cbdf8d28b46ff8070ca749bad821e0774

2013-08-13 Thread Pali Rohár
was introduced in kernel 3.7, so consider backporting this patch to older kernels too. Signed-off-by: Pali Rohár pali.ro...@gmail.com diff --git a/drivers/gpu/drm/nouveau/nv40_pm.c b/drivers/gpu/drm/nouveau/nv40_pm.c index 3af5bcd..625f80d 100644 --- a/drivers/gpu/drm/nouveau/nv40_pm.c +++ b

nouveau: temperature on nv40 is unavailable since ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954

2013-08-13 Thread Pali Rohár
again. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: nouveau: temperature on nv40 is unavailable since ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954

2013-08-13 Thread Pali Rohár
On Tuesday 13 August 2013 09:01:19 Martin Peres wrote: On 13/08/2013 05:56, Pali Rohár wrote: Hello, after commit ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954 temperature information from lm sensors is not available on my Nvidia 6600GT graphics card. There is no nouveau hwmon entry

Re: nouveau: temperature on nv40 is unavailable since ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954

2013-08-13 Thread Pali Rohár
On utorok, 13. augusta 2013 15:32:45 CEST, Martin Peres wrote: On 13/08/2013 09:23, Pali Rohár wrote: On Tuesday 13 August 2013 09:01:19 Martin Peres wrote: ... You can check the temperature by running nvidia-settings. If you can't see the temperature in it, then nvidia doesn't support

BUG: Again: Fn keys not working on EliteBook 8460p after b253c9d1d858a3f115f791ee4fe2b9399ae7dbbd

2013-08-14 Thread Pali Rohár
On Saturday 13 April 2013 03:31:17 Pali Rohár wrote: Hello, all Fn keys, wifi switch, web and mute buttons not working anymore on my notebook HP EliteBook 8460p. I bisected git commit which broke all above keys: fabf85e3ca15d5b94058f391dac8df870cdd427a When I reverted that commit after

Re: nouveau: temperature on nv40 is unavailable since ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954

2013-08-14 Thread Pali Rohár
On Tuesday 13 August 2013 15:55:28 Martin Peres wrote: On 13/08/2013 09:53, Pali Rohár wrote: On utorok, 13. augusta 2013 15:32:45 CEST, Martin Peres wrote: On 13/08/2013 09:23, Pali Rohár wrote: On Tuesday 13 August 2013 09:01:19 Martin Peres wrote: ... You can check

Re: nouveau: temperature on nv40 is unavailable since ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954

2013-08-15 Thread Pali Rohár
On Thursday 15 August 2013 04:07:24 Martin Peres wrote: On 14/08/2013 05:02, Pali Rohár wrote: On Tuesday 13 August 2013 15:55:28 Martin Peres wrote: On 13/08/2013 09:53, Pali Rohár wrote: On utorok, 13. augusta 2013 15:32:45 CEST, Martin Peres wrote: On 13/08/2013 09:23, Pali Rohár

Re: [PATCH] nouveau reclocking on nv40 not working since 77145f1cbdf8d28b46ff8070ca749bad821e0774

2013-08-15 Thread Pali Rohár
On Tuesday 13 August 2013 11:28:01 Pali Rohár wrote: Hello, in commit 77145f1cbdf8d28b46ff8070ca749bad821e0774 was introduced error which cause that on my Nvidia 6600GT card reclocking not working anymore. There is missing assigment of return value from pll_calc to ret. After this patch

Re: nouveau: temperature on nv40 is unavailable since ad40d73ef533ab0ad16b4a1ab2f7870c1f8ab954

2013-08-16 Thread Pali Rohár
On Thursday 15 August 2013 18:21:51 Martin Peres wrote: On 15/08/2013 03:24, Pali Rohár wrote: On Thursday 15 August 2013 04:07:24 Martin Peres wrote: On 14/08/2013 05:02, Pali Rohár wrote: On Tuesday 13 August 2013 15:55:28 Martin Peres wrote: On 13/08/2013 09:53, Pali Rohár wrote

Re: [PATCH] nouveau reclocking on nv40 not working since 77145f1cbdf8d28b46ff8070ca749bad821e0774

2013-08-16 Thread Pali Rohár
On Thursday 15 August 2013 18:23:06 Martin Peres wrote: On 15/08/2013 13:46, Pali Rohár wrote: On Tuesday 13 August 2013 11:28:01 Pali Rohár wrote: Hello, in commit 77145f1cbdf8d28b46ff8070ca749bad821e0774 was introduced error which cause that on my Nvidia 6600GT card reclocking

[PATCH] nouveau: fix reclocking on nv40

2013-08-16 Thread Pali Rohár
In commit 77145f1cbdf8d28b46ff8070ca749bad821e0774 was introduced error which cause that reclocking on nv40 not working anymore. There is missing assigment of return value from pll_calc to ret. Signed-off-by: Pali Rohár pali.ro...@gmail.com Signed-off-by: Martin Peres martin.pe...@labri.fr

[PATCH v2 0/2] arm: omap: RX-51: ARM errata 430973 workaround

2013-07-10 Thread Pali Rohár
because some other board may use it too. Pali Rohár (2): ARM: OMAP: Add secure function omap_smc3() which calling instruction smc #1 RX-51: ARM errata 430973 workaround arch/arm/mach-omap2/board-rx51.c | 78 + arch/arm/mach-omap2/omap-secure.h |1

[PATCH v2 2/2] RX-51: ARM errata 430973 workaround

2013-07-10 Thread Pali Rohár
is needed for thumb-2 ISA compiled userspace binaries. Without this workaround thumb-2 binaries crashing. So with this patch it is possible to recompile and run applications/binaries with thumb-2 ISA on RX-51. Signed-off-by: Ivaylo Dimitrov freemangor...@abv.bg Signed-off-by: Pali Rohár pali.ro

[PATCH v2 1/2] ARM: OMAP: Add secure function omap_smc3() which calling instruction smc #1

2013-07-10 Thread Pali Rohár
Other secure functions omap_smc1() and omap_smc2() calling instruction smc #0 but Nokia RX-51 board needs to call smc #1 for PPA access. Signed-off-by: Ivaylo Dimitrov freemangor...@abv.bg Signed-off-by: Pali Rohár pali.ro...@gmail.com --- arch/arm/mach-omap2/omap-secure.h |1 + arch/arm

[PATCH] omapfb: In omapfb_probe return -EPROBE_DEFER when display driver is not loaded yet

2013-07-10 Thread Pali Rohár
not working Signed-off-by: Pali Rohár pali.ro...@gmail.com --- drivers/video/omap2/omapfb/omapfb-main.c |9 + 1 file changed, 9 insertions(+) diff --git a/drivers/video/omap2/omapfb/omapfb-main.c b/drivers/video/omap2/omapfb/omapfb-main.c index 856917b..93e7c84 100644 --- a/drivers/video/omap2

Re: gitorious v3.12-rc1-n900 tree

2013-11-05 Thread Pali Rohár
On Tuesday 05 November 2013 13:00:16 Pavel Machek wrote: Hi! I tried pulling current linux-n900 tree from gitorious. Hi, use branch v3.12-rc5-n900 (not -rc1) and consider using rx51_defconfig. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed

Re: [PATCH v4 1/2] ARM: OMAP: Add secure function omap_smc3() which calling instruction smc #1

2013-09-14 Thread Pali Rohár
On Sunday 08 September 2013 09:43:29 Pali Rohár wrote: Here is new version (v4) of omap secure part patch: Other secure functions omap_smc1() and omap_smc2() calling instruction smc #0 but Nokia RX-51 board needs to call smc #1 for PPA access. Signed-off-by: Ivaylo Dimitrov freemangor

Re: [PATCH 0/4] Add support for charging battery in Nokia RX-51

2013-09-14 Thread Pali Rohár
On Sunday 08 September 2013 10:50:35 Pali Rohár wrote: This patch series finally bringing support for charging battery on Nokia N900 (RX-51) without any proprietary Nokia bits in userspace. Pali Rohár (4): usb: musb: Call atomic_notifier_call_chain when status is changed power

input question: ambient light sensor button

2013-09-15 Thread Pali Rohár
light sensor button? Is there already some? And what is strategy for allocating KEY_* and BTN_* numbers? I'd like to know this, so udev could have correct DMI keymap hooks and other userspace programs can understand ambient light sensor button correctly. -- Pali Rohár pali.ro...@gmail.com

Re: [PATCH 1/4] usb: musb: Call atomic_notifier_call_chain when status is changed

2013-09-17 Thread Pali Rohár
On Tuesday 17 September 2013 17:48:59 you wrote: On Sun, Sep 08, 2013 at 10:50:36AM +0200, Pali Rohár wrote: More power supply drivers depends on vbus events and without it they not working. Power supply drivers using usb_register_notifier, so to deliver events it is needed to call

Re: [PATCH v4 1/2] ARM: OMAP: Add secure function omap_smc3() which calling instruction smc #1

2013-09-17 Thread Pali Rohár
On Tuesday 17 September 2013 17:43:31 Tony Lindgren wrote: * Dave Martin dave.mar...@arm.com [130916 10:18]: On Sat, Sep 14, 2013 at 10:37:12AM +0100, Pali Rohár wrote: On Sunday 08 September 2013 09:43:29 Pali Rohár wrote: + */ +ENTRY(omap_smc3) + stmfd sp!, {r4-r11, lr

Re: [PATCH 1/4] usb: musb: Call atomic_notifier_call_chain when status is changed

2013-09-17 Thread Pali Rohár
On Tuesday 17 September 2013 18:08:35 Felipe Balbi wrote: On Tue, Sep 17, 2013 at 06:05:15PM +0200, Pali Rohár wrote: On Tuesday 17 September 2013 17:48:59 you wrote: On Sun, Sep 08, 2013 at 10:50:36AM +0200, Pali Rohár wrote: More power supply drivers depends on vbus events

Re: [PATCH 1/4] usb: musb: Call atomic_notifier_call_chain when status is changed

2013-09-18 Thread Pali Rohár
On Wednesday 18 September 2013 03:49:42 Felipe Balbi wrote: On Tue, Sep 17, 2013 at 09:28:42PM +0200, Pali Rohár wrote: On Tuesday 17 September 2013 18:08:35 Felipe Balbi wrote: On Tue, Sep 17, 2013 at 06:05:15PM +0200, Pali Rohár wrote: On Tuesday 17 September 2013 17:48:59 you wrote

Re: [PATCH v2 2/2] RX-51: ARM errata 430973 workaround

2013-09-18 Thread Pali Rohár
On Wednesday 18 September 2013 01:24:17 Tony Lindgren wrote: * Pali Rohár pali.ro...@gmail.com [130710 06:06]: --- a/arch/arm/mach-omap2/board-rx51.c +++ b/arch/arm/mach-omap2/board-rx51.c This file will be gone as soon as we're moving to device tree based booting. So let's do

Re: [PATCH 1/4] usb: musb: Call atomic_notifier_call_chain when status is changed

2013-09-18 Thread Pali Rohár
. It does not make sense to split patch fixing kernel regression into more one line patches - or please clarify why. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: [PATCH v2] ADP1653 board code for Nokia RX-51

2013-09-18 Thread Pali Rohár
On Wednesday 18 September 2013 15:16:44 Pavel Machek wrote: On Sun 2013-09-08 02:02:52, Aaro Koskinen wrote: Hi, On Fri, Sep 06, 2013 at 10:34:05PM +0200, Pali Rohár wrote: --- /dev/null +++ b/arch/arm/mach-omap2/board-rx51-camera.c [...] Ping, can you review this patch

Re: [PATCH 1/4] usb: musb: Call atomic_notifier_call_chain when status is changed

2013-09-18 Thread Pali Rohár
On Wednesday 18 September 2013 18:36:49 Felipe Balbi wrote: On Wed, Sep 18, 2013 at 05:56:12PM +0200, Pali Rohár wrote: On Wednesday 18 September 2013 15:57:13 Javier Martinez Canillas wrote: to split the patch in two since the patch was solving two separate issues My patch

  1   2   3   4   5   6   7   8   9   10   >