Re: [PATCH v2 4/4] ARM: dts: add SKOV imx6q and imx6dl based boards

2021-07-22 Thread Shawn Guo
On Sun, Jul 18, 2021 at 10:22:14PM +0200, Sam Ravnborg wrote: > Hi Oleksij, > On Wed, Jul 14, 2021 at 06:53:49AM +0200, Oleksij Rempel wrote: > > From: Sam Ravnborg > > The real author one these dts files are Juergen Borleis IIRC. > I made some internal refactoring / renaming which is why I thing

Re: [PATCH v2 4/4] ARM: dts: add SKOV imx6q and imx6dl based boards

2021-07-25 Thread Shawn Guo
On Wed, Jul 14, 2021 at 06:53:49AM +0200, Oleksij Rempel wrote: > From: Sam Ravnborg > > Add SKOV imx6q/dl LT2, LT6 and mi1010ait-1cp1 boards. > > Signed-off-by: Sam Ravnborg > Signed-off-by: Søren Andersen > Signed-off-by: Juergen Borleis > Signed-off-by: Ulrich Ölmann > Signed-off-by: Mich

[PATCH 0/2] Add Truly NT35521 panel driver support

2021-08-04 Thread Shawn Guo
It adds a drm driver for Truly NT35521 5.24" 1280x720 DSI panel, which can be found on Sony Xperia M4 Aqua phone. Shawn Guo (2): dt-bindings: display: panel: Add Truly NT35521 panel support drm/panel: Add Truly NT35521 panel driver .../bindings/display/panel/truly,nt35521.yaml

[PATCH 1/2] dt-bindings: display: panel: Add Truly NT35521 panel support

2021-08-04 Thread Shawn Guo
The Truly NT35521 is a 5.24" 1280x720 DSI panel, and the backlight is managed through DSI link. Signed-off-by: Shawn Guo --- .../bindings/display/panel/truly,nt35521.yaml | 62 +++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/di

[PATCH 2/2] drm/panel: Add Truly NT35521 panel driver

2021-08-04 Thread Shawn Guo
It adds a drm driver for Truly NT35521 5.24" 1280x720 DSI panel, which can be found on Sony Xperia M4 Aqua phone. The panel backlight is managed through DSI link. Signed-off-by: Shawn Guo --- drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile

Re: [PATCH 1/2] dt-bindings: display: panel: Add Truly NT35521 panel support

2021-08-08 Thread Shawn Guo
On Wed, Aug 04, 2021 at 06:03:54PM +0200, Sam Ravnborg wrote: > Hi Shawn, > > On Wed, Aug 04, 2021 at 04:13:51PM +0800, Shawn Guo wrote: > > The Truly NT35521 is a 5.24" 1280x720 DSI panel, and the backlight is > > managed through DSI link. > > > > Signed-o

Re: [PATCH 2/2] drm/panel: Add Truly NT35521 panel driver

2021-08-08 Thread Shawn Guo
Hi Stephan, Thanks for looking at the patch! On Wed, Aug 04, 2021 at 02:09:19PM +0200, Stephan Gerhold wrote: > Hi Shawn, > > Thanks for the patch! > > On Wed, Aug 04, 2021 at 04:13:52PM +0800, Shawn Guo wrote: > > It adds a drm driver for Truly NT35521 5.24" 1280x72

Re: [PATCH 2/2] drm/panel: Add Truly NT35521 panel driver

2021-08-08 Thread Shawn Guo
Hi Sam, On Wed, Aug 04, 2021 at 06:24:12PM +0200, Sam Ravnborg wrote: > Hi Shawn, > > see a few comments in the following. Thanks for the review comments! All of them will be addressed in v2. Shawn > On Wed, Aug 04, 2021 at 04:13:52PM +0800, Shawn Guo wrote: > > It add

Re: [PATCH 2/2] drm/panel: Add Truly NT35521 panel driver

2021-08-08 Thread Shawn Guo
On Sun, Aug 08, 2021 at 05:29:30PM +0200, Stephan Gerhold wrote: > > 2) The driver works good, if the kernel is launched via "fastboot boot". > >But if the kernel is flashed to eMMC and launched by bootloader with > >splash screen, kernel will fail to bring up the panel. After kernel > >

[PATCH v2 0/2] Add Sony Tulip Truly NT35521 panel support

2021-08-08 Thread Shawn Guo
el 5V control GPIOs with regulators. - Rename Backlight GPIO as "backlight-gpios". [1] https://github.com/msm8916-mainline/linux-mdss-dsi-panel-driver-generator Shawn Guo (2): dt-bindings: display: Add Sony Tulip Truly NT35521 panel support drm/panel: Add Sony Tulip Truly NT35521 driver

[PATCH v2 1/2] dt-bindings: display: Add Sony Tulip Truly NT35521 panel support

2021-08-08 Thread Shawn Guo
The Sony Tulip Truly NT35521 is a 5.24" 1280x720 DSI panel, which can be found on Sony Xperia M4 Aqua phone. The backlight is managed through DSI link. Signed-off-by: Shawn Guo --- .../panel/sony,tulip-truly-nt35521.yaml | 72 +++ 1 file changed, 72 insertions(+) c

[PATCH v2 2/2] drm/panel: Add Sony Tulip Truly NT35521 driver

2021-08-08 Thread Shawn Guo
GPIOs with regulators and adding Backlight GPIO support. [1] https://github.com/msm8916-mainline/linux-mdss-dsi-panel-driver-generator Signed-off-by: Shawn Guo --- drivers/gpu/drm/panel/Kconfig | 10 + drivers/gpu/drm/panel/Makefile| 1 + .../panel/panel-sony-

Re: [PATCH 1/2] dt-bindings: display: panel: Add Truly NT35521 panel support

