[PATCH RESEND 03/22] dt-bindings: clock: sun8i de2 clock: Add PLL com clock

2024-12-27 Thread Parthiban Nallathambi
Some platforms like A100/A133 also uses pll-com clock as additional clock source for the display clock. This is not documents both in user manual and DE 2.0 specification. These changes are mainly from vendor BSP. Signed-off-by: Parthiban Nallathambi --- .../devicetree/bindings/clock/allwinner

[PATCH RESEND 16/22] clk: sunxi-ng: sun8i-de2: Add support for a100/a133

2024-12-27 Thread Parthiban Nallathambi
-by: Parthiban Nallathambi --- drivers/clk/sunxi-ng/ccu-sun8i-de2.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-de2.c b/drivers/clk/sunxi-ng/ccu-sun8i-de2.c index 3e28c32050e0..067820ab704d 100644 --- a/drivers/clk/sunxi-ng/ccu-sun8i-de2.c +++ b/drivers

[PATCH RESEND 14/22] drm/sun4i: add a100/a133 tcon top quirks

2024-12-27 Thread Parthiban Nallathambi
A100/A133 comes with 2 x LVDS, 1 x DSI without TV support. Add quirks with tv0 disabled. DSI support is not added. Signed-off-by: Parthiban Nallathambi --- drivers/gpu/drm/sun4i/sun8i_tcon_top.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/sun4i/sun8i_tcon_top.c

[PATCH RESEND 15/22] clk: sunxi-ng: sun8i-de2: add pll-com clock support

2024-12-27 Thread Parthiban Nallathambi
. Signed-off-by: Parthiban Nallathambi --- drivers/clk/sunxi-ng/ccu-sun8i-de2.c | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-de2.c b/drivers/clk/sunxi-ng/ccu-sun8i-de2.c index f2aa71206bc2..3e28c32050e0 100644 --- a/drivers

[PATCH RESEND 13/22] drm/sun4i: make tcon top tv0 optional

2024-12-27 Thread Parthiban Nallathambi
current implementation of tcon top assumes tv0 is always present, which isn't case in A100/A133 SoC's. Make tv0 optional by introducing another control similar to tv1 and make existing users with true/present. Signed-off-by: Parthiban Nallathambi --- drivers/gpu/drm/sun4i/sun8i_tcon_

[PATCH RESEND 12/22] drm/sun4i: Add support for a100/a133 mixer

2024-12-27 Thread Parthiban Nallathambi
Mixers in Allwinner A100/A133 have similar capabilities as others SoCs with DE2. Add support for them. Signed-off-by: Parthiban Nallathambi --- drivers/gpu/drm/sun4i/sun8i_mixer.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/gpu/drm/sun4i/sun8i_mixer.c b/drivers

[PATCH RESEND 11/22] drm/sun4i: Add support for a100/a133 display engine

2024-12-27 Thread Parthiban Nallathambi
Display Engine(DE2) in Allwinner A100/A133 has one mixers and tcon. The routing for mixer0 is through tcon0 and connected to LVDS/RGB/MIPI-DSI controller. Signed-off-by: Parthiban Nallathambi --- drivers/gpu/drm/sun4i/sun4i_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu

[PATCH RESEND 06/22] dt-bindings: display: sun4i: add a100/a133 tcon lcd

2024-12-27 Thread Parthiban Nallathambi
A100/A133 has one 18 bit LCD / 2 x LVDS / 1 x DSI. All the controller shares the same GPIO D block, where LVDS controller can co-exits. Although 2 LVDS controller is available, there is no document details for the second. Add compatible for a100 lcd controller. Signed-off-by: Parthiban

[PATCH RESEND 08/22] dt-bindings: arm: sunxi: document Szbaijie A133 helper board

2024-12-27 Thread Parthiban Nallathambi
Szbaijie Baijie Technology A133 helper board is an evaluation board of their A133-Core SoM. Add its compatible (with the SoM compatible) to the sunxi board DT binding file. Signed-off-by: Parthiban Nallathambi --- Documentation/devicetree/bindings/arm/sunxi.yaml | 6 ++ 1 file changed, 6

