[PATCH 1/5] mfd: rn5t618: prepare for irq handling

2019-10-20 Thread Andreas Kemnade
rn5t618 currently lacks irq handling. To prepare implementation in a rn5t618-irq.c, move main file to rn5t618-core.c Signed-off-by: Andreas Kemnade --- drivers/mfd/Makefile | 2 ++ drivers/mfd/{rn5t618.c => rn5t618-core.c} | 0 2 files changed, 2 insertions(+) ren

[PATCH 3/5] mfd: rn5t618: add rtc related registers

2019-10-20 Thread Andreas Kemnade
Defines for some rtc related registers were missing, also they were not included in the volatile register list Signed-off-by: Andreas Kemnade --- drivers/mfd/rn5t618-core.c | 2 ++ include/linux/mfd/rn5t618.h | 11 +++ 2 files changed, 13 insertions(+) diff --git a/drivers/mfd

[PATCH 2/5] mfd: rn5t618: add irq support

2019-10-20 Thread Andreas Kemnade
This adds support for irq handling in the rc5t619 which is required for properly implementing subdevices like rtc. For now only definitions for the variant rc5t619 are included. Signed-off-by: Andreas Kemnade --- drivers/mfd/Kconfig | 1 + drivers/mfd/Makefile| 2 +- drivers

Re: [PATCH v3 2/3] ARM: dts: add Netronix E60K02 board common file

2019-10-14 Thread Andreas Kemnade
On Fri, 11 Oct 2019 18:56:33 +0200 Marco Felsch wrote: > On 19-10-11 18:19, Andreas Kemnade wrote: > > On Fri, 11 Oct 2019 17:22:14 +0200 > > Marco Felsch wrote: > > > > > On 19-10-11 17:05, Andreas Kemnade wrote: > > > > On Fri, 11 Oct 2019

Re: [PATCH v3 2/3] ARM: dts: add Netronix E60K02 board common file

2019-10-11 Thread Andreas Kemnade
On Fri, 11 Oct 2019 17:22:14 +0200 Marco Felsch wrote: > On 19-10-11 17:05, Andreas Kemnade wrote: > > On Fri, 11 Oct 2019 09:29:27 -0500 > > Rob Herring wrote: > > > > > On Fri, Oct 11, 2019 at 09:41:48AM +0200, Andreas Kemnade wrote: > > &g

Re: [PATCH v3 2/3] ARM: dts: add Netronix E60K02 board common file

2019-10-11 Thread Andreas Kemnade
On Fri, 11 Oct 2019 09:29:27 -0500 Rob Herring wrote: > On Fri, Oct 11, 2019 at 09:41:48AM +0200, Andreas Kemnade wrote: > > On Fri, 11 Oct 2019 08:56:09 +0200 > > Marco Felsch wrote: > > > > > Hi Andreas, > > > > > > On 19-10-10 21:23, And

Re: [PATCH v3 2/3] ARM: dts: add Netronix E60K02 board common file

2019-10-11 Thread Andreas Kemnade
On Fri, 11 Oct 2019 08:56:09 +0200 Marco Felsch wrote: > Hi Andreas, > > On 19-10-10 21:23, Andreas Kemnade wrote: > > The Netronix board E60K02 can be found some several Ebook-Readers, > > at least the Kobo Clara HD and the Tolino Shine 3. The board > > is e

[PATCH v3 3/3] ARM: dts: imx: add devicetree for Kobo Clara HD

2019-10-10 Thread Andreas Kemnade
This adds a devicetree for the Kobo Clara HD Ebook reader. It is on based on boards called "e60k02". It is equipped with an imx6sll SoC. Signed-off-by: Andreas Kemnade --- arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/imx6sll-kobo-clarahd

[PATCH v3 2/3] ARM: dts: add Netronix E60K02 board common file

2019-10-10 Thread Andreas Kemnade
PMIC (the kernel misses support for rtc and charger subdevices). - Backlight via lm3630a - Wifi sdio chip detection (mmc-powerseq and stuff) It is based on vendor kernel but heavily reworked due to many changed bindings. Signed-off-by: Andreas Kemnade --- Changes in v3: - better led name

[PATCH v3 0/3] dts: ARM: add Kobo Clara HD eBook reader

2019-10-10 Thread Andreas Kemnade
devices Andreas Kemnade (3): dt-bindings: arm: fsl: add compatible string for Kobo Clara HD ARM: dts: add Netronix E60K02 board common file ARM: dts: imx: add devicetree for Kobo Clara HD .../devicetree/bindings/arm/fsl.yaml | 1 + arch/arm/boot/dts/Makefile| 3

[PATCH v3 1/3] dt-bindings: arm: fsl: add compatible string for Kobo Clara HD

2019-10-10 Thread Andreas Kemnade
This adds a compatible string for the Kobo Clara HD eBook reader. Signed-off-by: Andreas Kemnade --- Changes in v2: reordered, was 2/3 Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b

Re: [PATCH v2 2/3] ARM: dts: add Netronix E60K02 board common file

2019-10-09 Thread Andreas Kemnade
nt things on the i2c busses without proper bindings. That might help to find allies. I will send a v3 with correct memory, better name for GLED and the above-mentioned comments. Regards, Andreas > A few comments and questions below. > > On Mon, Sep 30, 2019 at 09:43:31PM +0200, And

Re: [PATCH] drm: panels: fix spi aliases of former omap panels

