From patchwork Wed Jan 31 21:14:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13539959 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 0B53AC47258 for ; Wed, 31 Jan 2024 21:14:49 +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=rXIavT08gaFeH2UIuyu4JHhP2fbFRMk80MJtPJ67Y38=; b=JJcpeoijFK0aqa 947qGg2veSt3/jzO0p02GOot2GwLs0IeY+Gnzq3+ew7cCM/loyK3USB8l9L/8OM2Tsl6sSjPuRLaO BlnleT+xKEX9HpliCFRshcbpUv7TDumcDp52tCNii90nMFP3OFearjTUoM/T0zV/masKYTft1uZVn tNT4x1anFj3Of8bkxgggAk7wjmTg7SA0xr+HWlHnCtocIu62QdUUAwPRnzKc1jaHopt0S5n9K7B7I HFPyxtP+MNj+++ikNaZ/g/B8tTc2QZJcLfBt1ydLK9q8mSKnmNcH4ftME0bIICTf1jGPTYiEHggfq mVV4MGhpmJcLKdFWfLCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVHum-00000005SC9-37EL; Wed, 31 Jan 2024 21:14:36 +0000 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVHuj-00000005SBQ-2VLI; Wed, 31 Jan 2024 21:14:34 +0000 Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-55f0b2c79cdso245380a12.3; Wed, 31 Jan 2024 13:14:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706735671; x=1707340471; 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=BzKBpTO+yAsO6AKq5s8rWuJxCgwGnyxQPNp5dZtPA/4=; b=lb7AVvDjoz9wUBaYnc0t7+mTvXeV3r9xIQ80PDgVM2+ludYDuvSI9EbWQi4MOIABKN Gcwvg+BUU6tx+COp6lbAy/00DbYLc8Waw/6tUmGBkmrzF9K6b6nKc3FuHCt/K/lXRqGn JOb0TS2EqqjeT2J4bHhqJlAo/y1qzASKQpD4cUPPNhnZQe8e4SDoMjby/Rv12I+ZXQrC BJc2JkEeGgVM3Hi0sQPoNjJilQeyxU8mhIq79twKRzWHIwekglUgW1GBhY90Z9j080uy Wi7c0kLwYzltbqNZPAd2UrCpVAHdfBjJX38p7re4q0dYXIQCEyPGHPJlihm8G7Ca6Qqu 9g+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706735671; x=1707340471; 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=BzKBpTO+yAsO6AKq5s8rWuJxCgwGnyxQPNp5dZtPA/4=; b=qxd4z8J9TmGUSnBE30x/psJAsZ/1/gQ/Qzy0XmQzd1fJqqfVS3nU21gFnhZ04hcm9D em0rsK5DBk5+65LUN/a32Vx8NcLCdp/CL71+qYwfzd+wC33i7bdR0tSjAubcsRIueElF CcJPfF+ueOxi7A4ZyMQYsbeikkkx2Vv6Xo8N9/aUKoPnmAOYe69bL4IERt0IyhZc1kxr 0uAYd04k/kmL+i7U5wIF6zisOPAG9r1ZUv9ahB6aiBHZZPZXaudHiSQ2vWEXho5BssOu YZB2C80tQeGw26/B9kJI7NiWcuw7oatW8Z+xJI4F9ICUJV7iXxC0S5EnVelz2lfFZUkA wgiw== X-Gm-Message-State: AOJu0YydHMmgNEXWjl2O00YkgU0ZcyC8FPx49YmgfzP9GpYJfEAafIyN +ToAOVkMSBD8txqjaAgtXI9LburCKBdIoI7VTUgUUVlhycCXf517 X-Google-Smtp-Source: AGHT+IGKSAQ0iom5aOWp/ud0qd1AnStLBR0ipcNAgWjoyolxlKbW/Qay9WlmcGjARF23PCDI5a71JQ== X-Received: by 2002:a50:ed91:0:b0:55f:4ce3:5988 with SMTP id h17-20020a50ed91000000b0055f4ce35988mr1738459edr.8.1706735671176; Wed, 31 Jan 2024 13:14:31 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCULQ33QhABS4n6ZmrFSYOAyDgetml7TCChj/sOPv0oioq5VepLJymPA1kx2NkWnR/s/br7OHudwGBzZQ5lJljEVZ0T8ec2Qp1S80hCa2QJ/ToAZa1YotVwMLjl1ixwuX3c7Cu+05OhCGKZkQey/yuZ2Bw6v0NVp2+VtTGbXGVknaBG1caPpDodXH8w2Gv/zN7o5cVAOiQHi9MBkRsVot/HEcvmJEiKtCss4rKm7VvdBqeNBwZBwqxTaQPORu/gHnP6qcawXXJpcVGjzH6VAlZvH3ErYrVqCokAc/Rww/1Xp80adSwmW4MDgtNtHYQQyyLLEZIyow/Bpq6vIbRaYa5ynGN86YgBNPs9PsrXMZrXxxonkYDbgwwceyhD1DlNa1QtF0buPDCKbvEXuDI4YJZ5Hdx4UPHCsKxRufcd+/SKhB9BYYyvLq2uV94mWiDf7SiE8EzadWm2IkK3USljlB47pSTIfHntNiE46d3ZtXcpwD8jpvymiIPIFkfazQVGZ1ljIe8QguTVnuWOzaum/Qon6g7VEJ826bImqyFkegmo5KHphHZieTr3zht96D9DCWQSFQ43PUzoKevPHSvk= Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id h28-20020a50cddc000000b0055f384e7530sm2241381edj.32.2024.01.31.13.14.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 31 Jan 2024 13:14:30 -0800 (PST) Message-ID: Date: Wed, 31 Jan 2024 22:14:29 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Johan Jonker Subject: [PATCH v2 1/6] dt-bindings: display: rockchip: rockchip,dw-hdmi: remove port property To: robh+dt@kernel.org Cc: hjc@rock-chips.com, heiko@sntech.de, andy.yan@rock-chips.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, tzimmermann@suse.de, mripard@kernel.org, markyao0591@gmail.com, 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-20240131_131433_674225_72439720 X-CRM114-Status: GOOD ( 10.22 ) 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 The hdmi-connector nodes are now functional and the new way to model hdmi ports nodes with both in and output port subnodes. Unfortunately with the conversion to YAML the old method with only an input port node was used. Later the new method was also added to the binding. A binding must be unambiguously, so remove the old port property entirely and make port@0 and port@1 a requirement as all upstream dts files are updated as well and because checking deprecated stuff is a bit pointless. Update the example to avoid use of the removed property. Signed-off-by: Johan Jonker Acked-by: Conor Dooley Reviewed-by: Rob Herring --- Changed V2: rename title from deprecate to remove reword --- .../display/rockchip/rockchip,dw-hdmi.yaml | 24 +++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) -- 2.39.2 diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml index 7e59dee15a5f..391c2a7e79de 100644 --- a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml @@ -97,8 +97,8 @@ properties: ports: $ref: /schemas/graph.yaml#/properties/ports - patternProperties: - "^port(@0)?$": + properties: + port@0: $ref: /schemas/graph.yaml#/properties/port description: Input of the DWC HDMI TX properties: @@ -108,11 +108,14 @@ properties: description: Connection to the VOPB endpoint@1: description: Connection to the VOPL - properties: port@1: $ref: /schemas/graph.yaml#/properties/port description: Output of the DWC HDMI TX + required: + - port@0 + - port@1 + rockchip,grf: $ref: /schemas/types.yaml#/definitions/phandle description: @@ -147,7 +150,11 @@ examples: clock-names = "iahb", "isfr"; ports { - port { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; #address-cells = <1>; #size-cells = <0>; @@ -155,11 +162,20 @@ examples: reg = <0>; remote-endpoint = <&vopb_out_hdmi>; }; + hdmi_in_vopl: endpoint@1 { reg = <1>; remote-endpoint = <&vopl_out_hdmi>; }; }; + + port@1 { + reg = <1>; + + hdmi_out_con: endpoint { + remote-endpoint = <&hdmi_con_in>; + }; + }; }; }; From patchwork Wed Jan 31 21:16:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13539960 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 BC958C47258 for ; Wed, 31 Jan 2024 21:16:39 +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=holg58qG2q5cHt3z7XeMzbtLWrr2kOyIcnguKbU6xdw=; b=jcOU23Z+3ZoQTL ehlnJRFSOVTlVoG6rwmBsWeUS4s49o9PyuqrZrKSyviXrUaL9Mfk4RDrlhELAOPXvwUNNVEk01jna lwr7M630tnGgxK2Gzk8WoKSi/M/jIyFFSN1ZxH86VSkx5u2ZCPSeuKIOtO/+CQ5bX2AETC9nWaRZo Zjd0OJ5CmWvn92a4YCIh+/c2P7LLu9rPPb43UUbOf/zUUYIkGyTcIDgmgmCLRwQKZ2AnUjFE9Oh1+ Q7Vl7G2JbbAKxHgkmF2lHWeXKu+XBambKVr7jgY+vQxYZsaEsfoTAD95qYYeDB6Wkfo/rJINiLy4v F/mE1uB8ocyAjvO5Sksw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVHwf-00000005T6Z-0tQr; Wed, 31 Jan 2024 21:16:33 +0000 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVHwa-00000005T3K-3rpe; Wed, 31 Jan 2024 21:16:30 +0000 Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a350bfcc621so21647666b.0; Wed, 31 Jan 2024 13:16:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706735786; x=1707340586; 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=7WAHmXqhwFGwnUoVVTvOT31zVVDiv5ormXLbiLzvJr0=; b=HsfoKsy/wJYm6XIRLzofpr8dy/suORCRbN7aCR24nLcO0xmn2TK1A+kD5fAs7rmpe8 pc7cj7Sax0K+5oC+sQVdvf0Hh10esCkp8HqbJi5E6rtlCt40JjHRc+v5TbpTxgBmQXT2 O67SXkh4DesFkh0DSlAJASn9eZligMQJUbhMZwcKx1tHimUoM8ZS6/jVOGUungkdXuWL kG/X0XXJ+ygcJEG3gq9xf77MKoEAppYJkuLzlHo19gojCafLDFlX7JZXN3cnxRJxhJHl RVNQj1gGkwWlmpN8+OH3aCWzFXIz3v88PUktfbs69HhBriiYafOOthQhGGwFsGtGk3U3 U9rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706735786; x=1707340586; 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=7WAHmXqhwFGwnUoVVTvOT31zVVDiv5ormXLbiLzvJr0=; b=E5/azdTxLN1sshuV34oUsZ4iyBCYceMCcoxDI44TwLBFWILutsQSBjUJjCWnHOovVI j4U9TrAVBOVwljo6kZxY9pEQIcz0nGK68fky3bAouG1jCO9Lr+iwv8ngvJcG/yCBebn/ UJwBKQA5aKe+cO72iLh1FVtGQXxcbKjkWT5LHmRBeOaccUGYc+4ohrqYtu+kaNcqLm9F n+TgVRPsNvntq2PeZfkgWATk7AL/JCVr3DURxc+Xi7yrt/YuBBX9D7tPCyXeH8+MDRuw vYjjKgAqzMJo6Jtgck+F9K8CBgZoxBVyC4/4jtcUHIAYeFVhW5tNrvMDQl6fGmrDdOoM O6Fg== X-Gm-Message-State: AOJu0YxPEozbNCTRvBioPb8QM/ctUCQs/ezl3eSldcf/caU4dF8PZC0d 9VOKWofNcTUykFIYApwNN/8mm4LwLm8CdF4OgoEVya0opigJCvH9 X-Google-Smtp-Source: AGHT+IG1BFq7Pp2hw0FCVuWw6rIJcYrAM9nq28Kr5azCiS9LKzq/m7hwGTr5nk2ETTNoY9f8m7yc6A== X-Received: by 2002:a17:906:da06:b0:a35:edda:ca8b with SMTP id fi6-20020a170906da0600b00a35eddaca8bmr1992854ejb.76.1706735786182; Wed, 31 Jan 2024 13:16:26 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVc2fs4IrBG2YWUC5LcZZStHjB+RqDtXVILboDRP8Y2Xm1IoMKnaO2pMi/h4SQUCrAruBblHzoOgDf+Aud6ulOos3QKpvTrOPDbWDrqrs4HoncHMRv6melTKIpllEW8OtFwnN33yPaEFX9kPiIJVFaz94d8Y4gJLNprrxIiTqgEwAzZF7DeO5/IO+fEX+0/dhCvlliQGm9DqOzAUU99bBQXn8o6SMzo0Hgoqm5QeA2k8zgHOry8CgP0VBNfmF6GRhoZHfwmUaL8uBJq2XbfcWxvunXQBbU7jqJRykZJI7KloTyZpPzrwxL2fFFCF6Bhxt2IUP/Th38ZoCpdRzQ6aMCLFa2oh+q58pPry2SEjx389pdHUxDhLD1zBehNndrSw2rsYkLQxOTTyGj1urAZFRt7Si96ewe9IW1EE5T+1hm6QZu0b3o05WuKCL0qn+GsDGuC/NhYfkqoWV0flggiV7whpyZ47IjqSXr14Zgh9zg3S1LmTND+9p305Lhk7uaXtn3un3AdZ6x3agLqjRDz/BlXoxQTGjcJ4DNSh7kyURpMcQ7mZNxtPNxNIrdB1QW1nlxVxlpJ1FUsiiLxuuc= Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id ty5-20020a170907c70500b00a35a8571419sm4040634ejc.135.2024.01.31.13.16.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 31 Jan 2024 13:16:25 -0800 (PST) Message-ID: <5c45527a-e218-40a3-8e71-a5815417e5f7@gmail.com> Date: Wed, 31 Jan 2024 22:16:24 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Johan Jonker Subject: [PATCH v2 2/6] dt-bindings: display: rockchip,dw-hdmi: add power-domains property To: robh+dt@kernel.org Cc: hjc@rock-chips.com, heiko@sntech.de, andy.yan@rock-chips.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, tzimmermann@suse.de, mripard@kernel.org, markyao0591@gmail.com, 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: Content-Language: en-US In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_131629_061670_D8388914 X-CRM114-Status: UNSURE ( 9.02 ) 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 Most Rockchip hdmi nodes are part of a power domain. Add a power-domains property and include it to the example with some reordering to align with the (new) documentation about property ordering. Signed-off-by: Johan Jonker Acked-by: Conor Dooley --- Changed V2: keep reg-io-width together with reg explain reordering --- .../bindings/display/rockchip/rockchip,dw-hdmi.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) -- 2.39.2 diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml index 391c2a7e79de..af638b6c0d21 100644 --- a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml @@ -94,6 +94,9 @@ properties: - const: default - const: unwedge + power-domains: + maxItems: 1 + ports: $ref: /schemas/graph.yaml#/properties/ports @@ -138,16 +141,18 @@ examples: #include #include #include + #include hdmi: hdmi@ff980000 { compatible = "rockchip,rk3288-dw-hdmi"; reg = <0xff980000 0x20000>; reg-io-width = <4>; - ddc-i2c-bus = <&i2c5>; - rockchip,grf = <&grf>; interrupts = ; clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_HDCP>; clock-names = "iahb", "isfr"; + ddc-i2c-bus = <&i2c5>; + power-domains = <&power RK3288_PD_VIO>; + rockchip,grf = <&grf>; ports { #address-cells = <1>; From patchwork Wed Jan 31 21:16:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13539961 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 06FE1C47258 for ; Wed, 31 Jan 2024 21:17:02 +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=JGNuqr/LvDG7nHeqq0GaVC26HnSghyvEud4Y+DPon+k=; b=V9ZE8FZ1UQzEcH /fV9QF8BRcG8aYRvsl3lEdf+qGuM0HZsqFEfmgGEES52+pD8iNfK/9GaDJGzLP3vPgnI3EQ6SlTk5 17Egyarq+N6xtWFXX/81iN3MLY5gHSo0y5ktrbp86PP1QlVYlso9EktjZ/w4Q319BukmbpwX37Uea Zm5KxQJ1L64QQM67oOAM9S2RhvjtJFVTwObb/SLt+axBVfNDi5KhkPyNDZT5fQcjdN79RJAP2txHe Am1Iz/p3av/l/1dWQ+4Kwj0lOCCVAZGUF0jIOpuDEMn9uYSLzwVnE0UcAfigOER8iG0g6NWtTu6B9 clX+gGRg8Ua1sSyonFwA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVHx2-00000005TII-2Njd; Wed, 31 Jan 2024 21:16:56 +0000 Received: from mail-ej1-f48.google.com ([209.85.218.48]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVHws-00000005TBL-1qSQ; Wed, 31 Jan 2024 21:16:53 +0000 Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a315f43ecc3so22127966b.0; Wed, 31 Jan 2024 13:16:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706735803; x=1707340603; 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=Y9SmInleJJW50YrvZW+J7AO+eV3PNYGh0Bhi/yWPzWQ=; b=LLmDqRF/aV/qqMyho4e0fwPZ1lbaXgqcio7iL0b61pH+s2ft/zCC5vi3kqA6ZU/xW9 glMP9IznSKhN0uc8wWMOAsrWAQoQbdE03r3iWtfhI3HqjEkSjaPMqXbw7Fzi0Fd6tkRq PWG4134CO1vZirOM63BBPShBLu6z8UwCbX/1NFO50heecTiXnW7PQz/ZHnDSNncoJVWy pI5cwAbzViSsBzywkS/apnJo19gT//cGQyqIu74ybIqq76yQz499DHmLxUUd8sTcZWu/ tNm0Q8uzWinUHgcW0sVXQWYVZwzBt+cOczpnpkb+dksIjfFTrMiUWJk2GPoKA0Coksyt FBKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706735803; x=1707340603; 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=Y9SmInleJJW50YrvZW+J7AO+eV3PNYGh0Bhi/yWPzWQ=; b=vv6JCB2p1qVVU9r621RdISoPXkFBVfmCPKC1eBEH7Fr7wXzZ1NKuC0uUtKHbnT8CrW mFXSRAiN1RpBVd8Ni37iRNqmGTCVRXCFIlxKycN+GyHqijpfUz2Qm0sozfc/ueTHe9YJ qcDfBUmzPmfZrztt5C+xx8wLytnpa7ogbByZOVwjPuYEz3HSNly+xYTlRBCZ6oZzH27k ZMj7IaxW+HdXxyAn7Y0rCd7R3Z+n7UTmx6hkSN1iyEMwOHsrnVjtVmC5QD872+86BjTn Ek7QjALDnS2Hg5V16TxbtiyJr5pJulp4eLga+po4k3celXmGEyuT6oOsFH+jjFClxPdT 7sBQ== X-Gm-Message-State: AOJu0YykBWgDBYEX3a5XtXLYkCCrN/gIXEtqSQFxf0gvrdqF9ekeA24z iA5hABj6gkAVVIL/DAZ559QE+msNuP0RShp5Jb4wrb4IL4cIp1JL X-Google-Smtp-Source: AGHT+IFiNtk2W8Gds5rlEUJucqr0hxZtYVlXx8CB9ZL0yV0dlIBsl7TELozRqSGeP779yRy9JMoREg== X-Received: by 2002:a17:906:fa92:b0:a36:7291:888f with SMTP id lt18-20020a170906fa9200b00a367291888fmr2238279ejb.65.1706735803038; Wed, 31 Jan 2024 13:16:43 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVj/RaJySAKCvrlAOnjJsXfF/SANVDVD9dt5oLx30qbfHP74A0GI9LD66qJ4884hbNihZ9apPn3ZAAbFpzrkaZKgLp7vGkgRR+JfUqiaGWKEBWH/cqXnosXABbvoq1H/kOLHHsMsFWwlFNDlQ9RUtX2J5fPWK2J60pu6GfS7ODbtoLOBjKyOK+6Lmrc81vyudsuR3NwFx8eCYiSWoofQE/YgtCeqMl0nmGPwYebNcKuDrqzKPzxmH4Ant5DTzhUqhNKJAOA0ExoFEflnMuRtbmQVVzv2hh/4rX77AMIeLe2rbGiY0sIPeI5Fz6sfagpo2z+4TGtYPFfjKV1sqMhwFwqHdrnEZslAwGMyk2ZAQDIweLrFkSqn44rhQW6Bw3jLWU8paue+4/I/lJYkkPSK1tOazJ79ShFvx/ZGKqSIeEBkwvgJU7ERM4S/KJuMfKuK3vKsRdVGd3C0Sne5Hs5n6aZz5MYkFCZcRqdLx5KQCz5ywXobujwvEhVmsuC3rU3OEAF/cKka0SpzdwRoXko3ORfMvZpH0DRMr7P1WxrNROWfBcosCRQ+s1KJFedfrqtTqLLpoeuTVcMnjXxqmY= Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id ty5-20020a170907c70500b00a35a8571419sm4040634ejc.135.2024.01.31.13.16.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 31 Jan 2024 13:16:42 -0800 (PST) Message-ID: Date: Wed, 31 Jan 2024 22:16:41 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Johan Jonker Subject: [PATCH v2 3/6] ARM: dts: rockchip: fix rk3288 hdmi ports node To: robh+dt@kernel.org Cc: hjc@rock-chips.com, heiko@sntech.de, andy.yan@rock-chips.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, tzimmermann@suse.de, mripard@kernel.org, markyao0591@gmail.com, 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: Content-Language: en-US In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_131646_587232_C81CCE10 X-CRM114-Status: UNSURE ( 9.14 ) 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 Fix rk3288 hdmi ports node so that it matches the rockchip,dw-hdmi.yaml binding with some reordering to align with the (new) documentation about property ordering. Signed-off-by: Johan Jonker --- Changed V2: keep reg-io-width together with reg reword --- arch/arm/boot/dts/rockchip/rk3288.dtsi | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) -- 2.39.2 diff --git a/arch/arm/boot/dts/rockchip/rk3288.dtsi b/arch/arm/boot/dts/rockchip/rk3288.dtsi index ead343dc3df1..3f1d640afafa 100644 --- a/arch/arm/boot/dts/rockchip/rk3288.dtsi +++ b/arch/arm/boot/dts/rockchip/rk3288.dtsi @@ -1240,27 +1240,37 @@ hdmi: hdmi@ff980000 { compatible = "rockchip,rk3288-dw-hdmi"; reg = <0x0 0xff980000 0x0 0x20000>; reg-io-width = <4>; - #sound-dai-cells = <0>; - rockchip,grf = <&grf>; interrupts = ; clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_HDCP>, <&cru SCLK_HDMI_CEC>; clock-names = "iahb", "isfr", "cec"; power-domains = <&power RK3288_PD_VIO>; + rockchip,grf = <&grf>; + #sound-dai-cells = <0>; status = "disabled"; ports { - hdmi_in: port { + #address-cells = <1>; + #size-cells = <0>; + + hdmi_in: port@0 { + reg = <0>; #address-cells = <1>; #size-cells = <0>; + hdmi_in_vopb: endpoint@0 { reg = <0>; remote-endpoint = <&vopb_out_hdmi>; }; + hdmi_in_vopl: endpoint@1 { reg = <1>; remote-endpoint = <&vopl_out_hdmi>; }; }; + + hdmi_out: port@1 { + reg = <1>; + }; }; }; From patchwork Wed Jan 31 21:16:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13539962 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 C9453C47DB3 for ; Wed, 31 Jan 2024 21:17:16 +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=FbRt3IU0Qw10pTmb7/MyWXyPHKb3P8qcw64upmVGzCU=; b=UV632GNg5K0+Qo 4Q5kng9UVqZc5YBb9rgj0mD2joZOTS5KL81pBJT9IUJoutJJBd6GE+qK49AVGNhdihcVAXflvr/Kt DBxLFR5U3Qhm6INI7Xr/xRxwfXEBTZFsFSyCmfgrY4qbwi0B4RoMy+/UAyNo3MA97TKMO8tS5GYrQ GsmvqDgwwp/WqEwX+9jwVJtPixcV04l1f7nk0QvprK3vKG7C2qF1JjqwEdLwblEm4GlTUzY5nkjcC Q2U0N920Dsg6EsZA99bQWZNMjXY0abM+ZID6qOyhYGthUvJu5Qcb7L7oi4Mozu5Yh+thhPV9goGpJ IogWh3KSwCFUiGq9Ny5Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVHxH-00000005TQc-1TZS; Wed, 31 Jan 2024 21:17:11 +0000 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVHx5-00000005TJ1-2hvO; Wed, 31 Jan 2024 21:17:03 +0000 Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-a2a17f3217aso20861266b.2; Wed, 31 Jan 2024 13:16:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706735817; x=1707340617; 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=aIvaypLdP0+JFHDzqqa1D+EbFHtABYPWV2c8Aa5Q328=; b=ZKzDNJjr1JJ86F3b/OHgeE8lDB9XFW9DbnWu0pihxn8YC15WMg9xBgLBo3QsRi4wFJ TYbjTy2PLYnnQ6ykwjoDOOALArNjofbSksBZOkJzHlvDDyfUXD89Duk21h7NHRJ6sMcu jSlBcMsczi9RIrY3vid5xbjJoHP039ZsKBj4oIEhCTnqncDjeD2rqdVCugVjq6A7Oym9 58f2WYIApafgjbg0zZS6L9uz5XnAQRuXw9EzMmpRtTZJ1iJQ6RVNxyLg/h3+ZbEdf02r w/XHnvBGlncSkgDt1JopKzVhOKek+3Wpfkvc1rWjemJVfcuzlnP0k2Ax4ry4b/37cBg+ Hp/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706735817; x=1707340617; 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=aIvaypLdP0+JFHDzqqa1D+EbFHtABYPWV2c8Aa5Q328=; b=WHWhWyrgbTUD9oeQ//p7zAZjB58ME2QprE5YVEG3LgVEc6yaqbhiTT9U71Ig0pLCpv nFu54FGRvxHhfXJ/5oxOGDNeBVlUjDqrmPFq2a+N3yz7XEaAPD3pkSygRC57FybjTLEQ 1Doyhjuh9jU8Fdd090S0Eru/Khwv/dMHWEhNvTQXe6zYdJUC41MJ3lN+0fgPg3mskIuY Lab30rsHlLlmZPrsvP6U6p3Oq68zoNdPOQDww2isUCo31FSn001Q9/9YyeOaR8EL7yJS 6iPUqoCIWjvVM9CxIyadtr4aSIlmIi0BwvG2fYasHkv1dFDurruX0Wr1XhOzRuuw/C23 fMLQ== X-Gm-Message-State: AOJu0YwnG3kNBnqPC/F+xbL9J4FiuQxjUmR6t/AaeI7WHptzbcfLMsYR HxA9bLhG5D2KSfoqmYhtkZoH5NKgWSjuVIhyAqWNQazKGnKkIvFm X-Google-Smtp-Source: AGHT+IHnO3WBh/+ajC4q+i/16gR61Amb9UqtxVbpXreKVzkmjEyKKcJdnZqL0gzfWAOgay1EoAzL9g== X-Received: by 2002:a17:906:2495:b0:a35:854f:6c9e with SMTP id e21-20020a170906249500b00a35854f6c9emr2058734ejb.51.1706735816769; Wed, 31 Jan 2024 13:16:56 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCX6h2Y8J63c7oNmYUJeFHimF+GcNPtlF6WODVlXW+KZ6iCTqVqg0D51fEnFrd9PaRhjVZMpNJaOy2701csFyW8y0S+7/CgZBrNgtpfQ5QMjH5TCCL+CxYGKm0eb62yd17kMdsgnrikdnrrQ7RN0yHC054sAoinbOGzJF/OcbhhEuazViV8Ch9fuHX2KPrdDMQdFmjZfAmcSflVDCUlvyrRV3twI0NTdA6G1uWr/5leHTYx9r3g1pPt8BFAebYLJa9y7YjM4/xqD0AAYwvNpx6x8M6n/re4liSV00Nlsi0Zp8LD1igj6fwWiQubUZ8Bg9Y36dxHYP7Xhp5tHJ2r/3QiJhvIk0g8X73VF2vo/P4MXc74X9IFsLXUf8l0kZINM9D7h07ERqXfY6XQ2Aam1FLixptd7AWHwy0L1F7EC2RrZHxP9Lim31uAmBKQVfqqGbOwZXAxBXqfyQgm9wDKqTALAY2aoWzm3oDK3Y8hw+kPSawpNA8hlxVrMCOcp7FIoj1ZP3t1Y/b2jVCANP7gkha8y76qXMxX4XBnH5El/McGwAP3l8LDmvzdXLRqSpntlGyJUQvnlYt5i+Ht340o= Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id ty5-20020a170907c70500b00a35a8571419sm4040634ejc.135.2024.01.31.13.16.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 31 Jan 2024 13:16:56 -0800 (PST) Message-ID: <9b84adf0-9312-47fd-becc-cadd06941f70@gmail.com> Date: Wed, 31 Jan 2024 22:16:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Johan Jonker Subject: [PATCH v2 4/6] ARM: dts: rockchip: fix rk322x hdmi ports node To: robh+dt@kernel.org Cc: hjc@rock-chips.com, heiko@sntech.de, andy.yan@rock-chips.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, tzimmermann@suse.de, mripard@kernel.org, markyao0591@gmail.com, 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: Content-Language: en-US In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_131659_795398_07DB4045 X-CRM114-Status: UNSURE ( 9.41 ) 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 Fix rk322x hdmi ports node so that it matches the rockchip,dw-hdmi.yaml binding. Signed-off-by: Johan Jonker --- Changed V2: keep reg-io-width together with reg --- arch/arm/boot/dts/rockchip/rk322x.dtsi | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) -- 2.39.2 diff --git a/arch/arm/boot/dts/rockchip/rk322x.dtsi b/arch/arm/boot/dts/rockchip/rk322x.dtsi index 831561fc1814..96421355c274 100644 --- a/arch/arm/boot/dts/rockchip/rk322x.dtsi +++ b/arch/arm/boot/dts/rockchip/rk322x.dtsi @@ -736,14 +736,20 @@ hdmi: hdmi@200a0000 { status = "disabled"; ports { - hdmi_in: port { - #address-cells = <1>; - #size-cells = <0>; - hdmi_in_vop: endpoint@0 { - reg = <0>; + #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>; + }; }; }; From patchwork Wed Jan 31 21:17:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13540066 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 EC4FBC4828E for ; Wed, 31 Jan 2024 22:31:54 +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=cybzozNGYNnYxkNMj/iBXHTphcCSB9NkUY0jwwcgQBo=; b=yfLpAOcC/A0sc3 cgaHkSVEvK68EaTQGlDW1KSTbL8QNEDl8W7B/snXnxP/IqROpVPLvNehH6Dez0DhNoG8yRfWu+Dqz cqMOw8wjaCRTcg1Daqn8p+hDwcwu/6tMkAy3Banxx0Bv4/sGtslQuQNlbnEJ7DSn6/y6Z0Ehb5T2P 1wK5xFAAvke6ZII8QIIK8eLdtQS0/RqFpr5uAmFpbEhmLUPQVAphhyTzhlCQfLVMFa7L2//+5998T SqBc3FD++zLjBTVpfFsyYvYCfe+Y2twwDoAKVqWAO2Dp9c2um69L6I7Z//Eno+5sB+NwVxZm7Rybp Pk7i+paI4lLOKXMyiRow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVJ7Q-00000005iEF-2pTZ; Wed, 31 Jan 2024 22:31:44 +0000 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVHxH-00000005TQ1-1PeD; Wed, 31 Jan 2024 21:17:19 +0000 Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-a318ccfe412so18353166b.1; Wed, 31 Jan 2024 13:17:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706735830; x=1707340630; 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=m809IEfmsOt69Mzj+ewn9rd/I21cqoMQF9Z+13+EcwY=; b=cRWVHEhF3xe6WLrAEtI1mCusdCu2f67PUu/hrJQZ/mroz74VLXnbwgI5Pv0SHbBPM6 Ge9V2SHTzR2EOBfATdkXctbfbdGSQTjuvxQuVD7eIqU8X3SAanTJeY+9uV5dHyif43kS DtuZK1yVezCs1nUAOApXUzNdoAWkOzHwYplY6QZp8jRiSlNgdmfZdUpxRs/56XOG1fcf zbQRMOGDAJKbZmBr5qL0Z/S+vEl1JmX/aOFejFMXibyhBuVfjVKnisNTjccdgTHQNIbw BTHM/2zKSYOnjVDbqry+Ihx4rP9H/KtIh+FI0EH6Nn06E2WXgAjzxOLWfO4JHX/xJGRb aqFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706735830; x=1707340630; 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=m809IEfmsOt69Mzj+ewn9rd/I21cqoMQF9Z+13+EcwY=; b=fnVAYWdRSGe4gWFBNLl/FG54Ddt9bfGq+NraeHUKv2SscgjEqQPcqI9Nyb1LvRKYlO XOhpnwhWPqKVO+MIXxARGb3SXlISxLhpdB0241di3XOB6FOiQKhElC98ly1AB68df4oE mtdbsNr3bG8+9SXVkkF3u8LjItBbQV9/f2YNAM9TetomPum8z8ENDiapYDQ27BkX/pnc 2uypFtsaMlp2wt59DOfdVMjrLGv96BU919Wx7s+h/65h1ib3H6JuGgs+WrT0wl10UJ7r 54sSPbVXtQhwA04+xbnU8pmdAATU0LrlbgmN3P5UBVzTuyGuT6ylwPgQZPOYxFszQ4hC 5VHw== X-Gm-Message-State: AOJu0YwGUSjRhHpvoX/gjXiwDdNtoLpAzdvT/cwMwThAheqZyoHIQsYW 3+r1oRLeeLWi2aSflrjyjt9jy0rnjLrC9QwXoPFe7HsIT55aifW0 X-Google-Smtp-Source: AGHT+IErUVMAdxFTL73O0fpk+TAYJywDN+0bWX9BrjrCHQ2aPbxJ4ulDwCy4QPkkxKUz88lXPQE+LQ== X-Received: by 2002:a17:906:b892:b0:a35:6667:b3ed with SMTP id hb18-20020a170906b89200b00a356667b3edmr2101448ejb.8.1706735829899; Wed, 31 Jan 2024 13:17:09 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCX4l5u5Ajq9ylzzqYpkqzDFhuvJh6UcTWtUwBEF20/WVE5VlfDsUyor+mEeZhXLOS2GpQoSC9Sgo88wnvbODLkZGVeRbj9lG+gIRVnZP1vsjzbL2G8/xcZUxrmCYT/qtoTMBprmmHqnJqwDTkJA6vZ4g7eo79nvaQ66KWmrR12G4BSEOCMzNZrUO9uruaVQ2jISuTjR/x2xCoc8q0EPUi6S56Wz20U+XQ3GfsmmRq76t4ptsu1HiXh5tOOx1FYeVAxL13LZXKK9mYPpqxSJDV5ZWWsk772icN/1jsPaFih0xzaiBrBt2kULGo7L2yPgsPLl+OdrHDPs0ox70Acg3WsG0ti+vTFkGDdmwZ3Y9PnSqYrRJWmFOIeXvc9C0V9Jfha+QpQMuU/QN92BLmS1l9P5mUcVvIljvPlocx6TTEE9Q/+ZenkbwsEVGHVFh2goYy1Exqm/CcsgmuejRhklC2OVO/VN88jzLu6+Pd1YFVQkX1nH2durRSTdTfWH4FlTdugj1dxzEc8uY3FWDM2/82OoNk4Q6AF9Wv2kcYESlYNmyNni00kfClh7JtANd897aYugEORlc76hXEgrq1Y= Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id ty5-20020a170907c70500b00a35a8571419sm4040634ejc.135.2024.01.31.13.17.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 31 Jan 2024 13:17:09 -0800 (PST) Message-ID: Date: Wed, 31 Jan 2024 22:17:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Johan Jonker Subject: [PATCH v2 5/6] arm64: dts: rockchip: fix rk3328 hdmi ports node To: robh+dt@kernel.org Cc: hjc@rock-chips.com, heiko@sntech.de, andy.yan@rock-chips.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, tzimmermann@suse.de, mripard@kernel.org, markyao0591@gmail.com, 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: Content-Language: en-US In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_131711_579182_A9231364 X-CRM114-Status: UNSURE ( 8.56 ) 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 Fix rk3328 hdmi ports node so that it matches the rockchip,dw-hdmi.yaml binding. Signed-off-by: Johan Jonker --- Changed V2: keep reg-io-width together with reg --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) -- 2.39.2 diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index fb5dcf6e9327..a73234b11ff1 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -745,11 +745,20 @@ hdmi: hdmi@ff3c0000 { status = "disabled"; ports { - hdmi_in: port { + #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>; + }; }; }; From patchwork Wed Jan 31 21:17:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13540065 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 E8B68C47DB3 for ; Wed, 31 Jan 2024 22:31:54 +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=tCpDW7+IZ2xTdGRUzY3dkcp3AEkYW5myfeMotpGwIGg=; b=hTPkiumS26vJUy pAtLRB+elSwkAFcaimDBf+HdDSdVaS+hpVlneatDH5t9ykVbdM3eBhPfp451s9X5j3kyacniDZuBY M8HljsyV1VFTQyN+uG2dcfNQYRjJGcAAVH9nPk74meIapabDqH9i4amv5tq6/zJZAdIa7AhqfLQjm +X8Nyf05AV9mGxbpYfB3vhUyM2oqcQrmutljn9ORJlXfcyfLKA6uz8XkOTFsUvPOQqqvan/Ij4U2t 84xUuv38wDl4J8XKhHz4dUsvHF2mDx68PG04bJEeybfy0lag4tQBTzP0cWPZRL4RuM4k4jHxhULUV 2OOSQs5k6H1wuVXVlnhw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVJ7R-00000005iEi-2c3Z; Wed, 31 Jan 2024 22:31:45 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVHxj-00000005Tg3-0KzF; Wed, 31 Jan 2024 21:17:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :In-Reply-To:References:Cc:To:Subject:From:MIME-Version:Date:Message-ID: Sender:Reply-To:Content-ID:Content-Description; bh=R4aZnJ0HXPSCrrZnvvv03peCc+aJLdST+sQtI6Yh7ug=; b=Iw9Bhsgn1nkLcXzCvOpxZfndij 2yj0NsHeA7WffcwbFQA6IDVU4nP+DjtnTBO/A0cmWo4cf6lUUvi5zY4DcfJE0I4KmtBumCG0dusBL V+GTIHEG4c5mFL3qXxyTaRKiYqzRqbCtO1J6g467vKj94SthDr5CescT2p9+HIx7PWDD1+ENzujc9 JBkrjSGmd/GJ51T6hor4drU9rIEYHF3wuQBfoG+R2Ut8Dvew2fESB5kEGUJv0jqBNRfDBCZP3wr98 jhTmrJVitNIbXzYeU4pnJ3VhLupHdzjNRwUdCiNh0Bt5KTer6W04ikKth4HFIlkhZMBmGPUpPg8UL /r4H0dDg==; Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVHxf-00000009D7R-2G1y; Wed, 31 Jan 2024 21:17:37 +0000 Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-510322d5363so283666e87.1; Wed, 31 Jan 2024 13:17:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706735852; x=1707340652; 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=R4aZnJ0HXPSCrrZnvvv03peCc+aJLdST+sQtI6Yh7ug=; b=lJoAzszkr3HSB8tqht063q3b7/5Q4i/ZZAfSp1eafXClo+kugt+ZEc0KtmP7k+vTZq +B76Qm//wd+9ZNKjQ+PW7NIk+3NIH3UfMJBKP8dXRo0QiGrkXNPE42n4zZsw1kN1pSyU +wo7wkSykeCkair7G76JMD9KFwHyV2isYHBWUIaTW6tCUtKEV6p4bSictn2qKwzu2KNh wEX/SbjakWDvpXeJvHdzuc0uzusQ1prOqJTo84TpjsIZHTgJsVrNq5tBEhmHihlJPZXH 0JPji0fePmZapWNnxCGVqv2sIiqNAbGq03oVnt7Wk0Dx8ZnTjG+535/tMVvKogY3R/Xs Ahjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706735852; x=1707340652; 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=R4aZnJ0HXPSCrrZnvvv03peCc+aJLdST+sQtI6Yh7ug=; b=mVXrFr3yPLRTTLKPRJz+lnTvTF1KbHqedQQY1oUz9YqwwharscxOKa+R8kbNUa+dak 1lyBQPFeUe7wwpOxolSCQv+PDAR4Dj0/l2xmXg4hy7Qyc9feraL9MiQjrMi9ER9MlFUo GftGTNBntOpMTfxk8xg3OYJJtJeNimkV5A4bvxvhtebyDRz5yyajh2Rv1UuwIJEl8ZUW JGu2WxflDDdmZrjEsyKNv/47dsfaKRKGHb7Ri+Iyjf5q+KfzWFsWXHk4RcisXiWY4hal MGR8mcLCVLAxC9pJnFXYYVp09ZxlK7hTnBlmkXm+c36uloyB89ef5jjWLG1Djirn980B NnJw== X-Gm-Message-State: AOJu0YzmPae/3bComVpwLQ2yavgGe9pr4ReqWuqHVzEWWMwXgmtGU/x7 BiBRSNwV55OkKXrya5QJmjzyd4RqIiIb/VTJ2eXflaZ0LF+Zkve2 X-Google-Smtp-Source: AGHT+IE+0isqNh4+ujtT55m3CO8TfbUQsPsn/Em5gcobBL4NzwWM+JzTycjuSMlXff5ckL/9eHFKzg== X-Received: by 2002:ac2:559a:0:b0:50e:d514:77bd with SMTP id v26-20020ac2559a000000b0050ed51477bdmr437572lfg.18.1706735852064; Wed, 31 Jan 2024 13:17:32 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCW+Y6j2zZMzBfnbk/bhkKrrJOnx2LOrJUHkBhyYcPiBX7GMnrzVU7PF8xepNbZlA/Tzl24kBAFvDkoBY/knhdfC/aVwufd/Onk1b7PatvAlaB9BCwDzlkeQJceUguUkRk8AKe9xsdhFH2JnSGzFSGdECPaNYaLKV/6Kexnb7hyeS1T3vgRJmk9BcOHG8h6Z+TDGC3Y+CT6CjIm/loZSAxPgoE5isYhAEru5DRsM5phL5c6vbzdCo5E3OB4DO8WZzJpJUhQl0vaOLlKfWamY2StJi7vrCvn6PTNsIvX7q20SkFlqqGrW0QVEoKUr4bx/kz2mWl0T2IFEQbmwCT8Gqe22XguZVouuNOG+tGyWhreC/XP2lc6TIn2oYtCUaWAmnyAoY3G9bec+5Q7pK015MK4JEor5WAH/W5Mrix00dlx7XJsmP3Pow5jUDpv2kJ5Y75pw1yEMn1Gx5z/4X78vLgEgEwyCmHCEfSqtrr/5cFJTzBYu/ZZj9cc1WoR3GvcgevMXd6cyPIFXFPO7LT2LwTYwgVKxhDHv2S5WLCekbGhEKzLsItaXOIgThqVcJzKg8cIgXVw4klvFxTMFx9E= Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id ty5-20020a170907c70500b00a35a8571419sm4040634ejc.135.2024.01.31.13.17.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 31 Jan 2024 13:17:31 -0800 (PST) Message-ID: Date: Wed, 31 Jan 2024 22:17:31 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Johan Jonker Subject: [PATCH v2 6/6] arm64: dts: rockchip: fix rk3399 hdmi ports node To: robh+dt@kernel.org Cc: hjc@rock-chips.com, heiko@sntech.de, andy.yan@rock-chips.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, tzimmermann@suse.de, mripard@kernel.org, markyao0591@gmail.com, 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: Content-Language: en-US In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_211735_916844_AE8B19B2 X-CRM114-Status: UNSURE ( 8.86 ) 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 Fix rk3399 hdmi ports node so that it matches the rockchip,dw-hdmi.yaml binding. Signed-off-by: Johan Jonker --- Changed V2: keep reg-io-width together with reg --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) -- 2.39.2 diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 0caa842bba0e..9d5f5b083e3c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -2022,6 +2022,7 @@ simple-audio-card,codec { hdmi: hdmi@ff940000 { compatible = "rockchip,rk3399-dw-hdmi"; reg = <0x0 0xff940000 0x0 0x20000>; + reg-io-width = <4>; interrupts = ; clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_SFR>, @@ -2030,13 +2031,16 @@ hdmi: hdmi@ff940000 { <&cru PLL_VPLL>; clock-names = "iahb", "isfr", "cec", "grf", "ref"; power-domains = <&power RK3399_PD_HDCP>; - reg-io-width = <4>; rockchip,grf = <&grf>; #sound-dai-cells = <0>; status = "disabled"; ports { - hdmi_in: port { + #address-cells = <1>; + #size-cells = <0>; + + hdmi_in: port@0 { + reg = <0>; #address-cells = <1>; #size-cells = <0>; @@ -2049,6 +2053,10 @@ hdmi_in_vopl: endpoint@1 { remote-endpoint = <&vopl_out_hdmi>; }; }; + + hdmi_out: port@1 { + reg = <1>; + }; }; };