From patchwork Wed Aug 7 11:07:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 13756147 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7BA12C3DA7F for ; Wed, 7 Aug 2024 11:08:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ol0wCMzgJXSFPpnhtxROWo68NteSkkrpeSbRviDnivk=; b=31VWMa0Dxehwyr 0FL2HPL0pXbF+33W+WHNxvDpxvGi5k1oQqewTFB/wefayZNsS4AVNEde/bN1HCNJPrPt5BO1ZJztx 9+oaun48Hw7C8FpAIyruX/ftVB8lvY6U7fcdOrIF4HXW3hC6ZXr+8WqjczfE30rE6MGRte4y2FXJB Gm/dN3mhLn9wCYiRZmCBU6cEU4cF4qrh/ZOP13Wcyv/OXhxIMNIA6pOrrIkDQYdxVKgorFd/woHTB 3fNyhtGrNPfDjQfYc3C1X5/X+pluXBjP/1KPwpeKprsLR8bUCKKIziS5sd0yt4izL88d1qwu+nGq5 k8eOJVBrhHPJ5Sbp7WSg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbeWp-00000004oma-1gTf; Wed, 07 Aug 2024 11:08:27 +0000 Received: from sender4-op-o14.zoho.com ([136.143.188.14]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sbeWk-00000004olZ-2jKa; Wed, 07 Aug 2024 11:08:24 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1723028874; cv=none; d=zohomail.com; s=zohoarc; b=P3xNijDR3vvpK0mFwZdmZjRHypjEO4wkRbuLAnDj7eIqVTBKiLUivB7tRAAhJJ2gAM3UeKSpWBAKtBCjbB50aiNc62a+zRhpjZvxRy8FJwkv/+ag7uqCSHhq8RQx2ZDOaqp6KyvF1w0dpVzA8oO3fgZKpcMnDenddQIWteSsWWk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1723028874; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=+OngFyGz8aHtpzaAdp/JMBWtgnn7bL5qwgl/vBFveqw=; b=PS94HwmAsMvjL6u3pedQWYuTgBiwRo+voamJ3/a3yMRI2F6JmHKxMW0vXspdtlThU/8di9P9fYpFGCO7m4unxJDiErzh4R/L96FtiOqRXyhCIsHud+i5/hFw6AQJ0Auu988HQEUvk+axH9DIY1vC9C7ZpT8aRL2szgZNRiMNBy4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=cristian.ciocaltea@collabora.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1723028874; s=zohomail; d=collabora.com; i=cristian.ciocaltea@collabora.com; h=From:From:Date:Date:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Message-Id:References:In-Reply-To:To:To:Cc:Cc:Reply-To; bh=+OngFyGz8aHtpzaAdp/JMBWtgnn7bL5qwgl/vBFveqw=; b=h+yhml9Isxm6s/jLHbvPnYXlpfTUnOicXHeV3uA0oi6kZDIMvrAsgtbG9SB7GkKp j9fbjFPZgZ1XRnjMen8yoLFJO+/HYMTdmB0XB9j/FA5EWmTzTZCHKNQq2VK1RCiTrpo LFJCE4Kp2suZM2Uqdagr1r6R58X+F0Suu8lo5qnA= Received: by mx.zohomail.com with SMTPS id 1723028873924292.415881178096; Wed, 7 Aug 2024 04:07:53 -0700 (PDT) From: Cristian Ciocaltea Date: Wed, 07 Aug 2024 14:07:23 +0300 Subject: [PATCH v3 1/5] dt-bindings: display: bridge: Add schema for Synopsys DW HDMI QP TX IP MIME-Version: 1.0 Message-Id: <20240807-b4-rk3588-bridge-upstream-v3-1-60d6bab0dc7c@collabora.com> References: <20240807-b4-rk3588-bridge-upstream-v3-0-60d6bab0dc7c@collabora.com> In-Reply-To: <20240807-b4-rk3588-bridge-upstream-v3-0-60d6bab0dc7c@collabora.com> 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 , =?utf-8?q?Heiko_St=C3=BCbner?= , Andy Yan , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mark Yao , Sascha Hauer Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, kernel@collabora.com, Alexandre ARNOUD , Luis de Arquer X-Mailer: b4 0.14.1 X-ZohoMailClient: External X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240807_040822_781139_079E573E X-CRM114-Status: GOOD ( 11.64 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Add dt-binding schema containing the common properties for the Synopsys DesignWare HDMI QP TX controller. Note this is not a full dt-binding specification, but is meant to be referenced by platform-specific bindings for this IP core. Signed-off-by: Cristian Ciocaltea --- .../display/bridge/synopsys,dw-hdmi-qp.yaml | 72 ++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi-qp.yaml b/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi-qp.yaml new file mode 100644 index 000000000000..d9a2ead02f27 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi-qp.yaml @@ -0,0 +1,72 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/synopsys,dw-hdmi-qp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Common Properties for Synopsys DesignWare HDMI QP TX Controller IP + +maintainers: + - Cristian Ciocaltea + +description: | + The Synopsys DesignWare HDMI 2.1 Quad-Pixel (QP) TX Controller IP core + 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) + + Note this is not a full dt-binding specification, but is meant to be + referenced by platform-specific bindings for this IP core. + +properties: + reg: + maxItems: 1 + + clocks: + minItems: 4 + maxItems: 6 + items: + - description: Peripheral/APB bus clock + - description: EARC RX biphase clock + - description: Reference clock + - description: Audio interface clock + additionalItems: true + + clock-names: + minItems: 4 + maxItems: 6 + items: + - const: pclk + - const: earc + - const: ref + - const: aud + additionalItems: true + + interrupts: + minItems: 4 + maxItems: 5 + items: + - description: AVP Unit interrupt + - description: CEC interrupt + - description: eARC RX interrupt + - description: Main Unit interrupt + additionalItems: true + + interrupt-names: + minItems: 4 + maxItems: 5 + items: + - const: avp + - const: cec + - const: earc + - const: main + additionalItems: true + +additionalProperties: true