2019-10-07 Thread Andreas Kemnade
On Mon, 7 Oct 2019 19:04:46 +0200 Sebastian Reichel wrote: > Hi, > > On Mon, Oct 07, 2019 at 06:41:30PM +0200, Andreas Kemnade wrote: > > When the panels were moved from omap/displays/ to panel/ > > omapdss prefix was stripped, which cause spi modalias > > to no

Re: [PATCH v2 2/3] ARM: dts: add Netronix E60K02 board common file

2019-10-06 Thread Andreas Kemnade
Hi Jonathan, On Mon, 7 Oct 2019 00:38:48 +0200 Jonathan Neuschäfer wrote: > Thanks for CCing me on this patchset. Nice to see more e-book reader > related work! > > A few comments and questions below. > > On Mon, Sep 30, 2019 at 09:43:31PM +0200, Andreas Kemnade wrote: >

[PATCH v2 0/3] dts: ARM: add Kobo Clara HD eBook reader

2019-09-30 Thread Andreas Kemnade
-clara/kernel.tar.bz2 but things need to be heavily reworked due to incompatible bindings and to prepare for Tolino Shine 3 Changes in v2: - reordered patches - various cleanups as suggested by Marco Felsch Andreas Kemnade (3): dt-bindings: arm: fsl: add compatible string for Kobo Clara HD ARM

[PATCH v2 1/3] dt-bindings: arm: fsl: add compatible string for Kobo Clara HD

2019-09-30 Thread Andreas Kemnade
This adds a compatible string for the Kobo Clara HD eBook reader. Signed-off-by: Andreas Kemnade --- Changes in v2: reordered, was 2/3 Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b

[PATCH v2 2/3] ARM: dts: add Netronix E60K02 board common file

2019-09-30 Thread Andreas Kemnade
PMIC (the kernel misses support for rtc and charger subdevices). - Backlight via lm3630a - Wifi sdio chip detection (mmc-powerseq and stuff) It is based on vendor kernel but heavily reworked due to many changed bindings. Signed-off-by: Andreas Kemnade --- Changes in v2: - reordered, was 1/3

[PATCH v2 3/3] ARM: dts: imx: add devicetree for Kobo Clara HD

2019-09-30 Thread Andreas Kemnade
This adds a devicetree for the Kobo Clara HD Ebook reader. It is on based on boards called "e60k02". It is equipped with an imx6sll SoC. Signed-off-by: Andreas Kemnade --- arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/imx6sll-kobo-clarahd

Re: [PATCH 1/3] ARM: dts: add Netronix E60K02 board common file

2019-09-30 Thread Andreas Kemnade
On Mon, 30 Sep 2019 10:27:15 +0200 Marco Felsch wrote: [..] > > so you disagree with this pattern: > > in .dtsi > > some_device { > >pinctrl-0 = <_some_device>; > > }; > > > > and in .dts (one I sent with this patch series and the tolino/mx6sl one > > is not ready-cooked yet, will be part

Re: [PATCH 1/3] ARM: dts: add Netronix E60K02 board common file

2019-09-27 Thread Andreas Kemnade
Hi Marco, On Fri, 27 Sep 2019 11:47:21 +0200 Marco Felsch wrote: > Hi Andreas, > > thanks for the patch. > thanks for the quick review. Most of your comments are clear. [...] > > + wifi_pwrseq: wifi_pwrseq { > > + compatible = "mmc-pwrseq-simple"; > > +

[PATCH 1/3] ARM: dts: add Netronix E60K02 board common file

2019-09-27 Thread Andreas Kemnade
support for rtc and charger subdevices). - Backlight via lm3630a - Wifi sdio chip detection (mmc-powerseq and stuff) It is based on vendor kernel but heavily reworked due to many changed bindings. Signed-off-by: Andreas Kemnade --- backligt dependencies: module autoloading: https

[PATCH 0/3] dts: ARM: add Kobo Clara HD eBook reader

2019-09-27 Thread Andreas Kemnade
-clara/kernel.tar.bz2 but things need to be heavily reworked due to incompatible bindings and to prepare for Tolino Shine 3 Andreas Kemnade (3): ARM: dts: add Netronix E60K02 board common file dt-bindings: arm: fsl: add compatible string for Kobo Clara HD ARM: dts: imx: add devicetree for Kobo

[PATCH 3/3] ARM: dts: imx: add devicetree for Kobo Clara HD

2019-09-27 Thread Andreas Kemnade
This adds a devicetree for the Kobo Clara HD Ebook reader. It is on based on boards called "e60k02". It is equipped with an imx6sll SoC. Signed-off-by: Andreas Kemnade --- arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/imx6sll-kobo-clarahd

[PATCH 2/3] dt-bindings: arm: fsl: add compatible string for Kobo Clara HD

2019-09-27 Thread Andreas Kemnade
This adds a compatible string fro the Kobo Clara HD eBook reader. Signed-off-by: Andreas Kemnade --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm

Re: [Letux-kernel] [PATCH 2/2] DTS: ARM: gta04: introduce legacy spi-cs-high to make display work again

2019-09-20 Thread Andreas Kemnade
On Fri, 20 Sep 2019 16:54:18 +0200 "H. Nikolaus Schaller" wrote: > > Am 20.09.2019 um 16:20 schrieb Tony Lindgren : > > > > * H. Nikolaus Schaller [190920 09:19]: > >>> Am 20.09.2019 um 10:55 schrieb Linus Walleij : > >>> I suggest to go both way: > >>> apply this oneliner and tag for stable

Re: [PATCH v2] regulator: twl: voltage lists for vdd1/2 on twl4030

2019-09-09 Thread Andreas Kemnade
uot;) > > > Cc: sta...@vger.kernel.org > > > Signed-off-by: Andreas Kemnade > > > > Tested-by: Adam Ford #logicpd-torpedo-37xx-devkit > > > > I am not sure who the right maintainer is, but as of today, cpufreq > for users of twl4030 on 5.3-R

