[PATCH] drm/panfrost: devfreq: Don't display error for EPROBE_DEFER

2021-07-21 Thread Chris Morgan
From: Chris Morgan Set a condition for the message of "Couldn't set OPP regulators" to not display if the error code is EPROBE_DEFER. Note that I used an if statement to capture the condition instead of the dev_err_probe function because I didn't want to change the DRM_DEV_

[PATCH] drm/panel: add rotation support for Elida KD35T133 panels

2021-04-02 Thread Chris Morgan
Update the panel to allow setting the rotation value in device tree. Tested on an Odroid Go Advance, where the panel is by default rotated 270 degrees. Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/panel-elida-kd35t133.c | 8 1 file changed, 8 insertions(+) diff --git a

[PATCH] drm/panel: correct typo in comments for Elida KD35T133

2021-04-02 Thread Chris Morgan
Update the comments to state this is a 3.5" display and not a 5.5" display. Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/panel-elida-kd35t133.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-elida-kd35t133.c b/drivers/gpu

[PATCH 1/2] drm/panel: add rotation support for Elida KD35T133 panels

2021-02-12 Thread Chris Morgan
Update the panel to allow setting the rotation value in device tree. Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/panel-elida-kd35t133.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-elida-kd35t133.c b/drivers/gpu/drm/panel/panel-elida

[PATCH 2/2] drm/panel: correct typo in comments for Elida KD35T133 panel driver

2021-02-12 Thread Chris Morgan
Update the comments to state this is a 3.5" display and not a 5.5" display Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/panel-elida-kd35t133.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-elida-kd35t133.c b/drivers/gpu/drm/p

[PATCH] drm/panel: elida-kd35t133: allow using non-continuous dsi clock

2021-02-18 Thread Chris Morgan
This fixes an issue with the panel not working after commit c6d94e37bdbb ("drm/bridge/synopsys: dsi: add support for non-continuous HS clock"). With this change the panel inits successfully and displays an image. Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/panel-elida-kd35

[PATCH 0/2] chrontel-ch7033: Add byteswap order option

2022-03-30 Thread Chris Morgan
From: Chris Morgan This series adds the ability to set the byteswap order in the chrontel ch7033 driver via an optional devicetree node. This is necessary because the HDMI DIP of the NTC CHIP requires a byteswap order that differs from the default value of the driver. Signed-off-by: Chris

[PATCH 1/2] dt-bindings: Add byteswap order to chrontel ch7033

2022-03-30 Thread Chris Morgan
From: Chris Morgan Update dt-binding documentation to add support for setting byteswap of chrontel ch7033. New property name of chrontel,byteswap added to set the byteswap order. This property is optional. Signed-off-by: Chris Morgan --- .../bindings/display/bridge/chrontel,ch7033.yaml

[PATCH 2/2] drm/bridge: chrontel-ch7033: Add option for setting byteswap order

2022-03-30 Thread Chris Morgan
From: Chris Morgan Add the option to set the byteswap order in the devicetree. For the official HDMI DIP for the NTC CHIP the byteswap order needs to be RGB, however the driver sets it as BGR. With this patch the driver will remain at BGR unless manually specified via devicetree. Signed-off-by

[PATCH] drm/rockchip: Update crtc fixup to account for fractional clk change

2021-09-08 Thread Chris Morgan
From: Chris Morgan After commit 928f9e268611 ("clk: fractional-divider: Hide clk_fractional_divider_ops from wide audience") was merged it appears that the DSI panel on my Odroid Go Advance stopped working. Upon closer examination of the problem, it looks like it was the fi

Re: [PATCH] drm/rockchip: Update crtc fixup to account for fractional clk change

