Re: Black screen with gma500_gfx on 3.6.2

2012-10-29 Thread Guido Günther
On Mon, Oct 22, 2012 at 03:39:36PM +0100, Alan Cox wrote: > > [ 689.950596] gma500 :00:02.0: Backlight lvds set brightness 7a127a12 > > [ 689.950627] [drm] Initialized gma500 1.0.0 2011-06-06 for :00:02.0 > > on minor 0 > > It's got the LVDS configured it seems and the brightness was al

Black screen with gma500_gfx on 3.6.2

2012-10-21 Thread Guido Günther
Hi, when switching from psb_gfx (3.2) to 3.6.2 (or 3.7 as of 2474542f64432398f503373f53bdf620491bcfa8) I'm getting a black screen on a Axiomtek SBC84826 board with a HP 2310ti attached via VGA. When using CONFIG_STUB_POULSBO=y I do get a console but when I unbind the driver and attach gma500_gfx l

[PATCH v1 1/1] Input: gpio-keys - expose wakeup keys in sysfs

2024-05-09 Thread Guido Günther
This helps user space to figure out which keys should be used to unidle a device. E.g on phones the volume rocker should usually not unblank the screen. Signed-off-by: Guido Günther --- drivers/input/keyboard/gpio_keys.c | 23 --- 1 file changed, 16 insertions(+), 7

Re: [PATCH v1 1/1] Input: gpio-keys - expose wakeup keys in sysfs

2024-05-14 Thread Guido Günther
Hi, On Mon, May 13, 2024 at 03:13:53PM -0700, Dmitry Torokhov wrote: > Hi Guido, > > On Thu, May 09, 2024 at 02:00:28PM +0200, Guido Günther wrote: > > This helps user space to figure out which keys should be used to unidle a > > device. E.g on phones the volume rocker shoul

[PATCH] dts: imx8mq-librem5: Don't wake up on volume key press

2024-05-20 Thread Guido Günther
The only key that should wake up the phone is power button press. This prevents accidental wakeup due to e.g. pressing the buttons in the pocket or backpack and is in line what userspace uses to unblank the device. Signed-off-by: Guido Günther --- arch/arm64/boot/dts/freescale/imx8mq-librem5

Re: [PATCH v1 1/1] Input: gpio-keys - expose wakeup keys in sysfs

2024-07-21 Thread Guido Günther
Hi, On Tue, May 14, 2024 at 06:05:20PM +0200, Guido Günther wrote: > Hi, > On Mon, May 13, 2024 at 03:13:53PM -0700, Dmitry Torokhov wrote: > > Hi Guido, > > > > On Thu, May 09, 2024 at 02:00:28PM +0200, Guido Günther wrote: > > > This helps user space to figure

Re: [PATCH v2 2/4] usb: typec: tps6598x: Add trace event for status register

2021-02-14 Thread Guido Günther
ypec/./tps6598x_trace.h:157:1: sparse: sparse: too long token > >> expansion > I looked around but didn't find any hints how to fix this. Any pointers I missed (added the sparse list to cc:)? Cheers, -- Guido > vim +157 drivers/usb/typec/./tps6598x_trace.h > > c90c028

Re: [PATCH v2 2/4] usb: typec: tps6598x: Add trace event for status register

2021-02-15 Thread Guido Günther
Hi, On Sun, Feb 14, 2021 at 09:41:27PM +0100, Luc Van Oostenryck wrote: > On Sun, Feb 14, 2021 at 11:00:48AM -0800, Linus Torvalds wrote: > > On Sun, Feb 14, 2021 at 10:42 AM Ramsay Jones > > wrote: > > > > > > > > > > > I looked around but didn't find any hints how to fix this. Any pointers > > >

[PATCH v3 0/4] usb: typec: tps6598x: Add IRQ flag and register tracing

2021-02-15 Thread Guido Günther
re.kernel.org/linux-usb/20210213031237.GP219708@shao2-debian/ Guido Günther (4): usb: typec: tps6598x: Add trace event for IRQ events usb: typec: tps6598x: Add trace event for status register usb: typec: tps6598x: Add trace event for power status register usb: typec: tps6598x: Add trace e

[PATCH v3 2/4] usb: typec: tps6598x: Add trace event for status register

2021-02-15 Thread Guido Günther
This allows to trace status information which helps to debug problems with role switching, etc. We don't use the generic FIELD_GET() to reduce the macro size since we otherwise trip up sparse. Signed-off-by: Guido Günther --- drivers/usb/typec/tps6598x.c | 26 - drivers/usb/

[PATCH v3 3/4] usb: typec: tps6598x: Add trace event for power status register

2021-02-15 Thread Guido Günther
Together with the PD status register this is vital for debugging power negotiations at runtime. Signed-off-by: Guido Günther --- drivers/usb/typec/tps6598x.c | 19 +-- drivers/usb/typec/tps6598x.h | 19 +++ drivers/usb/typec/tps6598x_trace.h | 38

[PATCH v3 1/4] usb: typec: tps6598x: Add trace event for IRQ events

2021-02-15 Thread Guido Günther
Allow to get irq event information via the tracing framework. This allows to inspect USB-C negotiation at runtime. Signed-off-by: Guido Günther --- drivers/usb/typec/Makefile | 3 + drivers/usb/typec/tps6598x.c | 9 ++- drivers/usb/typec/tps6598x.h | 64

