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: 13478841 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 9BEB4C4167B for ; Mon, 4 Dec 2023 17:39:18 +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:Subject:From:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=h/Gk3+0bdO/DlP8m2XFCHsxZY+ezvVg3zecwqIWh6qA=; b=ly43vXrEXexgzM awhMvsN+CkX5eNN/uZKFl5Z7MCFSvr795293a1r+i5KzGxqmhscqU3jo60Nv4HXXy0l/CzvFCahyG fd1JxBf+VCb3ttpX7kJhoTXvhLmz7y7dFaXAm/tAtVND226lFwYTEvj7F0vfk2sece+shOgOv/oyc omkPeZCT+x8u3yCYYJIM6qIGggGe7VNkfNyiduOO1yJ9w19vlpYcmC9dALvnxnVCwpdqkdsKLhpVA vamj0yALwjeK1iGpKBoQINY6qsYLUthtBLcdV5pysR1LubM9H68vKMCVfKUqI08Fdab2o1v+G0SbX EPqcpFvj4rhPG40Vlwfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rACuV-005DOq-39; Mon, 04 Dec 2023 17:39:11 +0000 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rACuR-005DNu-25; Mon, 04 Dec 2023 17:39:09 +0000 Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-a1b7b6bf098so189220266b.1; 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.infradead.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=Bb8/IWqGOF63PhurZcYPLMbWd0/1vig1l1ShMmlsEC+RKU9E6DLa48X4T6qp20bSFP 0MPC8PvrxzH0dSg6CXA3o+yB1NlsI11EMnfVTykdngzv7StVFlgn3kmX/enn7mVSbZGE aowPUS1CXWM5NZVqbAiFsc7KyTy/4BsoIbyn/pQEzVgplsaTGVtI5sis5PwUKag14sU0 6TEHRseqbuBCRfcbE7kq8kbB39bQ7kbYVzwinofuVEy8JCBvkARLVVAB4stoDeHrS0lh zCe4XmFx16FFzawUtI5GbZvEEia7X+xlqRerLmQ08g4fHVow37iRE6c5EyrILHqGNQdy klsQ== 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=GnLT38N44ejqgqF4nGlUbb1nmIA69QzT9s5i++7d/d+ONsZclyopgwtcRutjaZV/cc k+oVcjLv3ngRcpP3lH4ByYZNwUhtRx3V8Z1s31Ura5ecOvRAAaWgn6T9REynuCqucaIA vd/DM29tkpP/DHlDi+bj+Bb4xSsDtnDDJy37V3laSki3pD2zHx2K4KfI5OWotiVgT59n rtuHtIe7kwl7Suk0x7BoTn40lcgbmE7BSDNKOeXQnzGzA5ciqubIrHuTowbPW+Vhwj2+ GlUYIk471cVxEy9n6tBvMmQaj2p20M5eH2lpa5Ci9c65U8/+nS+eqZbuLviSq9kO0i3L DUJw== X-Gm-Message-State: AOJu0YxSAYnzBsVQcJEIMsVyD8WCrnDvXmxIWRfBqJIjAWzyhZObN7X3 hs8tT0UqvZ6pkAjWqtadXA8= 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 Cc: maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231204_093907_728432_D0BFE3FA X-CRM114-Status: GOOD ( 15.00 ) 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 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: 13478842 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 9BB19C4167B for ; Mon, 4 Dec 2023 17:40:44 +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:In-Reply-To:References:Cc:To:Subject: From:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=eM/gLrfqhwE3xweNcdEo4yHJFeoNsSdTcpGbWv8D12Q=; b=TxmdueOxVHknty Ge105cWfjuhsXb3q+h1i42P5GSu1pyAFj1dOdgELyPlO9xZNlNt52sH9mpX9fzgI3rPqkfvl4riLB l4MHvNonzX0zuNERgmitrSiiuabmVcXvluu0r9YMH0+/Y59tmSlLrnkc701cjpwSdo0VlXhUE7y/o ZYCI1lyF/parwmriUx2QoLa3pO9C64r0ZbzFc9rNRJeW0cX3iMbWP1GC4LaxxZW6PS49F80wRIEDl xmLcik7b5oLkLZVM4vTGm7/DmAeIwNwJvxGbqwYdae5uouN1NTl15Wdf1Clvnq+++wyZcHzpbjimK zltpr6DgxWEZ5WK2JwNA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rACvr-005DcZ-32; Mon, 04 Dec 2023 17:40:35 +0000 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rACvn-005DbU-0Y; Mon, 04 Dec 2023 17:40:33 +0000 Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a195a1474easo462464566b.2; 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.infradead.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=BTVR+GVwgVU6kH1c7HqboU0tL25WaKwbC25NQXqhGopspzc8lx03s0RA5wkHf+nwLK Br5raA5vQA3al7SHsedoftcQPRyH0NfC/Pegg3eDz7ElKEocMrOYQ7AS4vcYDmpJBqBS 739AHIvSHhUGZCKG21Gu/4pL78dwUYJXj9hb5hjonUPLM37yuHi7jKYH9stw2Jpa3epk 7VuNeqlZ0BLTWR2ouX+l9Fi6t6lpI090buGcCjSTwvtOpy6WSW2UJCJexXL7lXlnuKPV nLEbSSAAvhb0u3o+PdSLrX6Q2nzzx5/sr6nR6Dlep1pWkpa/3ZWAbscafsUN9bjiZUu9 rDdw== 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=nL8iemavHWluqadUz7im39s9BvbXqUZBtaAetyIH+1kHNQnijamXiv0Yk2FhjY8qKD SQbFtEpWPS3FhOP9B2o5ELIecZMaz7CzZeQYX15UXnyFBB5i7PlRibswXvF+B7MmJIVD T/XvxRhNdf27ign//xlqFfGrfPWmvB0udY1tL23DXHcFMhaLthhKeJ+IhccdnGrn7Kv2 kE5MX6IHWcxU97vitG9VaaWydplX1NKjhfalXh6WGPzUe9BGuR0SP9YtYJxwuH6FkrUD DA5Q2KntK4wfoohcsQXK6GXOCmmpi5ZFu3BdzyIlR6vc1QyCwtJL9AzHqWaD3phPaSLn +nJg== X-Gm-Message-State: AOJu0YwNyiC2O74RcSFDOLoHnse6ax1zoxy9EPj/y6KHx2nU/c8UAHSh 1vAVyLNaLeKSMKf4RBzHGZM= 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 Cc: maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org References: <49c6afec-022f-02de-99a0-d409b64da198@gmail.com> Content-Language: en-US In-Reply-To: <49c6afec-022f-02de-99a0-d409b64da198@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231204_094031_211451_306F0DD7 X-CRM114-Status: GOOD ( 10.12 ) 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 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: 13478843 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 A2B1AC4167B for ; Mon, 4 Dec 2023 17:41:18 +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:In-Reply-To:References:Cc:To:Subject: From:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=q57DTAROX1wLBuZWA59Wg0hzzeSvTaVBSG+XeeP6/jo=; b=Flp8/0q04lmOF3 np3wCiDvBbdazJM92/mpA8J1YcRhxMy8k0Ux1+WIHjr6vpfSvygPmj49mVBpbFD9/DQHSP5/4G/Y7 bD4zw2oTIU9mb4yEQxk3Yu3VoYHwL+rgVgsPqXquQ4f0dQxfzrIDwGBK1EXmLr3Ejhpj4Hophpgu1 lE/7b2CV4Xjo0v39p9iA0yFeDMzJ8tJfdb4j1vYICJWOZ7AF4z0xnET67P8brpHpM06lA83b+xY18 ECPjPDRaXLIzlABtAMC1ItqQ+xPfVKYudRpBHNcncTikagRk589EC3fV+8CEfROZTH99PRO0l0174 x41PY4eB5tgV4cY0iAjQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rACwN-005Dkd-2C; Mon, 04 Dec 2023 17:41:07 +0000 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rACwI-005DiK-1M; Mon, 04 Dec 2023 17:41:05 +0000 Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-54cc60f3613so1815168a12.2; 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.infradead.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=jfQoymvekfGrNbFkEaMl12aCx+5hIBsRbu+0qQ+Jo4zH7Fau1QayS9vWbVxlAbufYK YnW0PIYyaZRVNTDghn6slTO2bK2Tz7xPr0BhBq2pFelw0YfdXteWMl+EACFjSsv8OG33 JHpbQyVn9GVsd/QQtNzImDTats6xkm1WH7uK0iA3VU2ARW7BqaLxB/wgKlHdwWZZ3lcP qHS4CZlGiBQBBU23cqXi7WLfcB0fP19UanjaZj8MKe//rZpXECONf3BXklYCK314cqY4 mSX24sr4DekLUY1ORqgd3GMhUNM3HrwOHDVJ/0eWYB5FWxNq4CMLBiYFW3mhqESNRTAx 1DEQ== 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=SN/u8pSd4rZ+vW1leqNQfkhtmwHIJSFVcQmfb0z8euPySOjRtFIXm6FQ/M9+ZnEcas sGKgxrMePZBBEM++oXOxqS7tIAyw4EQS9AlmsZ8S9JQDyhk5jF1izWkOa37Tnm067XlK FEFSK2hgAcq0n9JZq8XdeEqI/uFMMVgbn37q7Cktyythh18OcC0sXg9cqYgGbwIYOJLm Imz2ODqRo4QDAE9M9/CgOVkrnkt6vMf7dLpjbWrwBbLjNm7xYwRMImJK/I09GJ6etVAw 4csDpjvbBkhQJnaH6BEkFIGA8713dPNTMKbnZ1Hi2Q+W7qWb29E4r1E3ZeLxcFbNzyuA GxLg== X-Gm-Message-State: AOJu0YxpL/XdC7PVq4r53n7EFiRaDKa8JAzCpzuyIw3FE3RaVDBc8ue+ kILPjNJKjS1QKD+a3w76dsU= 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 Cc: maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org References: <49c6afec-022f-02de-99a0-d409b64da198@gmail.com> Content-Language: en-US In-Reply-To: <49c6afec-022f-02de-99a0-d409b64da198@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231204_094102_460236_A1C88659 X-CRM114-Status: UNSURE ( 9.42 ) X-CRM114-Notice: Please train this message. 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 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>;