2021-08-13 Thread Shawn Guo
On Wed, Aug 11, 2021 at 12:51:56PM -0600, Rob Herring wrote: > On Wed, Aug 04, 2021 at 04:13:51PM +0800, Shawn Guo wrote: > > The Truly NT35521 is a 5.24" 1280x720 DSI panel, and the backlight is > > managed through DSI link. > > > > Signed-off-by: Shawn Guo &

Re: [PATCH v34 0/3] Mainline imx6 based SKOV boards

2021-08-13 Thread Shawn Guo
On Wed, Aug 04, 2021 at 06:34:36AM +0200, Oleksij Rempel wrote: > changes v4: > - add vref-supply to adc@0 > - split gpio assignment for the mdio node > > changes v3: > - drop panel bindings patches, it is already in drm-misc-next > - remove some new lines > - reorder compatibles at the start of t

Re: [PATCH v2 2/2] drm/panel: Add Sony Tulip Truly NT35521 driver

2021-08-23 Thread Shawn Guo
On Mon, Aug 09, 2021 at 01:10:08PM +0800, Shawn Guo wrote: > It adds a DRM panel driver for Sony Tulip Truly NT35521 5.24" 1280x720 > DSI panel, which can be found on Sony Xperia M4 Aqua phone. The panel > backlight is managed through DSI link. > > The driver is built using

Re: [PATCH] Revert "i2c: qcom-geni: Disable DMA processing on the Lenovo Yoga C630"

2020-11-29 Thread Shawn Guo
qcom-geni: > Disable DMA processing on the Lenovo Yoga C630")'. > > Signed-off-by: Bjorn Andersson Acked-by: Shawn Guo ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH] drm/bridge: ti-sn65dsi86: Implement the pwm_chip

2020-12-09 Thread Shawn Guo
On Mon, Dec 07, 2020 at 10:40:22PM -0600, Bjorn Andersson wrote: > The SN65DSI86 provides the ability to supply a PWM signal on GPIO 4, > with the primary purpose of controlling the backlight of the attached > panel. Add an implementation that exposes this using the standard PWM > framework, to all

[PATCH] drm/bridge: ti-sn65dsi86: rename GPIO register bits

2020-12-10 Thread Shawn Guo
From: Shawn Guo It renames GPIO register bits to drop 'SN_' prefix, so that they are consistent to other definitions - prefixing register name with 'SN_' but not for bit fields. Signed-off-by: Shawn Guo --- drivers/gpu/drm/bridge/ti-sn65dsi86.c | 26 +-

Re: [PATCH] drm/bridge: ti-sn65dsi86: Implement the pwm_chip

2020-12-10 Thread Shawn Guo
Hi Uwe, On Thu, Dec 10, 2020 at 9:05 PM Uwe Kleine-König wrote: > > > @@ -111,6 +118,8 @@ > > > > > > #define SN_LINK_TRAINING_TRIES 10 > > > > > > +#define SN_PWM_GPIO3 > > > > So this maps to the GPIO4 described in sn65dsi86 datasheet. I'm > > wondering if

Re: [PATCH v1 4/4] ARM: dts: add SKOV imx6q and imx6dl based boards

2021-07-13 Thread Shawn Guo
On Wed, Jun 09, 2021 at 02:10:50PM +0200, Oleksij Rempel wrote: > From: Sam Ravnborg > > Add SKOV imx6q/dl LT2, LT6 and mi1010ait-1cp1 boards. > > Signed-off-by: Sam Ravnborg > Signed-off-by: Søren Andersen > Signed-off-by: Juergen Borleis > Signed-off-by: Ulrich Ölmann > Signed-off-by: Mich

Re: [PATCH v2 2/2] drm/panel: Add Sony Tulip Truly NT35521 driver

2021-09-21 Thread Shawn Guo
On Tue, Aug 24, 2021 at 09:59:04PM +0200, Sam Ravnborg wrote: > On Tue, Aug 24, 2021 at 10:58:31AM +0800, Shawn Guo wrote: > > On Mon, Aug 09, 2021 at 01:10:08PM +0800, Shawn Guo wrote: > > > It adds a DRM panel driver for Sony Tulip Truly NT35521 5.24" 1280x720 > > &g

Re: [PATCH v1 4/4] ARM: dts: imx6dl: plym2m, prtvt7, victgo: make use of new resistive-adc-touch driver

2022-01-25 Thread Shawn Guo
On Wed, Jan 05, 2022 at 12:04:34PM +0100, Oleksij Rempel wrote: > Hi Shawn, > > sorry for the delay, I just came back to work. > > On Mon, Dec 06, 2021 at 09:06:28AM +0800, Shawn Guo wrote: > > On Mon, Nov 22, 2021 at 01:43:10PM +0100, Oleksij Rempel wrote: > > >

Re: [PATCH v1 2/4] ARM: dts: imx6dl-prtvt7: Add missing tvp5150 video decoder node

2021-12-06 Thread Shawn Guo
On Mon, Nov 22, 2021 at 01:43:08PM +0100, Oleksij Rempel wrote: > From: Robin van der Gracht > > Signed-off-by: Robin van der Gracht > --- > arch/arm/boot/dts/imx6dl-prtvt7.dts | 40 + > 1 file changed, 40 insertions(+) > > diff --git a/arch/arm/boot/dts/imx6dl-prtv

Re: [PATCH v1 4/4] ARM: dts: imx6dl: plym2m, prtvt7, victgo: make use of new resistive-adc-touch driver

2021-12-06 Thread Shawn Guo
On Mon, Nov 22, 2021 at 01:43:10PM +0100, Oleksij Rempel wrote: > The tsc2046 is an ADC used as touchscreen controller. To share as mach > code as possible, we should use it as actual ADC + virtual tochscreen > controller. > With this patch we make use of the new kernel IIO and HID infrastructure.