[PATCH RESEND 10/22] pinctrl: sunxi: add missed lvds pins for a100/a133

2024-12-27 Thread Parthiban Nallathambi
lvds, lcd, dsi all shares the same GPIO D bank and lvds0 data 3 lines and lvds1 pins are missed, add them. Signed-off-by: Parthiban Nallathambi --- drivers/pinctrl/sunxi/pinctrl-sun50i-a100.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/pinctrl/sunxi/pinctrl-sun50i

[PATCH RESEND 09/22] iommu: sun50i: make reset control optional

2024-12-27 Thread Parthiban Nallathambi
A133/A100 SoC doesn't have reset control from the CCU. Get reset control line optionally. Signed-off-by: Parthiban Nallathambi --- drivers/iommu/sun50i-iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/sun50i-iommu.c b/drivers/iommu/sun50i-iommu.c

[PATCH RESEND 07/22] dt-bindings: vendor-prefixes: Shenzhen Baijie Technology

2024-12-27 Thread Parthiban Nallathambi
Add entry for Shenzhen Baijie Technology (https://szbaijie.com) Signed-off-by: Parthiban Nallathambi --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation

[PATCH RESEND 05/22] dt-bindings: display: sun4i: add phy property

2024-12-27 Thread Parthiban Nallathambi
lvds in A100/A133 platform uses phy from DSI block, which needs to be handled in phy driver. Add phy property to tcon with generic name 'phy'. Signed-off-by: Parthiban Nallathambi --- .../devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml | 6 ++ 1 file changed, 6

[PATCH RESEND 04/22] dt-bindings: clock: sun8i de2 clock: Add a100/a133 compatible

2024-12-27 Thread Parthiban Nallathambi
A100/A133 uses one mixer without rotation support, which is same as sun8i v3s. Add it with fallback to v3s compatible. Signed-off-by: Parthiban Nallathambi --- .../devicetree/bindings/clock/allwinner,sun8i-a83t-de2-clk.yaml | 4 1 file changed, 4 insertions(+) diff --git a

[PATCH RESEND 02/22] dt-bindings: display: sunxi: Add a100/a133 display engine compatibles

2024-12-27 Thread Parthiban Nallathambi
A100/A133 comes with display enginer 2.0 with 1 x Mixer with write back support and 1 tcon top. Mixer can be used with lcd/lvds/dsi, but shares the same GPIO bank. Signed-off-by: Parthiban Nallathambi --- .../display/allwinner,sun4i-a10-display-engine.yaml | 2 ++ .../display/allwinner

[PATCH RESEND 01/22] dt-bindings: iommu: sun50i: remove resets from required property

2024-12-27 Thread Parthiban Nallathambi
iommu in a133/a100 does not have reset control. remove it from required property to make it optional. Signed-off-by: Parthiban Nallathambi --- Documentation/devicetree/bindings/iommu/allwinner,sun50i-h6-iommu.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree

[PATCH RESEND 00/22] Add support for A100/A133 display

2024-12-27 Thread Parthiban Nallathambi
sunxi/20241109003739.3440904-1-masterr3c0rd@epochal.quest/ [2]: https://lore.kernel.org/linux-sunxi/20241218-a100-syscon-v2-0-dae60b9ce192@epochal.quest/ Signed-off-by: Parthiban Nallathambi --- Parthiban Nallathambi (22): dt-bindings: iommu: sun50i: remove resets from required property

[PATCH 16/22] clk: sunxi-ng: sun8i-de2: Add support for a100/a133

2024-12-27 Thread Parthiban Nallathambi
-by: Parthiban Nallathambi --- drivers/clk/sunxi-ng/ccu-sun8i-de2.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-de2.c b/drivers/clk/sunxi-ng/ccu-sun8i-de2.c index 3e28c32050e0..067820ab704d 100644 --- a/drivers/clk/sunxi-ng/ccu-sun8i-de2.c +++ b/drivers

[PATCH 14/22] drm/sun4i: add a100/a133 tcon top quirks

2024-12-27 Thread Parthiban Nallathambi
A100/A133 comes with 2 x LVDS, 1 x DSI without TV support. Add quirks with tv0 disabled. DSI support is not added. Signed-off-by: Parthiban Nallathambi --- drivers/gpu/drm/sun4i/sun8i_tcon_top.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/sun4i/sun8i_tcon_top.c

[PATCH 17/22] phy: allwinner: phy-sun6i-mipi-dphy: add LVDS support

2024-12-27 Thread Parthiban Nallathambi
apart from the one in combo phy. MIPI got enable control in analog 4 register which must be disabled when using in LVDS mode. Introduce set_mode in phy ops to control only for MIPI DSI. Signed-off-by: Parthiban Nallathambi --- drivers/phy/allwinner/phy-sun6i-mipi-dphy.c | 23 +++--

[PATCH 15/22] clk: sunxi-ng: sun8i-de2: add pll-com clock support

2024-12-27 Thread Parthiban Nallathambi
. Signed-off-by: Parthiban Nallathambi --- drivers/clk/sunxi-ng/ccu-sun8i-de2.c | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-de2.c b/drivers/clk/sunxi-ng/ccu-sun8i-de2.c index f2aa71206bc2..3e28c32050e0 100644 --- a/drivers

[PATCH 13/22] drm/sun4i: make tcon top tv0 optional

2024-12-27 Thread Parthiban Nallathambi
current implementation of tcon top assumes tv0 is always present, which isn't case in A100/A133 SoC's. Make tv0 optional by introducing another control similar to tv1 and make existing users with true/present. Signed-off-by: Parthiban Nallathambi --- drivers/gpu/drm/sun4i/sun8i_tcon_

[PATCH 12/22] drm/sun4i: Add support for a100/a133 mixer

2024-12-27 Thread Parthiban Nallathambi
Mixers in Allwinner A100/A133 have similar capabilities as others SoCs with DE2. Add support for them. Signed-off-by: Parthiban Nallathambi --- drivers/gpu/drm/sun4i/sun8i_mixer.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/gpu/drm/sun4i/sun8i_mixer.c b/drivers

[PATCH 11/22] drm/sun4i: Add support for a100/a133 display engine

2024-12-27 Thread Parthiban Nallathambi
Display Engine(DE2) in Allwinner A100/A133 has one mixers and tcon. The routing for mixer0 is through tcon0 and connected to LVDS/RGB/MIPI-DSI controller. Signed-off-by: Parthiban Nallathambi --- drivers/gpu/drm/sun4i/sun4i_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu

[PATCH 10/22] pinctrl: sunxi: add missed lvds pins for a100/a133

2024-12-27 Thread Parthiban Nallathambi
lvds, lcd, dsi all shares the same GPIO D bank and lvds0 data 3 lines and lvds1 pins are missed, add them. Signed-off-by: Parthiban Nallathambi --- drivers/pinctrl/sunxi/pinctrl-sun50i-a100.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/pinctrl/sunxi/pinctrl-sun50i

[PATCH 09/22] iommu: sun50i: make reset control optional

2024-12-27 Thread Parthiban Nallathambi
A133/A100 SoC doesn't have reset control from the CCU. Get reset control line optionally. Signed-off-by: Parthiban Nallathambi --- drivers/iommu/sun50i-iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/sun50i-iommu.c b/drivers/iommu/sun50i-iommu.c

[PATCH 08/22] dt-bindings: arm: sunxi: document Szbaijie A133 helper board

2024-12-27 Thread Parthiban Nallathambi
Szbaijie Baijie Technology A133 helper board is an evaluation board of their A133-Core SoM. Add its compatible (with the SoM compatible) to the sunxi board DT binding file. Signed-off-by: Parthiban Nallathambi --- Documentation/devicetree/bindings/arm/sunxi.yaml | 6 ++ 1 file changed, 6

[PATCH 07/22] dt-bindings: vendor-prefixes: Shenzhen Baijie Technology

2024-12-27 Thread Parthiban Nallathambi
Add entry for Shenzhen Baijie Technology (https://szbaijie.com) Signed-off-by: Parthiban Nallathambi --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation

[PATCH 06/22] dt-bindings: display: sun4i: add a100/a133 tcon lcd

2024-12-27 Thread Parthiban Nallathambi
A100/A133 has one 18 bit LCD / 2 x LVDS / 1 x DSI. All the controller shares the same GPIO D block, where LVDS controller can co-exits. Although 2 LVDS controller is available, there is no document details for the second. Add compatible for a100 lcd controller. Signed-off-by: Parthiban

[PATCH 05/22] dt-bindings: display: sun4i: add phy property

2024-12-27 Thread Parthiban Nallathambi
lvds in A100/A133 platform uses phy from DSI block, which needs to be handled in phy driver. Add phy property to tcon with generic name 'phy'. Signed-off-by: Parthiban Nallathambi --- .../devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml | 6 ++ 1 file changed, 6

[PATCH 02/22] dt-bindings: display: sunxi: Add a100/a133 display engine compatibles

2024-12-27 Thread Parthiban Nallathambi
A100/A133 comes with display enginer 2.0 with 1 x Mixer with write back support and 1 tcon top. Mixer can be used with lcd/lvds/dsi, but shares the same GPIO bank. Signed-off-by: Parthiban Nallathambi --- .../display/allwinner,sun4i-a10-display-engine.yaml | 2 ++ .../display/allwinner

[PATCH 04/22] dt-bindings: clock: sun8i de2 clock: Add a100/a133 compatible

2024-12-27 Thread Parthiban Nallathambi
A100/A133 uses one mixer without rotation support, which is same as sun8i v3s. Add it with fallback to v3s compatible. Signed-off-by: Parthiban Nallathambi --- .../devicetree/bindings/clock/allwinner,sun8i-a83t-de2-clk.yaml | 4 1 file changed, 4 insertions(+) diff --git a

[PATCH 00/22] Add support for A100/A133 display

2024-12-27 Thread Parthiban Nallathambi
sunxi/20241109003739.3440904-1-masterr3c0rd@epochal.quest/ [2]: https://lore.kernel.org/linux-sunxi/20241218-a100-syscon-v2-0-dae60b9ce192@epochal.quest/ Signed-off-by: Parthiban Nallathambi --- Parthiban Nallathambi (22): dt-bindings: iommu: sun50i: remove resets from required property

[PATCH 03/22] dt-bindings: clock: sun8i de2 clock: Add PLL com clock

2024-12-27 Thread Parthiban Nallathambi
Some platforms like A100/A133 also uses pll-com clock as additional clock source for the display clock. This is not documents both in user manual and DE 2.0 specification. These changes are mainly from vendor BSP. Signed-off-by: Parthiban Nallathambi --- .../devicetree/bindings/clock/allwinner

[PATCH 01/22] dt-bindings: iommu: sun50i: remove resets from required property

2024-12-27 Thread Parthiban Nallathambi
iommu in a133/a100 does not have reset control. remove it from required property to make it optional. Signed-off-by: Parthiban Nallathambi --- Documentation/devicetree/bindings/iommu/allwinner,sun50i-h6-iommu.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree

[PATCH 0/2] drm/imagination: add reset handling

2024-11-26 Thread Parthiban Nallathambi
://gitlab.freedesktop.org/imagination/linux-firmware/-/issues/5 Signed-off-by: Parthiban Nallathambi --- Parthiban Nallathambi (2): dt-bindings: gpu: add reset control property drm/imagination: add reset control support .../devicetree/bindings/gpu/img,powervr-rogue.yaml | 3 +++ drivers/gpu/drm

[PATCH 2/2] drm/imagination: add reset control support

2024-11-26 Thread Parthiban Nallathambi
On some platforms like Allwinner A133 with GE8300 includes reset control from reset control unit. Add reset control optionally from the devicetree. Signed-off-by: Parthiban Nallathambi --- drivers/gpu/drm/imagination/pvr_device.h | 8 drivers/gpu/drm/imagination/pvr_drv.c| 5

[PATCH 1/2] dt-bindings: gpu: add reset control property

2024-11-26 Thread Parthiban Nallathambi
GE8300 in Allwinner A133 have reset control from the ccu. Add the resets property as optional one to control it. Signed-off-by: Parthiban Nallathambi --- Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree