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: 173483 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp2923749vqy; Mon, 4 Dec 2023 09:39:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IHR+PmYufKaTB3U6Eqscu15WstaYHhisu9JYOdGeeF1vH3b2gwMGjoItPbw//ayDnHmL5fr X-Received: by 2002:a05:6a20:1f17:b0:18f:9c4:d342 with SMTP id dn23-20020a056a201f1700b0018f09c4d342mr80231pzb.50.1701711553791; Mon, 04 Dec 2023 09:39:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701711553; cv=none; d=google.com; s=arc-20160816; b=fJYUjFbL5ewWWCnoY7+0MNqf2Xw0J7xk77gvo4sDqu+1KL77+s4bZRrDDfXyFCbsgf ATl6aOLdE4mq9kV+SpinM1PkuvpbMnvTlHNIJAWoQSxYmujtMxvlAHxcFifTm0v1+Wfr 2SBWXfDl/7JCb0kVjwwimapRkTi5DSKbgvyKb9H90bpm9xgYGsqSqocmZaQr7G/0lm5O bOYciPkSuHG3xzAyDtwPD5ligtPaj8YT3AhvMCU9nTQsw0+hig/bd/jhSDHtn8W++g0W /EVM1GT8MwXVluN9k2u1g/T0mjO3OACvQBBafjRZPxhwqDmGgmDuOyMACh5ntolp/PTa upbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language:cc:to :subject:from:user-agent:mime-version:date:message-id:dkim-signature; bh=RDbV8KEqo360AWt22zz09PqUE/cssUErxHrowGLoINk=; fh=lulQ7c/DbgaqjCYwEUTQBVKBv3OCll4Mrww+fbu3r2M=; b=POqsb+9Wd2YV2fi5qcmZwTYvCA2+ilpS2aJhrL3UU6F2/lc23j7E9RkrAGtSHpCXDc K5IHpoca7sTakUiOSx9v1vjsfFJeApSAeNIUAmt0zFxxRgaZC4prTdbqh47OMYpi0qBO +krBCvGHhcuF8ZD86besmtqnCL5P5mI+8ObOMc/xJqPE2grBg04KgYQtc20OyBAYBh0z dlrFLqvt94U/+8RNDpeE/z4yTIoZ8+rrxc/NxvlSIslUtdnhq2asvcPli39JGIMXdUT4 gc6TraZg+V3tTc6Urp3uX4LQ+uyjpq9tpfJgdpgE3D+s+QNzoknyK5mRTu/Uc80K1zSJ BBng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="hSA/3hnu"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id j23-20020a63cf17000000b005b42f4443b7si8349424pgg.653.2023.12.04.09.39.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 09:39:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="hSA/3hnu"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 54A10807329C; Mon, 4 Dec 2023 09:39:12 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230436AbjLDRjD (ORCPT + 99 others); Mon, 4 Dec 2023 12:39:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229513AbjLDRjC (ORCPT ); Mon, 4 Dec 2023 12:39:02 -0500 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F4012E1; Mon, 4 Dec 2023 09:39:06 -0800 (PST) Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a1b7b6bf098so189220166b.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=vger.kernel.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=hSA/3hnuwexjtdAnqzY9VgmYJ15X7WehPSXeJnGgERxDw29GpS2/TkaL8FFkQVJx/R TyZHHI8gj2Xzw2f/deynAThNP4WB3adfwcuodv0ChQOX60YNhWaDvaFbt9pdvdfvnsWs FOYH79uyAzQyFCfcjM4rXZBSC1CA3SYjnzcm8fSbl7y7xBCpaNPHRe50BPGMFc/tp3d3 kfTSBH733h8DLmZ7jLZNJ9jWYZHhUy6TD8/AnR7qbCT82sCtaWUW3gt3vvnSSDkwHi0N WegBaiKcfpJB5qM9Tlq27t0MBb+A/dvbRt70RkZkH/SwU9zLgw+fwIYXPZ+gdUMROT2P W0wQ== 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=DX5bZZwKJH/MQYfdfQ2aQxz9GeGWUcWWA71nOStH/AwiGp7RPZKLxdSlyjX6/Tuwyd pk2+JdA8LIWIdScxm2OrQArlUn7MdQa8rl5DtOjQrZ+oR6gbSYWfQiPKSpraRxVG+JoC bYDjZEuKVtLTNOc59yPTUShuojWHGLMMbA+MHnPVmfHklnUHjAooFEf//oqH3MH1sNRM Jjh3WvERv1E5C/F+CVy4zrb7pAwDkM4YkgxBO8lCz5NC9qTQyqHYVUv5XrdBVC1NMer/ ll2z3iyqfnqlvbDVBl5ys8QFhsdVvUMXMB4gm+NWFVvJnZnPtSwm8dNn9bBqXohFNjBe e34g== X-Gm-Message-State: AOJu0YzNEPKZlBUCRe/6HDvR4jzCAr9HyicWDsZlVwOaufsyHTpFA6TR WbsxqXBrUZbJreE7xAM49srba0Gd+1E= 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-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 04 Dec 2023 09:39:12 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784373894031857990 X-GMAIL-MSGID: 1784373894031857990 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: 173484 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp2924779vqy; Mon, 4 Dec 2023 09:41:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IGAyiwKH8Iv3zlS4QfL5ZqwoIRrVRDQ3BOfNRI+NjosapNYMfrr14M8Ud9ivQYI59Aj0RZC X-Received: by 2002:a05:6a00:c8e:b0:6ce:52b1:f9f8 with SMTP id a14-20020a056a000c8e00b006ce52b1f9f8mr1432079pfv.27.1701711673457; Mon, 04 Dec 2023 09:41:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701711673; cv=none; d=google.com; s=arc-20160816; b=J9Wz1OkS5G/cEsrcSywQTU4rz3CtO5mremtLTj6N40aG8b3cXSO7oPfVtqGSfu+RXq Pzkm8ZvgTNNG+9Ir6R5R2JKSizXpyQUYuBUgW2xxxWPocH3jtWTaxAWLV0VxBalqH7pz PZe3q5141WtQVJmMcywgvJJTM0hauIS8hxTYzpm2nuZsmPXzKn4FkxE3UoJBkHRSW+Dp l4kldJALgi1040809U00psnlVfoDB4lX1PlWYxXIYaCwT25H0aYN8ArTml9aPkNUUlIs Bd8qAwOU0Uz5rrUSwFqeT5YgnXtvOgbBhmCgBODFwaXaFcv1/hbUsbCJF57nNoKjQmhb kvUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-language:references:cc:to:subject:from:user-agent :mime-version:date:message-id:dkim-signature; bh=lBX76/WyazZCOF7hTYHm6kdCEbLg+NpPINR6F7BEsKQ=; fh=lulQ7c/DbgaqjCYwEUTQBVKBv3OCll4Mrww+fbu3r2M=; b=FM6c/YONn0vZLeT3RbH2w6oN2JXPg9YxsoG43bv272DjkS3F4oIdeo4g36CYN5vYoy f9OnxYS+cAKegjihAxOzNzw6ktFfIh6cVYVh1gl2KeUQe+7IZ/UKV0GVsovkbsFLNUNg cHONIDlUcjjVKriAsQdEiu9dSlSMAosOe66m+w4GPdrs+N2avckEHHDCBNrrd/5WnOL8 cc3FexJX3qYcI30WvUspTT/2IIqlK5mtgMXk5bfhdWMbpipasLF4Wgc0eZpSi1DrhYKI FQu2IbDsoYjidfZOyFi57gdoe6w4OBZm85c57Js721n32VvVLQKizoZpSgot3gt1lJhS 8z0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ArNyMghz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id f10-20020a056a0022ca00b006cddd78a8f1si8263815pfj.27.2023.12.04.09.41.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 09:41:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ArNyMghz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 70A53807329A; Mon, 4 Dec 2023 09:41:10 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230354AbjLDRlB (ORCPT + 99 others); Mon, 4 Dec 2023 12:41:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234857AbjLDRko (ORCPT ); Mon, 4 Dec 2023 12:40:44 -0500 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FD79E1; Mon, 4 Dec 2023 09:40:30 -0800 (PST) Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a1a0fedd3a1so369385266b.1; 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=vger.kernel.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=ArNyMghz/rY8xcmyxcgDyMKKH5OaUcIBiis1s6L/9A6nVzYy1u2pl/bdSPRxWBfGuX VnVGYeVsvRXGch8/awivJs5MXiFwMY4ROtOnTekAuQH0ygp0oFAM83FM0y+gIKHHPPKC Q9Ge5AfnigBG7bveBRPwF6Ah3xcwZ8X9RVl8aMDJTk89GTXAgbTjyrjPDiDSIUzQMSTM sCL/jWKX0SG4VBFRhXDkg97b/DUf259ul00tPgX2uXKWFICND+oR/CBNJBWpxhJyubRs 3H5dyt5v1bp7KhKOFlt8fAygzGs8gCohp07BSg+uVpvUiNXfSo6UZYeHTBavCJ56K9Iy H0Bg== 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=bdyHwm/AFrNFGgcLa+GcSq6ABrEQSpzIKY+ZtLP4GyRL5IDeLnOQd657c7SJUM3Jm+ ENVBzBrGIvrRbWwlkRQ60fHJVW/wf6rfd0ZgR3i0M1f+ZVaK0kLb+BFDxH2ye8MUid+2 zqS+fGS2Du/nhCQZ1LJF3KcFEgwtT2UsfWIymwh/GaAza/K9TepqXIPpbUurRDH8jsAG S5fUQr98SWqolJUitZxunu9h7q24myu0yy04KGeDJlZPYtD8b+GtAzbLMOI9Vwh0GTqg eLqGvlYcTLILxKQIw5J0HXxTdECALWCPPfN12me9Ga/+VVSQuFBhA3o+YYfAuMCskX50 lMzw== X-Gm-Message-State: AOJu0YxvStOQiZXe0emq/bi1YL+BZ7u3BLTnZdRsHcvhBOzY/s9QuE5T GTWK3OHy2CW3sCR0RBtKHhlAjDAIrIM= 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-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 04 Dec 2023 09:41:10 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784374019751261413 X-GMAIL-MSGID: 1784374019751261413 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: 173485 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp2924908vqy; Mon, 4 Dec 2023 09:41:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IFXnzvub+0cTJgPCroQAksPHoyQ8mTG0nlpOHGNlkEbbaOEP2hw5wSNu3EZfyQ9l8MD9m7b X-Received: by 2002:a05:6a21:a598:b0:18c:a9d3:c363 with SMTP id gd24-20020a056a21a59800b0018ca9d3c363mr22654078pzc.41.1701711686992; Mon, 04 Dec 2023 09:41:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701711686; cv=none; d=google.com; s=arc-20160816; b=AN2HryQFiI+yCQwu9I0IiRnlIBDlQdyDVKysikcF3o0koaz3LZVw+vMZqHQcYRRfgo 8UnA1Z37BkkpB7T1Ev3mOIKqSidsWbSlIkbHmfe/ThMqBiCKEzevIwlHvhHA/qm8as0P d39upZx1rhJm15j7kqcso+PvQcrYqamWpXW9Zh2aL1qHkZGresXYkzGfUZdCWDU9BbWt eQV4biAJPmkC0bsJQCnylEoV5c7zmyN1nuNWjg0Dy1bS3o3niqNW4n9YHK+msoBRC5K+ OlEErYHKrfA04u1lWZc70OLDcs8cTmU8BoaCz+b2Np7IVXi2BlRDRKQ8M2l/T5rcB0Gx yCfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-language:references:cc:to:subject:from:user-agent :mime-version:date:message-id:dkim-signature; bh=0YoXgk1fmeGz9Ml7hlpE/8h2Sivb7FXL2iIYJZqnuHo=; fh=lulQ7c/DbgaqjCYwEUTQBVKBv3OCll4Mrww+fbu3r2M=; b=fOaFHhCNlhU4S1Vr28V1O9y3XJ+fo+787vgaT4pLXAjf66LkQi5X8cbam2LFMOIJiE Bp8oApJRYyy2bn9hcjqop9HAVoKXQYsYo2M0RgN6Yd+8CgHrtjeV2sk5PeyW4Eo61SGU f2I+IIQMD4VsC4Y9KgbCra9drbYnP9mI4bEkTAwc0ZkjP7YJtm6ORYypIOFquprFAlif 7HbhFafXsvEFHgY2fBgeca/no0cGqH+JcwAkKQWVdrzmU3XcPO7SUT2QxqATI4upEIlY SG+6nRMHP7FMfIdanFDp6GKINM2t6U2/B98eTqJF5hKXEES/7mcwI7/qlTXd1WT2YUWI Wzbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hTl5hK1+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id a11-20020a056a001d0b00b006cc0519f59fsi8238246pfx.131.2023.12.04.09.41.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 09:41:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hTl5hK1+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 5C101805EB19; Mon, 4 Dec 2023 09:41:24 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230386AbjLDRlD (ORCPT + 99 others); Mon, 4 Dec 2023 12:41:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235467AbjLDRkz (ORCPT ); Mon, 4 Dec 2023 12:40:55 -0500 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1F84D3; Mon, 4 Dec 2023 09:41:01 -0800 (PST) Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-9fa2714e828so635942766b.1; 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=vger.kernel.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=hTl5hK1+vHB1cPY6Ul5dmkCGNh/9C/+rWqGSJ0GznYo9XYzJ7eKcjYPoe0je0Tl60O //K4fJTjPX0avVotZfOfmbWyVSHHXGSij4h31b2lmAWpYOZPeUOAHXChacMnDeD3HbQQ oEdwDhmb4OJXkYGGE7dZc+IKW2lEjTVUoGADxcWJaLxAT4y2mV64jRXyk97OagPPYyBL CNfOoP1Rf+y8qJvvwWJyHymVygi1pI960QHjI8kcT4vO7o2rjzUkmwLn+/U1DT5QStKu sLb88Shzfr1oRAaNZQfSwk5oxhnxUH8q0LTLYzEoxeJrpKhVGFFbRvMr44OxCcjZov4N //oA== 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=rIPjChrLiarf9hnPHgg+WT+RdCDwdwYNXMOmjtsgkF0nLhK01spHuRzgZ3wsLZrws8 ET8VDsIvJH8WY8IrAKZdyD76FCM0ExEE51lRfVUpIxyGZqrVxGyiuHYZUOeYLWSmYagF Qn2SMVCKri49cfpwy2dL9DJsaVAxbSunelzGJA54TW/p1PCO0M4F5NSbh7JnFbirt/zG puZoWX/jNmlA7F4/A8nhjqNYCnN4DFAZX+SeQjFegpza45ZDLam2BYCvD7zopSa/chYH lbe/B1rmJJyx1nQq1O58tSB33CyQ//XkPTdR23/oESLTpXTFMyN/RDAgOtxPxa84M0kb Pheg== X-Gm-Message-State: AOJu0YwM6f119oqB9tABSMObNTT8RsKBDqAN4CYGMQGhH9c81JdNon4+ yF95RYvQJM8wNJItnjpN3H8= 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-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 04 Dec 2023 09:41:24 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784374033679773962 X-GMAIL-MSGID: 1784374033679773962 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>;