[PATCH 4/5] dt-bindings: arm: rockchip: Add GameForce Chi

2024-03-25 Thread Chris Morgan
From: Chris Morgan The GameForce Chi is a handheld gaming device from GameForce powered by the Rockchip RK3326 SoC. Signed-off-by: Chris Morgan --- Documentation/devicetree/bindings/arm/rockchip.yaml | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings

[PATCH 5/5] arm64: dts: rockchip: Add GameForce Chi

2024-03-25 Thread Chris Morgan
From: Chris Morgan Add support for the GameForce Chi, which is a handheld gaming console from GameForce with a Rockchip RK3326 SoC. The device has a 640x480 3.5" dual-lane DSI display, one analog joystick connected to the SoC SARADC controller and a second analog joystick connected to an un

[PATCH 1/5] dt-bindings: vendor-prefix: Add prefix for GameForce

2024-03-25 Thread Chris Morgan
From: Chris Morgan GameForce is a company that produces handheld game consoles. https://gameforce.fun/ Signed-off-by: Chris Morgan --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor

[PATCH 3/5] drm/panel: st7703: Add GameForce Chi Panel Support

2024-03-25 Thread Chris Morgan
From: Chris Morgan The GameForce Chi is a handheld device with a 3.5" 640x480 ST7703 based display panel. Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/panel-sitronix-st7703.c | 87 +++ 1 file changed, 87 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-sit

[PATCH 2/5] dt-bindings: display: Add GameForce Chi Panel

2024-03-25 Thread Chris Morgan
From: Chris Morgan The GameForce Chi panel is a panel specific to the GameForce Chi handheld device that measures 3.5" diagonally with a resolution of 640x480. Signed-off-by: Chris Morgan --- .../devicetree/bindings/display/panel/rocktech,jh057n00900.yaml | 2 ++ 1 file changed, 2 inser

[PATCH 0/5] Add Support for RK3326 GameForce Chi

2024-03-25 Thread Chris Morgan
From: Chris Morgan Add support for the GameForce Chi [1]. The GameForce Chi has the following hardware: Tested: - 3.5" dual lane 640x480 DSI display. - 15 GPIO based face buttons. - 2 ADC based face buttons. - 1 ADC joystick (left) connected to internal SARADC. - RGB LED arrays fo

[PATCH 2/7] drm/panel: st7703: Add Powkiddy RGB10MAX3 Panel Support

2024-02-12 Thread Chris Morgan
From: Chris Morgan The Powkiddy RGB10MAX3 is a handheld device with a 5 inch 720x1280 display panel with a Sitronix ST7703 display controller. The panel is installed rotated 270 degrees. Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/panel-sitronix-st7703.c | 91 +++ 1

[PATCH 4/7] drm/panel: st7703: Add Panel Rotation Support

2024-02-12 Thread Chris Morgan
From: Chris Morgan Add support for panel rotation to ST7703 based devices. Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/panel-sitronix-st7703.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7703.c b/drivers/gpu/drm/panel

[PATCH 5/7] arm64: dts: rockchip: Update powkiddy rk2023 dtsi for RGB10MAX3

2024-02-12 Thread Chris Morgan
From: Chris Morgan Move the vdd_cpu regulator to the device specific dts. This is in preparation of adding the Powkiddy RGB10MAX3 device, which uses a different vendor for the CPU regulator at a different i2c address. Also add an alias to the bluetooth device so that we can change

[PATCH 1/7] dt-bindings: display: st7703: Add Powkiddy RGB10MAX3 panel

2024-02-12 Thread Chris Morgan
From: Chris Morgan The RGB10MAX3 panel is a panel specific to the Powkiddy RGB10MAX3 handheld device that measures 5 inches diagonally with a resolution of 720x1280. Signed-off-by: Chris Morgan --- .../devicetree/bindings/display/panel/rocktech,jh057n00900.yaml | 2 ++ 1 file changed, 2

[PATCH 0/7] Add Support for RK3566 Powkiddy RGB10MAX3

2024-02-12 Thread Chris Morgan
From: Chris Morgan Add support for the Powkiddy RGB10MAX3 handheld gaming console. [1] https://powkiddy.com/products/pre-sale-powkiddy-rgb10max3-handheld-game-console Chris Morgan (7): dt-bindings: display: st7703: Add Powkiddy RGB10MAX3 panel drm/panel: st7703: Add Powkiddy RGB10MAX3

[PATCH 3/7] dt-bindings: display: Document ST7703 panel rotation

2024-02-12 Thread Chris Morgan
From: Chris Morgan Document the rotation property for ST7703 based panels. Signed-off-by: Chris Morgan --- .../devicetree/bindings/display/panel/rocktech,jh057n00900.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/rocktech

[PATCH 7/7] arm64: dts: rockchip: Add Powkiddy RGB10MAX3

2024-02-12 Thread Chris Morgan
From: Chris Morgan Add support for the Powkiddy RGB10MAX3. The Powkiddy RGB10MAX3 is a handheld gaming device with a 720p 5.0 inch screen powered by the Rockchip RK3566 SoC. It includes a Realtek 8723ds WiFi/BT module, 2 ADC joysticks powered by a 4-way muxed ADC channel, and several GPIO face

