From patchwork Mon Dec 4 17:39:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13478845 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 8C402C4167B for ; Mon, 4 Dec 2023 17:39:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C896E10E3AB; Mon, 4 Dec 2023 17:39:27 +0000 (UTC) Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0D3B510E3AB for ; Mon, 4 Dec 2023 17:39:07 +0000 (UTC) Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-a18ebac19efso822667366b.0 for ; Mon, 04 Dec 2023 09:39:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701711545; x=1702316345; darn=lists.freedesktop.org; h=content-transfer-encoding:content-language:cc:to:subject:from :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=RDbV8KEqo360AWt22zz09PqUE/cssUErxHrowGLoINk=; b=CFoadv9kLXAP/ugQkEb8OX9Um/zQXftx8bW5LzueHZxqLyH27MHGiTxmmS3GcNIFHE jqZccEOvRuiiqvJ/ahz+6+ayzGBg3wmo6uP1pCTcKHe91+Z1fj12O9WDjf1MTyabxYgD 9fqXelp9FAv7t6iK4M8HMqTWMbj/ITHSb/aoHNRjQd5pD6km1WMrZJUyByb9N28c3J8Q sUak30Uo1USBEp4JLPGLMYcFGRnxTF8slI29Pyl0VtQf2vP5U9F57Ol90zpterKfoxUb xTIJT8vrwkjccoU7yQq0ZsrBg82ejBX30hKx5Xhl3TRTXRqwmAdWyUg4/3UqLA0cmERg hgqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701711545; x=1702316345; h=content-transfer-encoding:content-language:cc:to:subject:from :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=RDbV8KEqo360AWt22zz09PqUE/cssUErxHrowGLoINk=; b=UhDNUqpsuAhRNPuC/DoSKuokkQBKFbpCBi6Qr4zJUIhcV54yUS8w1hp8vcf0dnB3Bg xrvMCs7aCisrw8Gt05GPJ3bXDs32qDuHRfDVvnpC1LwgBYb9sXKBWVMqGyRtp5VZLQck D6+z3esP4nDQ6T7z3f6bR2MrWlzhaK+wJac25F2ApU1QUdTGzYNNsBe3BlzsYD4DSp0K EbhH/luQy9JNGaRAb/KxB+qPrOafp0Um5/2ocTcLYJU14e9TbhHYzEF6KjoRm/YG1x3/ 53t8sdCTsEuu4hdDpQ0V72pAtfYEei4AGPT7+KTJM1rP4+ceGtB/UmCI6oJoi+kdOb2M lLiw== X-Gm-Message-State: AOJu0Yw+NvffZ+VqdoEPReHZ03Yl7ezVWfCHsUQXXrdndeAnermsWH+K DkR7mp8KLkow0GFnwjnGOqM= X-Google-Smtp-Source: AGHT+IFY1TkeVeRGWBrgWf2i0O9q9pzjrUYsznblS+VoCoNd0mGuLFzQmCXoRFFl4jZvbkNMocSkjA== X-Received: by 2002:a17:906:1d4:b0:a1b:774f:df5c with SMTP id 20-20020a17090601d400b00a1b774fdf5cmr1686472ejj.14.1701711545198; Mon, 04 Dec 2023 09:39:05 -0800 (PST) Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id mj9-20020a170906af8900b00a1907e36244sm5128328ejb.118.2023.12.04.09.39.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 Dec 2023 09:39:04 -0800 (PST) Message-ID: <49c6afec-022f-02de-99a0-d409b64da198@gmail.com> Date: Mon, 4 Dec 2023 18:39:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 From: Johan Jonker Subject: [PATCH v1 1/3] dt-bindings: drm: rockchip: convert inno_hdmi-rockchip.txt to yaml To: heiko@sntech.de, hjc@rock-chips.com Content-Language: en-US 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: , Cc: devicetree@vger.kernel.org, conor+dt@kernel.org, tzimmermann@suse.de, krzysztof.kozlowski+dt@linaro.org, linux-kernel@vger.kernel.org, mripard@kernel.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Convert inno_hdmi-rockchip.txt to yaml. Signed-off-by: Johan Jonker --- Note for rob+dt: Used enum to "soon" be able to add "rockchip,rk3128-inno-hdmi" Changed V1: Rename file to more common layout Add/fix hdmi_out port example --- .../display/rockchip/inno_hdmi-rockchip.txt | 49 --------- .../display/rockchip/rockchip,inno-hdmi.yaml | 103 ++++++++++++++++++ 2 files changed, 103 insertions(+), 49 deletions(-) delete mode 100644 Documentation/devicetree/bindings/display/rockchip/inno_hdmi-rockchip.txt create mode 100644 Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml -- 2.39.2 diff --git a/Documentation/devicetree/bindings/display/rockchip/inno_hdmi-rockchip.txt b/Documentation/devicetree/bindings/display/rockchip/inno_hdmi-rockchip.txt deleted file mode 100644 index cec21714f0e0..000000000000 --- a/Documentation/devicetree/bindings/display/rockchip/inno_hdmi-rockchip.txt +++ /dev/null @@ -1,49 +0,0 @@ -Rockchip specific extensions to the Innosilicon HDMI -================================ - -Required properties: -- compatible: - "rockchip,rk3036-inno-hdmi"; -- reg: - Physical base address and length of the controller's registers. -- clocks, clock-names: - Phandle to hdmi controller clock, name should be "pclk" -- interrupts: - HDMI interrupt number -- ports: - Contain one port node with endpoint definitions as defined in - Documentation/devicetree/bindings/graph.txt. -- pinctrl-0, pinctrl-name: - Switch the iomux of HPD/CEC pins to HDMI function. - -Example: -hdmi: hdmi@20034000 { - compatible = "rockchip,rk3036-inno-hdmi"; - reg = <0x20034000 0x4000>; - interrupts = ; - clocks = <&cru PCLK_HDMI>; - clock-names = "pclk"; - pinctrl-names = "default"; - pinctrl-0 = <&hdmi_ctl>; - - hdmi_in: port { - #address-cells = <1>; - #size-cells = <0>; - hdmi_in_lcdc: endpoint@0 { - reg = <0>; - remote-endpoint = <&lcdc_out_hdmi>; - }; - }; -}; - -&pinctrl { - hdmi { - hdmi_ctl: hdmi-ctl { - rockchip,pins = <1 8 RK_FUNC_1 &pcfg_pull_none>, - <1 9 RK_FUNC_1 &pcfg_pull_none>, - <1 10 RK_FUNC_1 &pcfg_pull_none>, - <1 11 RK_FUNC_1 &pcfg_pull_none>; - }; - }; - -}; diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml new file mode 100644 index 000000000000..96889c86849a --- /dev/null +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml @@ -0,0 +1,103 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/rockchip/rockchip,inno-hdmi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rockchip Innosilicon HDMI controller + +maintainers: + - Sandy Huang + - Heiko Stuebner + +properties: + compatible: + enum: + - rockchip,rk3036-inno-hdmi + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + const: pclk + + 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. + + required: + - port@0 + - port@1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - pinctrl-0 + - pinctrl-names + - ports + +additionalProperties: false + +examples: + - | + #include + #include + #include + hdmi: hdmi@20034000 { + compatible = "rockchip,rk3036-inno-hdmi"; + reg = <0x20034000 0x4000>; + interrupts = ; + clocks = <&cru PCLK_HDMI>; + clock-names = "pclk"; + pinctrl-names = "default"; + pinctrl-0 = <&hdmi_ctl>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + hdmi_in: port@0 { + reg = <0>; + hdmi_in_vop: endpoint { + remote-endpoint = <&vop_out_hdmi>; + }; + }; + + hdmi_out: port@1 { + reg = <1>; + hdmi_out_con: endpoint { + remote-endpoint = <&hdmi_con_in>; + }; + }; + }; + }; + + pinctrl { + hdmi { + hdmi_ctl: hdmi-ctl { + rockchip,pins = <1 RK_PB0 1 &pcfg_pull_none>, + <1 RK_PB1 1 &pcfg_pull_none>, + <1 RK_PB2 1 &pcfg_pull_none>, + <1 RK_PB3 1 &pcfg_pull_none>; + }; + }; + }; From patchwork Mon Dec 4 17:40:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13478846 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 904BDC10DC1 for ; Mon, 4 Dec 2023 17:41:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B9DD610E3C5; Mon, 4 Dec 2023 17:41:19 +0000 (UTC) Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by gabe.freedesktop.org (Postfix) with ESMTPS id A21AD10E3AA for ; Mon, 4 Dec 2023 17:40:30 +0000 (UTC) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a195a1474easo462464466b.2 for ; Mon, 04 Dec 2023 09:40:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701711629; x=1702316429; darn=lists.freedesktop.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=lBX76/WyazZCOF7hTYHm6kdCEbLg+NpPINR6F7BEsKQ=; b=Lo4IJqKhbGrYCrjfGlK1ahoyRBN+5qxHyxKXKGm/uOlK4RcPoZtiVTZIwrz/tjxQnv TG9ZT0z54S88ZSUWYSOYFshthdaAvJzs2MfXFbHQFaphXZirwZtsYrqUXMo5wR7fDZ+j sDy/utwrRX8T7ROIQcEdVHQqOtVzgiJ118Gjn3Kz1kQWUqQSP/6tz4Maw1lok07CQGfG GMhzHD2Uljr/3AWg4U9QkDgZB2LMMGtPzfg0tBjSTjT446v27pEAmw3pYevUR90qf8q0 bHGA14MKX4FxKabg12V4T1Qc8Ry20n2tHczkUlKHeOvP5B/uipjBw9+HQF35o4m77xa8 vlyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701711629; x=1702316429; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lBX76/WyazZCOF7hTYHm6kdCEbLg+NpPINR6F7BEsKQ=; b=cr3QCsjE37x+xWKXp5x99aikoax0bwxg4VoE5hfVG6dJ2Lw7KQXxeyfrLrAcdnr7fV EMLTmdl9MlQI1AAlEi9vGatUQ8olGXpTNSH+4QEIrRTP1fI24zCcME6ivIRkh4FIyaDh a9hR6pmb/fz7BOn53li0doKjrws4KzM0J50CoTGlaGX5FTTMeu4WQmioCZq8aITaENVU KfMH55C7RAsdNE7H8aXbwYCUpyfrcFUZsOinfx+kMOfVizFZIkHaleI+nbOaUvZWN+78 9QD6QhaTlTUIpHAa821QgwDuvm0nojg662ArY8nIyjjHNDG6oEewHSZwr1vIz9ezpSjs 3TWA== X-Gm-Message-State: AOJu0YwuRsv38RDqCkuxGZ88tQUZ0owFt4HFrFUszl+XK+cjkvzcL1y0 f6hZguSE2ZP29S76P3P4eMI= X-Google-Smtp-Source: AGHT+IHMH9uic5dLSCR8Pr0qU32sTrkd1wr2Qfk2m+Ql0J7xa4OYX+U0HMiwUojUtUW7pGG2yw6/9g== X-Received: by 2002:a17:906:3f1e:b0:a16:3da0:dd36 with SMTP id c30-20020a1709063f1e00b00a163da0dd36mr1108363ejj.48.1701711628992; Mon, 04 Dec 2023 09:40:28 -0800 (PST) Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id bs5-20020a170906d1c500b00a0bf09c9483sm5512149ejb.35.2023.12.04.09.40.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 Dec 2023 09:40:28 -0800 (PST) Message-ID: <9a2afac1-ed5c-382d-02b0-b2f5f1af3abb@gmail.com> Date: Mon, 4 Dec 2023 18:40:27 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 From: Johan Jonker Subject: [PATCH v1 2/3] ARM: dts: rockchip: rk3036: fix hdmi ports node To: heiko@sntech.de, hjc@rock-chips.com References: <49c6afec-022f-02de-99a0-d409b64da198@gmail.com> Content-Language: en-US In-Reply-To: <49c6afec-022f-02de-99a0-d409b64da198@gmail.com> 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: , Cc: devicetree@vger.kernel.org, conor+dt@kernel.org, tzimmermann@suse.de, krzysztof.kozlowski+dt@linaro.org, linux-kernel@vger.kernel.org, mripard@kernel.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fix hdmi ports node so that it matches the rockchip,inno-hdmi.yaml binding. Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rockchip/rk3036.dtsi | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) -- 2.39.2 diff --git a/arch/arm/boot/dts/rockchip/rk3036.dtsi b/arch/arm/boot/dts/rockchip/rk3036.dtsi index 8aa2e0864fed..2b00109bea6a 100644 --- a/arch/arm/boot/dts/rockchip/rk3036.dtsi +++ b/arch/arm/boot/dts/rockchip/rk3036.dtsi @@ -405,12 +405,20 @@ hdmi: hdmi@20034000 { pinctrl-0 = <&hdmi_ctl>; status = "disabled"; - hdmi_in: port { + ports { #address-cells = <1>; #size-cells = <0>; - hdmi_in_vop: endpoint@0 { + + hdmi_in: port@0 { reg = <0>; - remote-endpoint = <&vop_out_hdmi>; + + hdmi_in_vop: endpoint { + remote-endpoint = <&vop_out_hdmi>; + }; + }; + + hdmi_out: port@1 { + reg = <1>; }; }; }; From patchwork Mon Dec 4 17:40:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13478847 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 6CA16C4167B for ; Mon, 4 Dec 2023 17:41:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 79E3110E219; Mon, 4 Dec 2023 17:41:47 +0000 (UTC) Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by gabe.freedesktop.org (Postfix) with ESMTPS id D5B5B10E219 for ; Mon, 4 Dec 2023 17:41:01 +0000 (UTC) Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-54cff638658so388772a12.1 for ; Mon, 04 Dec 2023 09:41:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701711660; x=1702316460; darn=lists.freedesktop.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=0YoXgk1fmeGz9Ml7hlpE/8h2Sivb7FXL2iIYJZqnuHo=; b=Xw0pu0Wucx+9tZ8CsESH/CRDUPtJ9eY93ZMEknZmn2nIRXNP5xmW6fQBTJkCbx+Gmy b3GOzoTggSD4z9yrHAOGvGlK6F3JWXdoQA3J4sZSLMEL+1qsZDGJHGzr3aIElljzdvdq /C64IOc2o5kLoIzIqzPxrI2x9jR3aMN68O8wPbdr8mT8G6Qc1FX2cIG/KpfkEKF712BO jd/+1WuZqHwJeXCxVeXD/tukhCsulb4nKbf3Dtf9LVyzoSm/MJJ2/MHbOwGlFhKCbc8J KIcs7Z3CIPdLTe/F1dbbsXstJ/GyZAWPdKXJh5ac40WhvBZ6S3TLwMwU12ZblsNEWRW4 uEqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701711660; x=1702316460; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0YoXgk1fmeGz9Ml7hlpE/8h2Sivb7FXL2iIYJZqnuHo=; b=CfxwK00gLyino17HBekJRbubUSUBdNzrDR5AkPNDP8a3er+M5Fr89EBiSKXZszxBzk CIzWAXFQNkaTZmpaKdQSlW2189qGeyFDffa2XBRayxRXzZ25Li0HFEuqCgzGDlLqBXpv 5QDIHcKKJscoOHWoXNvwyuPlspm+hCdo5YZAGrd/cp7JHNIjSe++oJACBpfEDszs3Jel 9GZ5CEOsj4fk2/GUE5ilU5ibgxdWqFISly/3GCYYd26tLTBQ6dcIzb54cUZG9QPUEf/9 R6iLKvkcjSqgFoju8hoSChM5LeIMuPIvMbf2yVagAA4+yBecvmSLHlx/DF/2oZCnDAWa 44rQ== X-Gm-Message-State: AOJu0Yzbd/u5BzZejrLPFfMM+7dpMeTB7R+dltesWJYA5VXUrJ+kzYW2 i26WKjapHu4VzhkyKyf4/+k= X-Google-Smtp-Source: AGHT+IH5CahfTiqAKyTJCwE1ddGA7CrKLTxjhTR6LznurnRE9jPGXs+oBd55rb4exBi9MUScKfvJ5w== X-Received: by 2002:a17:906:6d52:b0:a19:a19b:55ce with SMTP id a18-20020a1709066d5200b00a19a19b55cemr3477124ejt.94.1701711659945; Mon, 04 Dec 2023 09:40:59 -0800 (PST) Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id ub12-20020a170907c80c00b009d268e3b801sm4350577ejc.37.2023.12.04.09.40.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 Dec 2023 09:40:59 -0800 (PST) Message-ID: Date: Mon, 4 Dec 2023 18:40:58 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 From: Johan Jonker Subject: [PATCH v1 3/3] ARM: dts: rockchip: rk3036-kylin: add hdmi-connector node To: heiko@sntech.de, hjc@rock-chips.com References: <49c6afec-022f-02de-99a0-d409b64da198@gmail.com> Content-Language: en-US In-Reply-To: <49c6afec-022f-02de-99a0-d409b64da198@gmail.com> 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: , Cc: devicetree@vger.kernel.org, conor+dt@kernel.org, tzimmermann@suse.de, krzysztof.kozlowski+dt@linaro.org, linux-kernel@vger.kernel.org, mripard@kernel.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add hdmi-connector node to comply with the inno_hdmi binding. Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rockchip/rk3036-kylin.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) -- 2.39.2 diff --git a/arch/arm/boot/dts/rockchip/rk3036-kylin.dts b/arch/arm/boot/dts/rockchip/rk3036-kylin.dts index 67e1e04139e7..a213333be011 100644 --- a/arch/arm/boot/dts/rockchip/rk3036-kylin.dts +++ b/arch/arm/boot/dts/rockchip/rk3036-kylin.dts @@ -13,6 +13,17 @@ memory@60000000 { reg = <0x60000000 0x20000000>; }; + hdmi_con: hdmi-con { + compatible = "hdmi-connector"; + type = "c"; + + port { + hdmi_con_in: endpoint { + remote-endpoint = <&hdmi_out_con>; + }; + }; + }; + leds: gpio-leds { compatible = "gpio-leds"; @@ -110,6 +121,12 @@ &hdmi { status = "okay"; }; +&hdmi_out { + hdmi_out_con: endpoint { + remote-endpoint = <&hdmi_con_in>; + }; +}; + &i2c1 { clock-frequency = <400000>;