[PATCH v3 4/4] usb: typec: tps6598x: Add trace event for data status

2021-02-15 Thread Guido Günther
This is useful to debug DP negotiation and pin assignment even when the firmware does all the work. Signed-off-by: Guido Günther --- drivers/usb/typec/tps6598x.c | 12 ++- drivers/usb/typec/tps6598x.h | 38 + drivers/usb/typec/tps6598x_trace.h | 54

[PATCH v2 2/3] dt-bindings: Add Rocktech jh057n00900 panel bindings

2019-03-01 Thread Guido Günther
The Rocktec jh057n00900 is a 5.5" MIPI DSI video mode panel with a 720x1440 resolution and a built in backlight. Signed-off-by: Guido Günther --- .../display/panel/rocktech,jh057n00900.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 Document

[PATCH v2 0/3] drm/panel: Support Rocktech jh057n00900 DSI panel

2019-03-01 Thread Guido Günther
jh057n_of_match * Drop jh057n->enabled * Drop drm_display_info_set_bus_formats * Kconfig: Depend on BACKLIGHT_CLASS_DEVICE which somehow got lost * Move jh057n_enable close to jh057n_disable Guido Günther (3): dt-bindings: Add vendor prefix for ROCKTECH DISPLAYS LIMITED dt-bindings: Add Rock

[PATCH v2 3/3] drm/panel: Add Rocktech jh057n00900 panel driver

2019-03-01 Thread Guido Günther
t sequence (including sleeps) were provided by the vendor. Sleeps were reduced considerably though to speed up initialization. Signed-off-by: Guido Günther Cc: guido.gunt...@puri.sm --- drivers/gpu/drm/panel/Kconfig | 13 + drivers/gpu/drm/panel/Makefile| 1 + ...

[PATCH v2 1/3] dt-bindings: Add vendor prefix for ROCKTECH DISPLAYS LIMITED

