From patchwork Thu Aug 1 02:05:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 13749478 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 1013EC3DA64 for ; Thu, 1 Aug 2024 02:06:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6F39A10E6C3; Thu, 1 Aug 2024 02:06:16 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=collabora.com header.i=@collabora.com header.b="XqT19Ow7"; dkim-atps=neutral Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) by gabe.freedesktop.org (Postfix) with ESMTPS id B8C9C10E6C3 for ; Thu, 1 Aug 2024 02:06:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1722477974; bh=vyJH9Gt086fk0KcuMrHPYIdfehtCb20GAQk7L4KspyE=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=XqT19Ow7sEw45TyrqSRHNbmVDX2DDmkhA9ycVG3JgnJ9tB4bj2yXWARPa04XGSbIi dbF+Il1Xri4hjMuQjpjY260lgOypTU4TdAEuchHXK5zd+tRlYE7XDA1d37lFc1N6DI //x3hmHE4OCwVmQHfIaJNBNbmuY7XdjijfwWrRnc16LLE/fPr+KLebjsp3Gg0JHf2c N+C89TdDCG0XQd3KEYDPXOyvdLA3rXJXbqRPR/BtZJMEaErNOsU2aMHEwv7pa4vqQo ZLozlBwQK2a1h/5lt1ub2Ad7LvKJfbuX7/wNaAPlzshnz2UXBW8qi727dZSqSRY5dS aQTZ0G2R9W2Pg== Received: from localhost (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 285D63782191; Thu, 1 Aug 2024 02:06:14 +0000 (UTC) From: Cristian Ciocaltea Date: Thu, 01 Aug 2024 05:05:14 +0300 Subject: [PATCH 1/2] dt-bindings: display: bridge: Add schema for Synopsys DW HDMI QP TX IP MIME-Version: 1.0 Message-Id: <20240801-dw-hdmi-qp-tx-v1-1-148f542de5fd@collabora.com> References: <20240801-dw-hdmi-qp-tx-v1-0-148f542de5fd@collabora.com> In-Reply-To: <20240801-dw-hdmi-qp-tx-v1-0-148f542de5fd@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 , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: kernel@collabora.com, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Heiko_?= =?utf-8?q?St=C3=BCbner?= , Andy Yan , Alexandre ARNOUD , Luis de Arquer X-Mailer: b4 0.14.1 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 | 66 ++++++++++++++++++++++ 1 file changed, 66 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..d8aee12b121d --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/synopsys,dw-hdmi-qp.yaml @@ -0,0 +1,66 @@ +# 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: | + This document defines device tree properties for the Synopsys DesignWare + HDMI 2.1 Quad-Pixel (QP) TX controller IP core. + It doesn't constitute a device tree binding specification by itself, but + is meant to be referenced by platform-specific device tree bindings. + + When referenced from platform device tree bindings, the properties defined + in this document are defined as follows. The platform device tree bindings + are responsible for defining whether each property is required or optional. + +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