Re: [PATCH v7 0/8] mainline Plymovent M2M and BAS board

2021-01-06 Thread Shawn Guo
On Mon, Dec 07, 2020 at 03:09:31PM +0100, Oleksij Rempel wrote: > changes v7: > - panel-simple.yaml: fix comments and part order > - panel-simple.yaml: invent a product description for the Kyocera tcg070wvlq > panel > > changes v6: > - do more panel-simple.yaml related cleanups > > changes v5: >

[PATCH] drm: drop DRIVER_HAVE_IRQ flag for some drivers

2016-08-12 Thread Shawn Guo
DRIVER_HAVE_IRQ makes no sense there. Drop the flag for these drivers to avoid confusion. Signed-off-by: Shawn Guo --- drivers/gpu/drm/armada/armada_drv.c | 2 +- drivers/gpu/drm/etnaviv/etnaviv_drv.c | 3 +-- drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c | 2 +- drivers/gpu

[PATCH] drm: drop DRIVER_HAVE_IRQ flag for some drivers

2016-08-16 Thread Shawn Guo
On Fri, Aug 12, 2016 at 03:03:31PM +0100, Russell King - ARM Linux wrote: > On Fri, Aug 12, 2016 at 01:15:37PM +0800, Shawn Guo wrote: > > The drm driver feature flag DRIVER_HAVE_IRQ is used to indicates whether > > the driver has an IRQ handler managed by the DRM core. Some driv

[PATCH v2] drm: drop DRIVER_HAVE_IRQ flag for some drivers

2016-08-16 Thread Shawn Guo
r setup in drm_driver. These drivers manage IRQ handler by themselves and the flag DRIVER_HAVE_IRQ makes no sense there. Drop the flag for these drivers to avoid confusion. Signed-off-by: Shawn Guo Cc: Vincent Abriou Cc: Xinliang Liu Acked-by: Russell King (for armada and etnaviv) --- Chan

Re: [PATCH 0/2] drm: imx: Add NWL MIPI DSI host controller support

2019-05-26 Thread Shawn Guo
On Wed, May 08, 2019 at 07:18:27PM +0200, Guido Günther wrote: > If somebody is working on DCSS support it'd be cool to know since this I have some time slots here and will start looking at it, if no one else is already working on it. Shawn > driver is currently a component of imx-display-subsys

Re: [PATCH 0/2] drm: imx: Add NWL MIPI DSI host controller support

2019-05-27 Thread Shawn Guo
Hi Lucas, On Mon, May 27, 2019 at 03:36:53PM +0200, Lucas Stach wrote: > We have been looking at how to support DCSS in mainline for a while, > but most of the actual work got pushed behind in schedule due to other > priorities. I have some time to contribute. Would you suggest how I should help

Re: [EXT] Re: [PATCH 0/2] drm: imx: Add NWL MIPI DSI host controller support

2019-05-28 Thread Shawn Guo
Hi Laurentiu, On Tue, May 28, 2019 at 07:03:54AM +, Laurentiu Palcu wrote: > Hi Shawn, Lucas, > > On Tue, May 28, 2019 at 09:38:02AM +0800, Shawn Guo wrote: > > Caution: EXT Email > > > > Hi Lucas, > > > > On Mon, May 27, 2019 at 03:36:53PM +0200

Re: [PATCH 39/59] drm/zte: Drop drm_gem_prime_export/import

2019-06-18 Thread Shawn Guo
On Fri, Jun 14, 2019 at 10:35:55PM +0200, Daniel Vetter wrote: > They're the default. > > Aside: Would be really nice to switch the others over to > drm_gem_object_funcs. > > Signed-off-by: Daniel Vetter > Cc: Shawn Guo Acked-by: Shawn Guo > --- > driv

Re: [PATCH] ARM: imx_v6_v7_defconfig: Enable CONFIG_PWM_IMX27

2019-03-21 Thread Shawn Guo
On Thu, Mar 21, 2019 at 10:49:03AM +0100, Uwe Kleine-König wrote: > Hello, > > On Wed, Mar 20, 2019 at 01:01:26PM +, Leonard Crestez wrote: > > Commit d80f8206905c ("pwm: imx: Split into two drivers") also adds a new > > CONFIG_PWM_IMX27 for the PWM block on recent IMX chips and we should > >

Re: [PATCH v1 10/33] drm/zte: drop use of drmP.h

2019-07-18 Thread Shawn Guo
On Sun, Jun 30, 2019 at 08:18:59AM +0200, Sam Ravnborg wrote: > Drop use of the deprecated drmP.h header file. > Fix fallout. > > Signed-off-by: Sam Ravnborg > Cc: Shawn Guo > Cc: David Airlie > Cc: Daniel Vetter Acked-by: Shawn Guo

Re: [PATCH v4 12/23] drm: zte: Provide ddc symlink in hdmi connector sysfs directory

2019-07-22 Thread Shawn Guo
On Thu, Jul 11, 2019 at 01:26:39PM +0200, Andrzej Pietrasiewicz wrote: > Use the ddc pointer provided by the generic connector. > > Signed-off-by: Andrzej Pietrasiewicz Acked-by: Shawn Guo ___ dri-devel mailing list dri-devel@lists.freede

Re: [PATCH v4 13/23] drm: zte: Provide ddc symlink in vga connector sysfs directory

2019-07-22 Thread Shawn Guo
On Thu, Jul 11, 2019 at 01:26:40PM +0200, Andrzej Pietrasiewicz wrote: > Use the ddc pointer provided by the generic connector. > > Signed-off-by: Andrzej Pietrasiewicz Acked-by: Shawn Guo ___ dri-devel mailing list dri-devel@lists.freede