[PATCH 6/7] dt-bindings: arm: rockchip: Add Powkiddy RGB10MAX3

2024-02-12 Thread Chris Morgan
From: Chris Morgan The Powkiddy RGB10MAX3 is a handheld gaming device made by Powkiddy and powered by the Rockchip RK3566 SoC. Signed-off-by: Chris Morgan --- Documentation/devicetree/bindings/arm/rockchip.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree

Re: [PATCH v3] drm/panel: st7703: Fix Panel Initialization for Anbernic RG353V-V2

2024-02-09 Thread Chris Morgan
sting the parameters to match those specified in the BSP kernel's > device tree allow the panel to initialize correctly. > > Signed-off-by: Ao Zhong Tested-by: Chris Morgan > --- > drivers/gpu/drm/panel/panel-sitronix-st7703.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 delet

Re: [PATCH RESEND 1/1] drm/panel: st7703: Fix Panel Initialization for Anbernic RG353V-V2

2024-02-09 Thread Chris Morgan
be needed for existing devices, and I'm not sure what could have caused the regression... Note the previous settings did still appear to work, the panel just took much longer to start working after the init sequence (as much as 20 seconds on cold boot, clearly indicating a problem). Thank y

[PATCH 2/3] dt-bindings: display: st7701: Add Anbernic RG-ARC panel

2023-12-08 Thread Chris Morgan
From: Chris Morgan The RG-ARC panel is a panel specific to the Anbernic RG-ARC. It is 4 inches in size (diagonally) with a resolution of 480x640. Signed-off-by: Chris Morgan --- .../devicetree/bindings/display/panel/sitronix,st7701.yaml | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 3/3] drm/panel: st7701: Add Anbernic RG-ARC Panel Support

2023-12-08 Thread Chris Morgan
From: Chris Morgan The Powkiddy RG-ARC is a series of 2 handheld devices, each with a 4 inch 480x640 display. Add support for the display. Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/panel-sitronix-st7701.c | 136 ++ 1 file changed, 136 insertions(+) diff --git

[PATCH 0/3] Add Support for RG-ARC Panel

2023-12-08 Thread Chris Morgan
From: Chris Morgan Add support for the Anbernic RG-ARC display panel as used in the RG-ARC S and RG-ARC D handheld gaming devices from Anbernic. Chris Morgan (3): drm/panel: st7701: Fix AVCL calculation dt-bindings: display: st7701: Add Anbernic RG-ARC panel drm/panel: st7701: Add

[PATCH 1/3] drm/panel: st7701: Fix AVCL calculation

2023-12-08 Thread Chris Morgan
From: Chris Morgan The AVCL register, according to the datasheet, comes in increments of -0.2v between -4.4v (represented by 0x0) to -5.0v (represented by 0x3). The current calculation is done by adding the defined AVCL value in mV to -4400 and then dividing by 200 to get the register value

[PATCH V2 07/10] clk: rockchip: Mark pclk_usb as critical on rk3568

2023-12-04 Thread Chris Morgan
From: Chris Morgan In the reference manual under "2.8.6 NIU Clock gating reliance" it is stated that pclk_usb_niu has a dependency on hclk_usb_niu. While the manual does not state that this is a bi-directional relationship it was noted that the sdmmc2 failed to operate for me i

[PATCH V2 10/10] arm64: dts: rockchip: Add Powkiddy X55

2023-12-04 Thread Chris Morgan
From: Chris Morgan Add support for the Powkiddy X55. The Powkiddy RK2023 is a handheld gaming device with a 720p 5.5 inch screen powered by the Rockchip RK3566 SoC. It includes a Realtek 8821cs WiFi/BT module, 2 ADC joysticks powered by 4 dedicated ADC channels, and several GPIO face buttons

[PATCH V2 09/10] dt-bindings: arm: rockchip: Add Powkiddy X55

2023-12-04 Thread Chris Morgan
From: Chris Morgan The Powkiddy RK2023 is a handheld gaming device made by Powkiddy and powered by the Rockchip RK3566 SoC. This device is somewhat similar to the existing Powkiddy RK3566 devices, which have been grouped together with a previous commit[1]. [1] https://lore.kernel.org/linux

[PATCH V2 05/10] dt-bindings: display: himax-hx8394: Add Powkiddy X55 panel

2023-12-04 Thread Chris Morgan
From: Chris Morgan Add compatible string for the Powkiddy X55 panel. Signed-off-by: Chris Morgan Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/panel/himax,hx8394.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display

[PATCH V2 04/10] drm/panel: himax-hx8394: Add Panel Rotation Support

2023-12-04 Thread Chris Morgan
From: Chris Morgan Add support for setting the rotation property for the Himax HX8394 panel. Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/panel-himax-hx8394.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-himax-hx8394.c b/drivers

[PATCH V2 02/10] drm/panel: himax-hx8394: Drop shutdown logic

2023-12-04 Thread Chris Morgan
From: Chris Morgan The driver shutdown is duplicate as it calls drm_unprepare and drm_disable which are called anyway when associated drivers are shutdown/removed. Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/panel-himax-hx8394.c | 17 - 1 file changed, 17 deletions

[PATCH V2 06/10] drm/panel: himax-hx8394: Add Support for Powkiddy X55 panel