[PATCH 2/2] dt-bindings: backlight: lm3630a: add enable_gpios

2019-09-08 Thread Andreas Kemnade
add enable-gpios to describe HWEN pin Signed-off-by: Andreas Kemnade --- .../devicetree/bindings/leds/backlight/lm3630a-backlight.yaml | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml b/Documentation/devicetree

[PATCH 0/2] backlight_lm3630a: add enable_gpios property

2019-09-08 Thread Andreas Kemnade
To be able to handle the HWEN pin of the lm3630a, add an enable gpio to the driver and a property. Tested on Kobo Clara HD Andreas Kemnade (2): backlight: lm3630a: add an enable gpio for the HWEN pin dt-bindings: backlight: lm3630a: add enable_gpios .../leds/backlight/lm3630a

[PATCH 1/2] backlight: lm3630a: add an enable gpio for the HWEN pin

2019-09-08 Thread Andreas Kemnade
For now just enable it in the probe function to allow i2c access and disable it on remove. Disabling also means resetting the register values to default. Tested on Kobo Clara HD. Signed-off-by: Andreas Kemnade --- drivers/video/backlight/lm3630a_bl.c | 18 ++ 1 file changed, 18

Re: [Letux-kernel] [RFC v2 1/3] cpufreq: ti-cpufreq: add support for omap34xx and omap36xx

2019-09-07 Thread Andreas Kemnade
On Fri, 6 Sep 2019 22:46:49 +0200 "H. Nikolaus Schaller" wrote: > Hi, > > > Am 06.09.2019 um 05:01 schrieb Viresh Kumar : > > > > On 05-09-19, 07:32, Tony Lindgren wrote: > >> * H. Nikolaus Schaller [190904 08:54]: > >>> This adds code and tables to read the silicon revision and > >>>

Re: [Letux-kernel] [PATCH 2/2] DTS: ARM: gta04: introduce legacy spi-cs-high to make display work again

2019-08-31 Thread Andreas Kemnade
Hi, On Mon, 5 Aug 2019 12:29:19 +0200 Linus Walleij wrote: > On Fri, Jul 26, 2019 at 12:43 AM Rob Herring wrote: > > On Thu, Jul 25, 2019 at 12:23 AM H. Nikolaus Schaller > > wrote: > > > > I tried to convince Linus that this is the right way but he convinced > > > me that a fix that

[PATCH] gpio: of: fix Freescale SPI CS quirk handling

2019-08-16 Thread Andreas Kemnade
nversion by checking for -EPROBE_DEFER. Fixes: e3023bf80639 ("gpio: of: Handle the Freescale SPI CS") Suggested-by: H. Nikolaus Schaller Signed-off-by: Andreas Kemnade --- drivers/gpio/gpiolib-of.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpiolib-of.c b/d

[PATCH v2] regulator: twl: voltage lists for vdd1/2 on twl4030

2019-08-14 Thread Andreas Kemnade
ed_voltage") Cc: sta...@vger.kernel.org Signed-off-by: Andreas Kemnade --- resent because it was rejected by mailing lists, due to technical issues, sorry for the noise. changes in v2: using a proper voltage list instead of misusing the continuous flag subject was regulator: twl: mark

Re: [PATCH] regulator: twl: mark vdd1/2 as continuous on twl4030

2019-06-17 Thread Andreas Kemnade
On Mon, 17 Jun 2019 18:02:55 +0100 Mark Brown wrote: > On Mon, Jun 17, 2019 at 06:27:43PM +0200, Andreas Kemnade wrote: > > > Citing tps65950 trm page 55: > > > The device contains three switch-mode power supplies (SMPS): > > • VDD1: 1.2-A, buck DC/DC conver

Re: [PATCH] regulator: twl: mark vdd1/2 as continuous on twl4030

2019-06-17 Thread Andreas Kemnade
On Mon, 17 Jun 2019 12:40:48 +0100 Mark Brown wrote: > On Mon, Jun 17, 2019 at 01:03:57PM +0200, Andreas Kemnade wrote: > > Mark Brown wrote: > > > On Sat, Jun 15, 2019 at 06:33:14PM +0200, Andreas Kemnade wrote: > > > > Why is this a good fix and not d

Re: [PATCH] regulator: twl: mark vdd1/2 as continuous on twl4030

2019-06-17 Thread Andreas Kemnade
On Mon, 17 Jun 2019 12:40:48 +0100 Mark Brown wrote: > On Mon, Jun 17, 2019 at 01:03:57PM +0200, Andreas Kemnade wrote: > > Mark Brown wrote: > > > On Sat, Jun 15, 2019 at 06:33:14PM +0200, Andreas Kemnade wrote: > > > > Why is this a good fix and not d

Re: [PATCH] regulator: twl: mark vdd1/2 as continuous on twl4030

2019-06-17 Thread Andreas Kemnade
Hi, On Mon, 17 Jun 2019 11:31:11 +0100 Mark Brown wrote: > On Sat, Jun 15, 2019 at 06:33:14PM +0200, Andreas Kemnade wrote: > > > The VDD1/VDD2 regulators on twl4030 are neither defined with > > voltage lists nor with the continuous flag set, so > > regulator_is_sup