Re: [PATCH v2 2/5] ARM: dts: imx6dl-prtvt7: Add missing tvp5150 video decoder node

2022-02-11 Thread Shawn Guo
On Mon, Jan 31, 2022 at 11:28:38AM +0100, Oleksij Rempel wrote: > From: Robin van der Gracht > > Signed-off-by: Robin van der Gracht Please write up some commit log. Also your SoB is missing. Shawn > --- > arch/arm/boot/dts/imx6dl-prtvt7.dts | 42 + > 1 file chan

Re: [PATCH v3 3/5] ARM: dts: imx6qdl-vicut1: add CAN termination support

2022-02-12 Thread Shawn Guo
On Fri, Feb 11, 2022 at 02:30:33PM +0100, Oleksij Rempel wrote: > The gpio1 0 pin is controlling CAN termination, not USB H1 VBUS. So, > remove wrong regulator and assign this gpio to new DT CAN termnation Sigh, the typo is still there with a new version. Fixed it up and applied the series. Shaw

Re: [PATCH v1 1/8] ARM: dts: imx6qdl-vicut1/vicutgo: Set default backlight brightness to maximum

2022-04-05 Thread Shawn Guo
On Mon, Feb 21, 2022 at 10:53:05AM +0100, Oleksij Rempel wrote: > From: David Jander > > Recover default behavior of the device and set maximal brightness > > Signed-off-by: David Jander > Signed-off-by: Oleksij Rempel > --- > arch/arm/boot/dts/imx6dl-victgo.dts | 2 +- > arch/arm/boot/dts/

Re: [PATCH v1 1/8] ARM: dts: imx6qdl-vicut1/vicutgo: Set default backlight brightness to maximum

2022-04-05 Thread Shawn Guo
On Wed, Apr 6, 2022 at 9:23 AM Shawn Guo wrote: > > On Mon, Feb 21, 2022 at 10:53:05AM +0100, Oleksij Rempel wrote: > > From: David Jander > > > > Recover default behavior of the device and set maximal brightness > > > > Signed-off-by: David Jande

Re: [PATCH v1 5/8] ARM: dts: imx6qdl-vicut1/vicutgo: The sgtl5000 uses i2s not ac97

2022-04-05 Thread Shawn Guo
On Mon, Feb 21, 2022 at 10:53:09AM +0100, Oleksij Rempel wrote: > From: Robin van der Gracht > > According to Documentation/devicetree/bindings/sound/fsl,ssi.txt > 'fsl,mode' should be specified for AC97 mode only. > > The 'fsl,ssi' documentation doesn't say anything about specifying > 'sound-da

Re: [PATCH v1 1/8] ARM: dts: imx6qdl-vicut1/vicutgo: Set default backlight brightness to maximum

2022-04-05 Thread Shawn Guo
On Mon, Feb 21, 2022 at 10:53:05AM +0100, Oleksij Rempel wrote: > From: David Jander > > Recover default behavior of the device and set maximal brightness > > Signed-off-by: David Jander > Signed-off-by: Oleksij Rempel Applied, thanks!

Re: [PATCH v1 2/8] ARM: dts: imx6qdl-vicut1/vicutgo: Rename backlight to backlight_lcd

2022-04-05 Thread Shawn Guo
On Mon, Feb 21, 2022 at 10:53:06AM +0100, Oleksij Rempel wrote: > From: David Jander > > We have two backlight sources on this boards. Use more specific name for > the LCD backlight to see the difference. > > Signed-off-by: David Jander > Signed-off-by: Robin van der Gracht > Signed-off-by: Ol

Re: [PATCH v1 3/8] ARM: dts: imx6qdl-vicut1/vicutgo: Add backlight_led node

2022-04-05 Thread Shawn Guo
On Mon, Feb 21, 2022 at 10:53:07AM +0100, Oleksij Rempel wrote: > From: David Jander > > backlight_led is the dimmable backlight for the rubber border on the case. It > is also used to highlight the power- and some other buttons. > > MX6QDL_PAD_SD4_DAT1__PWM3_OUT is also assigned as output for p

Re: [PATCH v1 4/8] ARM: dts: imx6qdl-vicut1: update gpio-line-names for some GPIOs

2022-04-05 Thread Shawn Guo
On Mon, Feb 21, 2022 at 10:53:08AM +0100, Oleksij Rempel wrote: > From: David Jander > > countedX lines have different board names (YACO_x). And REV_ and BOARD_ pins > have multiple functions. So, use names exposed to the OS. > > Signed-off-by: David Jander > Signed-off-by: Oleksij Rempel App

Re: [PATCH v1 6/8] ARM: dts: imx6dl-victgo: Add interrupt-counter nodes

2022-04-05 Thread Shawn Guo
On Mon, Feb 21, 2022 at 10:53:10AM +0100, Oleksij Rempel wrote: > From: Robin van der Gracht > > Interrupt counter is mainlined, now we can add missing counter nodes. > > Signed-off-by: Robin van der Gracht > Signed-off-by: Oleksij Rempel Applied, thanks!

Re: [PATCH v1 7/8] ARM: dts: imx6dl-victgo: The TGO uses a lg,lb070wv8 compatible 7" display

2022-04-05 Thread Shawn Guo
On Mon, Feb 21, 2022 at 10:53:11AM +0100, Oleksij Rempel wrote: > From: Robin van der Gracht > > This series of devices is using lg,lb070wv8 instead of kyo,tcg121xglp. > > Signed-off-by: Robin van der Gracht > Signed-off-by: Oleksij Rempel Applied, thanks!

Re: [PATCH v1 8/8] ARM: dts: imx6qdl-victgo: add CAN termination support

