From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=210.118.77.12 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793973540; b=l4+4p++WL1Et3BvEHnzKjsJnu7CJeV1IIZ+q/cxPAiYhGyewhHFiZ3NgQnjOyHcyhNif EAtq9qvLWsppTV3sUCW6CdiOSkHqEx+AP6wKysRo/gghcgW7DdLUjXFQmVph9qe5LXyCE PgmAV6X0fwih4+OJZFCzZaAwGzrXG6D++dGuYb6Y4vYJQ97RUlG70rytXztvdkDaLrYEL ojZjcrg25iSeS4LE9K/guqmB909iB/Ppe4XdsovNGNsbehblqaGhph42jt88uHyIH5fic dhbu8epZRl+bCOflEQkgHVe+VeOaXMhqqKLa/OM1EDQcbINzXSgLa5T87jDzeUwCeGQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793973540; h=DMARC-Filter:Received:DKIM-Filter:DKIM-Signature:Received:Received: From:Date:Subject:MIME-Version:Content-Transfer-Encoding:Message-Id: In-Reply-To:To:Cc:X-Mailer:X-Developer-Signature:X-Developer-Key: X-CMS-MailID:X-Msg-Generator:Content-Type:X-RootMTR:X-EPHeader: X-CMS-RootMailID:References; bh=e/rGeRG+9GA6+Orxh245LYwIEkSDUmcXIyzFldcrKAY=; b=NQwocP+9LP7Nv0+OKQlnphlm4KG9kHO6sGeYVZZlV4gjylwpxxu0NYlwpio9LJfuglVx fkb2CIRl5Zv4zfJlyN+a5k68DD/tJSG5lF+0ewZKO2zlwDbqWlcVbTJhxpIPJS0cFGZ/P 7VnTi/WVpUE6Q1JKBF3j+DEzYK4+1oMVSVuUxrufEytSzOL/Nn9W5Omeb9ImnR9LgdSlP 9APazZn4B390+a3A5mZZyb9jeLb0HL+tW/lQlSFu29Ms5+RQfx9/Ky94/qyIcbbLM0k8I N1Lw6R8K1PCLSZBEDLPvYk3xZ/YmlHLjbKZngM9HLMbiFWqdduyCDNtpaGjWmuvp9rg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass header.d=samsung.com header.i=@samsung.com header.a=rsa-sha256 header.s=mail20170921 header.b=YGH+EImd; arc=none smtp.remote-ip=210.118.77.12 Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C7E36606A32C; Fri, 6 Nov 2026 13:58:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C7E36606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=samsung.com header.i=@samsung.com header.a=rsa-sha256 header.s=mail20170921 header.b=YGH+EImd Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20261106135858euoutp0227742271374bd92eff3c57db974a9719~leW2NdThz2548725487euoutp02V; Fri, 6 Nov 2026 13:58:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20261106135858euoutp0227742271374bd92eff3c57db974a9719~leW2NdThz2548725487euoutp02V DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1793973538; bh=e/rGeRG+9GA6+Orxh245LYwIEkSDUmcXIyzFldcrKAY=; h=From:Date:Subject:In-Reply-To:To:Cc:References:From; b=YGH+EImdhpgst3SmbktYjvAq5j5A+ZD/DiKQw3OWIdAde/YFdJE/yMHoYKwiOoVIm CfQB6CWAizJOUEefcKpG2ILHJGJ25QKcjOk1ygJSfLcNmrPIsNGgqSLmP6AhkGGGW2 UQubSwPcKXlg14I4F0+49ruRfLLYIcvLHVHCC3Jo= Received: from eusmtip1.samsung.com (unknown [203.254.199.221]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20261106135857eucas1p2a125bd1549caee008efe88b077873e69~leW14OUzH1401314013eucas1p20; Fri, 6 Nov 2026 13:58:57 +0000 (GMT) Received: from AMDC4942.eu.corp.samsungelectronics.net (unknown [106.210.136.40]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20261106135855eusmtip173d5d3b24681e084a07ee90115c63d42~leWzoubwJ0575905759eusmtip1P; Fri, 6 Nov 2026 13:58:55 +0000 (GMT) From: Michal Wilczynski Date: Fri, 06 Nov 2026 14:58:38 +0100 Subject: [PATCH v7 04/19] dt-bindings: display: starfive: Add starfive,jh7110-hdmi-subsystem X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Message-Id: <20261106-jh7110-clean-send-v7-4-68f7ea9913db@samsung.com> In-Reply-To: <20261106-jh7110-clean-send-v7-0-68f7ea9913db@samsung.com> To: Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Andrzej Hajda , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Luca Ceresoli , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Philipp Zabel , Emil Renner Berthing , Hal Feng , Heiko Stuebner , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Dominique Belhachemi , Andy Yan , David Airlie , Simona Vetter , Yakir Yang , Dmitry Baryshkov , Michal Wilczynski , Conor Dooley , William Qiu , Xingyu Wu , Sandy Huang , Manivannan Sadhasivam Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-riscv@lists.infradead.org, Marek Szyprowski , Maud Spierings , Graham Markall , Icenowy Zheng , Chaoyi Chen , Joshua Peisach , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Cristian Ciocaltea X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=4193; i=m.wilczynski@samsung.com; h=from:subject:message-id; bh=5fxC8M6Nm2F7sKAED7yxE0iisFriZtn6BgckPPDx11c=; b=owGbwMvMwCGWumv6zndzRCIZT6slMWS9vStm1z9pQutuC+awl2e2iiwu+rAi+LG1ivMiz5AV3 QK7E415O0pZGMQ4GGTFFFnObow2kvzH8LT8+ONfMHNYmUCGMHBxCsBE9l5kZJh2lOloStfHi55r LU98lJ3pnpDHGW+z64etVOuLQ1c2Gfsx/BVa/WUS5/3cmEN+de9XRiYEf8222K5rE+93wGaL2vK vrTwA X-Developer-Key: i=m.wilczynski@samsung.com; a=openpgp; fpr=CDB15B3219FE00E577C7E3FA65BA97B9EE9C1459 X-CMS-MailID: 20261106135857eucas1p2a125bd1549caee008efe88b077873e69 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20261106135857eucas1p2a125bd1549caee008efe88b077873e69 X-EPHeader: CA X-CMS-RootMailID: 20261106135857eucas1p2a125bd1549caee008efe88b077873e69 References: <20261106-jh7110-clean-send-v7-0-68f7ea9913db@samsung.com> Add the dt-binding for the StarFive JH7110 HDMI subsystem. The JH7110 HDMI IP is a monolithic block containing both the digital controller and analog PHY in a single register space. This binding defines the parent device, which holds the shared register map, and its two children: the PHY and the controller. The two have separate resources. The PHY takes the 24 MHz reference clock and provides both the pixel clock, which the VOUT clock generator routes on to the display controller, and the phy the controller uses. The controller takes its clocks from the VOUT clock generator. What they share is the register space, which the parent maps. Reviewed-by: Rob Herring (Arm) Signed-off-by: Michal Wilczynski --- .../starfive/starfive,jh7110-hdmi-subsystem.yaml | 95 ++++++++++++++++++++++ 1 file changed, 95 insertions(+) diff --git a/Documentation/devicetree/bindings/display/starfive/starfive,jh7110-hdmi-subsystem.yaml b/Documentation/devicetree/bindings/display/starfive/starfive,jh7110-hdmi-subsystem.yaml new file mode 100644 index 0000000000000000000000000000000000000000..8c5b0b4deb702371ab1ffb40ccdb312dda9940ac --- /dev/null +++ b/Documentation/devicetree/bindings/display/starfive/starfive,jh7110-hdmi-subsystem.yaml @@ -0,0 +1,95 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/starfive/starfive,jh7110-hdmi-subsystem.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive JH7110 HDMI subsystem + +maintainers: + - Michal Wilczynski + +description: + The StarFive JH7110 HDMI block is a monolithic IP containing both + the digital controller logic and the analog PHY logic in a single + register space. It sits inside the video output subsystem, which owns + the NoC bus clock and reset gating this region and the power domain it + belongs to. + +properties: + compatible: + const: starfive,jh7110-hdmi-subsystem + + reg: + maxItems: 1 + + phy: + $ref: /schemas/phy/starfive,jh7110-inno-hdmi-phy.yaml# + + controller: + $ref: /schemas/display/bridge/starfive,jh7110-inno-hdmi-controller.yaml# + +required: + - compatible + - reg + - phy + - controller + +additionalProperties: false + +examples: + - | + #include + #include + + soc { + #address-cells = <1>; + #size-cells = <1>; + + hdmi@29590000 { + compatible = "starfive,jh7110-hdmi-subsystem"; + reg = <0x29590000 0x4000>; + + controller { + compatible = "starfive,jh7110-inno-hdmi-controller"; + clocks = <&voutcrg JH7110_VOUTCLK_HDMI_TX_SYS>, + <&voutcrg JH7110_VOUTCLK_HDMI_TX_MCLK>, + <&voutcrg JH7110_VOUTCLK_HDMI_TX_BCLK>, + <&hdmi_phy>; + clock-names = "pclk", "mclk", "bclk", "pixel"; + interrupts = <99>; + phys = <&hdmi_phy>; + resets = <&voutcrg JH7110_VOUTRST_HDMI_TX_HDMI>; + starfive,vout-syscon = <&vout_syscon>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + endpoint { + remote-endpoint = <&dpu_out_dpi0>; + }; + }; + + port@1 { + reg = <1>; + + endpoint { + remote-endpoint = <&hdmi_con_in>; + }; + }; + }; + }; + + hdmi_phy: phy { + compatible = "starfive,jh7110-inno-hdmi-phy"; + #clock-cells = <0>; + clocks = <&xin24m>; + #phy-cells = <0>; + }; + }; + }; +... -- 2.34.1