[PATCH] regulator: twl: mark vdd1/2 as continuous on twl4030

2019-06-15 Thread Andreas Kemnade
] cpu cpu0: _opp_add: OPP not supported by regulators (8) The patch fixes declaration of VDD1/2 regulators. Fixes: 498209445124 ("regulator: core: simplify return value on suported_voltage") Signed-off-by: Andreas Kemnade --- drivers/regulator/twl-regulator.c | 1 + 1 file changed,

Re: [PATCH v2] ARM: sun8i: h3: bluetooth for Banana Pi M2 Zero board

2019-04-11 Thread Andreas Kemnade
Hi, On Mon, 8 Apr 2019 10:14:04 +0200 Maxime Ripard wrote: > On Sun, Apr 07, 2019 at 10:23:21PM +0200, Andreas Kemnade wrote: > > ping > > > > On Fri, 1 Mar 2019 19:52:12 +0100 > > Andreas Kemnade wrote: > > > > > The Banana Pi M2 Z

[PATCH v3] ARM: sun8i: h3: bluetooth for Banana Pi M2 Zero board

2019-04-11 Thread Andreas Kemnade
The Banana Pi M2 Zero board has an AP6212 BT+Wifi combo chip with Broadcom internals attached to UART1 and some gpios. This addition is in line with similar boards. Signed-off-by: Andreas Kemnade --- changes in v3: spelling fixes changes in v2: remove pinctrl things arch/arm/boot/dts/sun8i-h2

Re: [PATCH v2] ARM: sun8i: h3: bluetooth for Banana Pi M2 Zero board

2019-04-07 Thread Andreas Kemnade
ping On Fri, 1 Mar 2019 19:52:12 +0100 Andreas Kemnade wrote: > The Banana Pi M2 Zero board has an AP6212 BT+Wifi combo chip > with broadcom internals attached to UART1 and some gpios. > This addition is in line with similar boards > > Signed-off-by: Andreas Kemnade > -

Re: linux-next: Fixes tag needs some work in the mfd-fixes tree

2019-04-04 Thread Andreas Kemnade
Hi Stephen, On Fri, 5 Apr 2019 07:48:43 +1100 Stephen Rothwell wrote: > Hi Lee, > > In commit > > 20bb907f7dc8 ("mfd: twl-core: Disable IRQ while suspended") > > Fixes tag > > Fixes: 6e2bd956936 ("i2c: omap: Use noirq system sleep pm ops to idle > device for suspend") > > has these

Re: [Letux-kernel] [BUG] gpiolib: spi chip select legacy support breaks modern chip select and whitens the GTA04 LCD panel

2019-03-30 Thread Andreas Kemnade
On Sun, 24 Mar 2019 07:56:17 +0100 "H. Nikolaus Schaller" wrote: > Hi Linus, > > > Am 24.03.2019 um 05:15 schrieb Linus Walleij : > > > > On Sat, Mar 23, 2019 at 3:40 PM H. Nikolaus Schaller > > wrote: > > > >> (1) c1c04cea13dc gpio: of: Fix logic inversion > >> > >> together with the

[PATCH v2] ARM: sun8i: h3: bluetooth for Banana Pi M2 Zero board

2019-03-01 Thread Andreas Kemnade
The Banana Pi M2 Zero board has an AP6212 BT+Wifi combo chip with broadcom internals attached to UART1 and some gpios. This addition is in line with similar boards Signed-off-by: Andreas Kemnade --- changes in v2: remove pinctrl things arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts | 15

Re: [PATCH] ARM: sun8i: h3: bluetooth for Banana Pi M2 Zero board

2019-03-01 Thread Andreas Kemnade
On Fri, 1 Mar 2019 15:36:32 +0100 Maxime Ripard wrote: > Hi, > > Thanks for your patch > > On Thu, Feb 28, 2019 at 10:28:40PM +0100, Andreas Kemnade wrote: > > The Banana Pi M2 Zero board has an AP6212 BT+Wifi combo chip > > with broadcom internals attac

Re: [PATCH] mfd: twl-core: disable irq while suspended

2019-02-28 Thread Andreas Kemnade
Hi, On Sat, 23 Feb 2019 10:23:23 -0800 Tony Lindgren wrote: > * Andreas Kemnade [190223 11:48]: > > Since commit > > 6e2bd956936 ("i2c: omap: Use noirq system sleep pm ops to idle device for > > suspend") > > on gta04 we have handle_twl4030_pih() called in

[PATCH] ARM: sun8i: h3: bluetooth for Banana Pi M2 Zero board

2019-02-28 Thread Andreas Kemnade
The Banana Pi M2 Zero board has an AP6212 BT+Wifi combo chip with broadcom internals attached to UART1 and some gpios. This addition is in line with similar boards Signed-off-by: Andreas Kemnade --- .../boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts| 29 ++ 1 file changed

Re: [PATCH] Bluetooth: hci_bcm: fix double-free irq on removal