2023-12-04 Thread Chris Morgan
From: Chris Morgan Add support for the Powkiddy X55 panel as used on the Powkiddy X55 handheld gaming console. This panel uses a Himax HX8394 display controller and requires a vendor provided init sequence. The display resolution is 720x1280 and is 67mm by 121mm as measured with calipers

[PATCH V2 08/10] clk: rockchip: rk3568: Add PLL rate for 126.4MHz

2023-12-04 Thread Chris Morgan
From: Chris Morgan Add support for a PLL rate of 126.4MHz so that the Powkiddy X55 panel can run at a requested 60hz. I have confirmed this rate fits with all the constraints listed in the TRM for the VPLL (as an integer PLL) in Part 1 "Chapter 2 Clock & Reset Unit (CRU)." Signed

[PATCH V2 03/10] dt-bindings: display: Document Himax HX8394 panel rotation

2023-12-04 Thread Chris Morgan
From: Chris Morgan Document panel rotation for Himax HX8394 display panel. Signed-off-by: Chris Morgan Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/panel/himax,hx8394.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings

[PATCH V2 01/10] drm/panel: himax-hx8394: Drop prepare/unprepare tracking

2023-12-04 Thread Chris Morgan
From: Chris Morgan Drop the panel specific prepare/unprepare logic. This is now tracked by the DRM stack [1]. [1] commit d2aacaf07395 ("drm/panel: Check for already prepared/enabled in drm_panel") Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/panel-himax-hx8394.c | 11

[PATCH V2 00/10] rockchip: Add Powkiddy X55

2023-12-04 Thread Chris Morgan
From: Chris Morgan Add support for the Rockchip RK3566 based Powkiddy X55 handheld gaming console. Changes since V1: - Corrected a bug with the DRM mode flags for the video driver. - Adjusted panel front and back porch and pixel clock to fix issues with display that occurred after

Re: [PATCH 6/9] drm/panel: himax-hx8394: Add Support for Powkiddy X55 panel

2023-12-01 Thread Chris Morgan
On Thu, Nov 30, 2023 at 09:19:40PM -0600, Kendrick Curry wrote: > On Thu, Nov 30, 2023 at 09:56:21AM -0600, Chris Morgan wrote: > > From: Chris Morgan > > > > Add support for the Powkiddy X55 panel as used on the Powkiddy X55 > > handheld gaming console. This panel

[PATCH 7/9] clk: rockchip: Mark pclk_usb as critical on rk3568

2023-11-30 Thread Chris Morgan
From: Chris Morgan In the reference manual under "2.8.6 NIU Clock gating reliance" it is stated that pclk_usb_niu has a dependency on hclk_usb_niu. While the manual does not state that this is a bi-directional relationship it was noted that the sdmmc2 failed to operate for me i

[PATCH 9/9] arm64: dts: rockchip: Add Powkiddy X55

2023-11-30 Thread Chris Morgan
From: Chris Morgan Add support for the Powkiddy X55. The Powkiddy RK2023 is a handheld gaming device with a 720p 5.5 inch screen powered by the Rockchip RK3566 SoC. It includes a Realtek 8821cs WiFi/BT module, 2 ADC joysticks powered by 4 dedicated ADC channels, and several GPIO face buttons

[PATCH 8/9] dt-bindings: arm: rockchip: Add Powkiddy X55

2023-11-30 Thread Chris Morgan
From: Chris Morgan The Powkiddy RK2023 is a handheld gaming device made by Powkiddy and powered by the Rockchip RK3566 SoC. This device is somewhat similar to the existing Powkiddy RK3566 devices, which have been grouped together with a previous commit[1]. [1] https://lore.kernel.org/linux

[PATCH 6/9] drm/panel: himax-hx8394: Add Support for Powkiddy X55 panel

2023-11-30 Thread Chris Morgan
From: Chris Morgan Add support for the Powkiddy X55 panel as used on the Powkiddy X55 handheld gaming console. This panel uses a Himax HX8394 display controller and requires a vendor provided init sequence. The display resolution is 720x1280 and is 67mm by 121mm as measured with calipers

[PATCH 4/9] drm/panel: himax-hx8394: Add Panel Rotation Support

2023-11-30 Thread Chris Morgan
From: Chris Morgan Add support for setting the rotation property for the Himax HX8394 panel. Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/panel-himax-hx8394.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-himax-hx8394.c b/drivers

[PATCH 5/9] dt-bindings: display: himax-hx8394: Add Powkiddy X55 panel

2023-11-30 Thread Chris Morgan
From: Chris Morgan Add compatible string for the Powkiddy X55 panel. Signed-off-by: Chris Morgan --- .../devicetree/bindings/display/panel/himax,hx8394.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml b

[PATCH 3/9] dt-bindings: display: Document Himax HX8394 panel rotation

2023-11-30 Thread Chris Morgan
From: Chris Morgan Document panel rotation for Himax HX8394 display panel. Signed-off-by: Chris Morgan --- .../devicetree/bindings/display/panel/himax,hx8394.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/himax,hx8394.yaml b

[PATCH 2/9] drm/panel: himax-hx8394: Drop shutdown logic