2021-09-10 Thread Chris Morgan
On Wed, Sep 08, 2021 at 09:05:52PM +0300, Andy Shevchenko wrote: > On Wed, Sep 08, 2021 at 08:53:56AM -0500, Chris Morgan wrote: > > From: Chris Morgan > > > > After commit 928f9e268611 ("clk: fractional-divider: Hide > > clk_fractional_divider_ops from wide

Re: [PATCH] drm/rockchip: Update crtc fixup to account for fractional clk change

2021-09-16 Thread Chris Morgan
On Thu, Sep 16, 2021 at 10:08:05AM -0700, Doug Anderson wrote: > Hi, > > On Tue, Sep 14, 2021 at 4:14 AM Heiko Stübner wrote: > > > > Hi, > > > > Am Mittwoch, 8. September 2021, 15:53:56 CEST schrieb Chris Morgan: > > > From: Chris Morgan > > >

[PATCH v2] drm/rockchip: Update crtc fixup to account for fractional clk change

2021-09-16 Thread Chris Morgan
From: Chris Morgan Fixes commit 287422a95fe2 ("drm/rockchip: Round up _before_ giving to the clock framework") After commit 928f9e268611 ("clk: fractional-divider: Hide clk_fractional_divider_ops from wide audience") was merged it appears that the DSI panel on my Odroi

[PATCH v3] drm/rockchip: Update crtc fixup to account for fractional clk change

2021-09-16 Thread Chris Morgan
From: Chris Morgan After commit 928f9e268611 ("clk: fractional-divider: Hide clk_fractional_divider_ops from wide audience") was merged it appears that the DSI panel on my Odroid Go Advance stopped working. Upon closer examination of the problem, it looks like it was the fi

Re: [PATCH v3] drm/rockchip: Update crtc fixup to account for fractional clk change

2021-09-16 Thread Chris Morgan
On Thu, Sep 16, 2021 at 01:49:07PM -0700, Brian Norris wrote: > On Thu, Sep 16, 2021 at 03:29:07PM -0500, Chris Morgan wrote: > > After commit 928f9e268611 ("clk: fractional-divider: Hide > > clk_fractional_divider_ops from wide audience") was merged it appears > >

[PATCH 0/6 v2] Support Geekworm MZP280 Panel for Raspberry Pi

2022-01-24 Thread Chris Morgan
From: Chris Morgan This patch series is to add support for the MZP280 panel for the Raspberry Pi. This panel requires adding support for Mode 3 of the Raspberry Pi DPI connector, which necessitates a new media bus format. This patch series has been tested on my Raspberry Pi 4 with version 1 of

[PATCH 2/6 v2] media: uapi: Document format MEDIA_BUS_FMT_RGB565_1X24_CPADHI

2022-01-24 Thread Chris Morgan
From: Chris Morgan Add support for MEDIA_BUS_FMT_RGB565_1X24_CPADHI. This format is used by the Geekworm MZP280 panel which interfaces with the Raspberry Pi. Signed-off-by: Chris Morgan --- .../media/v4l/subdev-formats.rst | 37 +++ 1 file changed, 37 insertions

[PATCH 3/6 v2] media: uapi: add MEDIA_BUS_FMT_RGB565_1X24_CPADHI

2022-01-24 Thread Chris Morgan
From: Chris Morgan Add the MEDIA_BUS_FMT_RGB565_1X24_CPADHI format used by the Geekworm MZP280 panel for the Raspberry Pi. Signed-off-by: Chris Morgan --- include/uapi/linux/media-bus-format.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/media-bus

[PATCH 5/6 v2] drm/panel: simple: add Geekworm MZP280 Panel

2022-01-24 Thread Chris Morgan
From: Chris Morgan Add support for the Geekworm MZP280 Panel Signed-off-by: Chris Morgan Acked-by: Maxime Ripard --- drivers/gpu/drm/panel/panel-simple.c | 29 1 file changed, 29 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm

[PATCH 1/6 v2] dt-bindings: vendor-prefixes: Add Geekworm

2022-01-24 Thread Chris Morgan
From: Chris Morgan Add vendor prefix for Geekworm (https://geekworm.com). Signed-off-by: Chris Morgan --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation

[PATCH 4/6 v2] dt-bindings: display: simple: add Geekworm MZP280 Panel

2022-01-24 Thread Chris Morgan
From: Chris Morgan The Geekworm MZP280 panel is a 480x640 (portrait) panel with a capacitive touch interface and a 40 pin header meant to interface directly with the Raspberry Pi. The screen is 2.8 inches diagonally, and there appear to be at least 4 distinct versions all with the same panel

[PATCH 6/6 v2] drm/vc4: dpi: Support DPI interface in mode3 for RGB565

2022-01-24 Thread Chris Morgan
From: Chris Morgan Add support for the VC4 DPI driver to utilize DPI mode 3. This is defined here as xxxRxxGGxxxB: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#parallel-display-interface-dpi This mode is required to use the Geekworm MZP280 DPI display

[PATCH 0/5] Support Geekworm MZP280 Panel for Raspberry Pi

2022-01-03 Thread Chris Morgan
From: Chris Morgan This patch series is to add support for the MZP280 panel for the Raspberry Pi. This panel requires adding support for Mode 3 of the Raspberry Pi DPI connector, which necessitates a new media bus format. This patch series has been tested on my Raspberry Pi 4 with version 1 of

[PATCH 1/5] media: uapi: Document format MEDIA_BUS_FMT_RGB565_1X24_CPADHI

2022-01-03 Thread Chris Morgan
From: Chris Morgan Add support for MEDIA_BUS_FMT_RGB565_1X24_CPADHI. This format is used by the Geekworm MZP280 panel which interfaces with the Raspberry Pi. Signed-off-by: Chris Morgan --- .../media/v4l/subdev-formats.rst | 37 +++ 1 file changed, 37 insertions

[PATCH 2/5] media: uapi: add MEDIA_BUS_FMT_RGB565_1X24_CPADHI

2022-01-03 Thread Chris Morgan
From: Chris Morgan Add the MEDIA_BUS_FMT_RGB565_1X24_CPADHI format used by the Geekworm MZP280 panel for the Raspberry Pi. Signed-off-by: Chris Morgan --- include/uapi/linux/media-bus-format.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/media-bus

[PATCH 3/5] dt-bindings: display: simple: add Geekworm MZP280 Panel

2022-01-03 Thread Chris Morgan
From: Chris Morgan The Geekworm MZP280 panel is a 480x640 (portrait) panel with a capacitive touch interface and a 40 pin header meant to interface directly with the Raspberry Pi. The screen is 2.8 inches diagonally, and there appear to be at least 4 distinct versions all with the same panel

[PATCH 4/5] drm/panel: simple: add Geekworm MZP280 Panel

2022-01-03 Thread Chris Morgan
From: Chris Morgan Add support for the Geekworm MZP280 Panel Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/panel-simple.c | 29 1 file changed, 29 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c

[PATCH 5/5] drm/vc4: dpi: Support DPI interface in mode3 for RGB565

2022-01-03 Thread Chris Morgan
From: Chris Morgan Add support for the VC4 DPI driver to utilize DPI mode 3. This is defined here as xxxRxxGGxxxB: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#parallel-display-interface-dpi This mode is required to use the Geekworm MZP280 DPI display

[RFC 0/4] rockchip-dsi for rk3568

2022-08-12 Thread Chris Morgan
From: Chris Morgan This series adds support for the dsi and dphy controllers on the Rockchip RK3568. I can confirm that for the Rockchip RK3568 this current series DOES NOT WORK properly yet. The image on the screen is shifted about 100 pixels to the right and does not appear to be a timing

[RFC 1/4] dt-bindings: display: rockchip-dsi: add rk3568 compatible

2022-08-12 Thread Chris Morgan
From: Chris Morgan The rk3568 uses the same dw-mipi-dsi controller as previous Rockchip SOCs, so add a compatible string for it. Signed-off-by: Chris Morgan --- .../bindings/display/rockchip/dw_mipi_dsi_rockchip.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation

[RFC 2/4] dt-bindings: phy: phy-rockchip-inno-dsidphy: add compatible for rk3568

2022-08-12 Thread Chris Morgan
From: Chris Morgan Add a compatible string for the rk3568 dsi-dphy. Signed-off-by: Chris Morgan --- .../devicetree/bindings/phy/rockchip,px30-dsi-dphy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/phy/rockchip,px30-dsi-dphy.yaml b

[RFC 3/4] drm/rockchip: dsi: add rk3568 support

2022-08-12 Thread Chris Morgan
From: Chris Morgan Add the compatible and GRF definitions for the RK3568 soc. Signed-off-by: Chris Morgan --- .../gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 51 ++- 1 file changed, 49 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c

[RFC 4/4] phy/rockchip: inno-dsidphy: Add support for rk3568

2022-08-12 Thread Chris Morgan
From: Chris Morgan Add support for the Rockchip RK3568 DSI-DPHY. Registers were taken from the BSP kernel driver and wherever possible cross referenced with the TRM. Signed-off-by: Chris Morgan --- .../phy/rockchip/phy-rockchip-inno-dsidphy.c | 204 ++ 1 file changed, 158

[RESEND 0/6 v2] Support Geekworm MZP280 Panel for Raspberry Pi

2022-05-19 Thread Chris Morgan
From: Chris Morgan This patch series is to add support for the MZP280 panel for the Raspberry Pi. This panel requires adding support for Mode 3 of the Raspberry Pi DPI connector, which necessitates a new media bus format. This patch series has been tested on my Raspberry Pi 4 with version 1 of

[RESEND 2/6 v2] media: uapi: Document format MEDIA_BUS_FMT_RGB565_1X24_CPADHI

2022-05-19 Thread Chris Morgan
From: Chris Morgan Add support for MEDIA_BUS_FMT_RGB565_1X24_CPADHI. This format is used by the Geekworm MZP280 panel which interfaces with the Raspberry Pi. Signed-off-by: Chris Morgan --- .../media/v4l/subdev-formats.rst | 37 +++ 1 file changed, 37 insertions

[RESEND 1/6 v2] dt-bindings: vendor-prefixes: Add Geekworm

2022-05-19 Thread Chris Morgan
From: Chris Morgan Add vendor prefix for Geekworm (https://geekworm.com). Signed-off-by: Chris Morgan --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation

[RESEND 5/6 v2] drm/panel: simple: add Geekworm MZP280 Panel

2022-05-19 Thread Chris Morgan
From: Chris Morgan Add support for the Geekworm MZP280 Panel Signed-off-by: Chris Morgan Acked-by: Maxime Ripard --- drivers/gpu/drm/panel/panel-simple.c | 29 1 file changed, 29 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm

[RESEND 4/6 v2] dt-bindings: display: simple: add Geekworm MZP280 Panel

2022-05-19 Thread Chris Morgan
From: Chris Morgan The Geekworm MZP280 panel is a 480x640 (portrait) panel with a capacitive touch interface and a 40 pin header meant to interface directly with the Raspberry Pi. The screen is 2.8 inches diagonally, and there appear to be at least 4 distinct versions all with the same panel

[RESEND 6/6 v2] drm/vc4: dpi: Support DPI interface in mode3 for RGB565

2022-05-19 Thread Chris Morgan
From: Chris Morgan Add support for the VC4 DPI driver to utilize DPI mode 3. This is defined here as xxxRxxGGxxxB: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#parallel-display-interface-dpi This mode is required to use the Geekworm MZP280 DPI display

[RESEND 3/6 v2] media: uapi: add MEDIA_BUS_FMT_RGB565_1X24_CPADHI

2022-05-19 Thread Chris Morgan
From: Chris Morgan Add the MEDIA_BUS_FMT_RGB565_1X24_CPADHI format used by the Geekworm MZP280 panel for the Raspberry Pi. Signed-off-by: Chris Morgan --- include/uapi/linux/media-bus-format.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/media-bus

[PATCH V2 0/2] chrontel-ch7033: Add byteswap order option

2022-09-02 Thread Chris Morgan
From: Chris Morgan This series adds the ability to set the byteswap order in the chrontel ch7033 driver via an optional devicetree node. This is necessary because the HDMI DIP of the NTC CHIP requires a byteswap order that differs from the default value of the driver. Changes from V1

[PATCH V2 1/2] dt-bindings: Add byteswap order to chrontel ch7033

2022-09-02 Thread Chris Morgan
From: Chris Morgan Update dt-binding documentation to add support for setting byteswap of chrontel ch7033. New property name of chrontel,byteswap added to set the byteswap order. This property is optional. Signed-off-by: Chris Morgan Reviewed-by: Robert Foss --- .../bindings/display/bridge

[PATCH V2 2/2] drm/bridge: chrontel-ch7033: Add byteswap order setting

2022-09-02 Thread Chris Morgan
From: Chris Morgan Add the option to set the byteswap order in the devicetree. For the official HDMI DIP for the NTC CHIP the byteswap order needs to be RGB, however the driver sets it as BGR. With this patch the driver will remain at BGR unless manually specified via devicetree. Signed-off-by

[PATCH v2 0/5] rockchip-dsi for rk3568

2022-09-06 Thread Chris Morgan
From: Chris Morgan This series adds support for the dsi and dphy controllers on the Rockchip RK3568. I can confirm that for the Rockchip RK3568 this current series DOES WORK now, but it requires rolling back clk changes made for the HDMI driver. If the clock changes are not rolled back, the

[PATCH v2 1/5] dt-bindings: display: rockchip-dsi: add rk3568 compatible

2022-09-06 Thread Chris Morgan
From: Chris Morgan The rk3568 uses the same dw-mipi-dsi controller as previous Rockchip SOCs, so add a compatible string for it. Signed-off-by: Chris Morgan --- .../bindings/display/rockchip/dw_mipi_dsi_rockchip.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation

[PATCH v2 2/5] dt-bindings: phy-rockchip-inno-dsidphy: add compatible for rk3568

2022-09-06 Thread Chris Morgan
From: Chris Morgan Add a compatible string for the rk3568 dsi-dphy. Signed-off-by: Chris Morgan --- .../devicetree/bindings/phy/rockchip,px30-dsi-dphy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/phy/rockchip,px30-dsi-dphy.yaml b

[PATCH v2 3/5] drm/rockchip: dsi: add rk3568 support

2022-09-06 Thread Chris Morgan
From: Chris Morgan Add the compatible and GRF definitions for the RK3568 soc. Signed-off-by: Chris Morgan --- .../gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 51 ++- 1 file changed, 49 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c

[PATCH v2 5/5] arm64: dts: rockchip: Add DSI and DSI-DPHY nodes to rk356x

2022-09-06 Thread Chris Morgan
From: Chris Morgan This adds the DSI controller nodes and DSI-DPHY controller nodes to the rk356x device tree. Signed-off-by: Chris Morgan --- arch/arm64/boot/dts/rockchip/rk356x.dtsi | 72 1 file changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip

[PATCH v2 4/5] phy/rockchip: inno-dsidphy: Add support for rk3568

2022-09-06 Thread Chris Morgan
From: Chris Morgan Add support for the Rockchip RK3568 DSI-DPHY. Registers were taken from the BSP kernel driver and wherever possible cross referenced with the TRM. Signed-off-by: Chris Morgan --- .../phy/rockchip/phy-rockchip-inno-dsidphy.c | 204 ++ 1 file changed, 158

[PATCH 1/2] dt-bindings: display: panel: Add Samsung AMS495QA01 panel bindings

2022-09-06 Thread Chris Morgan
From: Chris Morgan Add documentation for the Samsung AMS495QA01 panel. Signed-off-by: Chris Morgan --- .../display/panel/samsung,ams495qa01.yaml | 49 +++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/samsung

[PATCH 0/2] drm/panel: Add Samsung AMS495QA01 Panel

2022-09-06 Thread Chris Morgan
From: Chris Morgan Add the Samsung AMS495QA01 panel as found on the Anbernic RG503. This panel uses DSI to receive video signals, but 3-wire SPI to receive command signals. Chris Morgan (2): dt-bindings: display: panel: Add Samsung AMS495QA01 panel bindings drm/panel: Add Samsung AMS495QA01

[PATCH 2/2] drm/panel: Add Samsung AMS495QA01 MIPI-DSI LCD panel

2022-09-06 Thread Chris Morgan
From: Chris Morgan Support Samsung AMS495QA01 panel as found on the Anbernic RG503. Note This panel receives video signals via DSI, however it receives commands via 3-wire SPI. Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/Kconfig | 10 + drivers/gpu/drm/panel

[PATCH 0/2] drm/panel: Add NewVision NV3051D Panels

2022-09-06 Thread Chris Morgan
From: Chris Morgan Add the NewVision NV3051D panel as found on the Anbernic RG353P and RG353V. The underlying LCD panel itself is unknown (the NV3051D is the controller), so the device name is used for the panel. Chris Morgan (2): dt-bindings: display: panel: Add NewVision NV3051D panel

[PATCH 2/2] drm/panel: Add NewVision NV3051D MIPI-DSI LCD panel

2022-09-06 Thread Chris Morgan
From: Chris Morgan Support NewVision NV3051D panels as found on the Anbernic RG353P and RG353V. The underlying panel part number for the RG353x devices is unknown, so the device name is used instead. Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/Kconfig | 9

[PATCH 1/2] dt-bindings: display: panel: Add NewVision NV3051D panel bindings

2022-09-06 Thread Chris Morgan
From: Chris Morgan Add documentation for the NewVision NV3051D panel bindings. Note that for the two expected consumers of this panel binding the underlying LCD model is unknown. Signed-off-by: Chris Morgan --- .../display/panel/newvision,nv3051d.yaml | 48 +++ 1 file

Re: [PATCH v2 0/5] rockchip-dsi for rk3568

2022-09-06 Thread Chris Morgan
you. > > Best Regards, > Maya Matuszczyk > > > wt., 6 wrz 2022 o 19:52 Chris Morgan napisał(a): > > > > From: Chris Morgan > > > > This series adds support for the dsi and dphy controllers on the > > Rockchip RK3568. I can confirm that for th

Re: [PATCH V2 1/2] dt-bindings: Add byteswap order to chrontel ch7033

2022-09-07 Thread Chris Morgan
On Mon, Sep 05, 2022 at 05:20:57PM +0200, Robert Foss wrote: > Thanks Laurent, > > On Sat, 3 Sept 2022 at 02:17, Laurent Pinchart > wrote: > > > > Hi Chris, > > > > Thank you for the patch. > > > > On Fri, Sep 02, 2022 at 10:39:05AM -05

Re: [PATCH 1/2] dt-bindings: display: panel: Add NewVision NV3051D panel bindings

2022-09-07 Thread Chris Morgan
On Wed, Sep 07, 2022 at 02:53:56PM +0200, Krzysztof Kozlowski wrote: > On 06/09/2022 20:52, Chris Morgan wrote: > > From: Chris Morgan > > > > Add documentation for the NewVision NV3051D panel bindings. > > Note that for the two expected consumers of this panel bin

Re: [PATCH 1/2] dt-bindings: display: panel: Add Samsung AMS495QA01 panel bindings

2022-09-07 Thread Chris Morgan
On Tue, Sep 06, 2022 at 04:41:00PM -0500, Rob Herring wrote: > On Tue, 06 Sep 2022 13:36:41 -0500, Chris Morgan wrote: > > From: Chris Morgan > > > > Add documentation for the Samsung AMS495QA01 panel. > > > > Signed-off-by: Chris Morgan > > --- > &g

[PATCH] drm/rockchip: vop2: Fix Null Pointer Dereference on Multiple VPs

2022-09-12 Thread Chris Morgan
From: Chris Morgan If I use more than one VP to output on an RK3566 based device I receive the following error (and then everything freezes): [0.838375] Unable to handle kernel NULL pointer dereference at virtual address 0250 [0.839191] Mem abort info: [0.839442] ESR

Re: [PATCH v1 0/2] Revert chrontel-ch7033 byteswap order series

2022-09-12 Thread Chris Morgan
On Mon, Sep 12, 2022 at 01:38:54PM +0200, Robert Foss wrote: > After applying the "chrontel-ch7033: Add byteswap order option" series, > Laurent reported an issues with the approach. Since no fix has been submitted > for the issues outlined in time for the next kernel release, I'd like to > revert

Re: [PATCH 1/2] dt-bindings: display: panel: Add NewVision NV3051D panel bindings

2022-09-12 Thread Chris Morgan
On Thu, Sep 08, 2022 at 08:42:35PM -0500, Rob Herring wrote: > On Wed, Sep 07, 2022 at 08:35:13AM -0500, Chris Morgan wrote: > > On Wed, Sep 07, 2022 at 02:53:56PM +0200, Krzysztof Kozlowski wrote: > > > On 06/09/2022 20:52, Chris Morgan wrote: > > > > From: Chri

Re: [PATCH] drm/rockchip: vop2: Fix Null Pointer Dereference on Multiple VPs

2022-09-13 Thread Chris Morgan
On Tue, Sep 13, 2022 at 11:10:16AM +0200, Piotr Oniszczuk wrote: > > > > Wiadomość napisana przez Michael Riesch w > > dniu 13.09.2022, o godz. 08:55: > > > > Hi, > > > > On 9/12/22 20:02, Chris Morgan wrote: > >> From: Chris Morg

Re: [PATCH] drm/rockchip: vop2: Fix Null Pointer Dereference on Multiple VPs

2022-09-14 Thread Chris Morgan
On Wed, Sep 14, 2022 at 08:49:27AM +0200, Sascha Hauer wrote: > On Tue, Sep 13, 2022 at 08:55:22AM +0200, Michael Riesch wrote: > > Hi, > > > > On 9/12/22 20:02, Chris Morgan wrote: > > > From: Chris Morgan > > > > Cc: Sascha -> any thoughts on

Re: [PATCH] drm/rockchip: vop2: Fix Null Pointer Dereference on Multiple VPs

2022-09-15 Thread Chris Morgan
On Wed, Sep 14, 2022 at 03:35:30PM +0200, Sascha Hauer wrote: > On Wed, Sep 14, 2022 at 08:04:18AM -0500, Chris Morgan wrote: > > On Wed, Sep 14, 2022 at 08:49:27AM +0200, Sascha Hauer wrote: > > > On Tue, Sep 13, 2022 at 08:55:22AM +0200, Michael Riesch wrote: > > > >

[PATCH V2 0/3] drm/panel: Add NewVision NV3051D Panels

2022-09-20 Thread Chris Morgan
From: Chris Morgan Add the NewVision NV3051D panel as found on the Anbernic RG353P and RG353V. The underlying LCD panel itself is unknown (the NV3051D is the controller), so the device name is used for the panel with a fallback to the driver IC. Changes from V1: - Changed compatible string to

[PATCH V2 2/3] dt-bindings: display: panel: Add NewVision NV3051D bindings

2022-09-20 Thread Chris Morgan
From: Chris Morgan Add documentation for the NewVision NV3051D panel bindings. Note that for the two expected consumers of this panel binding the underlying LCD model is unknown. Name "anbernic,rg353p-panel" is used because the hardware itself is known as "anbernic,rg353p".

[PATCH V2 3/3] drm/panel: Add NewVision NV3051D MIPI-DSI LCD panel

2022-09-20 Thread Chris Morgan
From: Chris Morgan Add NewVision NV3051D MIPI-DSI LCD panel Support NewVision NV3051D panels as found on the Anbernic RG353P and RG353V. The underlying LCD part number for the RG353x devices is unknown, so the device name and a fallback for the driver IC is used instead. Signed-off-by: Chris

[PATCH V2 1/3] dt-bindings: vendor-prefixes: add NewVision vendor prefix

2022-09-20 Thread Chris Morgan
From: Chris Morgan NewVision (also sometimes written as New Vision) is a company based in Shenzen that manufactures ICs for controlling LCD panels. https://www.newvisiondisplay.com/ Signed-off-by: Chris Morgan --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed

[PATCH V2 0/2] drm/panel: Add Samsung AMS495QA01 Panel

2022-09-20 Thread Chris Morgan
From: Chris Morgan Add the Samsung AMS495QA01 panel as found on the Anbernic RG503. This panel uses DSI to receive video signals, but 3-wire SPI to receive command signals. Changes since V1: - Removed errant reference to backlight in documentation. This is an OLED panel. - Made elvss

[PATCH V2 2/2] drm/panel: Add Samsung AMS495QA01 MIPI-DSI LCD panel

2022-09-20 Thread Chris Morgan
From: Chris Morgan Support Samsung AMS495QA01 panel as found on the Anbernic RG503. Note This panel receives video signals via DSI, however it receives commands via 3-wire SPI. Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/Kconfig | 10 + drivers/gpu/drm/panel

[PATCH V2 1/2] dt-bindings: display: panel: Add Samsung AMS495QA01 bindings

2022-09-20 Thread Chris Morgan
From: Chris Morgan Add documentation for the Samsung AMS495QA01 panel. Signed-off-by: Chris Morgan --- .../display/panel/samsung,ams495qa01.yaml | 46 +++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/samsung

Re: [PATCH V2 2/2] drm/panel: Add Samsung AMS495QA01 MIPI-DSI LCD panel

2022-09-20 Thread Chris Morgan
On Tue, Sep 20, 2022 at 07:33:00PM +0200, Maya Matuszczyk wrote: > Hi Chris, > Thanks for this patch, > > wt., 20 wrz 2022 o 19:10 Chris Morgan napisał(a): > > > > From: Chris Morgan > > > > Support Samsung AMS495QA01 panel as found on the Anbernic RG503

Re: [PATCH V2 2/3] dt-bindings: display: panel: Add NewVision NV3051D bindings

2022-09-21 Thread Chris Morgan
On Wed, Sep 21, 2022 at 08:51:34AM +0200, Krzysztof Kozlowski wrote: > On 20/09/2022 16:59, Chris Morgan wrote: > > From: Chris Morgan > > > > Add documentation for the NewVision NV3051D panel bindings. > > Note that for the two expected consumers of this panel bin

Re: [PATCH V2 2/3] dt-bindings: display: panel: Add NewVision NV3051D bindings

2022-09-21 Thread Chris Morgan
On Wed, Sep 21, 2022 at 05:21:19PM +0200, Krzysztof Kozlowski wrote: > On 21/09/2022 16:38, Chris Morgan wrote: > >>> + compatible: > >>> +items: > >>> + - enum: > >>> + - anbernic,rg353p-panel > >> > >> A

Re: [PATCH V2 2/3] dt-bindings: display: panel: Add NewVision NV3051D bindings

2022-09-21 Thread Chris Morgan
On Wed, Sep 21, 2022 at 05:57:55PM +0200, Krzysztof Kozlowski wrote: > On 21/09/2022 17:50, Chris Morgan wrote: > > On Wed, Sep 21, 2022 at 05:21:19PM +0200, Krzysztof Kozlowski wrote: > >> On 21/09/2022 16:38, Chris Morgan wrote: > >>>>> + compatible: >

Re: [PATCH V2 2/3] dt-bindings: display: panel: Add NewVision NV3051D bindings

2022-09-24 Thread Chris Morgan
On Sat, Sep 24, 2022 at 12:07:44PM -0500, Rob Herring wrote: > On Tue, Sep 20, 2022 at 09:59:04AM -0500, Chris Morgan wrote: > > From: Chris Morgan > > > > Add documentation for the NewVision NV3051D panel bindings. > > Note that for the two expected consumers of

Re: [PATCH] drm/rockchip: vop2: Register Esmart0-win0 as primary plane

2022-09-26 Thread Chris Morgan
testing this for a few days and it works well for me on 2 distinct rk3566 based devices (Anbernic RG353P and Anbernic RG503). Tested-by: Chris Morgan > --- > drivers/gpu/drm/rockchip/rockchip_vop2_reg.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/dr

Re: [PATCH] drm/rockchip: vop2: Fix Null Pointer Dereference on Multiple VPs

2022-09-26 Thread Chris Morgan
On Mon, Sep 26, 2022 at 10:17:40AM +0200, Sascha Hauer wrote: > On Thu, Sep 15, 2022 at 10:13:44AM -0500, Chris Morgan wrote: > > On Wed, Sep 14, 2022 at 03:35:30PM +0200, Sascha Hauer wrote: > > > On Wed, Sep 14, 2022 at 08:04:18AM -0500, Chris Morgan wrote: > > > >

[PATCH V3 0/2] drm/panel: Add Samsung AMS495QA01 Panel

2022-09-26 Thread Chris Morgan
From: Chris Morgan Add the Samsung AMS495QA01 panel as found on the Anbernic RG503. This panel uses DSI to receive video signals, but 3-wire SPI to receive command signals. Changes since V2: - Added 50hz mode at request of userspace devs. - Renamed "dupa" to panel name. Good

[PATCH V3 1/2] dt-bindings: display: panel: Add Samsung AMS495QA01 bindings

2022-09-26 Thread Chris Morgan
From: Chris Morgan Add documentation for the Samsung AMS495QA01 panel. Signed-off-by: Chris Morgan Signed-off-by: Maya Matuszczyk --- .../display/panel/samsung,ams495qa01.yaml | 56 +++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree

[PATCH V3 2/2] drm/panel: Add Samsung AMS495QA01 MIPI-DSI LCD panel

2022-09-26 Thread Chris Morgan
From: Chris Morgan Support Samsung AMS495QA01 panel as found on the Anbernic RG503. Note This panel receives video signals via DSI, however it receives commands via 3-wire SPI. Signed-off-by: Chris Morgan Signed-off-by: Maya Matuszczyk --- drivers/gpu/drm/panel/Kconfig | 10

[PATCH V3 0/3] drm/panel: Add NewVision NV3051D Panels

2022-09-26 Thread Chris Morgan
From: Chris Morgan Add the NewVision NV3051D panel as found on the Anbernic RG353P and RG353V. The underlying LCD panel itself is unknown (the NV3051D is the controller), so the device name is used for the panel with a fallback to the driver IC. Changes from V2: - Ensured dt_binding_check and

[PATCH V3 2/3] dt-bindings: display: panel: Add NewVision NV3051D bindings

2022-09-26 Thread Chris Morgan
From: Chris Morgan Add documentation for the NewVision NV3051D panel bindings. Note that for the two expected consumers of this panel binding the underlying LCD model is unknown. Name "anbernic,rg353p-panel" is used because the hardware itself is known as "anbernic,rg353p".

[PATCH V3 1/3] dt-bindings: vendor-prefixes: add NewVision vendor prefix

2022-09-26 Thread Chris Morgan
From: Chris Morgan NewVision (also sometimes written as New Vision) is a company based in Shenzen that manufactures ICs for controlling LCD panels. https://www.newvisiondisplay.com/ Signed-off-by: Chris Morgan Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/vendor

[PATCH V3 3/3] drm/panel: Add NewVision NV3051D MIPI-DSI LCD panel

2022-09-26 Thread Chris Morgan
From: Chris Morgan Support NewVision NV3051D panels as found on the Anbernic RG353P and RG353V. The underlying LCD part number for the RG353x devices is unknown, so the device name and a fallback for the driver IC is used instead. Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/Kconfig

[PATCH v9 0/4] drm/panel: Add Magnachip D53E6EA8966 Panel Controller

2023-01-11 Thread Chris Morgan
From: Chris Morgan Add the Magnachip D53E6EA8966 panel IC controller for display panels such as the Samsung AMS495QA01 panel as found on the Anbernic RG503. This panel uses DSI to receive video signals, but 3-wire SPI to receive command signals using DBI. Changes since V8: - Set "placeh

[PATCH v9 1/4] drm: of: Add drm_of_get_dsi_bus helper function

2023-01-11 Thread Chris Morgan
From: Chris Morgan Add helper function to find DSI host for devices where DSI panel is not a minor of a DSI bus (such as the Samsung AMS495QA01 panel or the official Raspberry Pi touchscreen display). Signed-off-by: Chris Morgan Signed-off-by: Maya Matuszczyk --- drivers/gpu/drm/drm_of.c

[PATCH v9 2/4] dt-bindings: display: panel: Add Samsung AMS495QA01

2023-01-11 Thread Chris Morgan
From: Chris Morgan Add documentation for Samsung AMS495QA01 panel (with Magnachip D53E6EA8966 controller IC). Signed-off-by: Chris Morgan Signed-off-by: Maya Matuszczyk Reviewed-by: Rob Herring --- .../display/panel/samsung,ams495qa01.yaml | 57 +++ 1 file changed, 57

[PATCH v9 4/4] arm64: dts: rockchip: add display to RG503

2023-01-11 Thread Chris Morgan
From: Chris Morgan Add Samsung AMS495QA01 panel to RG503. Signed-off-by: Chris Morgan Signed-off-by: Maya Matuszczyk --- .../dts/rockchip/rk3566-anbernic-rg503.dts| 55 +++ 1 file changed, 55 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg503

[PATCH v9 3/4] drm/panel: Add Magnachip D53E6EA8966 Panel Driver

2023-01-11 Thread Chris Morgan
From: Chris Morgan Support Magnachip D53E6EA8966 based panels such as the Samsung AMS495QA01 panel as found on the Anbernic RG503. Note this driver supports only the AMS495QA01 today which receives video signals via DSI, however it receives commands via 3-wire SPI using DBI. Signed-off-by

Re: [PATCH v9 1/4] drm: of: Add drm_of_get_dsi_bus helper function

2023-01-11 Thread Chris Morgan
On Wed, Jan 11, 2023 at 05:39:26PM +0100, Maxime Ripard wrote: > Hi, > > On Wed, Jan 11, 2023 at 10:30:09AM -0600, Chris Morgan wrote: > > From: Chris Morgan > > > > Add helper function to find DSI host for devices where DSI panel is not > > a minor of a DSI bu

[PATCH V10 0/4] drm/panel: Add Magnachip D53E6EA8966 Panel Controller

2023-01-12 Thread Chris Morgan
From: Chris Morgan Add the Magnachip D53E6EA8966 panel IC controller for display panels such as the Samsung AMS495QA01 panel as found on the Anbernic RG503. This panel uses DSI to receive video signals, but 3-wire SPI to receive command signals using DBI. Changes since V9: - Set an ifdef to

[PATCH V10 4/4] arm64: dts: rockchip: add display to RG503

2023-01-12 Thread Chris Morgan
From: Chris Morgan Add Samsung AMS495QA01 panel to RG503. Signed-off-by: Chris Morgan Signed-off-by: Maya Matuszczyk --- .../dts/rockchip/rk3566-anbernic-rg503.dts| 55 +++ 1 file changed, 55 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg503

[PATCH V10 3/4] drm/panel: Add Magnachip D53E6EA8966 Panel Driver

2023-01-12 Thread Chris Morgan
From: Chris Morgan Support Magnachip D53E6EA8966 based panels such as the Samsung AMS495QA01 panel as found on the Anbernic RG503. Note this driver supports only the AMS495QA01 today which receives video signals via DSI, however it receives commands via 3-wire SPI using DBI. Signed-off-by

[PATCH V10 1/4] drm: of: Add drm_of_get_dsi_bus helper function

2023-01-12 Thread Chris Morgan
From: Chris Morgan Add helper function to find DSI host for devices where DSI panel is not a minor of a DSI bus (such as the Samsung AMS495QA01 panel or the official Raspberry Pi touchscreen display). Signed-off-by: Chris Morgan Signed-off-by: Maya Matuszczyk --- drivers/gpu/drm/drm_of.c

[PATCH V10 2/4] dt-bindings: display: panel: Add Samsung AMS495QA01

2023-01-12 Thread Chris Morgan
From: Chris Morgan Add documentation for Samsung AMS495QA01 panel (with Magnachip D53E6EA8966 controller IC). Signed-off-by: Chris Morgan Signed-off-by: Maya Matuszczyk Reviewed-by: Rob Herring --- .../display/panel/samsung,ams495qa01.yaml | 57 +++ 1 file changed, 57

Re: [PATCH V10 1/4] drm: of: Add drm_of_get_dsi_bus helper function

2023-01-17 Thread Chris Morgan
On Tue, Jan 17, 2023 at 05:58:19PM +0100, Maxime Ripard wrote: > Hi, > > On Thu, Jan 12, 2023 at 11:53:55AM -0600, Chris Morgan wrote: > > From: Chris Morgan > > > > Add helper function to find DSI host for devices where DSI panel is not > > a minor of a DSI bu

[PATCH V11 1/4] drm: of: Add drm_of_get_dsi_bus helper function

2023-01-18 Thread Chris Morgan
From: Chris Morgan Add helper function to find DSI host for devices where DSI panel is not a minor of a DSI bus (such as the Samsung AMS495QA01 panel or the official Raspberry Pi touchscreen display). Signed-off-by: Chris Morgan Signed-off-by: Maya Matuszczyk --- drivers/gpu/drm/drm_of.c

[PATCH V11 0/4] drm/panel: Add Magnachip D53E6EA8966 Panel Controller

2023-01-18 Thread Chris Morgan
From: Chris Morgan Add the Magnachip D53E6EA8966 panel IC controller for display panels such as the Samsung AMS495QA01 panel as found on the Anbernic RG503. This panel uses DSI to receive video signals, but 3-wire SPI to receive command signals using DBI. Changes since V10: - Guarded

  1   2   3   4   >