2019-02-26 Thread Andreas Kemnade
4 [hci_uart]) > > [ 231.207793] [] (hci_uart_exit [hci_uart]) from [] > > (sys_delete_module+0x135/0x178) > > [ 231.217005] [] (sys_delete_module) from [] > > (ret_fast_syscall+0x1/0x62) > > [ 231.225256] Exception stack(0xd66b7fa8 to 0xd66b7ff0) > > [

[PATCH] Bluetooth: hci_bcm: fix double-free irq on removal

2019-02-25 Thread Andreas Kemnade
b6edab26 [ 231.251688] ---[ end trace dc4caa46c945c791 ]--- Signed-off-by: Andreas Kemnade --- drivers/bluetooth/hci_bcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c index ddbe518c3e5b..97a8ba607d0c 100644

[PATCH] mfd: twl-core: disable irq while suspended

2019-02-23 Thread Andreas Kemnade
ton or rtc alarm). This goes on for minutes until the system is finally resumed. Disable the irq on suspend and enable it on resume to avoid having i2c access problems when the irq registers are checked. Signed-off-by: Andreas Kemnade --- drivers/mfd/twl-core.c | 23 +++ 1 fi

Re: [PATCH v2] phy: phy-twl4030-usb: fix denied runtime access

2019-02-21 Thread Andreas Kemnade
On Thu, 21 Feb 2019 08:48:03 -0800 Tony Lindgren wrote: > * Andreas Kemnade [190221 16:43]: > > Hi, > > > > On Wed, 20 Feb 2019 14:31:32 -0800 > > Tony Lindgren wrote: > > > > > * Andreas Kemnade [180922 09:48]: > > > > When runtime

Re: [PATCH v2] phy: phy-twl4030-usb: fix denied runtime access

2019-02-21 Thread Andreas Kemnade
Hi, On Wed, 20 Feb 2019 14:31:32 -0800 Tony Lindgren wrote: > * Andreas Kemnade [180922 09:48]: > > When runtime is not enabled, pm_runtime_get_sync() returns -EACCESS, > > the counter will be incremented but the resume callback not called, > > so enumeration and ch

Re: [PATCH v2 0/2] drm/omap: panel-tpo-td028ttec1: add backlight support

2019-02-14 Thread Andreas Kemnade
Hi, On Fri, 8 Feb 2019 11:13:33 +0200 Tomi Valkeinen wrote: > On 05/02/2019 08:38, Andreas Kemnade wrote: > > This panel has a backlight, so add a property describing that and > > add the code to use that. > > This makes things like xset dpms force off > > also turn

[PATCH] ARM: dts: omap3-gta04: declare backlight in lcd node

2019-02-11 Thread Andreas Kemnade
The lcd display of the gta04 has a backlight but the backlight was not referenced in the lcd node, so screen blanking did not turn off the backlight. Fix that. Signed-off-by: Andreas Kemnade --- the backlight property for the driver was accepted here: https://lore.kernel.org/lkml/a54e7427-ff84

Re: [PATCH v3 0/3] mach-omap2: handle autoidle denial

2019-02-09 Thread Andreas Kemnade
On Mon, 21 Jan 2019 11:58:03 -0800 Tony Lindgren wrote: > * Andreas Kemnade [190116 14:04]: > > On the gta04 with a dm3730 omap_hdq does not work properly when the > > device enters lower power states. Idling uart1 and 2 is enough > > to show up that problem, if ther

Re: [PATCH] omap3: give off mode enable a more prominent place

2019-02-05 Thread Andreas Kemnade
On Mon, 4 Feb 2019 10:43:17 -0800 Tony Lindgren wrote: > * Andreas Kemnade [190204 18:33]: > > On Mon, 4 Feb 2019 07:56:04 -0800 > > Tony Lindgren wrote: > > > > > * Andreas Kemnade [190202 06:01]: > > > > Enabling off mode was only reac

[PATCH v2 2/2] dt-bindings: panel: td028ttec1: add backlight property

2019-02-04 Thread Andreas Kemnade
This adds an additional backlight property as described in panel-common.txt Signed-off-by: Andreas Kemnade --- Documentation/devicetree/bindings/display/panel/tpo,td028ttec1.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/tpo,td028ttec1

[PATCH v2 1/2] drm/omap: panel-tpo-td028ttec1: add backlight support

2019-02-04 Thread Andreas Kemnade
-by: Andreas Kemnade --- Changes in v2: - do not reorder initialisation - fix commit message drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c b/drivers/gpu/drm/omapdrm

[PATCH v2 0/2] drm/omap: panel-tpo-td028ttec1: add backlight support

2019-02-04 Thread Andreas Kemnade
This panel has a backlight, so add a property describing that and add the code to use that. This makes things like xset dpms force off also turn off the backlight, so we do not need to rely on additional userspace programs to do that. Andreas Kemnade (2): drm/omap: panel-tpo-td028ttec1: add

Re: [PATCH] omap3: give off mode enable a more prominent place

2019-02-04 Thread Andreas Kemnade
On Mon, 4 Feb 2019 07:56:04 -0800 Tony Lindgren wrote: > * Andreas Kemnade [190202 06:01]: > > Enabling off mode was only reachable deeply hidden > > in the debugfs. As powersaving is an important feature, > > move the option out of its shady place. > > How abou

Re: [PATCH 1/2] drm/omap: panel-tpo-td028ttec1: add backlight support

2019-02-04 Thread Andreas Kemnade
Hi, On Mon, 4 Feb 2019 10:13:46 +0200 Tomi Valkeinen wrote: > Hi, > > On 19/01/2019 20:21, Andreas Kemnade wrote: > > This panel has a backlight, so fetch it from devicetree using the > > as documented in panel-common.txt. It is implemented the same way as in > >

Re: [PATCH] omap3: give off mode enable a more prominent place