2023-11-30 Thread Chris Morgan
From: Chris Morgan The driver shutdown is duplicate as it calls drm_unprepare and drm_disable which are called anyway when associated drivers are shutdown/removed. Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/panel-himax-hx8394.c | 17 - 1 file changed, 17 deletions

[PATCH 0/9] rockchip: Add Powkiddy X55

2023-11-30 Thread Chris Morgan
From: Chris Morgan Add support for the Rockchip RK3566 based Powkiddy X55 handheld gaming console. Chris Morgan (9): drm/panel: himax-hx8394: Drop prepare/unprepare tracking drm/panel: himax-hx8394: Drop shutdown logic dt-bindings: display: Document Himax HX8394 panel rotation drm/panel

[PATCH 1/9] drm/panel: himax-hx8394: Drop prepare/unprepare tracking

2023-11-30 Thread Chris Morgan
From: Chris Morgan Drop the panel specific prepare/unprepare logic. This is now tracked by the DRM stack [1]. [1] commit d2aacaf07395 ("drm/panel: Check for already prepared/enabled in drm_panel") Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/panel-himax-hx8394.c | 11

Re: [PATCH V4 2/6] drm/panel: nv3051d: Hold panel in reset for unprepare

2023-11-25 Thread Chris Morgan
On Fri, Nov 17, 2023 at 02:25:32PM -0600, Chris Morgan wrote: > From: Chris Morgan > > Improve the panel's ability to restore from suspend by holding the > panel in suspend after unprepare. Now I have confirmation this does fix a bug for some users, and a somewhat serious bug at

[PATCH V4 3/6] drm/panel: nv3051d: Add Powkiddy RK2023 Panel Support

2023-11-17 Thread Chris Morgan
From: Chris Morgan Refactor the driver to add support for the powkiddy,rk2023-panel panel. This panel is extremely similar to the rg353p-panel but requires a smaller vertical back porch and isn't as tolerant of higher speeds. Note that while all of these panels are identical in size (70x57

[PATCH V4 6/6] arm64: dts: rockchip: Add Powkiddy RK2023

2023-11-17 Thread Chris Morgan
From: Chris Morgan Add support for the Powkiddy RK2023. The Powkiddy RK2023 is a handheld gaming device with a 3.5 inch screen powered by the Rockchip RK3566 SoC. The device looks physically different from the Powkiddy RGB30, but is functionally identical except for the panel. Signed-off

[PATCH V4 1/6] dt-bindings: display: nv3051d: Update NewVision NV3051D compatibles

2023-11-17 Thread Chris Morgan
From: Chris Morgan Update the NewVision NV3051D compatible strings by adding a new panel, the powkiddy,rk2023-panel, and removing another entry, the anbernic,rg353v-panel. The rk2023-panel is similar to the rg353p-panel but has slightly different timings so it needs a new string. The rg353v

[PATCH V4 4/6] dt-bindings: arm: rockchip: Add Powkiddy RK2023

2023-11-17 Thread Chris Morgan
From: Chris Morgan The Powkiddy RK2023 is a handheld gaming device made by Powkiddy and powered by the Rockchip RK3566 SoC. Group the Powkiddy RK3566 based devices together as they are both extremely similar. Signed-off-by: Chris Morgan Acked-by: Krzysztof Kozlowski --- Documentation

[PATCH V4 0/6] rockchip: Add Powkiddy RK2023

2023-11-17 Thread Chris Morgan
From: Chris Morgan Add support for the Powkiddy RK2023, which is extremely similar to existing Powkiddy RGB30 device. Changes since V3: - Corrected commit subject lines. Changes since V2: - Split "hold panel in reset" to a separate patch for the NV3051D. - Changed replaced comm

[PATCH V4 5/6] arm64: dts: rockchip: Update powkiddy, rgb30 include to rk2023 DTSI

2023-11-17 Thread Chris Morgan
From: Chris Morgan The Powkiddy RGB30 device is similar to the Anbernic RGxx3 series, however there are several differences which require deleting nodes in order to properly define the hardware. This was deemed unacceptable for the RK2023, so instead create a common include file for the Powkiddy

[PATCH V4 2/6] drm/panel: nv3051d: Hold panel in reset for unprepare

2023-11-17 Thread Chris Morgan
From: Chris Morgan Improve the panel's ability to restore from suspend by holding the panel in suspend after unprepare. Fixes: b1d39f0f4264 ("drm/panel: Add NewVision NV3051D MIPI-DSI LCD panel") Signed-off-by: Chris Morgan Reviewed-by: Jessica Zhang --- drivers/gpu/drm/panel/panel

[PATCH V2 1/5] drm/panel-elida-kd35t133: trival: update panel size from 5.5 to 3.5

2023-11-17 Thread Chris Morgan
From: Chris Morgan The comments at the top of the driver state the panel size incorrectly as 5.5" instead of 3.5". Signed-off-by: Chris Morgan Reviewed-by: Jessica Zhang --- drivers/gpu/drm/panel/panel-elida-kd35t133.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH V2 3/5] drm/panel-elida-kd35t133: drop drm_connector_set_orientation_from_panel

