* Re: [PATCH v3 0/5] Add initial support for the Rockchip RK3588 HDMI TX Controller [not found] <20240807-b4-rk3588-bridge-upstream-v3-0-60d6bab0dc7c@collabora.com> @ 2024-08-13 13:17 ` Heiko Stübner [not found] ` <20240807-b4-rk3588-bridge-upstream-v3-3-60d6bab0dc7c@collabora.com> 2024-08-15 10:40 ` (subset) [PATCH v3 0/5] Add initial support for the Rockchip " Heiko Stuebner 2 siblings, 0 replies; 3+ messages in thread From: Heiko Stübner @ 2024-08-13 13:17 UTC (permalink / raw) To: Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart, Jonas Karlman, Jernej Skrabec, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie, Daniel Vetter, Sandy Huang, Andy Yan, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Mark Yao, Sascha Hauer, Cristian Ciocaltea Cc: dri-devel, linux-kernel, linux-arm-kernel, linux-rockchip, devicetree, kernel, Alexandre ARNOUD, Luis de Arquer, Algea Cao Am Mittwoch, 7. August 2024, 13:07:22 CEST schrieb Cristian Ciocaltea: > The Rockchip RK3588 SoC family integrates the Synopsys DesignWare HDMI > 2.1 Quad-Pixel (QP) TX controller, which is a new IP block, quite > different from those used in the previous generations of Rockchip SoCs. > > The controller supports the following features, among others: > > * Fixed Rate Link (FRL) > * Display Stream Compression (DSC) > * 4K@120Hz and 8K@60Hz video modes > * Variable Refresh Rate (VRR) including Quick Media Switching (QMS) > * Fast Vactive (FVA) > * SCDC I2C DDC access > * Multi-stream audio > * Enhanced Audio Return Channel (EARC) > > This is the last component that needs to be supported in order to enable > the HDMI output functionality on the RK3588 based SBCs, such as the > RADXA Rock 5B. The other components are the Video Output Processor > (VOP2) and the Samsung IP based HDMI/eDP TX Combo PHY, for which basic > support has been already made available via [1] and [2], respectively. > > Please note this is a reworked version of the original series, which > relied on a commonized dw-hdmi approach. Since the general consensus > was to handle it as an entirely new IP, I dropped all patches related to > the old dw-hdmi and Rockchip glue code - a few of them might still make > sense as general improvements and will be submitted separately. > > It's worth mentioning the HDMI output support is currently limited to > RGB output up to 4K@60Hz, without audio, CEC or any of the HDMI 2.1 > specific features. Moreover, the VOP2 driver is not able to properly > handle all display modes supported by the connected screens, e.g. it > doesn't cope with non-integer refresh rates. > > A possible workaround consists of enabling the display controller to > make use of the clock provided by the HDMI PHY PLL. This is still work > in progress and will be submitted later, as well as the required DTS > updates. > > To facilitate testing and experimentation, all HDMI output related > patches, including those part of this series, are available at [3]. > > So far I could only verify this on the RADXA Rock 5B board. On a rk3588-tiger-haikou (including its DSI hat and my preliminary DSI driver) it also works. Even with both DSI and HDMI at the same time. Both hdmi plugged in on boot and also plugging it in during runtime of the board, generates a clean image on my 1080p display. So, series Tested-by: Heiko Stuebner <heiko@sntech.de> ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <20240807-b4-rk3588-bridge-upstream-v3-3-60d6bab0dc7c@collabora.com>]
* Re: [PATCH v3 3/5] dt-bindings: display: rockchip: Add schema for RK3588 HDMI TX Controller [not found] ` <20240807-b4-rk3588-bridge-upstream-v3-3-60d6bab0dc7c@collabora.com> @ 2024-08-13 17:58 ` Rob Herring 0 siblings, 0 replies; 3+ messages in thread From: Rob Herring @ 2024-08-13 17:58 UTC (permalink / raw) To: Cristian Ciocaltea Cc: Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart, Jonas Karlman, Jernej Skrabec, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie, Daniel Vetter, Sandy Huang, Heiko Stübner, Andy Yan, Krzysztof Kozlowski, Conor Dooley, Mark Yao, Sascha Hauer, dri-devel, linux-kernel, linux-arm-kernel, linux-rockchip, devicetree, kernel, Alexandre ARNOUD, Luis de Arquer On Wed, Aug 07, 2024 at 02:07:25PM +0300, Cristian Ciocaltea wrote: > Rockchip RK3588 SoC integrates the Synopsys DesignWare HDMI 2.1 > Quad-Pixel (QP) TX controller IP. > > Since this is a new IP block, quite different from those used in the > previous generations of Rockchip SoCs, add a dedicated binding file. > > Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> > --- > .../display/rockchip/rockchip,dw-hdmi-qp.yaml | 188 +++++++++++++++++++++ > 1 file changed, 188 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi-qp.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi-qp.yaml > new file mode 100644 > index 000000000000..33572c88a589 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi-qp.yaml > @@ -0,0 +1,188 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/rockchip/rockchip,dw-hdmi-qp.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Rockchip DW HDMI QP TX Encoder > + > +maintainers: > + - Cristian Ciocaltea <cristian.ciocaltea@collabora.com> > + > +description: > + Rockchip RK3588 SoC integrates the Synopsys DesignWare HDMI QP TX controller > + IP and a HDMI/eDP TX Combo PHY based on a Samsung IP block. > + > +allOf: > + - $ref: ../bridge/synopsys,dw-hdmi-qp.yaml# Use full path: /schemas/display/bridge/... > + - $ref: /schemas/sound/dai-common.yaml# > + > +properties: > + compatible: > + enum: > + - rockchip,rk3588-dw-hdmi-qp > + > + clocks: > + minItems: 4 > + items: > + - {} > + - {} > + - {} > + - {} > + # The next clocks are optional, but shall be specified in this > + # order when present. > + - description: TMDS/FRL link clock > + - description: Video datapath clock > + > + clock-names: > + minItems: 4 > + items: > + - {} > + - {} > + - {} > + - {} > + - enum: [hdp, hclk_vo1] > + - const: hclk_vo1 > + > + interrupts: > + items: > + - {} > + - {} > + - {} > + - {} > + - description: HPD interrupt > + > + interrupt-names: > + items: > + - {} > + - {} > + - {} > + - {} > + - const: hpd > + > + phys: > + maxItems: 1 > + description: The HDMI/eDP PHY. > + > + phy-names: > + const: hdmi > + > + ports: > + $ref: /schemas/graph.yaml#/properties/ports > + > + properties: > + port@0: > + $ref: /schemas/graph.yaml#/properties/port > + description: > + Port node with one endpoint connected to a vop node. > + > + port@1: > + $ref: /schemas/graph.yaml#/properties/port > + description: > + Port node with one endpoint connected to a hdmi-connector node. ports can go in the common schema. The description should be what the data and direction are for the ports. What the connection is can vary and is outside the scope of this binding. > + > + required: > + - port@0 > + - port@1 > + > + power-domains: > + maxItems: 1 > + > + resets: > + minItems: 2 > + maxItems: 2 > + > + reset-names: > + items: > + - const: ref > + - const: hdp > + > + "#sound-dai-cells": > + const: 0 > + > + rockchip,grf: > + $ref: /schemas/types.yaml#/definitions/phandle > + description: > + Most HDMI QP related data is accessed through SYS GRF regs. > + > + rockchip,vo1_grf: rockchip,vo1-grf ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: (subset) [PATCH v3 0/5] Add initial support for the Rockchip RK3588 HDMI TX Controller [not found] <20240807-b4-rk3588-bridge-upstream-v3-0-60d6bab0dc7c@collabora.com> 2024-08-13 13:17 ` [PATCH v3 0/5] Add initial support for the Rockchip RK3588 HDMI TX Controller Heiko Stübner [not found] ` <20240807-b4-rk3588-bridge-upstream-v3-3-60d6bab0dc7c@collabora.com> @ 2024-08-15 10:40 ` Heiko Stuebner 2 siblings, 0 replies; 3+ messages in thread From: Heiko Stuebner @ 2024-08-15 10:40 UTC (permalink / raw) To: Andrzej Hajda, Conor Dooley, Rob Herring, Sascha Hauer, Jonas Karlman, Maxime Ripard, Sandy Huang, Mark Yao, Maarten Lankhorst, Daniel Vetter, Laurent Pinchart, Krzysztof Kozlowski, Thomas Zimmermann, Andy Yan, Robert Foss, Cristian Ciocaltea, Neil Armstrong, Jernej Skrabec, David Airlie Cc: Heiko Stuebner, Alexandre ARNOUD, linux-kernel, dri-devel, kernel, linux-arm-kernel, devicetree, Algea Cao, Luis de Arquer, linux-rockchip On Wed, 07 Aug 2024 14:07:22 +0300, Cristian Ciocaltea wrote: > The Rockchip RK3588 SoC family integrates the Synopsys DesignWare HDMI > 2.1 Quad-Pixel (QP) TX controller, which is a new IP block, quite > different from those used in the previous generations of Rockchip SoCs. > > The controller supports the following features, among others: > > * Fixed Rate Link (FRL) > * Display Stream Compression (DSC) > * 4K@120Hz and 8K@60Hz video modes > * Variable Refresh Rate (VRR) including Quick Media Switching (QMS) > * Fast Vactive (FVA) > * SCDC I2C DDC access > * Multi-stream audio > * Enhanced Audio Return Channel (EARC) > > [...] Applied, thanks! [4/5] drm/rockchip: Explicitly include bits header commit: ab03974df27e471ff03402265292f1bafafb5df6 Best regards, -- Heiko Stuebner <heiko@sntech.de> ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-08-15 10:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20240807-b4-rk3588-bridge-upstream-v3-0-60d6bab0dc7c@collabora.com>
2024-08-13 13:17 ` [PATCH v3 0/5] Add initial support for the Rockchip RK3588 HDMI TX Controller Heiko Stübner
[not found] ` <20240807-b4-rk3588-bridge-upstream-v3-3-60d6bab0dc7c@collabora.com>
2024-08-13 17:58 ` [PATCH v3 3/5] dt-bindings: display: rockchip: Add schema for " Rob Herring
2024-08-15 10:40 ` (subset) [PATCH v3 0/5] Add initial support for the Rockchip " Heiko Stuebner
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).