2019-02-01 Thread Andreas Kemnade
On Sat, 2 Feb 2019 06:58:27 +0100 Andreas Kemnade wrote: > Enabling off mode was only reachable deeply hidden > in the debugfs. As powersaving is an important feature, > move the option out of its shady place. > The debugfs file can still be used to override the default. oops,

[PATCH] omap3: give off mode enable a more prominent place

2019-02-01 Thread Andreas Kemnade
Enabling off mode was only reachable deeply hidden in the debugfs. As powersaving is an important feature, move the option out of its shady place. The debugfs file can still be used to override the default. Signed-off-by: Andreas Kemnade --- arch/arm/mach-omap2/Kconfig| 8 arch/arm

Re: [PATCH v3 2/2] arm: dts: gta04: add gps support

2019-02-01 Thread Andreas Kemnade
On Fri, 1 Feb 2019 11:04:16 +0100 Johan Hovold wrote: > On Thu, Jan 31, 2019 at 07:06:40PM +0100, Andreas Kemnade wrote: > > The GTA04 has a w2sg0004 or w2sg0084 gps chip. Not detectable > > which one is mounted so use the compatibility entry for w2sg0004 > > for all whi

Re: [PATCH 0/2] drm/omap: panel-tpo-td028ttec1: add backlight support

2019-02-01 Thread Andreas Kemnade
ping On Sat, 19 Jan 2019 19:21:29 +0100 Andreas Kemnade wrote: > This panel has a backlight, so add a property describing that and > add the code to use that. > This makes things like xset dpms force off > also turn off the backlight, so we do not need to rely on additional > use

[PATCH v3 1/2] arm: dts: gta04: add ldo 3v3 regulator

2019-01-31 Thread Andreas Kemnade
Required for completeness sake to be able to specify a regulator for devices having a non-optional regulator property. It corresponds to the "3V3" net in the schematics. Signed-off-by: Andreas Kemnade --- new in v3 arch/arm/boot/dts/omap3-gta04.dtsi | 8 1 file changed, 8

[PATCH v3 0/2] arm: dts: gta04: add gps support

2019-01-31 Thread Andreas Kemnade
This patch series adds support for gps for gta04. Formerly it was a single patch, now a non-controllable regulator was added for completeness sake and to satisty binding requirements. Andreas Kemnade (2): arm: dts: gta04: add ldo 3v3 regulator arm: dts: gta04: add gps support arch/arm/boot

[PATCH v3 2/2] arm: dts: gta04: add gps support

2019-01-31 Thread Andreas Kemnade
The GTA04 has a w2sg0004 or w2sg0084 gps chip. Not detectable which one is mounted so use the compatibility entry for w2sg0004 for all which will work for both. Signed-off-by: Andreas Kemnade --- Changes in v3: - converted to a patchset - added vcc-supply Changes in v2: - some s/gps/gnss

Re: [PATCH v2] arm: dts: gta04: add gps support

2019-01-31 Thread Andreas Kemnade
On Wed, 30 Jan 2019 10:04:34 +0100 Johan Hovold wrote: > On Tue, Jan 29, 2019 at 08:38:43AM +0100, Andreas Kemnade wrote: > > The GTA04 has a w2sg0004 or w2sg0084 gps chip. Not detectable > > which one is mounted so use the compatibility entry for w2sg0004 > > for all whi

[PATCH] arm: dts: gta04: add pinctrl settings for wkup domain

2019-01-30 Thread Andreas Kemnade
There is one button and a notifier for incoming phone calls/text messages for which we should wakeup from suspend. Signed-off-by: Andreas Kemnade --- arch/arm/boot/dts/omap3-gta04.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch

Re: [Letux-kernel] [PATCH] arm: dts: gta04: add gps support

2019-01-30 Thread Andreas Kemnade
On Wed, 30 Jan 2019 15:06:12 +0100 "H. Nikolaus Schaller" wrote: > Hi Andreas, > > > Am 30.01.2019 um 10:02 schrieb Johan Hovold : > > > > On Mon, Jan 28, 2019 at 05:44:29PM +0100, Andreas Kemnade wrote: > >> On Mon, 28 Jan 2019 08:53:56 +0100 >

[PATCH v2] arm: dts: gta04: add gps support

2019-01-29 Thread Andreas Kemnade
The GTA04 has a w2sg0004 or w2sg0084 gps chip. Not detectable which one is mounted so use the compatibility entry for w2sg0004 for all which will work for both. Signed-off-by: Andreas Kemnade --- Changes in v2: - some s/gps/gnss/ - not added vcc-supply because the regulator is not modelled

Re: [PATCH] arm: dts: gta04: add gps support

2019-01-28 Thread Andreas Kemnade
On Mon, 28 Jan 2019 08:53:56 +0100 Johan Hovold wrote: > On Fri, Jan 25, 2019 at 08:43:10PM +0100, Andreas Kemnade wrote: > > The GTA04 has a w2sg0004 or w2sg0084 gps chip. Not detectable > > which one is mounted so use the compatibility entry for w2sg0004 > > for all whi

Re: [PATCH 2/3] bus: ti-sysc: Fix timer handling with drop pm_runtime_irq_safe()

2019-01-26 Thread Andreas Kemnade
on the parent device blocking the parent > devices from idling and has been forcing ti-sysc driver to use a > quirk flag. > > Note that we will move the timer data to DEBUG section later on in > clean-up patches. > together with 1/3 it fixes things on pyra. Tested-By: Andreas Kemnade pgp9kROwg4G9L.pgp Description: OpenPGP digital signature