2023-11-17 Thread Chris Morgan
From: Chris Morgan Stop calling drm_connector_set_orientation_from_panel() as its now called by the panel bridge directly when it is initialized. Signed-off-by: Chris Morgan Reviewed-by: Jessica Zhang --- drivers/gpu/drm/panel/panel-elida-kd35t133.c | 5 - 1 file changed, 5 deletions

[PATCH V2 2/5] drm/panel-elida-kd35t133: hold panel in reset for unprepare

2023-11-17 Thread Chris Morgan
From: Chris Morgan For devices like the Anbernic RG351M and RG351P the panel is wired to an always on regulator. When the device suspends and wakes up, there are some slight artifacts on the screen that go away over time. If instead we hold the panel in reset status after it is unprepared

[PATCH V2 5/5] drm/panel-elida-kd35t133: Drop prepare/unprepare logic

2023-11-17 Thread Chris Morgan
From: Chris Morgan Drop the prepare/unprepare logic, as this is now tracked elsewhere since this commit [1]. [1] commit d2aacaf07395 ("drm/panel: Check for already prepared/enabled in drm_panel") Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/panel-elida-kd35t

[PATCH V2 4/5] drm/panel-elida-kd35t133: Drop shutdown logic

2023-11-17 Thread Chris Morgan
From: Chris Morgan The driver shutdown is duplicate as it calls drm_unprepare and drm_disable which are called anyway when associated drivers are shutdown/removed. Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/panel-elida-kd35t133.c | 17 - 1 file changed, 17 deletions

[PATCH V2 0/5] Elida KD35T133 Panel Improvements

2023-11-17 Thread Chris Morgan
From: Chris Morgan Fix a few bugs and clean up no longer needed code on the Elida KD35T133 DSI panel, as used in devices such as the Odroid Go Advance and the Anbernic RG351M. Changes since V1: - Split removal of shutdown logic into a new patch independent of dropping of prepared tracking

Re: [PATCH 2/4] drm/panel-elida-kd35t133: hold panel in reset for unprepare

2023-11-16 Thread Chris Morgan
On Wed, Nov 15, 2023 at 01:38:11PM -0800, Jessica Zhang wrote: > > > On 11/15/2023 7:26 AM, Chris Morgan wrote: > > From: Chris Morgan > > > > For devices like the Anbernic RG351M and RG351P the panel is wired to > > an always on regulator. When

[PATCH V3 2/6] drm/panel: nv3051d: Hold panel in reset for unprepare

2023-11-15 Thread Chris Morgan
From: Chris Morgan Improve the panel's ability to restore from suspend by holding the panel in suspend after unprepare. Fixes: b1d39f0f4264 ("drm/panel: Add NewVision NV3051D MIPI-DSI LCD panel") Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/panel-newvision-nv3051d.c | 2

[PATCH V3 5/6] arm64: dts: rockchip: Update powkiddy, rgb30 include to rk2023 DTSI

2023-11-15 Thread Chris Morgan
From: Chris Morgan The Powkiddy RGB30 device is similar to the Anbernic RGxx3 series, however there are several differences which require deleting nodes in order to properly define the hardware. This was deemed unacceptable for the RK2023, so instead create a common include file for the Powkiddy

[PATCH V3 6/6] dt-bindings: arm: rockchip: Add Powkiddy RK2023

2023-11-15 Thread Chris Morgan
From: Chris Morgan Add support for the Powkiddy RK2023. The Powkiddy RK2023 is a handheld gaming device with a 3.5 inch screen powered by the Rockchip RK3566 SoC. The device looks physically different from the Powkiddy RGB30, but is functionally identical except for the panel. Signed-off

[PATCH V3 4/6] dt-bindings: arm: rockchip: Add Powkiddy RK2023

2023-11-15 Thread Chris Morgan
From: Chris Morgan The Powkiddy RK2023 is a handheld gaming device made by Powkiddy and powered by the Rockchip RK3566 SoC. Group the Powkiddy RK3566 based devices together as they are both extremely similar. Signed-off-by: Chris Morgan Acked-by: Krzysztof Kozlowski --- Documentation

[PATCH V3 3/6] nv3051d: Add Powkiddy RK2023 Panel Support

2023-11-15 Thread Chris Morgan
From: Chris Morgan Refactor the driver to add support for the powkiddy,rk2023-panel panel. This panel is extremely similar to the rg353p-panel but requires a smaller vertical back porch and isn't as tolerant of higher speeds. Note that while all of these panels are identical in size (70x57

[PATCH V3 1/6] dt-bindings: display: panel: Update NewVision NV3051D compatibles

2023-11-15 Thread Chris Morgan
From: Chris Morgan Update the NewVision NV3051D compatible strings by adding a new panel, the powkiddy,rk2023-panel, and removing another entry, the anbernic,rg353v-panel. The rk2023-panel is similar to the rg353p-panel but has slightly different timings so it needs a new string. The rg353v

[PATCH V3 0/6] rockchip: Add Powkiddy RK2023

2023-11-15 Thread Chris Morgan
From: Chris Morgan Add support for the Powkiddy RK2023, which is extremely similar to existing Powkiddy RGB30 device. Changes since V2: - Split "hold panel in reset" to a separate patch for the NV3051D. - Changed replaced common include to a new Powkiddy specific include to bett

