[PATCHv3 0/2] twl4030-keypad DT binding

2013-11-08 Thread Sebastian Reichel
documentation into its own patch. * Fix typo in documentation [0] https://lkml.org/lkml/2013/10/22/141 -- Sebastian Sebastian Reichel (2): Input: twl4030-keypad - add device tree support dt: binding documentation for twl4030-keypad .../devicetree/bindings/input/twl4030-keypad.txt | 31

[PATCHv3 1/2] Input: twl4030-keypad - add device tree support

2013-11-08 Thread Sebastian Reichel
Add device tree support for twl4030 keypad driver. Tested on Nokia N900. Signed-off-by: Sebastian Reichel --- drivers/input/keyboard/twl4030_keypad.c | 91 +++-- 1 file changed, 74 insertions(+), 17 deletions(-) diff --git a/drivers/input/keyboard/twl4030_keypad.c

[PATCHv3 2/2] dt: binding documentation for twl4030-keypad

2013-11-08 Thread Sebastian Reichel
Add devicetree binding documentation for twl4030-keypad. Signed-off-by: Sebastian Reichel --- .../devicetree/bindings/input/twl4030-keypad.txt | 31 ++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/twl4030-keypad.txt diff

[PATCH] Documentation: dt: Merge TWL family documentation

2013-11-08 Thread Sebastian Reichel
Merge all TWL family subnode documentation into the TWL family documentation file and fix typo in its filename. Signed-off-by: Sebastian Reichel --- .../devicetree/bindings/gpio/gpio-twl4030.txt | 29 -- .../devicetree/bindings/input/twl4030-keypad.txt | 31 -- .../bindings/input

[PATCH] Documentation: dt: matrix-keymap: Add linux,keypad-no-autorepeat

2013-11-08 Thread Sebastian Reichel
Add documentation for linux,keypad-no-autorepeat, which is supported by most matrix-keymap implementations. Signed-off-by: Sebastian Reichel --- Documentation/devicetree/bindings/input/matrix-keymap.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/input

Re: [PATCHv3 1/2] Input: twl4030-keypad - add device tree support

2013-11-11 Thread Sebastian Reichel
Hi, On Mon, Nov 11, 2013 at 11:19:41PM +0100, Pavel Machek wrote: > > + if (of_get_property(np, "linux,input-no-autorepeat", NULL)) > > + keypad_data->no_autorepeat = true; > > From 2/2: > > +Optional Properties specific to linux: > +- linux,keypad-no-autorepeat: do not enable autore

Re: [PATCH 4/5 v2] input: tc3589x-keypad: support probing from device tree

2013-11-12 Thread Sebastian Reichel
Hi, On Tue, Nov 12, 2013 at 03:13:38PM +0100, Linus Walleij wrote: > + plat->no_autorepeat = of_property_read_bool(np, "linux,no-autorepeat"); > + plat->enable_wakeup = of_property_read_bool(np, "linux,wakeup"); There is currently discussion going on for the property name of autorepeat:

Re: [PATCH 4/5 v2] input: tc3589x-keypad: support probing from device tree

2013-11-12 Thread Sebastian Reichel
On Tue, Nov 12, 2013 at 06:06:49PM +0100, Linus Walleij wrote: > On Tue, Nov 12, 2013 at 4:30 PM, Sebastian Reichel wrote: > > On Tue, Nov 12, 2013 at 03:13:38PM +0100, Linus Walleij wrote: > > >> + plat->no_autorepeat = of_property_read_bool(np, > >> "

Re: [PATCH 4/5 v2] input: tc3589x-keypad: support probing from device tree

2013-11-12 Thread Sebastian Reichel
On Tue, Nov 12, 2013 at 09:11:40PM +0100, Linus Walleij wrote: > > I could find two boards using "gpio-matrix-keypad" in the mainline > > kernel and not a single instance of "linux,no-autorepeat": > > In things connected to GPIO, I don't expect the in-kernel > device trees to be a good way so surv

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

2013-11-19 Thread Sebastian Reichel
Hi Pali, On Tue, Nov 19, 2013 at 11:18:02AM +0100, 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. YAY! :) > I removed hook function from bq2415x_charger driver and replaced it > by Jenny

Re: [RFCv2 3/3] ARM: dts: N900: Add SSI information