2022-04-05 Thread Shawn Guo
On Mon, Feb 21, 2022 at 10:53:12AM +0100, Oleksij Rempel wrote: > From: David Jander > > The gpio1 0 pin is controlling CAN termination, not USB H1 VBUS. So, > remove wrong regulator and assign this gpio to new DT CAN termination > property. > > Signed-off-by: David Jander > Signed-off-by: Olek

Re: [PATCH v2 2/2] dt-bindings: etnaviv: Add #cooling-cells

2019-10-06 Thread Shawn Guo
On Mon, Sep 16, 2019 at 04:32:55PM +0200, Lucas Stach wrote: > On Mi, 2019-09-11 at 19:40 -0700, Guido Günther wrote: > > Add #cooling-cells for when the gpu acts as a cooling device. > > > > Signed-off-by: Guido Günther > > Reviewed-by: Lucas Stach Lucas, I assume you will pick it up. Shawn

Re: [PATCH v2 1/2] dts: arm64: imx8mq: Enable gpu passive throttling

2019-10-06 Thread Shawn Guo
On Wed, Sep 11, 2019 at 07:40:35PM -0700, Guido Günther wrote: > Temperature and hysteresis were picked after the CPU. > > Signed-off-by: Guido Günther The patch prefix should be 'arm64: dts: ...' I fixed it up and applied the patch. Shawn > --- > arch/arm64/boot/dts/freescale/imx8mq.dtsi |

Re: [PATCH 07/11] dts: arm64: layerscape: add dma-ranges property to qoric-mc node

2019-10-14 Thread Shawn Guo
On Tue, Sep 24, 2019 at 08:12:38PM +0200, Nicolas Saenz Julienne wrote: > qoriq-mc's dpmacs DMA configuration is inherited from their parent node, > which acts a bus in this regard. So far it maked all devices as > dma-coherent but no dma-ranges recommendation is made. > > The truth is that the un

Re: [PATCH 08/11] dts: arm64: layerscape: add dma-ranges property to pcie nodes

2019-10-14 Thread Shawn Guo
On Tue, Sep 24, 2019 at 08:12:39PM +0200, Nicolas Saenz Julienne wrote: > The bus behind the board's PCIe core has DMA addressing limitations. Add > an empty 'dma-ranges' property on all PCIe bus descriptions to inform > the OF core that a translation is due further down the line. > > Signed-off-b

Re: [PATCH 07/11] dts: arm64: layerscape: add dma-ranges property to qoric-mc node

2019-10-14 Thread Shawn Guo
On Mon, Oct 14, 2019 at 12:00:25PM +0200, Nicolas Saenz Julienne wrote: > On Mon, 2019-10-14 at 16:28 +0800, Shawn Guo wrote: > > On Tue, Sep 24, 2019 at 08:12:38PM +0200, Nicolas Saenz Julienne wrote: > > > qoriq-mc's dpmacs DMA configuration is inherited from their parent

Re: [PATCHv2 5/5] ARM: dts: imx6: Add GE B1x5v2

2021-05-22 Thread Shawn Guo
On Thu, Apr 29, 2021 at 12:29:53AM +0200, Sebastian Reichel wrote: > This adds device tree files for the General Electric Healthcare > (GEHC) B1x5v2 series. All models make use of Congatec's QMX6 module, > which is described in its own device tree include, so that it can > also be used by other boa

Re: [PATCH v3 3/6] ARM: dts: freescale: Use new media bus type macros

2023-01-24 Thread Shawn Guo
On Thu, Jun 16, 2022 at 01:14:07AM +0300, Laurent Pinchart wrote: > Now that a header exists with macros for the media interface bus-type > values, replace hardcoding numerical constants with the corresponding > macros in the DT sources. > > Signed-off-by: Laurent Pinchart Applied, thanks!

[PATCH v2 1/2] dt-bindings: add bindings doc for ZTE VOU display controller