[PATCH 4/4] drm/panel-elida-kd35t133: Drop prepare/unprepare logic

2023-11-15 Thread Chris Morgan
From: Chris Morgan Drop the prepare/unprepare logic, as this is now tracked elsewhere. Additionally, the driver shutdown is also duplicate as it calls drm_unprepare and drm_disable which are called anyway when associated drivers are shutdown/removed. Signed-off-by: Chris Morgan --- drivers

[PATCH 2/4] drm/panel-elida-kd35t133: hold panel in reset for unprepare

2023-11-15 Thread Chris Morgan
From: Chris Morgan For devices like the Anbernic RG351M and RG351P the panel is wired to an always on regulator. When the device suspends and wakes up, there are some slight artifacts on the screen that go away over time. If instead we hold the panel in reset status after it is unprepared

[PATCH 3/4] drm/panel-elida-kd35t133: drop drm_connector_set_orientation_from_panel

2023-11-15 Thread Chris Morgan
From: Chris Morgan Stop calling drm_connector_set_orientation_from_panel() as its now called by the panel bridge directly when it is initialized. Signed-off-by: Chris Morgan --- drivers/gpu/drm/panel/panel-elida-kd35t133.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/gpu

[PATCH 0/4] Elida KD35T133 Panel Improvements

2023-11-15 Thread Chris Morgan
From: Chris Morgan Fix a few bugs and clean up no longer needed code on the Elida KD35T133 DSI panel, as used in devices such as the Odroid Go Advance and the Anbernic RG351M. Chris Morgan (4): drm/panel-elida-kd35t133: trival: update panel size from 5.5 to 3.5 drm/panel-elida-kd35t133

[PATCH 1/4] drm/panel-elida-kd35t133: trival: update panel size from 5.5 to 3.5

2023-11-15 Thread Chris Morgan
From: Chris Morgan The comments at the top of the driver state the panel size incorrectly as 5.5" instead of 3.5". 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/p

Re: [PATCH V2 4/4] arm64: dts: rockchip: add Powkiddy RK2023

2023-11-10 Thread Chris Morgan
On Fri, Nov 10, 2023 at 02:14:23PM +0100, Krzysztof Kozlowski wrote: > On 09/11/2023 22:50, Chris Morgan wrote: > > From: Chris Morgan > > > > Add support for the Powkiddy RK2023. The Powkiddy RK2023 is a handheld > > gaming device with a 3.5 inch screen powered by

Re: [PATCH V2 1/4] dt-bindings: display: panel: Update NewVision NV3051D compatibles

2023-11-10 Thread Chris Morgan
On Fri, Nov 10, 2023 at 02:11:58PM +0100, Krzysztof Kozlowski wrote: > On 09/11/2023 22:50, Chris Morgan wrote: > > From: Chris Morgan > > > > Update the NewVision NV3051D compatible strings by adding a new panel, > > the powkiddy,rk2023-panel, and removing another ent

[PATCH V2 2/4] nv3051d: Add Powkiddy RK2023 Panel Support

2023-11-09 Thread Chris Morgan
From: Chris Morgan Refactor the driver to add support for the powkiddy,rk2023-panel panel. This panel is extremely similar to the rg353p-panel but requires a smaller vertical back porch and isn't as tolerant of higher speeds. Note that while all of these panels are identical in size (70x57

[PATCH V2 4/4] arm64: dts: rockchip: add Powkiddy RK2023

2023-11-09 Thread Chris Morgan
From: Chris Morgan Add support for the Powkiddy RK2023. The Powkiddy RK2023 is a handheld gaming device with a 3.5 inch screen powered by the Rockchip RK3566 SoC. The device is almost identical to the Anbernic RG353P except it lacks eMMC, a function button, a touch screen, no UART headers

[PATCH V2 3/4] dt-bindings: arm: rockchip: Add Powkiddy RK2023

2023-11-09 Thread Chris Morgan
From: Chris Morgan The Powkiddy RK2023 is a handheld gaming device made by Powkiddy and powered by the Rockchip RK3566 SoC. Group the Powkiddy RK3566 based devices together as they are both extremely similar. Signed-off-by: Chris Morgan --- Documentation/devicetree/bindings/arm/rockchip.yaml

[PATCH V2 0/4] rockchip: Add Powkiddy RK2023

2023-11-09 Thread Chris Morgan
From: Chris Morgan Add support for the Powkiddy RK2023, which is extremely similar to existing devices from Anbernic. Changes since V1: - Necessary clock changes have been accepted to mainline, so removed from this series. https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux

[PATCH V2 1/4] dt-bindings: display: panel: Update NewVision NV3051D compatibles

2023-11-09 Thread Chris Morgan
From: Chris Morgan Update the NewVision NV3051D compatible strings by adding a new panel, the powkiddy,rk2023-panel, and removing another entry, the anbernic,rg353v-panel. The rg353v-panel is exactly identical to the rg353p-panel and is not currently in use by any existing device tree

Re: [PATCH 4/5] dt-bindings: arm: rockchip: Add Powkiddy RK2023