2013-11-20 Thread Sebastian Reichel
Hi Tony, On Wed, Nov 20, 2013 at 05:38:59PM -0800, Tony Lindgren wrote: > * Sebastian Reichel [130915 13:56]: > > + > > +Example for Nokia N900: > > + > > +ssi-controller@48058000 { > > + compatible = "ti,omap3-ssi"; > > + ti,hwmod

Re: [PATCH] iio:light:tsl2563: Add DT support

2013-11-23 Thread Sebastian Reichel
On Sat, Nov 23, 2013 at 11:50:29AM +, Jonathan Cameron wrote: > On 10/26/13 00:09, Sebastian Reichel wrote: > > Hi Grant, > > > > On Fri, Oct 25, 2013 at 08:10:28PM +0100, Grant Likely wrote: > >>> + - cover-comp-gain : in

Re: [PATCH v2 2/3] hwrng: OMAP3 ROM Random Number Generator support

2013-11-23 Thread Sebastian Reichel
On Sat, Nov 23, 2013 at 10:37:13AM +0100, Pali Rohár wrote: > Now 3.13-rc1 is out, but your tree was not merged. Can you > try to ping Linus what happened? See here: http://www.spinics.net/lists/arm-kernel/msg288508.html -- Sebastian signature.asc Description: Digital signature

Re: [PATCHv7 0/4] twl4030-pwrbutton DT binding

2013-11-24 Thread Sebastian Reichel
Hi, On Fri, Nov 08, 2013 at 11:11:23PM +0100, Sebastian Reichel wrote: > This is the seventh iteration of DT support for the TWL4030 > power button. Dmitry, can you add this patchset to your queue? It got no further comments in two weeks. -- Sebastian signature.asc Description: D

[PATCH 0/3] DT support for bq2415x

2013-11-24 Thread Sebastian Reichel
Hi, This patchset adds DT support for the bq2415x charger, which is used in the Nokia N900. The changes depend on Pali Rohár's "[PATCH v2 0/3] Add support for charging battery in Nokia RX-51" patchset [0]. [0] https://lkml.org/lkml/2013/11/19/106 -- Sebastian Sebas

[PATCH 2/3] bq2415x_charger: add DT support

2013-11-24 Thread Sebastian Reichel
This adds DT support to the bq2415x driver. Signed-off-by: Sebastian Reichel --- drivers/power/bq2415x_charger.c | 72 + 1 file changed, 52 insertions(+), 20 deletions(-) diff --git a/drivers/power/bq2415x_charger.c b/drivers/power/bq2415x_charger.c

[PATCH 1/3] power_supply: add power_supply_get_by_phandle

2013-11-24 Thread Sebastian Reichel
Add method to get power supply by device tree phandle. Signed-off-by: Sebastian Reichel --- drivers/power/power_supply_core.c | 24 include/linux/power_supply.h | 2 ++ 2 files changed, 26 insertions(+) diff --git a/drivers/power/power_supply_core.c b/drivers

[PATCH 3/3] dt: binding documentation for bq2415x charger

2013-11-24 Thread Sebastian Reichel
Add devicetree binding documentation for bq2415x charger. Signed-off-by: Sebastian Reichel --- .../devicetree/bindings/power/bq2415x.txt | 43 ++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/bq2415x.txt diff --git a

Re: [PATCH v2 2/3] bq2415x_charger: Use power_supply notifier for automode

2013-11-24 Thread Sebastian Reichel
Hi, On Tue, Nov 19, 2013 at 11:18:04AM +0100, Pali Rohár wrote: > This patch removing set_mode_hook function from board data and replacing it > with > new string variable of notifier power supply device. After this change it is > possible to add DT support because driver does not need specific bo

Re: [PATCH v2 1/3] power_supply: Add power_supply notifier

2013-11-24 Thread Sebastian Reichel
ers to listen to changes > in power_suppy susbystem without polling the power_supply properties > > [...] Tested-By: Sebastian Reichel -- Sebastian signature.asc Description: Digital signature

Re: [PATCHv3 1/2] Input: twl4030-keypad - add device tree support

2013-11-24 Thread Sebastian Reichel
Hi, > > > I'd suggest just simple "autorepeat", so that we get rid of ugly > > > double-negation. > > The idea was that majority of setups want autorepeat so in the absence > > of the property autorepeat is turned on. > > I see... but autorepeat on by default makes sense on devices that are > us

Re: [PATCH v2 2/3] bq2415x_charger: Use power_supply notifier for automode

2013-11-24 Thread Sebastian Reichel
On Sun, Nov 24, 2013 at 08:01:16PM +0100, Pali Rohár wrote: > > I'm wondering if the watchdog thread should check some values, > > like e.g. battery temperature. It should stop charging the > > battery if some critical battery temperature threshold is > > reached. > > For checking battery temperat

Re: [PATCH v2 2/3] bq2415x_charger: Use power_supply notifier for automode

2013-11-24 Thread Sebastian Reichel
On Sun, Nov 24, 2013 at 08:41:46PM +0100, Pali Rohár wrote: > On Sunday 24 November 2013 20:26:09 Sebastian Reichel wrote: > > On Sun, Nov 24, 2013 at 08:01:16PM +0100, Pali Rohár wrote: > > > Currently on Maemo 5 this is handled in userspace (with open > > > source dsme

Re: [PATCH v2 2/3] bq2415x_charger: Use power_supply notifier for automode

2013-11-25 Thread Sebastian Reichel
On Mon, Nov 25, 2013 at 07:01:54PM +0200, Ивайло Димитров wrote: >> Now.. Imagine phone left in car in charger (on sun). Likely >> temperature will reach high values, kernel is charging, dsme will >> reboot the system, but kernel will start charging again, dsme will >> reboot again, ... >> >> And i

[PATCH] MAINTAINERS: add HSI subsystem

2013-11-25 Thread Sebastian Reichel
This adds me as maintainer for the HSI subsystem and Carlos Chinea (original author) to the CREDITS file. Signed-off-by: Sebastian Reichel --- Hi, Please check [0] for more details of the work I did and plan to do. I'm interested in a Co-Maintainer. I plan to setup a git repository for th

Re: [PATCH v2 2/3] bq2415x_charger: Use power_supply notifier for automode

2013-11-25 Thread Sebastian Reichel
Hi, On Mon, Nov 25, 2013 at 08:32:46PM +0200, Ивайло Димитров wrote: > So, AIUI there are 2 options: > > 1. charger driver polls the battery driver every n (60?) seconds. > 2. battery driver sends PSY_EVENT_PROP_CHANGED on every degree >up or down. > > In both cases if the temperature is ou

Re: [RFC 3/4] ASoC: Allow Aux Codecs to be specified using DT

2013-10-28 Thread Sebastian Reichel
On Mon, Oct 28, 2013 at 09:37:21AM -0700, Mark Brown wrote: > On Sun, Oct 27, 2013 at 10:24:45PM +0100, Sebastian Reichel wrote: > > This patch adds support for specifying auxiliary codecs and > > codec configuration via device tree phandles. > > This doesn't apply a

Re: [PATCH 2/4] wl1251: move power GPIO handling into the driver

2013-10-28 Thread Sebastian Reichel
Hi, On Mon, Oct 28, 2013 at 12:23:54PM -0700, Mark Brown wrote: > On Mon, Oct 28, 2013 at 07:29:52PM +0200, Grazvydas Ignotas wrote: > > > When wl12xx family of chips is connected through SDIO, we already have > > that pin set up as a regulator controlled with the help of mmc > > subsystem. When

Re: [PATCHv2 1/3] Input: twl4030-keypad - add device tree support

2013-10-28 Thread Sebastian Reichel
On Mon, Oct 28, 2013 at 01:42:47AM -0500, Kumar Gala wrote: > > +This binding is based on the matrix-keymap binding with the following > > +changes: > > Maybe be a bit more specific and say 'based on the input/matrix-keymap.txt > binding'.. OK. > > + * keypad,num-rows and keypad,num-columns are

Re: [PATCHv2 1/3] Input: twl4030-keypad - add device tree support

2013-10-29 Thread Sebastian Reichel
On Tue, Oct 29, 2013 at 03:33:31AM -0500, Kumar Gala wrote: > On Oct 28, 2013, at 8:06 PM, Sebastian Reichel wrote: > > On Mon, Oct 28, 2013 at 01:42:47AM -0500, Kumar Gala wrote: > >>> +This binding is based on the matrix-keymap binding with the following > >>> +c

Re: [PATCH v7 1/5] omap3isp: Modify clocks registration to avoid circular references

2013-10-29 Thread Sebastian Reichel
Hi, On Tue, Oct 29, 2013 at 11:28:37PM +0100, Laurent Pinchart wrote: > On Tuesday 29 October 2013 20:51:04 Sylwester Nawrocki wrote: > > The clock core code is going to be modified so clk_get() takes > > reference on the clock provider module. Until the potential circular > > reference issue is p

[PATCHv2 1/2] isp1704_charger: Add DT support

2013-11-30 Thread Sebastian Reichel
This patch introduces device tree support to the isp1704 charger driver. Adding support involved moving the handling of the enable GPIO from board code into the driver. Signed-off-by: Sebastian Reichel --- drivers/power/isp1704_charger.c | 55 --- include

[PATCHv2 0/2] DT support for isp1704-charger

2013-11-30 Thread Sebastian Reichel
problems. The additional code can be removed in the next merge window. -- Sebastian Sebastian Reichel (2): isp1704_charger: Add DT support dt: binding documentation for isp1704 charger .../devicetree/bindings/power/isp1704.txt | 17 +++ drivers/power/isp1704_charger.c

[PATCHv2 2/2] dt: binding documentation for isp1704 charger

2013-11-30 Thread Sebastian Reichel
Add devicetree binding documentation for isp1704-charger. Signed-off-by: Sebastian Reichel --- Documentation/devicetree/bindings/power/isp1704.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/isp1704.txt diff --git a

Re: device-tree based boot on linux-n900 branch

2013-12-01 Thread Sebastian Reichel
On Sun, Dec 01, 2013 at 10:50:18AM +0100, Pali Rohár wrote: > No, this my tree has rx51_defconfig which is used for classic > booting with board files. > > Sebastian, can you create new rx51_defconfig or at least patch > which enable DT booting? Also some steps how to compile DT kernel > will b

Re: hci_h4p from linux-n900 branch: fix with new bluetooth for 3.13-rc1

2013-12-01 Thread Sebastian Reichel
Hi Pali, While talking about the hci_h4p: What's the status of the mainline inclusion? I saw, that you sent it to linux-bluetooth guys some time ago. -- Sebastian signature.asc Description: Digital signature

Re: hci_h4p from linux-n900 branch: fix with new bluetooth for 3.13-rc1

2013-12-01 Thread Sebastian Reichel
On Sun, Dec 01, 2013 at 12:16:42PM +0100, Pali Rohár wrote: > On Sunday 01 December 2013 11:48:40 Sebastian Reichel wrote: > > While talking about the hci_h4p: What's the status of the > > mainline inclusion? I saw, that you sent it to > > linux-bluetooth guys some ti

[RFCv4 02/11] HSI: hsi-char: add Device Tree support

2013-12-15 Thread Sebastian Reichel
Add of_match_table to hsi_char driver, so that it can be referenced from Device Tree. Signed-off-by: Sebastian Reichel --- drivers/hsi/clients/hsi_char.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/hsi/clients/hsi_char.c b/drivers/hsi/clients/hsi_char.c index

[RFCv4 05/11] Documentation: DT: omap-ssi binding documentation

2013-12-15 Thread Sebastian Reichel
Create device tree binding documentation for OMAP Synchronous Serial Interface (SSI) device. Signed-off-by: Sebastian Reichel --- Documentation/devicetree/bindings/hsi/omap_ssi.txt | 69 ++ 1 file changed, 69 insertions(+) create mode 100644 Documentation/devicetree

[RFCv4 11/11] DTS: ARM: OMAP3-N900: Add SSI protocol support

2013-12-15 Thread Sebastian Reichel
This adds support for the protocol used to communicate with its cellular modem. Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/omap3-n900.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index

[RFCv4 09/11] DTS: ARM: OMAP3-N900: Add SSI support

2013-12-15 Thread Sebastian Reichel
Add SSI device tree data for OMAP3 and Nokia N900. Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/omap3-n900.dts | 28 arch/arm/boot/dts/omap3.dtsi | 47 2 files changed, 75 insertions(+) diff --git a/arch/arm/boot

[RFCv4 07/11] Documentation: DT: nokia-cmt binding documentation

2013-12-15 Thread Sebastian Reichel
Create device tree binding documentation for Nokia cellular modem GPIO handling. Signed-off-by: Sebastian Reichel --- .../devicetree/bindings/misc/nokia-cmt.txt | 28 ++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/nokia

[RFCv4 10/11] DTS: ARM: OMAP3-N900: Add CMT support

2013-12-15 Thread Sebastian Reichel
This adds support for the Nokia N900 cellular modem. Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/omap3-n900.dts | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 52f5099

[RFCv4 06/11] misc: Introduce Nokia CMT driver

2013-12-15 Thread Sebastian Reichel
Add driver handling GPIO pins of Nokia modems. The driver provides reset notifications, so that SSI clients can subscribe to them easily. Signed-off-by: Sebastian Reichel --- drivers/misc/Kconfig | 7 ++ drivers/misc/Makefile | 1 + drivers/misc/nokia-cmt.c | 298

[RFCv4 08/11] HSI: Introduce driver for SSI Protocol

2013-12-15 Thread Sebastian Reichel
This adds a driver for the SSI McSAAB protocol as used in the Nokia N900. Signed-off-by: Sebastian Reichel --- drivers/hsi/clients/Kconfig|8 + drivers/hsi/clients/Makefile |3 +- drivers/hsi/clients/ssi_protocol.c | 1201 include/linux

[RFCv4 03/11] HSI: hsi-char: fix driver for multiport scenarios

2013-12-15 Thread Sebastian Reichel
Fix return code check of alloc_chrdev_region, which returns 0 on success. Signed-off-by: Sebastian Reichel --- drivers/hsi/clients/hsi_char.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hsi/clients/hsi_char.c b/drivers/hsi/clients/hsi_char.c index 7f64bed

[RFCv4 01/11] HSI: method to unregister clients from an hsi port

2013-12-15 Thread Sebastian Reichel
This exports a method to unregister all clients from an hsi port. Signed-off-by: Sebastian Reichel --- drivers/hsi/hsi.c | 10 ++ include/linux/hsi/hsi.h | 1 + 2 files changed, 11 insertions(+) diff --git a/drivers/hsi/hsi.c b/drivers/hsi/hsi.c index 8bbc0f1..c7b842b 100644

[RFCv4 00/11] OMAP SSI driver / N900 modem support

2013-12-15 Thread Sebastian Reichel
org/lkml/2013/10/6/127 [1] https://git.kernel.org/cgit/linux/kernel/git/sre/linux-hsi.git/ -- Sebastian Sebastian Reichel (11): HSI: method to unregister clients from an hsi port HSI: hsi-char: add Device Tree support HSI: hsi-char: fix driver for multiport scenarios ARM: OMAP2+: HSI:

Re: [RFCv4 06/11] misc: Introduce Nokia CMT driver

2013-12-16 Thread Sebastian Reichel
Hi Linus, On Mon, Dec 16, 2013 at 10:48:06AM +0100, Linus Walleij wrote: > On Mon, Dec 16, 2013 at 12:27 AM, Sebastian Reichel wrote: > > Add driver handling GPIO pins of Nokia modems. The > > driver provides reset notifications, so that SSI > > clients can sub

Re: [RFCv4 06/11] misc: Introduce Nokia CMT driver

2013-12-16 Thread Sebastian Reichel
Hi, On Mon, Dec 16, 2013 at 02:31:53PM +0100, Linus Walleij wrote: > I am very reluctant in letting device trees specify exports of GPIOs > to userspace, not so much because it's Linux-specific but for > the fact that people are doing things in userspace that should not > be done in userspace. >

Re: [RESEND PATCH v3] charger: tps65090: Allow charger module to be used when no irq

2014-07-17 Thread Sebastian Reichel
Hi, On Fri, Jun 20, 2014 at 02:42:03PM -0700, Doug Anderson wrote: > On the ARM Chromebook tps65090 has two masters: the AP (the main > processor running linux) and the EC (the embedded controller). The AP > is allowed to mess with FETs but the EC is in charge of charge control. > > The tps65090

Re: [PATCH 1/4] drivers/hsi/controllers/omap_ssi{,_port}.c: fix failure checks

2014-07-17 Thread Sebastian Reichel
Hi, On Thu, Jul 17, 2014 at 04:53:54PM +0300, Andrey Utkin wrote: > 1. > > [linux-3.16-rc5/drivers/hsi/controllers/omap_ssi.c:357]: (style) Checking if > unsigned variable 'gdd_irq' is less than zero. > > Source code is > > omap_ssi->gdd_irq = platform_get_irq_byname(pd, "gdd_mpu"); > i

Re: [PATCH 3/4] power_supply: Introduce PSE compliant algorithm

2014-07-17 Thread Sebastian Reichel
On Fri, Jul 11, 2014 at 02:46:35AM +, Tc, Jenny wrote: > > From: Sebastian Reichel [mailto:s...@kernel.org] > > Sent: Tuesday, July 08, 2014 9:26 PM > > To: Tc, Jenny > > Cc: linux-kernel@vger.kernel.org; Dmitry Eremin-Solenikov; Pavel Machek; > > Stephen > &

Re: [PATCH 1/4] power_supply: Add inlmt,iterm, min/max temp props

2014-07-17 Thread Sebastian Reichel
Hi Jenny, On Tue, Jul 08, 2014 at 11:34:18AM +0530, Jenny TC wrote: > Add new power supply properties for input current, charge termination > current, min and max temperature > > POWER_SUPPLY_PROP_TEMP_MIN - minimum operatable temperature > POWER_SUPPLY_PROP_TEMP_MAX - maximum operatable temperat

Re: [PATCHv2] MAINTAINERS: power_supply: update maintainership

2014-07-17 Thread Sebastian Reichel
Hi, On Wed, Jul 16, 2014 at 11:09:43PM +0200, Rafael J. Wysocki wrote: > On Thursday, July 17, 2014 12:21:03 AM Dmitry Eremin-Solenikov wrote: > > On Wed, Jul 16, 2014 at 10:14 PM, Sebastian Reichel wrote: > > > Take over maintanence for orphaned power supply subsystem >

Re: [PATCH 2/4] power_supply: Introduce generic psy charging driver

2014-07-17 Thread Sebastian Reichel
Hi Jenny, On Tue, Jul 08, 2014 at 11:34:19AM +0530, Jenny TC wrote: > The Power Supply charging driver connects multiple subsystems > to do charging in a generic way. The subsystems involves power_supply, > thermal and battery communication subsystems (1wire). With this the charging > is > handle

Re: [PATCH -next] power_supply: Fix sparse non static symbol warning

2014-07-20 Thread Sebastian Reichel
Hi, On Sun, Jul 20, 2014 at 01:31:09PM +0800, weiyj...@163.com wrote: > Fixes the following sparse warnings: > > drivers/power/power_supply_core.c:540:5: warning: > symbol '__power_supply_register' was not declared. Should it be static? > > Signed-off-by: Wei Yongjun Applied to battery-2.6.gi

Re: [PATCH -next] HSI: ssi_protocol: Fix sparse non static symbol warning

2014-07-20 Thread Sebastian Reichel
Hi, On Sun, Jul 20, 2014 at 01:17:20PM +0800, weiyj...@163.com wrote: > Fixes the following sparse warning: > > drivers/hsi/clients/ssi_protocol.c:904:6: warning: > symbol 'ssip_port_event' was not declared. Should it be static? > > Signed-off-by: Wei Yongjun Applied to linux-hsi.git: https:

Re: [PATCHv2 1/2] rx51_battery: convert to iio consumer

2014-04-23 Thread Sebastian Reichel
On Sun, Apr 20, 2014 at 02:08:23PM +0200, Pavel Machek wrote: > On Sat 2014-03-29 11:09:45, Jonathan Cameron wrote: > > On 01/03/14 20:22, Sebastian Reichel wrote: > > >Update rx51-battery driver to use the new IIO API of > > >twl4030-madc and add DT support. > >

Re: [PATCH 13/35] arm: omap: irq: call set_handle_irq() from intc_of_init

2014-07-29 Thread Sebastian Reichel
Hi, On Tue, Jul 29, 2014 at 10:36:49AM -0500, Felipe Balbi wrote: > On Tue, Jul 29, 2014 at 04:20:20AM +0200, Sebastian Reichel wrote: > > Hi, > > > > On Mon, Jul 28, 2014 at 04:16:01PM -0500, Felipe Balbi wrote: > > > this will let us drop .handle_irq and .init_irq

Re: [PATCH] HSI: omap_ssi_port: Fix return value check in ssi_debug_add_port()

2014-07-30 Thread Sebastian Reichel
Hi, On Wed, Jul 30, 2014 at 08:53:20AM +0800, weiyj...@163.com wrote: > In case of error, the function debugfs_create_*() returns NULL > pointer not ERR_PTR() if debugfs is enabled. The IS_ERR() test > in the return value check should be replaced with NULL test. thanks, pulled: https://git.kerne

Re: [PATCH] HSI: omap_ssi: Fix return value check in ssi_debug_add_ctrl()

2014-07-30 Thread Sebastian Reichel
Hi, On Wed, Jul 30, 2014 at 08:53:41AM +0800, weiyj...@163.com wrote: > In case of error, the function debugfs_create_*() returns NULL > pointer not ERR_PTR() if debugfs is enabled. The IS_ERR() test > in the return value check should be replaced with NULL test. thanks, pulled: https://git.kerne

Re: [PATCH V2 1/2] Documentation: devicetree: mfd: twl4030-power: Use the standard 'ti,system-power-controller' to mark power control

2014-09-17 Thread Sebastian Reichel
; > switching off the system. > > > > Signed-off-by: Nishanth Menon > > --- > > > > V2: picked up documentation suggestion from Sebastien > > It would be good to get Sebastian's Ack. Acked-By: Sebastian Reichel [...] > > +- ti,system-power-

Re: [PATCH v2 2/3] bq2415x_charger: Use power_supply notifier for automode

2014-01-19 Thread Sebastian Reichel
On Mon, Dec 02, 2013 at 02:45:06AM +0100, Michael Trimarchi wrote: > On Mon, Dec 2, 2013 at 1:24 AM, Anton Vorontsov wrote: > > On Mon, Dec 02, 2013 at 01:02:40AM +0100, Michael Trimarchi wrote: > >> On Sun, Dec 1, 2013 at 11:37 PM, Anton Vorontsov wrote: > >> > On Mon, Nov 25, 2013 at 08:16:34PM

Re: [PATCH v2 2/3] bq2415x_charger: Use power_supply notifier for automode

2014-01-20 Thread Sebastian Reichel
On Mon, Jan 20, 2014 at 10:21:29AM +, Russell King - ARM Linux wrote: > And another one using that evil mail-followup-to header: > > Mail-Followup-To: Pali Rohár , > Anton Vorontsov , > Michael Trimarchi , > David Woodhouse , > Tony Lindgren , > Russell

Re: [11/11] system 1: Saving energy using DVFS

2014-01-20 Thread Sebastian Reichel
On Mon, Jan 20, 2014 at 06:54:32PM +0100, Pavel Machek wrote: > On Mon 2014-01-20 17:10:29, Catalin Marinas wrote: > > On Mon, Jan 20, 2014 at 04:49:26PM +, Pavel Machek wrote: > > > > To save energy, the higher frequencies should be avoided and only used > > > > when the application performanc

Re: [PATCH] power: max14577: Fix circular config SYSFS dependency

2014-09-25 Thread Sebastian Reichel
On Thu, Sep 25, 2014 at 09:05:31AM +0200, Krzysztof Kozlowski wrote: > Make the max14577 charger driver depending on SYSFS instead selecting > it. This fixes warning on x86_64 with allmodconfig: > > scripts/kconfig/conf --allmodconfig Kconfig > fs/sysfs/Kconfig:1:error: recursive dependency detect

Re: [PATCH v2 1/1] power: Add simple gpio-restart driver

2014-09-25 Thread Sebastian Reichel
Hi Guenter, On Thu, Sep 18, 2014 at 09:35:04PM -0700, Guenter Roeck wrote: > On 08/27/2014 12:23 PM, David Riley wrote: > >This driver registers a restart handler to set a GPIO line high/low > >to reset a board based on devicetree bindings. > > > >Signed-off-by: David Riley > > Reviewed-by: Guen

Re: [PATCH] power: charger-manager: Fix NULL pointer exception with missing cm-fuel-gauge

2014-09-26 Thread Sebastian Reichel
Hi, On Fri, Sep 26, 2014 at 01:27:03PM +0200, Krzysztof Kozlowski wrote: > NULL pointer exception happens during charger-manager probe if > 'cm-fuel-gauge' property is not present. > > ... > > Signed-off-by: Krzysztof Kozlowski > Cc: > Fixes: 856ee6115e2d ("charger-manager: Support deivce tree

Re: [PATCH 1/5] power: reset: Add restart functionality for STiH41x platforms

2014-09-26 Thread Sebastian Reichel
Hi Lee, On Fri, Sep 26, 2014 at 10:56:28AM +0100, Lee Jones wrote: > Dmitry, > > This patch-set has been on the list for some time (2 months) now. > > How would you like me to proceed? http://git.infradead.org/battery-2.6.git/commit/f0745f3696e88b4055c6229e1306a78fbe503066 -- Sebastian signa

Re: [PATCH 2/5] power: reset: st: Provide DT bindings for ST's Power Reset driver

2014-09-26 Thread Sebastian Reichel
Hi, On Tue, Jul 22, 2014 at 03:52:29PM +0100, Lee Jones wrote: > Signed-off-by: Christophe Kerello > Signed-off-by: Lee Jones > --- > Documentation/devicetree/bindings/power/reset/st-reset.txt | 11 +++ > 1 file changed, 11 insertions(+) > create mode 100644 Documentation/devicetree/bi

Re: [PATCH v2 1/1] power: Add simple gpio-restart driver

2014-09-26 Thread Sebastian Reichel
Hi, On Wed, Aug 27, 2014 at 12:23:51PM -0700, David Riley wrote: > This driver registers a restart handler to set a GPIO line high/low > to reset a board based on devicetree bindings. http://git.infradead.org/battery-2.6.git/commit/371bb20d6927f204ef5a7887ecddb06b2501c0d9 -- Sebastian signatur

Re: [PATCH v4] power: reset: use restart_notifier mechanism for msm-poweroff

2014-09-26 Thread Sebastian Reichel
Hi, On Thu, Sep 25, 2014 at 05:03:51PM +0530, Pramod Gurav wrote: > This change replaces use of arm_pm_restart with recently introduced > reset mechanism in Linux kernel called restart_notifier. > > Choosing priority 128, which is default priority, as according to > documentation, this mechanism

Re: [PATCH v2] bq27x00_battery: Add support to bq27742

2014-09-29 Thread Sebastian Reichel
Hi, On Mon, Sep 29, 2014 at 02:25:11PM -0700, Puthikorn Voravootivat wrote: > Add support to bq27742 in bq27x00 driver. bq27742 register > addresses are mostly mostly the same as bq27500 addresses > with minor differences. > > Signed-off-by: Puthikorn Voravootivat > Reviewed-by: Gwendal Grignou

Re: [PATCH v6 0/8] charger/mfd: max14577: Add support for MAX77836

2014-09-16 Thread Sebastian Reichel
e long time and was already > > reviewed by all necessary maintainers except power supply. > > I need acks from power supply subsystem (patches: 3, 5-8). > > Give this set a few more days for the Power guys to respond. If they > don't, ping me and I will just apply

[PATCHv2 0/6] OMAP SSI driver

2014-03-09 Thread Sebastian Reichel
mainline kernel. * Remove the hwmod DT hack This depends on some future work merging hwmod data into DT. * Implement proper context loss detection P.S.: It would be nice if I get some Reviewed-By/Acked-By. [0] https://lkml.org/lkml/2014/2/23/173 -- Sebastian Sebastian Reichel (6): Documentat

[PATCHv2 6/6] Documentation: DT: omap-ssi binding documentation

2014-03-09 Thread Sebastian Reichel
Create device tree binding documentation for OMAP Synchronous Serial Interface (SSI) device. Signed-off-by: Sebastian Reichel --- Documentation/devicetree/bindings/hsi/omap-ssi.txt | 82 ++ 1 file changed, 82 insertions(+) create mode 100644 Documentation/devicetree

[PATCHv2 4/6] HSI: hsi-char: fix driver for multiport scenarios

2014-03-09 Thread Sebastian Reichel
Fix return code check of alloc_chrdev_region, which returns 0 on success. Signed-off-by: Sebastian Reichel --- drivers/hsi/clients/hsi_char.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hsi/clients/hsi_char.c b/drivers/hsi/clients/hsi_char.c index e61e5f9

[PATCHv2 1/6] Documentation: HSI: Add some general description for the HSI subsystem

2014-03-09 Thread Sebastian Reichel
Add a document, which gives a rough introduction about what HSI is and how its handled by the Linux kernel. Signed-off-by: Sebastian Reichel --- Documentation/hsi.txt | 75 +++ 1 file changed, 75 insertions(+) create mode 100644 Documentation

[PATCHv2 3/6] HSI: method to unregister clients from an hsi port

2014-03-09 Thread Sebastian Reichel
This exports a method to unregister all clients from an hsi port. Signed-off-by: Sebastian Reichel --- drivers/hsi/hsi.c | 10 ++ include/linux/hsi/hsi.h | 1 + 2 files changed, 11 insertions(+) diff --git a/drivers/hsi/hsi.c b/drivers/hsi/hsi.c index 6fde590..098cc3a 100644

[PATCHv2 2/6] HSI: Add function to register HSI clients from DT

2014-03-09 Thread Sebastian Reichel
binding has been specified for them. Signed-off-by: Sebastian Reichel --- drivers/hsi/hsi.c | 32 +++- include/linux/hsi/hsi.h | 2 ++ 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/drivers/hsi/hsi.c b/drivers/hsi/hsi.c index 749f7b5..6fde590

Generic HSI client DT bindings

2014-03-09 Thread Sebastian Reichel
Hi, I'm currently working on Device Tree support for the HSI subsystem to get the Nokia N900 modem working in the mainline kernel. I guess the key question for the binding has been asked by Mark: Mark Rutland wrote [0]: > Does HSI have an addressing scheme, or does each port > have a single devi

Re: [PATCHv2 0/9] Convert twl4030-madc to IIO API and add DT support

2014-03-10 Thread Sebastian Reichel
On Mon, Mar 10, 2014 at 10:43:56AM +, Lee Jones wrote: > > TODO: > > * Wait for feedback from DT binding maintainers > > * Wait for feedback from Marek Belisko, who is testing the > >changes with twl4030-madc-battery driver on GTA04 > > This patch-set has stalled. Right. I waited a few

[PATCHv3 7/9] mfd: twl4030-madc: Move driver to drivers/iio/adc

2014-03-10 Thread Sebastian Reichel
This is a driver for an A/D converter, which belongs into drivers/iio/adc. Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Acked-by: Jonathan Cameron --- drivers/iio/adc/Kconfig | 10 ++ drivers/iio/adc/Makefile| 1 + drivers/{mfd => iio/

[PATCHv3 6/9] Documentation: DT: Document twl4030-madc binding

2014-03-10 Thread Sebastian Reichel
Add devicetree binding documentation for twl4030-madc analog digital converter. Signed-off-by: Sebastian Reichel --- .../devicetree/bindings/iio/adc/twl4030-madc.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc

[PATCHv3 2/9] mfd: twl4030-madc: Add DT support and convert to IIO framework

2014-03-10 Thread Sebastian Reichel
This converts twl4030-madc module to use the Industrial IO ADC framework and adds device tree support. Signed-off-by: Sebastian Reichel Tested-by: Marek Belisko --- drivers/mfd/twl4030-madc.c | 127 + 1 file changed, 116 insertions(+), 11 deletions

[PATCHv3 9/9] iio: inkern: add iio_read_channel_average_raw

2014-03-10 Thread Sebastian Reichel
Add iio_read_channel_average_raw to support reading averaged raw values in consumer drivers. Signed-off-by: Sebastian Reichel --- drivers/iio/inkern.c | 18 ++ include/linux/iio/consumer.h | 13 + 2 files changed, 31 insertions(+) diff --git a/drivers/iio

[PATCHv3 1/9] mfd: twl4030-madc: Use managed resources

2014-03-10 Thread Sebastian Reichel
Update twl4030-madc driver to use managed resources. Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Tested-by: Marek Belisko --- drivers/mfd/twl4030-madc.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/mfd/twl4030-madc.c b/drivers/mfd

[PATCHv3 8/9] iio: documentation: Add ABI documentation for *_mean_raw

2014-03-10 Thread Sebastian Reichel
Add ABI documentation for in_*_mean_raw files, which are already supported and used in the kernel for some time. Signed-off-by: Sebastian Reichel --- Documentation/ABI/testing/sysfs-bus-iio | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b

[PATCHv3 4/9] mfd: twl-core: Add twl_i2c_read/write_u16

2014-03-10 Thread Sebastian Reichel
Add a simple twl_i2c_read/write_u16 wrapper over the twl_i2c_read/write, which is similar to the twl_i2c_read/write_u8 wrapper. Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Acked-by: Jonathan Cameron Tested-by: Marek Belisko --- include/linux/i2c/twl.h | 12 1 file

[PATCHv3 5/9] mfd: twl4030-madc: Use twl_i2c_read/write_u16 for 16 bit registers

2014-03-10 Thread Sebastian Reichel
Simplify reading and writing of 16 bit TWL registers in the driver by using twl_i2c_read_u16 and twl_i2c_write_u16. Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Acked-by: Jonathan Cameron Tested-by: Marek Belisko --- drivers/mfd/twl4030-madc.c | 39

[PATCHv3 3/9] mfd: twl4030-madc: Cleanup driver

2014-03-10 Thread Sebastian Reichel
Some style fixes in twl4030-madc driver. Reported-by: Jonathan Cameron Reported-by: Lee Jones Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Tested-by: Marek Belisko --- drivers/mfd/twl4030-madc.c | 127 +++ include/linux/i2c/twl4030-madc.h

[PATCHv3 0/9] Convert twl4030-madc to IIO API and add DT support

2014-03-10 Thread Sebastian Reichel
* Decrease indention of closing "}" in twl4030_madc_driver.driver [0] https://lkml.org/lkml/2014/3/4/815 -- Sebastian Sebastian Reichel (9): mfd: twl4030-madc: Use managed resources mfd: twl4030-madc: Add DT support and convert to IIO framework mfd: twl4030-madc: Cleanup driver

Re: [PATCHv3 05/14] HSI: Add channel resource support to HSI clients

2014-04-25 Thread Sebastian Reichel
On Sat, Apr 19, 2014 at 09:11:26PM +0200, Pavel Machek wrote: > Hi! > > > Make HSI channel ids platform data, which can be provided > > by platform data. > > > > > static void hsi_client_release(struct device *dev) > > { > > - kfree(to_hsi_client(dev)); > > + struct hsi_client *cl = to_hsi_

Re: [PATCHv3 07/14] HSI: Add common DT binding for HSI client devices

2014-04-25 Thread Sebastian Reichel
On Sat, Apr 19, 2014 at 09:16:12PM +0200, Pavel Machek wrote: > On Sat 2014-03-29 01:31:43, Sebastian Reichel wrote: > > Implement and document generic DT bindings for HSI clients. > > > > Signed-off-by: Sebastian Reichel > > Reviewed-by: Pavel Machek > > &

Re: [PATCHv3 07/14] HSI: Add common DT binding for HSI client devices

2014-04-25 Thread Sebastian Reichel
On Mon, Apr 21, 2014 at 11:52:11AM -0500, Rob Herring wrote: > On Fri, Mar 28, 2014 at 7:31 PM, Sebastian Reichel wrote: > > Implement and document generic DT bindings for HSI clients. > > > > Signed-off-by: Sebastian Reichel > > Seems pretty reasonable although I

Re: [PATCHv3 08/14] HSI: Introduce OMAP SSI driver

2014-04-25 Thread Sebastian Reichel
E) with cellular modem engines (CMT) > > in cellular handsets. > > > > It provides a multichannel, full-duplex, multi-core communication > > with no reference clock. The OMAP SSI block is capable of reaching > > speeds of 110 Mbit/s. > > > > Signed-off-

Re: [PATCHv3 09/14] Documentation: DT: omap-ssi binding documentation

2014-04-25 Thread Sebastian Reichel
Hi, On Mon, Apr 21, 2014 at 11:43:47AM -0500, Rob Herring wrote: > On Fri, Mar 28, 2014 at 7:31 PM, Sebastian Reichel wrote: > > Create device tree binding documentation for > > OMAP Synchronous Serial Interface (SSI) device. > > > > Signed-off-by: Sebastian Reichel

Re: [PATCHv3 10/14] HSI: Introduce driver for SSI Protocol

2014-04-25 Thread Sebastian Reichel
On Sat, Apr 19, 2014 at 09:49:36PM +0200, Pavel Machek wrote: > Hi! > > > This adds a driver for the SSI McSAAB protocol as used in > > the Nokia N900. > > > > Signed-off-by: Carlos Chinea > > Signed-off-by: Sebastian Reichel > > > +#define SSIP_MI

[PATCHv4 04/13] HSI: method to unregister clients from an hsi port

2014-04-25 Thread Sebastian Reichel
This exports a method to unregister all clients from an hsi port. Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek --- drivers/hsi/hsi.c | 10 ++ include/linux/hsi/hsi.h | 1 + 2 files changed, 11 insertions(+) diff --git a/drivers/hsi/hsi.c b/drivers/hsi/hsi.c index

<    5   6   7   8   9   10   11   12   13   14   >