2019-03-01 Thread Guido Günther
Add ROCKTECH DISPLAYS LIMITED (https://rocktech.com.hk) LCD panel supplier. Signed-off-by: Guido Günther --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation

Re: [PATCH 1/3] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-03-12 Thread Guido Günther
Hi, On Mon, Mar 11, 2019 at 04:46:53PM -0700, Angus Ainslie (Purism) wrote: > This is the development kit for the Librem 5. The current level of support > yields a working console and is able to boot userspace from the network > or eMMC. > > Additional subsystems that are active : > > - Both USB

Re: [PATCH 1/3] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-03-13 Thread Guido Günther
Hi, On Tue, Mar 12, 2019 at 11:59:10AM -0700, Angus Ainslie wrote: > On 2019-03-12 10:59, Guido Günther wrote: > > Hi, > > On Mon, Mar 11, 2019 at 04:46:53PM -0700, Angus Ainslie (Purism) wrote: > > > This is the development kit for the Librem 5. The current level of >

[PATCH] input: goodix - support Goodix gt5688

2019-01-28 Thread Guido Günther
>From what I've seen in vendor trees it's fine to treat this as gt1x¹. [1]: https://github.com/TadiT7/android_kernel_mtk-4.4/tree/master/drivers/input/touchscreen/mediatek/GT5688 Signed-off-by: Guido Günther --- Documentation/devicetree/bindings/input/touchscreen/goodix.txt |

[PATCH v1 0/4] usb: typec: tps6598x: Add IRQ flag and register tracing

2021-02-11 Thread Guido Günther
NNECTION|DP_CONNECTION, DP pinout D It should not impose any problems for firmwares that don't have IRQs for the registers enabled. The trace will then just be missing those events. Patch is against next-20210210. Guido Günther (4): usb: typec: tps6598x: Add trace event for IRQ events

[PATCH v1 1/4] usb: typec: tps6598x: Add trace event for IRQ events

2021-02-11 Thread Guido Günther
Allow to get irq event information via the tracing framework. This allows to inspect USB-C negotiation at runtime. Signed-off-by: Guido Günther --- drivers/usb/typec/Makefile | 3 + drivers/usb/typec/tps6598x.c | 9 ++- drivers/usb/typec/tps6598x.h | 61

[PATCH v1 2/4] usb: typec: tps6598x: Add trace event for status register

2021-02-11 Thread Guido Günther
This allows to trace status information which helps to debug problems with role switching, etc. Signed-off-by: Guido Günther --- drivers/usb/typec/tps6598x.c | 26 - drivers/usb/typec/tps6598x.h | 66 + drivers/usb/typec/tps6598x_trace.h | 94

[PATCH v1 3/4] usb: typec: tps6598x: Add trace event for power status register

2021-02-11 Thread Guido Günther
Together with the PD status register this is vital for debugging power negotiations at runtime. Signed-off-by: Guido Günther --- drivers/usb/typec/tps6598x.c | 19 +-- drivers/usb/typec/tps6598x.h | 19 +++ drivers/usb/typec/tps6598x_trace.h | 38

[PATCH v1 4/4] usb: typec: tps6598x: Add trace event for data status

2021-02-11 Thread Guido Günther
This is useful to debug DP negotiation and pin assignment even when the firmware does all the work. Signed-off-by: Guido Günther --- drivers/usb/typec/tps6598x.c | 12 ++- drivers/usb/typec/tps6598x.h | 36 drivers/usb/typec/tps6598x_trace.h | 54

[PATCH v2 3/4] usb: typec: tps6598x: Add trace event for power status register

2021-02-12 Thread Guido Günther
Together with the PD status register this is vital for debugging power negotiations at runtime. Signed-off-by: Guido Günther --- drivers/usb/typec/tps6598x.c | 19 +-- drivers/usb/typec/tps6598x.h | 19 +++ drivers/usb/typec/tps6598x_trace.h | 38

[PATCH v2 0/4] usb: typec: tps6598x: Add IRQ flag and register tracing

2021-02-12 Thread Guido Günther
uild (build testes on mips) Guido Günther (4): usb: typec: tps6598x: Add trace event for IRQ events usb: typec: tps6598x: Add trace event for status register usb: typec: tps6598x: Add trace event for power status register usb: typec: tps6598x: Add trace event for data status driv

[PATCH v2 4/4] usb: typec: tps6598x: Add trace event for data status

2021-02-12 Thread Guido Günther
This is useful to debug DP negotiation and pin assignment even when the firmware does all the work. Signed-off-by: Guido Günther --- drivers/usb/typec/tps6598x.c | 12 ++- drivers/usb/typec/tps6598x.h | 36 drivers/usb/typec/tps6598x_trace.h | 54

[PATCH v2 2/4] usb: typec: tps6598x: Add trace event for status register

2021-02-12 Thread Guido Günther
This allows to trace status information which helps to debug problems with role switching, etc. Signed-off-by: Guido Günther --- drivers/usb/typec/tps6598x.c | 26 - drivers/usb/typec/tps6598x.h | 66 + drivers/usb/typec/tps6598x_trace.h | 94

[PATCH v2 1/4] usb: typec: tps6598x: Add trace event for IRQ events

2021-02-12 Thread Guido Günther
Allow to get irq event information via the tracing framework. This allows to inspect USB-C negotiation at runtime. Signed-off-by: Guido Günther --- drivers/usb/typec/Makefile | 3 + drivers/usb/typec/tps6598x.c | 9 ++- drivers/usb/typec/tps6598x.h | 64

Re: [PATCH v3 0/1] phy: fsl-imx8-mipi-dphy: Hook into runtime pm

2021-02-19 Thread Guido Günther
Hi, On Wed, Dec 16, 2020 at 07:22:32PM +0100, Guido Günther wrote: > This allows us to shut down the mipi power domain on the imx8. The alternative > would be to drop the dphy from the mipi power domain in the SOCs device tree > and only have the DSI host controller visible there but sin

Re: [RFC PATCH 1/6] dt-bindings: display/bridge: Add binding for input mux bridge

2020-05-30 Thread Guido Günther
Hi Rob, On Thu, May 28, 2020 at 01:48:04PM -0600, Rob Herring wrote: > On Fri, May 15, 2020 at 03:12:10PM +0200, Guido Günther wrote: > > The bridge allows to select the input source via a mux controller. > > > > Signed-off-by: Guido Günther > > --- > > .../dis

Re: [PATCH 1/2] arm64: dts: Add a device tree for the Librem5 phone

2020-05-31 Thread Guido Günther
tin Kepplinger > > Signed-off-by: Angus Ainslie (Purism) > > Signed-off-by: Guido Günther > > > > + blue { > > + label = "phone:blue:front"; > > + label = "phone:green:front"; > > +

[PATCH v1 0/3] arm64: dts: imx8mq: Add NWL DSI host controller to Librem 5 Devkit

2020-07-29 Thread Guido Günther
. Guido Günther (3): arm64: dts: imx8mq: Add NWL MIPI DSI controller arm64: dts: imx8mq-librem5-devkit: Enable the LCD panel arm64: defconfig: Enable imx8mq-librem5-devkit display stack .../dts/freescale/imx8mq-librem5-devkit.dts | 33 + arch/arm64/boot/dts/freescale/imx8mq.dtsi

[PATCH v1 2/3] arm64: dts: imx8mq-librem5-devkit: Enable the LCD panel

2020-07-29 Thread Guido Günther
Enable LCD panel output by adding nodes for the NWL DSI host controller, the Rocktech panel and the eLCDIF display controller. Signed-off-by: Guido Günther --- .../dts/freescale/imx8mq-librem5-devkit.dts | 33 +++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot

[PATCH v1 1/3] arm64: dts: imx8mq: Add NWL MIPI DSI controller

2020-07-29 Thread Guido Günther
Add a node for the Northwest Logic MIPI DSI IP core, "disabled" by default. This also adds the necessary port to LCDIF. Signed-off-by: Guido Günther --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 49 +++ 1 file changed, 49 insertions(+) diff --git a/arch/arm6

[PATCH v1 3/3] arm64: defconfig: Enable imx8mq-librem5-devkit display stack

2020-07-29 Thread Guido Günther
Enable the panel, NWL DSI host controller and dphy. This also needs the reset controller. Signed-off-by: Guido Günther --- arch/arm64/configs/defconfig | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index

Re: [PATCH v8 2/5] drm/imx: Add initial support for DCSS on iMX8MQ

2020-07-29 Thread Guido Günther
Hi Laurentiu, On Fri, Jul 24, 2020 at 12:07:31PM +0300, Laurentiu Palcu wrote: > From: Laurentiu Palcu > > This adds initial support for iMX8MQ's Display Controller Subsystem (DCSS). > Some of its capabilities include: > * 4K@60fps; > * HDR10; > * one graphics and 2 video pipelines; > * on-th

Re: [PATCH v8 5/5] dt-bindings: display: imx: add bindings for DCSS

2020-07-29 Thread Guido Günther
Hi, On Fri, Jul 24, 2020 at 12:07:34PM +0300, Laurentiu Palcu wrote: > From: Laurentiu Palcu > > Add bindings for iMX8MQ Display Controller Subsystem. > > Signed-off-by: Laurentiu Palcu > Reviewed-by: Rob Herring > --- > .../bindings/display/imx/nxp,imx8mq-dcss.yaml | 104 ++ >

Re: [PATCH v8 0/5] Add support for iMX8MQ Display Controller Subsystem

2020-07-29 Thread Guido Günther
Hi, On Fri, Jul 24, 2020 at 12:07:29PM +0300, Laurentiu Palcu wrote: > From: Laurentiu Palcu > > Hi, > > This patchset adds initial DCSS support for iMX8MQ chip. Initial support > includes only graphics plane support (no video planes), no HDR10 capabilities, > no graphics decompression (only lin

Re: [PATCH v8 0/5] Add support for iMX8MQ Display Controller Subsystem

2020-07-29 Thread Guido Günther
Hi, On Wed, Jul 29, 2020 at 05:16:47PM +0300, Laurentiu Palcu wrote: > Hi Guido, > > On Wed, Jul 29, 2020 at 03:59:48PM +0200, Guido Günther wrote: > > Hi, > > On Fri, Jul 24, 2020 at 12:07:29PM +0300, Laurentiu Palcu wrote: > > > From: Laurentiu Palcu > > >

Re: [PATCH 0/2] Fix st7703 panel initialization failures

2020-07-29 Thread Guido Günther
Hi, On Sat, Jul 18, 2020 at 07:42:15PM +0200, Ondřej Jirman wrote: > Hello, > > On Sat, Jul 18, 2020 at 07:31:24PM +0200, Guido Günther wrote: > > Hi, > > On Thu, Jul 16, 2020 at 04:32:09PM +0200, Ondřej Jirman wrote: > > > Hi Guido, > > > > > >

Re: [PATCH v8 0/5] Add support for iMX8MQ Display Controller Subsystem

2020-07-30 Thread Guido Günther
Hi Laurentiu, On Thu, Jul 30, 2020 at 12:10:55PM +0300, Laurentiu Palcu wrote: > Hi Guido, > > On Wed, Jul 29, 2020 at 05:09:52PM +0200, Guido Günther wrote: > > Hi, > > On Wed, Jul 29, 2020 at 05:16:47PM +0300, Laurentiu Palcu wrote: > > > Hi Guido, > > &g

Re: [PATCH v9 1/5] drm/imx: compile imx directory by default

2020-07-31 Thread Guido Günther
IPUv3 core driver... > > The current patch would allow adding new IPs in the imx/ directory without > needing > to set DRM_IMX. Reviewed-by: Guido Günther > > Signed-off-by: Laurentiu Palcu > Reviewed-by: Lucas Stach > --- > drivers/gpu/drm/Makefile | 2 +-

Re: [PATCH v9 4/5] MAINTAINERS: Add entry for i.MX 8MQ DCSS driver

2020-07-31 Thread Guido Günther
Hi, On Fri, Jul 31, 2020 at 11:18:32AM +0300, Laurentiu Palcu wrote: > From: Laurentiu Palcu > > The driver is part of DRM subsystem and is located in > drivers/gpu/drm/imx/dcss. > > Signed-off-by: Laurentiu Palcu Reviewed-by: Guido Günther > --- > MAINTAINER

Re: [PATCH v9 5/5] dt-bindings: display: imx: add bindings for DCSS

2020-07-31 Thread Guido Günther
ck names >instead of their values; Reviewed-by: Guido Günther (and passed DT bindings check for me) -- Guido > > .../bindings/display/imx/nxp,imx8mq-dcss.yaml | 108 ++ > 1 file changed, 108 insertions(+) > create mode 100644 > Documentation/devicetree

Re: [PATCH v9 0/5] Add support for iMX8MQ Display Controller Subsystem

2020-07-31 Thread Guido Günther
Hi, On Fri, Jul 31, 2020 at 11:18:28AM +0300, Laurentiu Palcu wrote: > From: Laurentiu Palcu > > Hi, > > This patchset adds initial DCSS support for iMX8MQ chip. Initial support > includes only graphics plane support (no video planes), no HDR10 capabilities, > no graphics decompression (only lin

Re: [PATCH v9 2/5] drm/imx: Add initial support for DCSS on iMX8MQ

2020-07-31 Thread Guido Günther
ed and super-tiled buffers support (no graphics > decompression yet), no HDR10 and no video planes. > > Video planes support and HDR10 will be added in subsequent patches once > per-plane de-gamma/CSC/gamma support is in. > > Signed-off-by: Laurentiu Palcu > Reviewed-by: Lucas

Re: [PATCH] soc: imx: gpcv2: Use dev_err_probe() to simplify error handling

2020-08-11 Thread Guido Günther
t;Failed to get domain's clocks\n"); > - return ret; > - } > + if (ret) > + return dev_err_probe(domain->dev, ret, "Failed to get domain's > clocks\n"); > > ret = pm_genpd_init(&domain->genpd, NULL, true); > if (ret) { Reviewed-by: Guido Günther -- Guido > -- > 2.7.4 >

Re: [PATCH v8 0/3] drm: Add support for Cadence MHDP DPI/DP bridge and J721E wrapper.

2020-08-12 Thread Guido Günther
Hi, On Thu, Aug 06, 2020 at 01:34:29PM +0200, Swapnil Jakhade wrote: > This patch series adds new DRM bridge driver for Cadence MHDP DPI/DP > bridge. The Cadence Display Port IP is also referred as MHDP (Mobile High > Definition Link, High-Definition Multimedia Interface, Display Port). > Cadence D

Re: [PATCH v8 0/3] drm: Add support for Cadence MHDP DPI/DP bridge and J721E wrapper.

2020-08-12 Thread Guido Günther
Hi, On Wed, Aug 12, 2020 at 01:47:42PM +0300, Tomi Valkeinen wrote: > Hi Guido, > > On 12/08/2020 11:39, Guido Günther wrote: > > Hi, > > On Thu, Aug 06, 2020 at 01:34:29PM +0200, Swapnil Jakhade wrote: > >> This patch series adds new DRM bridge driver for Cadenc

Re: [PATCH 0/2] Fix st7703 panel initialization failures

2020-08-01 Thread Guido Günther
Hi Ondřej, On Thu, Jul 30, 2020 at 03:41:11PM +0200, Ondřej Jirman wrote: > Hello, > > On Wed, Jul 29, 2020 at 05:48:09PM +0200, Guido Günther wrote: > > Hi, > > On Sat, Jul 18, 2020 at 07:42:15PM +0200, Ondřej Jirman wrote: > > > Hello, > > > > &g

[PATCH v2 4/4] arm64: defconfig: Enable imx8mq-librem5-devkit display stack

2020-08-20 Thread Guido Günther
Enable the panel, NWL DSI host controller and dphy. This also needs the reset controller. Signed-off-by: Guido Günther Reviewed-by: Fabio Estevam --- arch/arm64/configs/defconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig

[PATCH v2 2/4] arm64: dts: imx8mq-librem5-devkit: Enable the LCD panel

2020-08-20 Thread Guido Günther
Enable LCD panel output by adding nodes for the NWL DSI host controller, the Rocktech panel and the eLCDIF display controller. Signed-off-by: Guido Günther Reviewed-by: Fabio Estevam --- .../dts/freescale/imx8mq-librem5-devkit.dts | 33 +++ 1 file changed, 33 insertions

[PATCH v2 3/4] arm64: defconfig: re-sync DRM related defconfig bits

2020-08-20 Thread Guido Günther
This moves the CONFIG_DRM_SIMPLE_BRIDGE entry around making further updates simpler. Signed-off-by: Guido Günther --- arch/arm64/configs/defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index a03cefd587996

[PATCH v2 1/4] arm64: dts: imx8mq: Add NWL MIPI DSI controller

2020-08-20 Thread Guido Günther
Add a node for the Northwest Logic MIPI DSI IP core, "disabled" by default. This also adds the necessary port to LCDIF. Signed-off-by: Guido Günther Reviewed-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 49 +++ 1 file changed, 49 insertion

[PATCH v2 0/4] arm64: dts: imx8mq: Add NWL DSI host controller to Librem 5 Devkit

2020-08-20 Thread Guido Günther
://lore.kernel.org/linux-arm-kernel/caomzo5dg5ngpj0sqkyny04kv3ky0619j7ywt-0ee1dsk19o...@mail.gmail.com/ - As per review comment by Fabio Estevam Re-sync DRM related defconfig bits. I didn't resyc the whole defconfig since this is pretty much kernel version dependent. Guido Günther (4): arm64

Re: [PATCH v1 3/3] arm64: defconfig: Enable imx8mq-librem5-devkit display stack

2020-08-20 Thread Guido Günther
Hi Fabio, On Thu, Aug 20, 2020 at 01:11:28AM -0300, Fabio Estevam wrote: > Hi Guido, > > On Wed, Jul 29, 2020 at 9:19 AM Guido Günther wrote: > > > > Enable the panel, NWL DSI host controller and dphy. This > > also needs the reset controller. > >

Re: [PATCH v3 0/3] drm/panel: Add panel driver for the Mantix MLAF057WE51-X DSI panel

2020-08-18 Thread Guido Günther
Hi Sam, On Tue, Aug 18, 2020 at 07:05:56PM +0200, Sam Ravnborg wrote: > Hi Guido. > > On Mon, Aug 17, 2020 at 10:14:33AM +0200, Guido Günther wrote: > > > > The panel uses a Focaltech FT8006p, the touch part is handled by the already > > existing edt-ft5x06. It can be

[PATCH v2] arm64: dts: imx8mq: Add clock parents for mipi dphy

2021-01-10 Thread Guido Günther
/217 if LCDIF doesn't set up that part of the clock tree first. This was noticed when testing the Librem 5 devkit with defconfig. It doesn't happen when modules are built in. Signed-off-by: Guido Günther --- Changes from v1: - as per review comment from Shawn Guo https://lore.kernel

Re: [PATCH] arm64: dts: imx8mq: Add clock parents for mipi dphy

2021-01-10 Thread Guido Günther
Hi, On Sun, Jan 10, 2021 at 08:46:29PM +0800, Shawn Guo wrote: > On Fri, Dec 18, 2020 at 06:50:05PM +0100, Guido Günther wrote: > > This makes sure the clock tree setup for the dphy is not dependent on > > other components. > > > > Without this change bringing u

Re: [PATCH v3 1/4] arm64: defconfig: Enable Librem 5 devkit components

2021-01-11 Thread Guido Günther
Hi, On Mon, Jan 11, 2021 at 08:23:09AM +0800, Shawn Guo wrote: > On Fri, Jan 08, 2021 at 01:57:07PM +0100, Guido Günther wrote: > > The Librem 5 devkit is based on NXP's i.MX8MQ. Schematics are at > > https://source.puri.sm/Librem5/dvk-mx8m-bsb. > > > > This e

Re: [PATCH v2] regulators: bd718x7: Add enable times

2020-12-21 Thread Guido Günther
Hi, On Mon, Dec 21, 2020 at 06:08:15AM +, Vaittinen, Matti wrote: > > On Fri, 2020-12-18 at 19:38 +0100, Guido Günther wrote: > > Use the typical startup times from the data sheet so boards get a > > reasonable default. Not setting any enable time can lead to board >

Re: [PATCH 0/4] phy: phy-fsl-imx8-mipi-dphy: Add i.MX8qxp LVDS PHY mode support

2020-12-08 Thread Guido Günther
Hi Liu, On Fri, Dec 04, 2020 at 03:33:40PM +0800, Liu Ying wrote: > Hi, > > This series adds i.MX8qxp LVDS PHY mode support for the Mixel PHY in the > Freescale i.MX8qxp SoC. This looks good to me from the NWL and actual phy driver part. I'll comment in the individual patches but leave comments o

Re: [PATCH 1/4] drm/bridge: nwl-dsi: Set PHY mode in nwl_dsi_enable()

2020-12-08 Thread Guido Günther
l_dsi_enable() to set PHY mode to MIPI DPHY > explicitly. > > Cc: Guido Günther > Cc: Robert Chiras > Cc: Martin Kepplinger > Cc: Andrzej Hajda > Cc: Neil Armstrong > Cc: Laurent Pinchart > Cc: Jonas Karlman > Cc: Jernej Skrabec > Cc: David Airlie > Cc: Dani

Re: [PATCH 3/4] dt-bindings: phy: mixel: mipi-dsi-phy: Add Mixel combo PHY support for i.MX8qxp

2020-12-08 Thread Guido Günther
und on Freescale i.MX8qxp SoC. > > Cc: Guido Günther > Cc: Kishon Vijay Abraham I > Cc: Vinod Koul > Cc: Rob Herring > Cc: NXP Linux Team > Signed-off-by: Liu Ying > --- > Documentation/devicetree/bindings/phy/mixel,mipi-dsi-phy.txt | 8 +++- > 1 file

Re: [PATCH 4/4] phy: freescale: phy-fsl-imx8-mipi-dphy: Add i.MX8qxp LVDS PHY mode support

2020-12-08 Thread Guido Günther
is patch supports the LVDS PHY mode only > for the i.MX8qxp Mixel combo PHY, i.e., the MIPI DPHY mode is yet to be > supported, so for now error would be returned from ->set_mode() if MIPI > DPHY mode is passed over to it for the combo PHY. > > Cc: Guido Günther > Cc: Robert

Re: [PATCH v2 6/6] dt-binding: display: mantix: Add compatible for panel from YS

2020-12-08 Thread Guido Günther
Hi, On Mon, Dec 07, 2020 at 03:32:06PM -0600, Rob Herring wrote: > On Wed, 18 Nov 2020 09:29:53 +0100, Guido Günther wrote: > > This panel from Shenzhen Yashi Changhua Intelligent Technology Co > > uses the same driver IC but a different LCD. > > > > Signed-off-by: Gui

[PATCH] spi: imx: Don't print error on -EPROBEDEFER

2021-01-18 Thread Guido Günther
This avoids [0.962538] spi_imx 3082.spi: bitbang start failed with -517 durig driver probe. Fixes: 8197f489f4c4 ("spi: imx: Fix failure path leak on GPIO request error correctly") Signed-off-by: Guido Günther --- drivers/spi/spi-imx.c | 2 +- 1 file changed, 1 inser

[PATCH v3 0/4] Config and device tree updates for the Librem 5 development kit

2021-01-08 Thread Guido Günther
ather make sure the board doesn't hang when resuming the gpu power domain. There's a generic fix pending for that helps all boards https://lore.kernel.org/lkml/beba25e85db20649aa040fc0ae549895c9265f6f.ca...@fi.rohmeurope.com/ Guido Günther (4): arm64: defconfig: Enable Librem 5 dev

[PATCH v3 4/4] arm64: dts: imx8mq-librem5-devkit: Drop custom clock settings

2021-01-08 Thread Guido Günther
24576000 0 0 5 sai6_root_clk 00024576000 0 0 5 Signed-off-by: Guido Günther Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 5 - 1 file changed, 5 deletions(-) diff

[PATCH v3 3/4] arm64: dts: imx8mq-librem5-devkit: Disable snvs_rtc

2021-01-08 Thread Guido Günther
The board has it's own RTC chip which is backed by the (optional) battery and hence preserves data/time on poweroff when that is inserted. Signed-off-by: Guido Günther Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 4 1 file chang

[PATCH v3 2/4] arm64: dts: imx8mq-librem5-devkit: Tweak pmic regulators

2021-01-08 Thread Guido Günther
be able to turn these off (and I've tested that or LDO6 and mipi with USB disabled) it is of little practical use atm since USB doesn't runtime suspend so let's revisit this at a later point. Signed-off-by: Guido Günther Reviewed-by: Krzysztof Kozlowski --- .../boot/dts/freescale

[PATCH v3 1/4] arm64: defconfig: Enable Librem 5 devkit components

2021-01-08 Thread Guido Günther
BQ25896 charge controller - NXP SGTL5000 audio codec - Microcrystal RV-4162-C7 RTC - magnetometer: CONFIG_IIO_ST_MAGN_3AXIS - the SIMCom SIM7100E/A modem - NXP PTN5110HQZ usb-c controller Signed-off-by: Guido Günther Reviewed-by: Krzysztof Kozlowski --- arch/arm64/configs/defconfig | 9 + 1

Re: [PATCH v2 0/4] Config and device tree updates for the Librem 5 devkit

2021-01-10 Thread Guido Günther
Hi Shawn, On Sun, Jan 10, 2021 at 08:26:18PM +0800, Shawn Guo wrote: > On Thu, Dec 17, 2020 at 04:13:11PM +0100, Guido Günther wrote: > > This enables more components to get a working display, panel, audio and > > sensors. It also updates some device tree bits to make mainline boot

Re: [PATCH v5 1/2] phy: core: Use runtime pm during configure too

2021-04-12 Thread Guido Günther
Hi, On Mon, Apr 12, 2021 at 04:40:56PM +0800, Liu Ying wrote: > Hi Guido, > > On Fri, 2021-04-09 at 13:40 +0200, Guido Günther wrote: > > The phy's configure phase usually needs register access so taking the > > device out of pm_runtime suspend looks useful. > > &

[PATCH v5 1/2] phy: core: Use runtime pm during configure too

2021-04-09 Thread Guido Günther
rs 'transparent' runtime phy_pm_runtime handling but manage it manually so this will for now only affect the phy-fsl-imx8-mipi-dphy driver. Signed-off-by: Guido Günther --- drivers/phy/phy-core.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/phy/phy-core.c b/dri

[PATCH v5 0/2] phy: fsl-imx8-mipi-dphy: Hook into runtime pm

2021-04-09 Thread Guido Günther
well Guido Günther (2): phy: core: Use runtime pm during configure too phy: fsl-imx8-mipi-dphy: Hook into runtime pm drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c | 13 + drivers/phy/phy-core.c | 6 ++ 2 files changed, 19 insertions(+) -- 2.30.1

[PATCH v5 2/2] phy: fsl-imx8-mipi-dphy: Hook into runtime pm

2021-04-09 Thread Guido Günther
vices/platform/soc@0/soc@0:bus@3080/30a0.mipi_dsi suspended Signed-off-by: Guido Günther --- drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c b/drivers/phy/freescale/phy-fsl-imx8

[PATCH v1 2/6] arm64: dts: librem5-devkit: Add speaker amplifier

2021-02-21 Thread Guido Günther
Wire up the amplifier that drives the builtin speaker. Signed-off-by: Guido Günther --- .../dts/freescale/imx8mq-librem5-devkit.dts | 21 +-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64

[PATCH v1 0/6] arm64: dts: librem5-devkit: Improve audio support

2021-02-21 Thread Guido Günther
x27;s done for the Librem 5. Patches are against next-20210210 but also apply against Shawn's imx-dt64-5.12 Guido Günther (6): arm64: dts: librem5-devkit: Use a less generic codec name arm64: dts: librem5-devkit: Add speaker amplifier arm64: dts: librem5-devkit: "Drop Line I

[PATCH v1 6/6] arm64: dts: librem5-devkit: Move headphone detection to sound card

2021-02-21 Thread Guido Günther
This allows for automatic output source switching in userspace. Enable the pullup on the GPIO to actually make it trigger and mark it as active-high since detection is reversed otherwise. Signed-off-by: Guido Günther --- .../dts/freescale/imx8mq-librem5-devkit.dts | 21 ++- 1

[PATCH v1 5/6] arm64: dts: librem5-devkit: Add mux for built-in vs headset mic

2021-02-21 Thread Guido Günther
Add mux so we can select either headset or built-in microphone input. Signed-off-by: Guido Günther --- .../dts/freescale/imx8mq-librem5-devkit.dts | 25 --- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts

[PATCH v1 3/6] arm64: dts: librem5-devkit: "Drop Line In Jack"

2021-02-21 Thread Guido Günther
The SGTL500s LINEINL and LINEINR are N/C. Signed-off-by: Guido Günther --- arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale

[PATCH v1 4/6] arm64: defconfig: Enable asoc simple mux

2021-02-21 Thread Guido Günther
This is needed to model the mic input mux on the Librem 5 devkit. Signed-off-by: Guido Günther --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index e830d1be6f27..762fb6a132df 100644 --- a/arch

[PATCH v1 1/6] arm64: dts: librem5-devkit: Use a less generic codec name

2021-02-21 Thread Guido Günther
The codec is currently named after the chip but it should be named like the device itself since otherwise it's impossible to distinguish it from other devices using the same codec (e.g. in alsa's UCM). Signed-off-by: Guido Günther --- arch/arm64/boot/dts/freescale/imx8mq-librem5-devk

[PATCH v4 1/1] phy: fsl-imx8-mipi-dphy: Hook into runtime pm

2021-02-22 Thread Guido Günther
vices/platform/soc@0/soc@0:bus@3080/30a0.mipi_dsi suspended Signed-off-by: Guido Günther --- drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c b/drivers/phy/freescale/phy-fsl-imx8-mipi-d

[PATCH v4 0/1] phy: fsl-imx8-mipi-dphy: Hook into runtime pm

2021-02-22 Thread Guido Günther
ayers runtime pm - simplify mixel_dphy_remove Guido Günther (1): phy: fsl-imx8-mipi-dphy: Hook into runtime pm drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c | 10 ++ 1 file changed, 10 insertions(+) -- 2.30.0

Re: [PATCH v2 1/1] phy: fsl-imx8-mipi-dphy: Hook into runtime pm

2021-02-22 Thread Guido Günther
Hi Liu, On Sat, Feb 20, 2021 at 01:37:29PM +0800, Liu Ying wrote: > Hi Guido, > > On Wed, 2020-12-16 at 12:27 +0100, Guido Günther wrote: > > This allows us to shut down the mipi power domain on the imx8. The > > alternative would be to drop the dphy from the mipi power d

[PATCH v1 0/6] drm/panel: mantix and st7703 fixes and additions

2020-11-17 Thread Guido Günther
This adds new panel type to the mantix driver as found on the Librem 5 and fixes a glitch in the init sequence (affecting both panels). The fix is at the start of the series to make backporting simpler. It also adds a patch to make st7703 use dev_err_probe(). Guido Günther (6): drm/panel

[PATCH v1 3/6] drm/panel: mantix: Allow to specify default mode for different panels

2020-11-17 Thread Guido Günther
This can be used to use different modes for differnt panels via OF device match. Signed-off-by: Guido Günther --- .../gpu/drm/panel/panel-mantix-mlaf057we51.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-mantix-mlaf057we51

[PATCH v1 5/6] dt-bindings: vendor-prefixes: Add ys vendor prefix

2020-11-17 Thread Guido Günther
Add prefix for Shenzhen Yashi Changhua Intelligent Technology Co., Ltd. Signed-off-by: Guido Günther --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation

[PATCH v1 1/6] drm/panel: st7703: Use dev_err_probe

2020-11-17 Thread Guido Günther
Less code and easier probe deferral debugging. Signed-off-by: Guido Günther --- drivers/gpu/drm/panel/panel-sitronix-st7703.c | 24 +++ 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7703.c b/drivers/gpu/drm/panel/panel

[PATCH v1 4/6] drm/panel: mantix: Support panel from Shenzhen Yashi Changhua Intelligent Technology Co

2020-11-17 Thread Guido Günther
The panel uses the same driver IC and has the same resolution but a slightly different default mode. It seems it can work with the same init sequence. Signed-off-by: Guido Günther --- drivers/gpu/drm/panel/panel-mantix-mlaf057we51.c | 16 1 file changed, 16 insertions(+) diff

[PATCH v1 2/6] drm/panel: mantix: Tweak init sequence

2020-11-17 Thread Guido Günther
We've seen some (non permanent) burn in and bad white balance on some of the panels. Adding this bit from a vendor supplied sequence fixes it. Fixes: 72967d5616d3 ("drm/panel: Add panel driver for the Mantix MLAF057WE51-X DSI panel") Signed-off-by: Guido Günther --- drivers/gpu/

[PATCH v1 6/6] dt-binding: display: mantix: Add compatible for panel from YS

2020-11-17 Thread Guido Günther
This panel from Shenzhen Yashi Changhua Intelligent Technology Co uses the same driver IC but a different LCD. Signed-off-by: Guido Günther --- .../devicetree/bindings/display/panel/mantix,mlaf057we51-x.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings

[PATCH v2 5/6] dt-bindings: vendor-prefixes: Add ys vendor prefix

2020-11-18 Thread Guido Günther
Add prefix for Shenzhen Yashi Changhua Intelligent Technology Co., Ltd. Signed-off-by: Guido Günther --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation

[PATCH v2 0/6] drm/panel: mantix and st7703 fixes and additions

2020-11-18 Thread Guido Günther
comments by Linus Walleij - fix alphabetical ordering in Documentation/devicetree/bindings/vendor-prefixes.yaml https://lore.kernel.org/dri-devel/CACRpkdao_TMcpRsdK=7k5fnkjse0bqwk58iwu0xsxddndcf...@mail.gmail.com/ - add reviewed by to all except 5/6, thanks Guido Günther (6): drm/panel

[PATCH v2 2/6] drm/panel: mantix: Tweak init sequence

2020-11-18 Thread Guido Günther
We've seen some (non permanent) burn in and bad white balance on some of the panels. Adding this bit from a vendor supplied sequence fixes it. Fixes: 72967d5616d3 ("drm/panel: Add panel driver for the Mantix MLAF057WE51-X DSI panel") Signed-off-by: Guido Günther Reviewed-by

[PATCH v2 3/6] drm/panel: mantix: Allow to specify default mode for different panels

2020-11-18 Thread Guido Günther
This can be used to use different modes for differnt panels via OF device match. Signed-off-by: Guido Günther Reviewed-by: Linus Walleij --- .../gpu/drm/panel/panel-mantix-mlaf057we51.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm

  1   2   3   4   >