2023-10-25 Thread Chris Morgan
On Tue, Oct 24, 2023 at 05:47:37PM +0200, Heiko Stübner wrote: > Hi Chris, > > Am Freitag, 20. Oktober 2023, 17:03:08 CEST schrieb Chris Morgan: > > On Thu, Oct 19, 2023 at 07:45:17PM +0200, Heiko Stübner wrote: > > > Hey Chris, > > > > > > Am Donnersta

Re: [PATCH 1/5] dt-bindings: display: panel: Update NewVision NV3051D compatibles

2023-10-24 Thread Chris Morgan
On Tue, Oct 24, 2023 at 01:27:55PM -0500, Rob Herring wrote: > On Thu, Oct 19, 2023 at 09:50:38AM -0500, Chris Morgan wrote: > > On Thu, Oct 19, 2023 at 11:22:19AM +0200, Krzysztof Kozlowski wrote: > > > On 18/10/2023 18:18, Chris Morgan wrote: > > > > From: Chris M

Re: [PATCH 4/5] dt-bindings: arm: rockchip: Add Powkiddy RK2023

2023-10-20 Thread Chris Morgan
On Thu, Oct 19, 2023 at 07:45:17PM +0200, Heiko Stübner wrote: > Hey Chris, > > Am Donnerstag, 19. Oktober 2023, 16:43:56 CEST schrieb Chris Morgan: > > On Thu, Oct 19, 2023 at 11:21:47AM +0200, Krzysztof Kozlowski wrote: > > > On 18/10/2023 18:18, Chris Morgan wrote: &g

Re: [PATCH 2/5] drm/panel: nv3051d: Add Powkiddy RK2023 Panel Support

2023-10-20 Thread Chris Morgan
On Thu, Oct 19, 2023 at 10:22:24AM -0700, Jessica Zhang wrote: > > > On 10/18/2023 9:18 AM, Chris Morgan wrote: > > From: Chris Morgan > > > > Refactor the driver to add support for the powkiddy,rk2023-panel > > panel. This panel is extremely similar to

Re: [PATCH 1/5] dt-bindings: display: panel: Update NewVision NV3051D compatibles

2023-10-19 Thread Chris Morgan
On Thu, Oct 19, 2023 at 11:22:19AM +0200, Krzysztof Kozlowski wrote: > On 18/10/2023 18:18, Chris Morgan wrote: > > From: Chris Morgan > > > > Update the NewVision NV3051D compatible strings by adding a new panel, > > the powkiddy,rk2023-panel, and removing another ent

Re: [PATCH 4/5] dt-bindings: arm: rockchip: Add Powkiddy RK2023

2023-10-19 Thread Chris Morgan
On Thu, Oct 19, 2023 at 11:21:47AM +0200, Krzysztof Kozlowski wrote: > On 18/10/2023 18:18, Chris Morgan wrote: > > From: Chris Morgan > > > > The Powkiddy RK2023 is a handheld gaming device made by Powkiddy and > > powered by the Rockchip RK3566 SoC. > >

[PATCH 5/5] arm64: dts: rockchip: add Powkiddy RK2023

2023-10-18 Thread Chris Morgan
From: Chris Morgan Add support for the Powkiddy RK2023. The Powkiddy RK2023 is a handheld gaming device with a 3.5 inch screen powered by the Rockchip RK3566 SoC. The device is almost identical to the Anbernic RG353P except it lacks eMMC, a function button, a touch screen, no UART headers

[PATCH 3/5] clk: rockchip: rk3568: Add PLL rate for 115.2MHz

2023-10-18 Thread Chris Morgan
From: Chris Morgan Add support for a PLL rate of 115.2MHz so that the Powkiddy RK2023 panel can run at a requested 60hz (59.99, close enough). I have confirmed this rate fits with all the constraints listed in the TRM for the VPLL (as an integer PLL) in Part 1 "Chapter 2 Clock & Reset

[PATCH 2/5] drm/panel: nv3051d: Add Powkiddy RK2023 Panel Support

2023-10-18 Thread Chris Morgan
From: Chris Morgan Refactor the driver to add support for the powkiddy,rk2023-panel panel. This panel is extremely similar to the rg353p-panel but requires a smaller vertical back porch and isn't as tolerant of higher speeds. Tested on my RG351V, RG353P, RG353V, and RK2023. Signed-off

[PATCH 4/5] dt-bindings: arm: rockchip: Add Powkiddy RK2023

2023-10-18 Thread Chris Morgan
From: Chris Morgan The Powkiddy RK2023 is a handheld gaming device made by Powkiddy and powered by the Rockchip RK3566 SoC. Signed-off-by: Chris Morgan --- Documentation/devicetree/bindings/arm/rockchip.yaml | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree

[PATCH 1/5] dt-bindings: display: panel: Update NewVision NV3051D compatibles

2023-10-18 Thread Chris Morgan
From: Chris Morgan Update the NewVision NV3051D compatible strings by adding a new panel, the powkiddy,rk2023-panel, and removing another entry, the anbernic,rg353v-panel. The rg353v-panel is exactly identical to the rg353p-panel and is not currently in use by any existing device tree

[PATCH 0/5] rockchip: Add Powkiddy RK2023

2023-10-18 Thread Chris Morgan
From: Chris Morgan Add support for the Powkiddy RK2023, which is extremely similar to existing devices from Anbernic. Chris Morgan (5): dt-bindings: display: panel: Update NewVision NV3051D compatibles drm/panel: nv3051d: Add Powkiddy RK2023 Panel Support clk: rockchip: rk3568: Add PLL