2016-10-09 Thread Shawn Guo
On Mon, Oct 03, 2016 at 12:44:29PM -0500, Rob Herring wrote: > > +Example: > > + > > +vou: vou at 144 { > > + compatible = "zte,zx296718-vou"; > > + #address-cells = <1>; > > + #size-cells = <1>; > > + reg = <0x144 0x1>; > > + ranges; > > You still have overlapping addresses.

[PATCH v3 0/3] Add initial ZTE VOU DRM/KMS driver

2016-10-20 Thread Shawn Guo
ew coding style improvements like defining macro for sub-module address and changing code to save indentation level - Add a MAINTAINERS entry for ZTE ZX DRM driver Changes for v2: - Change device tree bindings to kill the virtual display-subsystem node make VOU the parent node. Shawn Guo (3): d

[PATCH v3 1/3] dt-bindings: add bindings doc for ZTE VOU display controller

2016-10-20 Thread Shawn Guo
It adds initial bindings doc for ZTE VOU display controller. HDMI is the only supported output device right now. Signed-off-by: Shawn Guo Acked-by: Rob Herring --- .../devicetree/bindings/display/zte,vou.txt| 84 ++ 1 file changed, 84 insertions(+) create mode

[PATCH v3 2/3] drm: zte: add initial vou drm driver

2016-10-20 Thread Shawn Guo
It adds the initial ZTE VOU display controller DRM driver. There are still some features to be added, like overlay plane, scaling, and more output devices support. But it's already useful with dual CRTCs and HDMI monitor working. Signed-off-by: Shawn Guo --- drivers/gpu/drm/Kc

[PATCH v3 3/3] MAINTAINERS: add an entry for ZTE ZX DRM driver

2016-10-20 Thread Shawn Guo
Add myself as the maintainer of ZTE ZX DRM driver. Signed-off-by: Shawn Guo --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 1cd38a7e0064..907dbd3261c5 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4281,6 +4281,13 @@ S: Maintained

Re: [PATCH 4/4] drm: zte: add VGA driver support

2017-04-04 Thread Shawn Guo
On Mon, Apr 03, 2017 at 11:23:51AM +0200, Daniel Vetter wrote: > > +static int zx_vga_ddc_register(struct zx_vga *vga) > > +{ > > + struct device *dev = vga->dev; > > + struct i2c_adapter *adap; > > + struct zx_vga_i2c *ddc; > > + int ret; > > + > > + ddc = devm_kzalloc(dev, sizeof(*ddc),

Re: [PATCH 4/4] drm: zte: add VGA driver support

2017-04-04 Thread Shawn Guo
On Tue, Apr 04, 2017 at 01:32:39PM -0400, Sean Paul wrote: > On Tue, Apr 04, 2017 at 09:47:38PM +0800, Shawn Guo wrote: > > On Mon, Apr 03, 2017 at 11:23:51AM +0200, Daniel Vetter wrote: > > > > +static int zx_vga_ddc_register(struct zx_vga *vga) > > > > +{ > &g

Re: [PATCH 4/4] drm: zte: add VGA driver support

2017-04-05 Thread Shawn Guo
On Tue, Apr 04, 2017 at 01:46:48PM -0400, Sean Paul wrote: > > +static int zx_vga_register(struct drm_device *drm, struct zx_vga *vga) > > +{ > > + struct drm_encoder *encoder = &vga->encoder; > > + struct drm_connector *connector = &vga->connector; > > + > > + encoder->possible_crtcs = VOU_C

[PATCH v2 0/4] Add ZTE VGA driver support

2017-04-06 Thread Shawn Guo
From: Shawn Guo The series adds the driver for ZTE VGA device, which becomes the third VOU output device we support, besides the existing HDMI and TV Encoder. Changes for v2: - Add return check for encoder and connector init function calls. - Improve comments in function zx_vga_irq_handler

[PATCH v2 3/4] dt-bindings: display: add support for ZTE VGA device

2017-04-06 Thread Shawn Guo
From: Shawn Guo It adds bindings doc for ZTE VOU VGA output device. Signed-off-by: Shawn Guo --- .../devicetree/bindings/display/zte,vou.txt | 21 + 1 file changed, 21 insertions(+) diff --git a/Documentation/devicetree/bindings/display/zte,vou.txt b

[PATCH v2 1/4] drm: zte: do not enable clock auto-gating by default

2017-04-06 Thread Shawn Guo
From: Shawn Guo Some VOU modules do not work well with clock auto-gating. For example, VGA I2C bus will fail to read EDID data from monitor. Let's not enable this feature by default, and leave it to the possible future low-power optimization. Signed-off-by: Shawn Guo Reviewed-by: Sean

[PATCH v2 2/4] drm: zte: move CSC register definitions into a common header

2017-04-06 Thread Shawn Guo
From: Shawn Guo The CSC (Color Space Conversion) block in VOU is used by not only Graphic Layer (plane) but also channel (CRTC) module. Let's move its register definitions into a common header, so that CRTC driver can include it when needed. Signed-off-by: Shawn Guo Reviewed-by: Sean

[PATCH v2 4/4] drm: zte: add VGA driver support

2017-04-06 Thread Shawn Guo
From: Shawn Guo It adds VGA driver support, which needs to configure corresponding VOU interface in RGB_888 format, and thus the following changes are needed on zx_vou. - Rename the CSC block of Graphic Layer a bit to make it more specific, and add CSC of Channel to support RGB output

Re: [PATCH v2 4/4] drm: zte: add VGA driver support

2017-04-06 Thread Shawn Guo
On Thu, Apr 06, 2017 at 01:12:51PM -0400, Sean Paul wrote: > On Thu, Apr 06, 2017 at 11:01:10PM +0800, Shawn Guo wrote: > > +static int zx_vga_connector_get_modes(struct drm_connector *connector) > > +{ > > + struct zx_vga *vga = to_zx_vga(connector); > > + unsigned

Re: [PATCH v2 4/4] drm: zte: add VGA driver support

2017-04-11 Thread Shawn Guo
On Fri, Apr 07, 2017 at 10:43:02AM -0400, Sean Paul wrote: > On Fri, Apr 07, 2017 at 11:02:33AM +0800, Shawn Guo wrote: > > When you suggested to have a lock for DETECT_SEL register access, I > > thought we are accessing it in a read-modify-write way and thus agreed > > to ad

[PATCH v3 4/4] drm: zte: add VGA driver support

2017-04-11 Thread Shawn Guo
From: Shawn Guo It adds VGA driver support, which needs to configure corresponding VOU interface in RGB_888 format, and thus the following changes are needed on zx_vou. - Rename the CSC block of Graphic Layer a bit to make it more specific, and add CSC of Channel to support RGB output

Re: [PATCH v3 4/4] drm: zte: add VGA driver support

2017-05-02 Thread Shawn Guo
Hi Sean, On Tue, Apr 11, 2017 at 7:30 PM, Shawn Guo wrote: > From: Shawn Guo > > It adds VGA driver support, which needs to configure corresponding VOU > interface in RGB_888 format, and thus the following changes are needed > on zx_vou. > > - Rename the CSC block of G

Re: [PATCH 1/5] drm: zte: add interlace mode support

2017-01-25 Thread Shawn Guo
Hi Sean, Thanks for reviewing the patches. On Mon, Jan 23, 2017 at 10:19:01AM -0500, Sean Paul wrote: > On Fri, Jan 20, 2017 at 12:24:56AM +0800, Shawn Guo wrote: > > From: Shawn Guo > > > > It adds interlace mode support in VOU TIMING_CTRL and channel control > >

Re: [PATCH 5/5] drm: zte: add tvenc driver support

2017-01-26 Thread Shawn Guo
On Mon, Jan 23, 2017 at 11:10:34AM -0500, Sean Paul wrote: > > +static const struct zx_tvenc_mode tvenc_modes[] = { > > + { > > + .name = "PAL", > > + .hdisplay = 720, > > + .vdisplay = 576, > > + .hfp = 12, > > + .hbp = 130, > > + .hsw

[PATCH v2 0/5] Add TV Encoder support for ZTE DRM driver

2017-01-26 Thread Shawn Guo
From: Shawn Guo The series updates zx_vou driver a bit as the preparation of adding TVENC output device, and then adds the device driver. Changes for v2: - Save the use of variable 'vactive' by checking interlaced case. - Rename mask variable for scan register to avoid na

[PATCH v2 1/5] drm: zte: add interlace mode support

2017-01-26 Thread Shawn Guo
From: Shawn Guo It adds interlace mode support in VOU TIMING_CTRL and channel control block, so that VOU driver gets ready to support output device in interlace mode like TV Encoder. Signed-off-by: Shawn Guo --- Changes for v2: - Save the use of variable 'vactive' by checking inter

[PATCH v2 2/5] drm: zte: move struct vou_inf into zx_vou driver

2017-01-26 Thread Shawn Guo
From: Shawn Guo Although data in struct vou_inf is defined per output device, it doesn't belong to the device itself but VOU control module. All these data can just be defined in VOU driver, and output device driver only needs to invoke VOU driver function with device ID to enable/di

[PATCH v2 3/5] drm: zte: add function to configure vou_ctrl dividers

2017-01-26 Thread Shawn Guo
From: Shawn Guo The clock control module (CRM) cannot always provide desired frequency for all VOU output devices. That's why VOU integrates a few dividers to further divide the clocks from CRM. Let's add an interface for configuring these dividers. Signed-off-by: Shawn Guo Reviewe

[PATCH v2 4/5] dt: add bindings for ZTE tvenc device

2017-01-26 Thread Shawn Guo
From: Shawn Guo It adds bindings doc for ZTE VOU TV Encoder device. Signed-off-by: Shawn Guo Acked-by: Rob Herring --- Documentation/devicetree/bindings/display/zte,vou.txt | 15 +++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/display/zte

[PATCH v2 5/5] drm: zte: add tvenc driver support

2017-01-26 Thread Shawn Guo
From: Shawn Guo It adds the TV Encoder driver to support video output in PAL and NTSC format. The driver uses syscon/regmap interface to configure register bit sitting in SYSCTRL module for DAC power control. Signed-off-by: Shawn Guo --- Changes for v2: - Embed struct drm_display_mode in

[GIT PULL] ZTE DRM driver updates for 4.11

2017-01-28 Thread Shawn Guo
zx_vou driver a bit and then add TV Encoder output device support. Shawn Guo (10): drm: zte: select VIDEOMODE_HELPERS in Kconfig drm: zte: support hdmi audio through spdif drm: zte: make zx_plane accessible from

Re: [GIT PULL] ZTE DRM driver updates for 4.11

2017-02-03 Thread Shawn Guo
On Wed, Feb 01, 2017 at 08:29:51AM +1000, Dave Airlie wrote: > On 29 January 2017 at 15:41, Shawn Guo wrote: > > Hi Dave, > > > > Please consider to pull the following ZTE DRM driver updates for 4.11. > > Thanks. > > Sorry for delay, I've pulled this

Re: [RFC PATCH v2 0/5] Add vblank hooks to struct drm_crtc_funcs

2017-02-07 Thread Shawn Guo
On Tue, Feb 07, 2017 at 08:32:46AM +0100, Daniel Vetter wrote: > On Tue, Jan 24, 2017 at 08:55:35AM +0100, Daniel Vetter wrote: > > On Sun, Jan 22, 2017 at 02:09:01PM +0800, Shawn Guo wrote: > > > From: Shawn Guo > > > > > > The vblank is mostly CRTC spec

[PATCH v3 00/23] Add vblank hooks to struct drm_crtc_funcs

2017-02-07 Thread Shawn Guo
From: Shawn Guo The vblank is mostly CRTC specific and implemented as part of CRTC driver. The first patch adds 3 vblank core<->driver hooks into struct drm_crtc_funcs, and plug them into core by adding wrapper functions for vblank handling code. We effectively make the .get_vblank_c

[PATCH v3 03/23] drm: unexport function drm_vblank_no_hw_counter()

2017-02-07 Thread Shawn Guo
From: Shawn Guo The function drm_vblank_no_hw_counter() is now only used in core vblank wrapper code. Let's unexport it by making it a static function. Signed-off-by: Shawn Guo --- drivers/gpu/drm/drm_irq.c | 28 ++-- include/drm/drm_drv.h | 7 +++ in

[PATCH v3 02/23] drm: remove drm_vblank_no_hw_counter assignment from driver code

2017-02-07 Thread Shawn Guo
From: Shawn Guo Core code already makes drm_driver.get_vblank_counter hook optional by letting drm_vblank_no_hw_counter be the default implementation for the function hook. So the drm_vblank_no_hw_counter assignment in the driver code becomes redundant and can be removed now. Signed-off-by

[PATCH v3 01/23] drm: add vblank hooks to struct drm_crtc_funcs

2017-02-07 Thread Shawn Guo
From: Shawn Guo The vblank is mostly CRTC specific and implemented as part of CRTC driver. Let's keep the vblank hooks struct drm_driver for legacy drivers, and add corresponding hooks in struct drm_crtc_funcs. These hooks take struct drm_crtc pointer as argument, and will be called by

[PATCH v3 04/23] drm: hdlcd: use vblank hooks in struct drm_crtc_funcs

2017-02-07 Thread Shawn Guo
From: Shawn Guo The vblank hooks in struct drm_driver are deprecated and only meant for legacy drivers. For modern drivers with DRIVER_MODESET flag, the hooks in struct drm_crtc_funcs should be used instead. Signed-off-by: Shawn Guo Acked-by: Liviu Dudau --- drivers/gpu/drm/arm/hdlcd_crtc.c

[PATCH v3 07/23] drm: atmel: use vblank hooks in struct drm_crtc_funcs

2017-02-07 Thread Shawn Guo
From: Shawn Guo The vblank hooks in struct drm_driver are deprecated and only meant for legacy drivers. For modern drivers with DRIVER_MODESET flag, the hooks in struct drm_crtc_funcs should be used instead. Signed-off-by: Shawn Guo Cc: Boris Brezillon --- drivers/gpu/drm/atmel-hlcdc

[PATCH v3 09/23] drm: fsl-dcu: use vblank hooks in struct drm_crtc_funcs

2017-02-07 Thread Shawn Guo
From: Shawn Guo The vblank hooks in struct drm_driver are deprecated and only meant for legacy drivers. For modern drivers with DRIVER_MODESET flag, the hooks in struct drm_crtc_funcs should be used instead. Signed-off-by: Shawn Guo Cc: Stefan Agner --- drivers/gpu/drm/fsl-dcu

[PATCH v3 06/23] drm: armada: use vblank hooks in struct drm_crtc_funcs

2017-02-07 Thread Shawn Guo
From: Shawn Guo The vblank hooks in struct drm_driver are deprecated and only meant for legacy drivers. For modern drivers with DRIVER_MODESET flag, the hooks in struct drm_crtc_funcs should be used instead. As the result, functions armada_drm_crtc_enable[disable]_irq() can be static, although

[PATCH v3 08/23] drm: exynos: use vblank hooks in struct drm_crtc_funcs

2017-02-07 Thread Shawn Guo
From: Shawn Guo The vblank hooks in struct drm_driver are deprecated and only meant for legacy drivers. For modern drivers with DRIVER_MODESET flag, the hooks in struct drm_crtc_funcs should be used instead. As the result, exynos_drm_crtc_enable[disable]_vblank() become static functions. They

[PATCH v3 05/23] drm: malidp: use vblank hooks in struct drm_crtc_funcs

2017-02-07 Thread Shawn Guo
From: Shawn Guo The vblank hooks in struct drm_driver are deprecated and only meant for legacy drivers. For modern drivers with DRIVER_MODESET flag, the hooks in struct drm_crtc_funcs should be used instead. Signed-off-by: Shawn Guo Cc: Mali DP Maintainers --- drivers/gpu/drm/arm

[PATCH v3 10/23] drm: hibmc: use vblank hooks in struct drm_crtc_funcs

2017-02-07 Thread Shawn Guo
From: Shawn Guo The vblank hooks in struct drm_driver are deprecated and only meant for legacy drivers. For modern drivers with DRIVER_MODESET flag, the hooks in struct drm_crtc_funcs should be used instead. Signed-off-by: Shawn Guo Cc: Xinliang Liu --- drivers/gpu/drm/hisilicon/hibmc

[PATCH v3 12/23] drm: imx: remove struct imx_drm_crtc and imx_drm_crtc_helper_funcs

2017-02-07 Thread Shawn Guo
From: Shawn Guo With the vblank hooks in struct drm_crtc_funcs, we do not need to maintain the CRTC specific vblank callbacks with struct imx_drm_crtc_helper_funcs any more. By moving the stuff that we currently do in imx_drm_add_crtc(), like of_node setting and drm_crtc_helper_add

[PATCH v3 11/23] drm: kirin: use vblank hooks in struct drm_crtc_funcs

2017-02-07 Thread Shawn Guo
From: Shawn Guo The vblank hooks in struct drm_driver are deprecated and only meant for legacy drivers. For modern drivers with DRIVER_MODESET flag, the hooks in struct drm_crtc_funcs should be used instead. Signed-off-by: Shawn Guo Cc: Xinliang Liu --- drivers/gpu/drm/hisilicon/kirin

[PATCH v3 13/23] drm: mediatek: use vblank hooks in struct drm_crtc_funcs

2017-02-07 Thread Shawn Guo
From: Shawn Guo The vblank hooks in struct drm_driver are deprecated and only meant for legacy drivers. For modern drivers with DRIVER_MODESET flag, the hooks in struct drm_crtc_funcs should be used instead. Signed-off-by: Shawn Guo Cc: CK Hu --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 8

[PATCH v3 15/23] drm: qxl: use vblank hooks in struct drm_crtc_funcs

2017-02-07 Thread Shawn Guo
From: Shawn Guo The vblank hooks in struct drm_driver are deprecated and only meant for legacy drivers. For modern drivers with DRIVER_MODESET flag, the hooks in struct drm_crtc_funcs should be used instead. Signed-off-by: Shawn Guo Cc: Dave Airlie --- drivers/gpu/drm/qxl/qxl_display.c | 16

[PATCH v3 16/23] drm: rcar-du: use vblank hooks in struct drm_crtc_funcs

2017-02-07 Thread Shawn Guo
From: Shawn Guo The vblank hooks in struct drm_driver are deprecated and only meant for legacy drivers. For modern drivers with DRIVER_MODESET flag, the hooks in struct drm_crtc_funcs should be used instead. Signed-off-by: Shawn Guo Cc: Laurent Pinchart --- drivers/gpu/drm/rcar-du

[PATCH v3 17/23] drm: rockchip: remove struct rockchip_crtc_funcs

2017-02-07 Thread Shawn Guo
From: Shawn Guo With the vblank hooks in struct drm_crtc_funcs, we do not need to maintain struct rockchip_crtc_funcs and the related registration functions. Remove them. Signed-off-by: Shawn Guo Cc: Mark Yao --- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 51

  1   2   3   4   >