Re: [PATCH 1/3] clocksource: timer-ti-dm: Fix pwm dmtimer usage of fck reparenting

2019-01-26 Thread Andreas Kemnade
imer_of_set_source with clean-up patches later on. > But for now, let's just fix it first by checking if parent and fck > are the same and bail out of so. > together with 2/3 it fixes things on pyra Tested-By: Andreas Kemnade pgp_fCL4xAXI5.pgp Description: OpenPGP digital signature

[PATCH] arm: dts: gta04: add gps support

2019-01-25 Thread Andreas Kemnade
The GTA04 has a w2sg0004 or w2sg0084 gps chip. Not detectable which one is mounted so use the compatibility entry for w2sg0004 for all which will work for both. Signed-off-by: Andreas Kemnade --- w2sg0004 bindings (together with the corresponding support is in https://git.kernel.org/pub/scm

[PATCH v4 0/5] gnss: sirf: add support for w2sg0004 + lna

2019-01-23 Thread Andreas Kemnade
ot; so the initial powerdown patch is unneeded - cleanups Andreas Kemnade (5): gnss: sirf: write data to gnss only when the gnss device is open gnss: sirf: add support for configurations without wakeup signal dt-bindings: gnss: add w2sg0004 compatible string gnss: sirf: add a separ

[PATCH v4 1/5] gnss: sirf: write data to gnss only when the gnss device is open

2019-01-23 Thread Andreas Kemnade
The api forbids writing data there otherwise. Prepare for the serdev_open()/close() being a part of sirf_set_active. Signed-off-by: Andreas Kemnade --- No changes in v4 Changes in v3: - add more locking - style cleanup - mutex *not* renamed since we need a second one Changes in v2: - add

[PATCH v4 4/5] gnss: sirf: add a separate supply for a lna

2019-01-23 Thread Andreas Kemnade
Devices might have a separate lna between antenna input of the gps chip and the antenna which might have a separate supply. Signed-off-by: Andreas Kemnade --- Changes in v4: - cleaned up error checking - was 5/6 earlier Changes in v3: - improved error checking - style cleanup Changes in v2

[PATCH v4 2/5] gnss: sirf: add support for configurations without wakeup signal

2019-01-23 Thread Andreas Kemnade
Some Wi2Wi devices do not have a wakeup output, so device state can only be indirectly detected by looking whether there is communication over the serial lines. This approach requires a report cycle set to a value less than 2 seconds to be reliable. Signed-off-by: Andreas Kemnade --- Changes

[PATCH v4 5/5] dt-bindings: gnss: add lna-supply property

2019-01-23 Thread Andreas Kemnade
Add lna-supply property. Signed-off-by: Andreas Kemnade Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/gnss/gnss.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/gnss/gnss.txt b/Documentation/devicetree/bindings/gnss/gnss.txt index

[PATCH v4 3/5] dt-bindings: gnss: add w2sg0004 compatible string

2019-01-23 Thread Andreas Kemnade
Add w2sg0004 compatible string since devices without wakeup pins are now supported. Signed-off-by: Andreas Kemnade Reviewed-by: Rob Herring Reviewed-by: Johan Hovold --- Documentation/devicetree/bindings/gnss/sirfstar.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation

Re: [PATCH 0/3] gnss: sirf: fixes and cleanup

2019-01-22 Thread Andreas Kemnade
Hi Johan, On Tue, 22 Jan 2019 18:22:52 +0100 Johan Hovold wrote: > These patches fixes an issue where the sirf wakeup interrupt was > prematurely enabled during probe. As Andreas suggested, we should also > make sure that the receiver is indeed suspended at probe (to avoid > wasting power until

Re: [PATCH v3 3/3] arm: omap_hwmod disable ick autoidling when a hwmod requires that

2019-01-21 Thread Andreas Kemnade
Hi, On Mon, 21 Jan 2019 09:07:43 -0800 Tony Lindgren wrote: > * Tero Kristo [190121 07:13]: > > On 18/01/2019 21:45, Tony Lindgren wrote: > > > * Andreas Kemnade [190118 19:39]: > > > > Hi, > > > > > > > > On Fri, 1

[PATCH 1/2] drm/omap: panel-tpo-td028ttec1: add backlight support

2019-01-19 Thread Andreas Kemnade
This panel has a backlight, so fetch it from devicetree using the as documented in panel-common.txt. It is implemented the same way as in panel-dpi.c This ensures the backlight is also disabled when the display is turned off like when doing xset dpms force off. Signed-off-by: Andreas Kemnade

[PATCH 2/2] dt-bindings: panel: td028ttec1: add backlight property

2019-01-19 Thread Andreas Kemnade
This add an additional backlight property as described in panel-common.txt Signed-off-by: Andreas Kemnade --- Documentation/devicetree/bindings/display/panel/tpo,td028ttec1.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/tpo,td028ttec1

[PATCH 0/2] drm/omap: panel-tpo-td028ttec1: add backlight support

2019-01-19 Thread Andreas Kemnade
This panel has a backlight, so add a property describing that and add the code to use that. This makes things like xset dpms force off also turn off the backlight, so we do not need to rely on additional userspace programs to do that. Andreas Kemnade (2): drm/omap: panel-tpo-td028ttec1: add

Re: [Letux-kernel] [PATCH v3 3/3] arm: omap_hwmod disable ick autoidling when a hwmod requires that

2019-01-18 Thread Andreas Kemnade
On Sat, 19 Jan 2019 12:09:48 +0530 "J, KEERTHY" wrote: > On 1/19/2019 1:18 AM, Tony Lindgren wrote: > > * Andreas Kemnade [190118 19:42]: > >> On Fri, 18 Jan 2019 20:38:47 +0100 > >> Andreas Kemnade wrote: > >> > >>> Hi, > >

Re: [Letux-kernel] [PATCH v3 3/3] arm: omap_hwmod disable ick autoidling when a hwmod requires that

2019-01-18 Thread Andreas Kemnade
On Fri, 18 Jan 2019 20:38:47 +0100 Andreas Kemnade wrote: > Hi, > > On Fri, 18 Jan 2019 10:36:30 -0800 > Tony Lindgren wrote: > > [...] > > til the next workaround. > > > > > That flags also causes the iclk being enabled/disabled > >

Re: [PATCH v3 3/3] arm: omap_hwmod disable ick autoidling when a hwmod requires that

2019-01-18 Thread Andreas Kemnade
Hi, On Fri, 18 Jan 2019 10:36:30 -0800 Tony Lindgren wrote: [...] > til the next workaround. > > > That flags also causes the iclk being enabled/disabled > > manually. > > Yes but SWSUP_IDLE for the interface clock to me currently > just means: > > "manually enable and disable ocp

Re: [PATCH v3 3/3] arm: omap_hwmod disable ick autoidling when a hwmod requires that

2019-01-18 Thread Andreas Kemnade
Hi, On Fri, 18 Jan 2019 07:48:07 -0800 Tony Lindgren wrote: > Hi, > > * Andreas Kemnade [190116 22:04]: > > Deny autoidle for hwmods with the OCPIF_SWSUP_IDLE flag, > > that makes hwmods working properly which cannot handle > > autoidle properly in lower power

[PATCH v3 0/3] mach-omap2: handle autoidle denial

2019-01-16 Thread Andreas Kemnade
of mutexes - invert counter logic - check whether clock type is basic Depends on: clk: ti: get rid of CLK_IS_BASIC Andreas Kemnade (3): clk: ti: add a usecount for autoidle clk: ti: check clock type before doing autoidle ops arm: omap_hwmod disable ick autoidling when a hwmod requires

[PATCH v3 3/3] arm: omap_hwmod disable ick autoidling when a hwmod requires that

2019-01-16 Thread Andreas Kemnade
in _setup_iclk_autoidle. dss_ick is an example for that. Signed-off-by: Andreas Kemnade --- Comments to v1 to this patch were worked into a new 2/3 --- arch/arm/mach-omap2/omap_hwmod.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCH v3 1/3] clk: ti: add a usecount for autoidle

2019-01-16 Thread Andreas Kemnade
Multiple users might deny autoidle on a clock. So we should have some counting here, also according to the comment in _setup_iclk_autoidle(). Also setting autoidle regs is not atomic, so there is another reason for locking. Signed-off-by: Andreas Kemnade --- Change since v2: - rebase on top

[PATCH v3 2/3] clk: ti: check clock type before doing autoidle ops

2019-01-16 Thread Andreas Kemnade
Code might use autoidle api with clocks not being omap2 clocks, so check if clock type is really omap2. Signed-off-by: Andreas Kemnade --- v3: replace CLK_IS_BASIC check New in v2 drivers/clk/ti/autoidle.c | 20 1 file changed, 16 insertions(+), 4 deletions(-) diff --git

[PATCH v3 6/6] dt-bindings: gnss: add lna-supply property

2019-01-16 Thread Andreas Kemnade
Add lna-supply property. Signed-off-by: Andreas Kemnade --- Changes in v3: - moved to gnss.txt Documentation/devicetree/bindings/gnss/gnss.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/gnss/gnss.txt b/Documentation/devicetree/bindings/gnss/gnss.txt

[PATCH v3 4/6] dt-bindings: gnss: add w2sg0004 compatible string

2019-01-16 Thread Andreas Kemnade
Add w2sg0004 compatible string since devices without wakeup pins are now supported. Signed-off-by: Andreas Kemnade Reviewed-by: Rob Herring Reviewed-by: Johan Hovold --- Documentation/devicetree/bindings/gnss/sirfstar.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation

[PATCH v3 2/6] gnss: sirf: set power state initially off

2019-01-16 Thread Andreas Kemnade
be justified Signed-off-by: Andreas Kemnade --- - was part of 2/5 in v2 drivers/gnss/sirf.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gnss/sirf.c b/drivers/gnss/sirf.c index b21e14351b82..c7706b91f6f0 100644 --- a/drivers/gnss/sirf.c +++ b/drivers/gnss/sirf.c @@ -367,6 +367,13

[PATCH v3 3/6] gnss: sirf: add support for configurations without wakeup signal

2019-01-16 Thread Andreas Kemnade
Some Wi2Wi devices do not have a wakeup output, so device state can only be indirectly detected by looking whether there is communitcation over the serial lines. This approach requires a report cycle set to a low value to be reliable. Signed-off-by: Andreas Kemnade --- Changes in v3: - was 2/5

[PATCH v3 5/6] gnss: sirf: add a separate supply for a lna

2019-01-16 Thread Andreas Kemnade
Devices might have a separate lna between antenna input of the gps chip and the antenna which might have a separate supply. Signed-off-by: Andreas Kemnade --- Changes in v3: - improved error checking - style cleanup Changes in v2: - handle lna also if there is no on-off gpio - rebase

<    1   2   3   4   5   >