Re: [PATCH 1/1] drm/panel: st7703: Pick different reset sequence

2023-10-18 Thread Chris Morgan
t; > > > This fixes intermittent panel initialization failures and screen > > corruption during resume from sleep on panel xingbangda,xbd599 (e.g. > > used in PinePhone). > > Thanks, applied to drm-misc-next. > Cheers, > -- Guido Thank you. Probably too la

Re: [PATCH 3/5] drm/panel: st7703: Add Powkiddy RGB30 Panel Support

2023-10-16 Thread Chris Morgan
On Mon, Oct 16, 2023 at 08:18:25PM +0200, Heiko Stübner wrote: > Hi, > > Am Montag, 16. Oktober 2023, 18:07:52 CEST schrieb Dragan Simic: > > On 2023-10-16 17:52, Chris Morgan wrote: > > > Confirmed that those pending patches DO fix the panel suspend issues. > >

Re: [PATCH 3/5] drm/panel: st7703: Add Powkiddy RGB30 Panel Support

2023-10-16 Thread Chris Morgan
Confirmed that those pending patches DO fix the panel suspend issues. Thank you. On Mon, Oct 16, 2023 at 3:41 AM Guido Günther wrote: > > Hi Chris, > On Fri, Oct 13, 2023 at 01:39:16PM -0500, Chris Morgan wrote: > > From: Chris Morgan > > > > The Powkiddy RGB30 4 inc

[PATCH 3/5] drm/panel: st7703: Add Powkiddy RGB30 Panel Support

2023-10-13 Thread Chris Morgan
From: Chris Morgan The Powkiddy RGB30 4 inch panel is a 4 inch 720x720 DSI panel used in the Powkiddy RGB30 handheld gaming device. Add support for it. TODO: The panel seems to not resume properly from suspend. I've confirmed on the other ST7703 based devices it works correctly. Signed-off

[PATCH 5/5] arm64: dts: rockchip: add support for Powkiddy RGB30

2023-10-13 Thread Chris Morgan
From: Chris Morgan The Powkiddy RGB30 is a portable game device based on the Rockchip RK3566 SoC. It has GPIO buttons on the face and sides for input, stereo speakers, a 720x720 4 inch DSI display, a USB-C host port and a USB-C peripheral port, dual SD card slots, WiFi, Bluetooth, and 1GB of RAM

[PATCH 1/5] dt-bindings: vendor-prefixes: document Powkiddy

2023-10-13 Thread Chris Morgan
From: Chris Morgan Document Powkiddy (https://powkiddy.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/devicetree

[PATCH 4/5] dt-bindings: arm64: rockchip: add Powkiddy RGB30

2023-10-13 Thread Chris Morgan
From: Chris Morgan The Powkiddy RGB30 is a portable handheld console from Powkiddy which uses the Rockchip RK3566 SoC. Signed-off-by: Chris Morgan --- Documentation/devicetree/bindings/arm/rockchip.yaml | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings

[PATCH 2/5] dt-bindings: panel: Add Powkiddy RGB30 panel compatible

2023-10-13 Thread Chris Morgan
From: Chris Morgan The Powkiddy RGB30 panel is a 4 inch 720x720 MIPI-DSI LCD panel. It appears to be based on the ST7703 LCD controller (this is assumed from the init sequence similarity between this and other displays). Powkiddy would not share the part number or name for the display from

[PATCH 0/5] Add Support for RK3566 Powkiddy RGB30

2023-10-13 Thread Chris Morgan
From: Chris Morgan Add support for the Powkiddy RGB30 handheld gaming console. Chris Morgan (5): dt-bindings: vendor-prefixes: document Powkiddy dt-bindings: panel: Add Powkiddy RGB30 panel compatible drm/panel: st7703: Add Powkiddy RGB30 Panel Support dt-bindings: arm64: rockchip: add

[PATCH V4 1/2] dt-bindings: display: newvision, nv3051d: Add Anbernic 351V

2023-10-03 Thread Chris Morgan
From: Chris Morgan Document the Anbernic RG351V panel, which is identical to the panel used in their 353 series except for in inclusion of an additional DSI format flag. Signed-off-by: Chris Morgan Acked-by: Conor Dooley --- .../devicetree/bindings/display/panel/newvision,nv3051d.yaml | 5

[PATCH V4 0/2] Support Anbernic RG351V Panel

2023-10-03 Thread Chris Morgan
From: Chris Morgan Add support for the Anbernic RG351V panel. This panel is mostly identical to the one used in the 353 series, except it has a different panel ID when queried (0x4000 for the 351V, 0x3052 for the 353 panel) and will not work without the inclusion

[PATCH V4 2/2] drm/panel: nv3051d: Add Support for Anbernic 351V

2023-10-03 Thread Chris Morgan
From: Chris Morgan Add support for the Anbernic 351V. Just like the 353 series the underlying vendor is unknown/unmarked (at least not visible in a non-destructive manner). The panel had slightly different init sequences and timings in the BSP kernel, but works fine with the same ones used

  1   2   3   >