From patchwork Tue Jan 30 14:55:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13537558 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D9F24C47DDB for ; Tue, 30 Jan 2024 14:56:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 49AEB10F308; Tue, 30 Jan 2024 14:56:49 +0000 (UTC) Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) by gabe.freedesktop.org (Postfix) with ESMTPS id 30C3410F308 for ; Tue, 30 Jan 2024 14:56:48 +0000 (UTC) Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-55ef011e934so3221901a12.3 for ; Tue, 30 Jan 2024 06:56:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706626546; x=1707231346; darn=lists.freedesktop.org; h=content-transfer-encoding:content-language:cc:to:subject:from :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=+gO8ZOe0pnwzVp9ud1Vv3npsbTRCsdAJJfeT82uG86Y=; b=gk01vqXGMkWsw/0CHiTVrzJXDf3O8IhRDqKUw89mqjkE3qucoAcsrHkuBNjWnr5Xdy ArIzH8cwAEZQsQbjHw63PC25iqDVKjDxqgt2qp4/WHgeagiEzl9wkMxPOLsRtdVQEv0U SVM25j4wohZVdS4DaPCE0bK2m/Zm9ynHmSEse6GPmEdQBiNxGuqYJZu70EzPSyVfR2s4 Ncf9Cd9v2Anw683HcBXQWxMQzs0+NJIN69WcD5kjVXzVFiwKt9s9qemzgioQ8aQUrfI+ KT0PFcOctfM/rKdIIFqXATSwjKuzZcScwmH7qbfB2KTAJ/S6Ffgtw7d1EGOQh90lh74Q E3YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706626546; x=1707231346; 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=+gO8ZOe0pnwzVp9ud1Vv3npsbTRCsdAJJfeT82uG86Y=; b=aI4GqhoLFMUdp6G0NpCXSoOhclGIrXFNqXeYzk7i0kAfdMqgsDFKXLI+U/vKTN30ib 5Ve7A3JLj0OKSO61IcNCyOQPyC0mhWjc32j9xdKX9+8H12sZ3HfEJH39PR3rf8gCC3Xg GBWwNmzX6LNMybY+ixrv96RiV8pLumtr7v9DR9QkP8syHGanQwSkQw8j84JWA0U5MQBu +JognUouFnFCQwOCaGpTIbS4l6iPbMjHHX35nqoY9ZEQwptqd+gQdjz0Am/xxsoZEuaM i3iidImkYS4lraynxXHag5FPKJ3MaPIkqutlE1g7JjjU1lGjvovSLe1LUKjslAPKRRXT 0egA== X-Gm-Message-State: AOJu0YwOytb+WYOfQl4rC2MOpNpTzBp75lGTVhc2rLB6WfxQyc5AgBcH w6C1DzmBQ5yQ5hoEJLhhoKsu8WmOlQV91w58NXrzNvbwgbo7SU4X X-Google-Smtp-Source: AGHT+IFRi9GyQXJSDsExLjRideZaSaED5yGKhx4CIr1ncWL2nfC+HtMvB4YtSvuuO6qpUWW+snUifQ== X-Received: by 2002:a05:6402:b4c:b0:55f:327c:d18a with SMTP id bx12-20020a0564020b4c00b0055f327cd18amr1583915edb.36.1706626545234; Tue, 30 Jan 2024 06:55:45 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCXqWmkvvZvd/lwxAk5iOs/VBqiWjnua4Cq/9D+o3F2xLZwmzEJMPNiiOjtfh9LrBXqnGvYMSd88PILzT8o3xzK9P+3yp3sqWYnh9NLKrY0hvwe7NU7JZQ0IbQ8uR0NFWWsIngFyK6hMspO4slIDwkejfYFCHuDhg5YWuYQ/j3lMjtmfRzxgplPg2gvPKKop3D3KOYnfFzFnkqtGcNM3AaUafagYD8RZAwUsC0Q8WDsXGVMdxReIZkzlhXqdhnP4oYMKjAA9x8mQyMmNeBh7DPxdCSUGhKGkGheL0vvxU9eK5QwO+oIbNs+WT7znL8d4caxfiZycFAURrmrN+sJlfk0kVLLBXN8vvHv91bOoDXxlmnRQYv2chZzfs/3g0GmQI8VCmU6orQxG8n23lnDYRaqkTeCBK5lhr+MLgbWh8vkgr2rCD1NC5KvR+vVRMmbo5YZOe0dqCTHw4D4W6ZdVi5xMUZptn1m/ttlJjjyk0AApmbHio84E8u7Rf+v2dribs36sZUh7b6hdhSrvM/TMQcpHXiLPf7nDUI8= Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id w7-20020aa7da47000000b0055f0c027a3esm1879542eds.30.2024.01.30.06.55.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Jan 2024 06:55:44 -0800 (PST) Message-ID: <6626d288-ecf1-436b-b0a3-3417308a8633@gmail.com> Date: Tue, 30 Jan 2024 15:55:43 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Johan Jonker Subject: [PATCH v1 1/6] dt-bindings: display: rockchip: rockchip,dw-hdmi: deprecate port property To: robh+dt@kernel.org Content-Language: en-US X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: daniel@ffwll.ch, conor+dt@kernel.org, devicetree@vger.kernel.org, tzimmermann@suse.de, hjc@rock-chips.com, mripard@kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, krzysztof.kozlowski+dt@linaro.org, andy.yan@rock-chips.com, airlied@gmail.com, markyao0591@gmail.com, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The hdmi-connector nodes are now functional and the new way to model hdmi nodes with, so deprecate the port property and make port@0 and port@1 a requirement. Also update example. Signed-off-by: Johan Jonker --- .../display/rockchip/rockchip,dw-hdmi.yaml | 27 ++++++++++++++++--- 1 file changed, 23 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..cd0a42f35f24 100644 --- a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml @@ -97,8 +97,11 @@ properties: ports: $ref: /schemas/graph.yaml#/properties/ports - patternProperties: - "^port(@0)?$": + properties: + port: + $ref: /schemas/graph.yaml#/properties/port + deprecated: true + port@0: $ref: /schemas/graph.yaml#/properties/port description: Input of the DWC HDMI TX properties: @@ -108,11 +111,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 +153,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 +165,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 Tue Jan 30 14:57:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13537559 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B80F1C46CD2 for ; Tue, 30 Jan 2024 14:58:36 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2472E10F86F; Tue, 30 Jan 2024 14:58:36 +0000 (UTC) Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) by gabe.freedesktop.org (Postfix) with ESMTPS id 851FA10F86F for ; Tue, 30 Jan 2024 14:58:26 +0000 (UTC) Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-55a9008c185so7124996a12.1 for ; Tue, 30 Jan 2024 06:58:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706626645; x=1707231445; darn=lists.freedesktop.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=yBP1sbQ2NlcbjUdIKedXdoU619EWO8zH/xknpjbpMbs=; b=LaGRpMYdsHOhQsQbvERg0Z3+7VftErp+kqQSAGGhymRRN1DxrFjVCKCpx5ZEbq+rNT W1AFApZw4kusk+mh+bJG2MQLJRwK4kdXA41/J2KCY2lq88EaBVYsGlYDpcXMSP+iIKd8 Bjopub9xMDoB0h0T5iV1HUDRvYyuh8IDprzhvThwV3/i2kEyfYG8ZDCZMYSCtoSJHy7M wj3m6LBwfCWWlYjWEVDG2F4SqSu5J+tj2B4MvQ4coL4SwlYJAUpSlBvFId49e5chVJ73 IIu3xuf0LMZRXYsAbD6dMc95kIGVPMBLqJ80QRZTmX+qEddLA5tNRFekmqiLVAbX2PLx Yiuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706626645; x=1707231445; 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=yBP1sbQ2NlcbjUdIKedXdoU619EWO8zH/xknpjbpMbs=; b=pBRGoz4lMpV5mYVO7kWBgi6KFWqO1IVY98z65ddeixDLWQV5zWRh8ZLj0f03dzMKih b7SYbryXdieaINAxJqA+VRP4BkJg0WjctgNYVMfgecce0fdrAoQ2nNFA8M6Wj9wqUrza Ab9PqkkOoRSNkIUxYasMef3cW6ZYTugRcRGkqqMscaWGi+g2h6O5rRSm5WU9PYfjr9Cm Nwxd4cFmaZxeJ2/EeCmhZIeF3TXDO/bBpDoNJS36sR62uW4/Htqb9mfPr2nulXn2tL0C A5craqBLBLm4gEbK7i1uI+OHnvXbjUWWKB+pLlCY/XLUGOAXKDlHdOqJZQV5k/wqrz8N LVXg== X-Gm-Message-State: AOJu0Yw+gep80ZB9J5uEgt+wqHfexOFqTCMM9WXquEhSf8SADhnaJN8k pgGmSOzrXrw9B6+CVsR3AjYS55F78StniyiJupsIDBB6kph+zE9F X-Google-Smtp-Source: AGHT+IH//S6wHUjFESQBomnwxG2DYoedW49QyrUW/xp6mvOC/FyH5Af9zjaHLj1VUrPKp0hJ355nag== X-Received: by 2002:a50:c317:0:b0:55f:3353:3f5f with SMTP id a23-20020a50c317000000b0055f33533f5fmr1906511edb.1.1706626644679; Tue, 30 Jan 2024 06:57:24 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCWD66v/nfypZCrDeVMlFSJTke9rSFnz4LEWI5XDkPB0fIraAKLfu6mEMXGHcIuQO7Pse/Ni6Bo99H8azYLPwTKhq+rqHwYxKilKFAjPVhVIb9a3WOs8hGvfMxENUDzoQ4VJYpNCz3T+ZSWpipsBmX5z4C6QsCrqROr5OwmysLw7SGoy+/KR3Gu1Jofz+h8B2Gyh14swkAwMXk60fqxZdp6Zt4Vj2YK+QWucrV9ymDnAn0tDHrUmPdyf3lJCFWB1i5QAt3HgTcQjyGzo94dHNle1VVQ+XJ3489Z6bt+yEdZbmxfREBkFdg2pQJ9npQ0YN72FkBBqjAPAlt4hZDg94VMvKEGbZbtYpzOl6Eln+7t1WwXcRfZ3XflyDDIkfg5GXTEDmOTpbbOEMojfpmnr+ro/nMcoco3rs7i02aUMZaugZy6ncBWW5+a/RCdwlciXgO+DkLDJFLElYJlaEb4+1laq34wtqzLloBAsh+KwIB93yD2qVmg305liBHJ9DICey9RVdvDTRrEd+oZahc/jZ+mfFbihRvnnYFs= Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id w7-20020aa7da47000000b0055f0c027a3esm1879542eds.30.2024.01.30.06.57.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Jan 2024 06:57:24 -0800 (PST) Message-ID: <1ba8b40d-005a-4665-afd9-a4eacf3e3031@gmail.com> Date: Tue, 30 Jan 2024 15:57:23 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Johan Jonker Subject: [PATCH v1 2/6] dt-bindings: display: rockchip,dw-hdmi: add power-domains property To: robh+dt@kernel.org References: <6626d288-ecf1-436b-b0a3-3417308a8633@gmail.com> Content-Language: en-US In-Reply-To: <6626d288-ecf1-436b-b0a3-3417308a8633@gmail.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: daniel@ffwll.ch, conor+dt@kernel.org, devicetree@vger.kernel.org, tzimmermann@suse.de, hjc@rock-chips.com, mripard@kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, krzysztof.kozlowski+dt@linaro.org, andy.yan@rock-chips.com, airlied@gmail.com, markyao0591@gmail.com, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Most Rockchip hdmi nodes are part of a power domain. Add a power-domains property. Fix example. Signed-off-by: Johan Jonker Acked-by: Conor Dooley --- .../bindings/display/rockchip/rockchip,dw-hdmi.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 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 cd0a42f35f24..6f421740b613 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 @@ -141,16 +144,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>; + reg-io-width = <4>; + rockchip,grf = <&grf>; ports { #address-cells = <1>; From patchwork Tue Jan 30 14:57:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13537560 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 514B0C46CD2 for ; Tue, 30 Jan 2024 14:58:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8E1C811318D; Tue, 30 Jan 2024 14:58:42 +0000 (UTC) Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) by gabe.freedesktop.org (Postfix) with ESMTPS id 00DD71131C6 for ; Tue, 30 Jan 2024 14:58:40 +0000 (UTC) Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-511216374b3so106987e87.3 for ; Tue, 30 Jan 2024 06:58:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706626659; x=1707231459; darn=lists.freedesktop.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=q/NVySBHvc0o4wdoGiVlWfEl/BNyNyErkR0wz3BaYxg=; b=KOAA+Zk6rd0WcrYPxj2vM8ghfYcWuFrmhE/e++RAhn6eMchC2tk5A+7+KVus5gktuT G0dhkHcmwFix4wTe9NQA6NVDjiGm+j2AHc0ZDSvg4asHRdSC9oZBpKRKyW7rB3cgptbt CwZB3/tDbLbEmMoMjAIuxwUq/1fVV6S1O0okDIdTLiPvCTtNKSF60MChqX4EvjXT5v5s bZlBSdZh2cEHdPMFi2rQtVYwoEtNo7YfJeO/uuzs/zQS4IKUHulzHgKEbny7oYmUnITs mCC1wlX4paIyUj+Q4DqaSmQUalebVA5Xp4Oc9UaVpy4Da514/PW4zxeLsyuRXDKtpHjB 9soQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706626659; x=1707231459; 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=q/NVySBHvc0o4wdoGiVlWfEl/BNyNyErkR0wz3BaYxg=; b=bDUAxXDKq/+UDdDOG5fdBaMFYLnf/f2Jdj7/gsvU66cGpI5vAGJDkvUZ6j/aOX+veN 3h+T6wjN1pW62uBNasExn2u0jTUVkEd/QlbGCaCHANPzEFQ545dpM3QbjlMtFbNMluld XvfUnq5uhcF9BAivBTYYmRfSQphmoQ6X7LQXdZh4QJphINaBDQJCy25KQmeotrRQWbmx XAlAUbkB2j9OtbpOW0KOw8GPi9w9k4HL5PcogB32LX51Gz7xtWEuSO9oWbxNescMw4dU P8xgvm8hAWhYkHGYSK4E3f2sq4AVGqIwl0qhu0nVof+bztr8DGd40FmYq+xjf+QYXR8X tsrA== X-Gm-Message-State: AOJu0YweKQKXQsTE03d00sYtdlTlq9jbh//fHTLoKAzIWV9cfnn4XqnA /vsjGqKqP6xp0iQVDGmq9I/5bYVuLbxokvDwOZTW6wVhyfABHcp+ X-Google-Smtp-Source: AGHT+IFn1Z26pvSzf1A60+etpdAcRjcbap+od6ft3lxl2E7sSOHZhEaK9JTfGX8g1RPOH8q3h/609w== X-Received: by 2002:ac2:4835:0:b0:50e:7b4d:887e with SMTP id 21-20020ac24835000000b0050e7b4d887emr4801358lft.65.1706626659027; Tue, 30 Jan 2024 06:57:39 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCXtKPcxeDPDHRPcyvyciixUjP+8gxE9F9UoeTDo7kJsrWyOhFqmDwdKPVwCfKEYUPpJOm5LG+01o329oSO/CXK0fVXevvNd3hNwpoKGDQdW+O5c8GqFk7fQMph1uP6is4ZTXtj+0ofR3OLPG/JW/T65FczgaWc+i5lsqLJTzra1KQjLrmAUx4Uf6LFmUBzNrx/P+Nc1TTyjn0caviinMNAiUSFFtOCflrNF1wMr6Jv/r7XYpqYk59yjb09oFe/DHHejCJc7ou+F67/Yu/kegjf8myxnjnfEdjqL7ub3Y2qbBf2Nfgu8wn7x/LnL8ZxVxjvmCjGSafl7OGYkiXtcRmzCQM07NbIOVI5c4e5nPFOoNMYJR+eHKm+FxhxYRp+HkGDwd3vIohSxUCJEzwwO70ty6ubeDVJt3mZeh9aPOkW9yEtaZ1Fe4FHmzf2L+KREOHkg1gqGNX6pLVN8vQjDMrABxBlqcuvaPU7OUDb4/s7AD5T6vWQdDQ+LA3KWus/EsrlIRdwDP6fKO2+womw9Umlk6/igm6NG9Cw= Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id w7-20020aa7da47000000b0055f0c027a3esm1879542eds.30.2024.01.30.06.57.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Jan 2024 06:57:38 -0800 (PST) Message-ID: <691c3a0e-8831-4d3b-98b8-f08235cb3b83@gmail.com> Date: Tue, 30 Jan 2024 15:57:38 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Johan Jonker Subject: [PATCH v1 3/6] ARM: dts: rockchip: fix rk3288 hdmi ports node To: robh+dt@kernel.org References: <6626d288-ecf1-436b-b0a3-3417308a8633@gmail.com> Content-Language: en-US In-Reply-To: <6626d288-ecf1-436b-b0a3-3417308a8633@gmail.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: daniel@ffwll.ch, conor+dt@kernel.org, devicetree@vger.kernel.org, tzimmermann@suse.de, hjc@rock-chips.com, mripard@kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, krzysztof.kozlowski+dt@linaro.org, andy.yan@rock-chips.com, airlied@gmail.com, markyao0591@gmail.com, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fix rk3288 hdmi ports node so that it matches the rockchip,dw-hdmi.yaml binding. Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rockchip/rk3288.dtsi | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) -- 2.39.2 diff --git a/arch/arm/boot/dts/rockchip/rk3288.dtsi b/arch/arm/boot/dts/rockchip/rk3288.dtsi index ead343dc3df1..1a63281dcb36 100644 --- a/arch/arm/boot/dts/rockchip/rk3288.dtsi +++ b/arch/arm/boot/dts/rockchip/rk3288.dtsi @@ -1239,28 +1239,38 @@ edp_out: port@1 { 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>; + 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>; + 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 Tue Jan 30 14:57:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13537572 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5C46FC46CD2 for ; Tue, 30 Jan 2024 14:58:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BA2A71131AA; Tue, 30 Jan 2024 14:58:53 +0000 (UTC) Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8E8F81131AA for ; Tue, 30 Jan 2024 14:58:52 +0000 (UTC) Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-55a8fd60af0so4364283a12.1 for ; Tue, 30 Jan 2024 06:58:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706626671; x=1707231471; darn=lists.freedesktop.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=DmcehVDq1GcEjhHx6wGLc0qaDaI/0n7EbffVmbga+mI=; b=PFftPu6KACozBZLgI613sL8IBLV9fv06b7xWjcQHGTIsUQ2yFdnzY5A3w7agYSNCmE UKUqkiXIE89dMhfExy0h31MCrr4pMtXNa/GcHNQVxmGPBApJ9v7hLo5NbxoW4GeY4UcW 7q4LqlpnLMzgpdHiqGFb7UMT3E5RpvNw77W4cY5xnCtND+Wq2TXDWUn2Xc8Va5snje87 4q/IycpD95d+KNkcX9bvCv7i87ottQ+jm+fEsWTCCX8MIqYCpaX/tRA1EsQJWMCIY4ZO LgZVoUiHbTt7Vs4chThJStL5+gBero4Vy40l3vQcpPCH1gsxDwITzf7HlJG1IVb8VWot Hxtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706626671; x=1707231471; 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=DmcehVDq1GcEjhHx6wGLc0qaDaI/0n7EbffVmbga+mI=; b=ZBHe+wTZNmNDyxMJht77btogv72V110CJB8hdqFcwg9dZk8OsVboN9A/R7tXG1wMc+ Ue2jNvGz8B3wJh7+wnOhMyJ6a6TiefD0O9AGjm5MUvROZ5BFf/5N3qDE8fDQPg4fNCPg hB3GsypF2ag8wLeIzuGrS42XY51vf8GhPtQ3bWfsM03QtBvihAgggbyasEtOk1mw3B0b qCRwy5Cs8dqgTOyX3zxR1P5WNJ2e7GsoeeoBCFqmrF/1K+Z+SKORrAyFf/jW0HfssDre m8LiEGvDdpaJWB/pcT7Ze7D5jy1HpJvRr8yJ/mW2ZbjnC/FWudkOWHtBCNDzGJVFPhCj RvVA== X-Gm-Message-State: AOJu0YwnlltLRYVCqzrwILR8T7hs3yoaTmdGRKsY+rfEnRci4WH/eiz0 BSQw8dItVuTFBly1lDzy2mHE5wTwPdbOOH0rCRNvpRTk+VWbcOuC X-Google-Smtp-Source: AGHT+IEb4naCDu6qsxfxml3F3iSc7EgngZPLyYUgWoadasH9mTVJRoKm7IlmAEYW00Gu1o9PGZLd9w== X-Received: by 2002:a05:6402:2550:b0:55e:deca:edac with SMTP id l16-20020a056402255000b0055edecaedacmr6232937edb.7.1706626671074; Tue, 30 Jan 2024 06:57:51 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCU3EbKMiWmvSROr5Ah/T9RLbJmUTfnTZc22fmTiffBecwf/fw2VsXVHg9i1EnHr7aCc6u8/sCjUqhfRBZwjNE7kYDBUJbnCpQa4qB9tmOxWZlTgs/txjGulZ9/GkZjsaFOE5AYwHbFG+HS3/zjd1doGyQBvkA2Qey1gEEJLX9LLU90BSvkDraclnaRrw+DnpHNZ79/zlggmZe2dQP0XTnLex2z1jlL1ZgIyqZE/7WZzLWaQdVrBEHFO9OVGH93sgNc1hw4LdVcaDRHyYX6JdXA6+6ABdWCUekzOvM8s4fBmIobLiGosCGjKGFXkskOl2dSd2Ajthep0jSiJRre1H18H8qrS6dHPdK38Ad2rqgML9i/wTqBRXa2Lx43BXIo0MA079y2jV9QxGA7eUPbDTleh1qdRGvqgub0PQX8xrizN7V5oSCvzF3j00auNb9FMxk1Bk6AMVYRdGL9NZ6T3JEPpjzwXJuA03aTKR5DfVsWvGiILk/HGEzlaxzFg+Cr9hXkBMZiE8rTSCcHx34MmIqGNpLmTizXEoww= Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id w7-20020aa7da47000000b0055f0c027a3esm1879542eds.30.2024.01.30.06.57.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Jan 2024 06:57:50 -0800 (PST) Message-ID: <4bdaddeb-06d6-4f43-a83c-6646a9a06f05@gmail.com> Date: Tue, 30 Jan 2024 15:57:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Johan Jonker Subject: [PATCH v1 4/6] ARM: dts: rockchip: fix rk322x hdmi ports node To: robh+dt@kernel.org References: <6626d288-ecf1-436b-b0a3-3417308a8633@gmail.com> Content-Language: en-US In-Reply-To: <6626d288-ecf1-436b-b0a3-3417308a8633@gmail.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: daniel@ffwll.ch, conor+dt@kernel.org, devicetree@vger.kernel.org, tzimmermann@suse.de, hjc@rock-chips.com, mripard@kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, krzysztof.kozlowski+dt@linaro.org, andy.yan@rock-chips.com, airlied@gmail.com, markyao0591@gmail.com, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fix rk322x hdmi ports node so that it matches the rockchip,dw-hdmi.yaml binding. Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rockchip/rk322x.dtsi | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) -- 2.39.2 diff --git a/arch/arm/boot/dts/rockchip/rk322x.dtsi b/arch/arm/boot/dts/rockchip/rk322x.dtsi index 831561fc1814..ff8e778ea50f 100644 --- a/arch/arm/boot/dts/rockchip/rk322x.dtsi +++ b/arch/arm/boot/dts/rockchip/rk322x.dtsi @@ -720,7 +720,6 @@ iep_mmu: iommu@20070800 { hdmi: hdmi@200a0000 { compatible = "rockchip,rk3228-dw-hdmi"; reg = <0x200a0000 0x20000>; - reg-io-width = <4>; interrupts = ; assigned-clocks = <&cru SCLK_HDMI_PHY>; assigned-clock-parents = <&hdmi_phy>; @@ -732,18 +731,25 @@ hdmi: hdmi@200a0000 { reset-names = "hdmi"; phys = <&hdmi_phy>; phy-names = "hdmi"; + reg-io-width = <4>; rockchip,grf = <&grf>; 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 Tue Jan 30 14:58:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13537573 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E2CBCC47DDB for ; Tue, 30 Jan 2024 14:59:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 69E771131BA; Tue, 30 Jan 2024 14:59:05 +0000 (UTC) Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) by gabe.freedesktop.org (Postfix) with ESMTPS id B02201131BA for ; Tue, 30 Jan 2024 14:59:04 +0000 (UTC) Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-5100ed2b33dso6650856e87.0 for ; Tue, 30 Jan 2024 06:59:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706626683; x=1707231483; darn=lists.freedesktop.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=4KVEU6pfibVE5vwIMFG0DTRVvqGuby5kG2hwyGagW1Y=; b=UkNCFZF6zpiqOHJBkokZHwexEaHaby2M1s11PQfdnlX+z1VvJRXFVttDYqfphFOnMU txzpa78TPccMmMpmJq3bDOO8R3ztM1InV/luxzTDoyrRIOahoNxaIovJLXQgrveswfOC 6YnyDn4S3B8cyUChXJVUqCDRChSgHv8G7b4p4+48wv+qccc4vj6gZBUo5r/Gyj2cfA30 3OoUYgl9/3/bAUgPv5mQprquvH35nRBt+Q4ZKpuwFnpANeJisTYy86iZWmaUB71WfDzC w/BxDML7nVC9A8veXq4NRo+Euo2/hGWh6d25o/EJF01kplxqFFqC7bj7CVllOoI6f1+K tl/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706626683; x=1707231483; 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=4KVEU6pfibVE5vwIMFG0DTRVvqGuby5kG2hwyGagW1Y=; b=d0W3Vj1Z23gMotlAvwK0vtJUdfq5yMqzuNXnCPHk5F0ZFOekflaPhkOrVM+z0YMkA5 ne0ism5QdkU4fyjbHMaN2tek1k1LZ3UL7jJN5pnwobzUlRmIja8kwW9VHlc+gRCLDhSp UI8g4UcqPXj/Iaxckq7hSOFkf8Yf5O2TTbVd5qahpDF2Xtsf1exJUvVdFRKl03ahej+z xVrPz4RxcVp5QvRaScAXNOTAApAwysiKGvyT0jtv6i3aUr/0BMU+pNKHP1+S0WD5+pL8 HAiFkaCwF+fBfxbmUv7+5mDKNDx7WDkd/O3+TUtT0ujJGIQ84O6dC2kAdoOJ2btMliAt CpCw== X-Gm-Message-State: AOJu0YzKs3/7Qc5omshSYMXGyChm/B7pl/sY1VlCGApKG2amn9IgkyeS ujqMnrx1JT9Z+Aty9C9zuck/xXgefxp0Q8o95VNSfQWYVwQzxupg X-Google-Smtp-Source: AGHT+IFjjgAuwmClX/o+HbWS8xl5uKCY8esTk4Nm5+W6LMTSgfafhSjGxp/blXmlubQ+95+DX33G+w== X-Received: by 2002:a05:6512:603:b0:510:27a7:ccc4 with SMTP id b3-20020a056512060300b0051027a7ccc4mr5835024lfe.64.1706626682921; Tue, 30 Jan 2024 06:58:02 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCWaUrJEimFY5hJaIsjNuilaWQySKKzwncpg3VoY/OIk6fwNHm2uK4XncD/JZQcpwn9no0P0WSEZzR5MUn1hW0cKjM/lCt2KBRqOl5sDeu7MfSaUsRrXslGeT25IM/ejfROyAGJO9i4gSI5Jne/A5pUZoUlqW6eppbAbUNNk/tiDbKEeBUP+ECTvSoUeTpgT4VpvaHBPJ3ABPZ5wdSkiEnUOmio8Ajwdy/APxlVw0HBw3TMcg3jYpUvEXXsgJibDrMTWBVkZTNqtClEngjfKTUFdNRRUmFe5VZgQSBubZBobh44q0727zHc3K10Vs9YKgajk3tJaIyPCBJHfLKdqV39o63YxF7JwUALlDjOqr4a0UfTP5whmJi59i2lOGFipD3R6nUZRJsI2MSKNl9JsC10OOp0HylpGlIUnEyEeX+WjqlO7x+wMJWZlFFd2/DD4IY3/qbWJuAttWev4r/cpkfDDDKQfUCPjtFZOyGUhtUWBhZEBwvPbYPVx0yc6DZqF5ij1Jr1UfqKHOK1yH1VLGfsQtLLK5MLdpQA= Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id w7-20020aa7da47000000b0055f0c027a3esm1879542eds.30.2024.01.30.06.58.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Jan 2024 06:58:02 -0800 (PST) Message-ID: Date: Tue, 30 Jan 2024 15:58:01 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Johan Jonker Subject: [PATCH v1 5/6] arm64: dts: rockchip: fix rk3328 hdmi ports node To: robh+dt@kernel.org References: <6626d288-ecf1-436b-b0a3-3417308a8633@gmail.com> Content-Language: en-US In-Reply-To: <6626d288-ecf1-436b-b0a3-3417308a8633@gmail.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: daniel@ffwll.ch, conor+dt@kernel.org, devicetree@vger.kernel.org, tzimmermann@suse.de, hjc@rock-chips.com, mripard@kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, krzysztof.kozlowski+dt@linaro.org, andy.yan@rock-chips.com, airlied@gmail.com, markyao0591@gmail.com, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fix rk3328 hdmi ports node so that it matches the rockchip,dw-hdmi.yaml binding. Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) -- 2.39.2 diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index fb5dcf6e9327..749b3f965f32 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -727,7 +727,6 @@ vop_mmu: iommu@ff373f00 { hdmi: hdmi@ff3c0000 { compatible = "rockchip,rk3328-dw-hdmi"; reg = <0x0 0xff3c0000 0x0 0x20000>; - reg-io-width = <4>; interrupts = , ; clocks = <&cru PCLK_HDMI>, @@ -740,16 +739,26 @@ hdmi: hdmi@ff3c0000 { phy-names = "hdmi"; pinctrl-names = "default"; pinctrl-0 = <&hdmi_cec &hdmii2c_xfer &hdmi_hpd>; + 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>; + hdmi_in_vop: endpoint { remote-endpoint = <&vop_out_hdmi>; }; }; + + hdmi_out: port@1 { + reg = <1>; + }; }; }; From patchwork Tue Jan 30 14:58:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 13537574 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3E388C46CD2 for ; Tue, 30 Jan 2024 14:59:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9868911317D; Tue, 30 Jan 2024 14:59:19 +0000 (UTC) Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id 99DBE11317D for ; Tue, 30 Jan 2024 14:59:18 +0000 (UTC) Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-55ef011e934so3226263a12.3 for ; Tue, 30 Jan 2024 06:59:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706626697; x=1707231497; darn=lists.freedesktop.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=wDIfMQ4YppB4DGt1fhFV2sj3z9j8y70f63I+fQjYLro=; b=BLG0DjgFWoOYZLYLIEAvd0U178ibqrGM/HfYRqpU+Wjs1ZT/7ha3fYla4FYvlkvvra 7lh8GBuzzHyV4aTjWpuXR9sWhCZuWGo8AV39TxF04LtQMYQPGP45Y6L5AjdhamH0DSPm z8NEVXK1cySZc5tij5N+H1S8X3zmb1C4ivYTMT2q/+vANynG3SDlHkJvvtcs3OLkHxRH 670UqrK7vYBrIg6aOh02UwHWsNtubrncJd5D0pSe1d6Ezpvw4a2ITuv2ZQAtBs37C9pJ zg6w56aL14BWqCSR6T4a4e6VGWnkEd6VlwKbZ/DlW8XtAyP4pkr7r7T73J6KX9SFxmVo lgCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706626697; x=1707231497; 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=wDIfMQ4YppB4DGt1fhFV2sj3z9j8y70f63I+fQjYLro=; b=iFsgQhbCr5GAFABCXL3P8ZPcccC2awE/sOOc5P6L53tkJGTHS4tSTBFMoYmV1CsGjG 6jaKMx0vHt+pyxGA0GroOCZ4c2BX3xm3eEhLw1oI0QFMmryrcsz31wEs7zD2c6qgT+mp JahAc1JVUiFL1ZaatlpScy1yN2Sqs/hfnbh1l8P5nT1er4i7wL7tSvrWfn5ubEWTfW3l s3ix8kKE8/XVRCgtUAF3ITkiYcjEOEx8nI5SiVlaQ3AB8TTNKEdbLWFDF5Q3WNGYdEvv 9TA9IuIVXGnXXXkyPVnd1K/DA4rqd1+nxyqu2fENsatmJh39uZqcDN6NFzKjVOThpb9K +29A== X-Gm-Message-State: AOJu0Yx0WSaN9c7U9/wLKXETxPTGuiIfUU6prLWiTrxo7FZlC3t4MQCo 2+FtBNVMhlDq2J4sX0IWwrpAP6G4+BS1s53aM0yTtmTcBOd5MGIs X-Google-Smtp-Source: AGHT+IHvJArqPJqZnH6euVbiof6RL1gXCHBYuSD6TyZvGNld40TRQAsIZ0dZSKcNjKL6L/R4KE/cHw== X-Received: by 2002:a05:6402:5248:b0:55f:1a79:8b88 with SMTP id t8-20020a056402524800b0055f1a798b88mr3505590edd.8.1706626697028; Tue, 30 Jan 2024 06:58:17 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCUv0zzlmDCmLM/C8Pog5kBc4B7TOhbegqNOybC25UNveppsRNbfGbmpkYOJ+AeIijxejLdpeAquEl81uTcvas8OKRqoB1wRBPz2yAvN+Mvl6TmmWHD3oCyzrtgHR6WBMoRhyjkj1ai7xb2WlZFNOmfQ66/C/1PPpjIYx0jAlt2sQJBIsxFloLhANWpKLhkKK3bZ86AvMFz+O2CbpiLb7UA7uolrrgwwdLb0xx3QHqsCHP+/eDm2vtrzUncfdGy98MqPEkv7l+AlfaQCov73u+twnInqBCVw3VakzFOzL4usSAmQnhsB0B0Kzs4ISKvSbjK8nZrbl8G/z7c4u/soKDEkUHt1qiCnP8rI9lkgUwjRa+Uzx+vLoN/s9Ty3gMPn+zHTax5DV/8U0bbxRK4oZ87lFeD5uy4ao2DdBeEvg+P8pZyjwHhTZt2V2rJMdtaeK714eCG8TKm+IKD17UK7h9WO7sy5spFExRjXRQIM9/21JEFKSjkQi8goCg3Ghd3p6wkbwTocaKTz9wLnMxsJO1cyLKpoGAk65cI= Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id w7-20020aa7da47000000b0055f0c027a3esm1879542eds.30.2024.01.30.06.58.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Jan 2024 06:58:16 -0800 (PST) Message-ID: Date: Tue, 30 Jan 2024 15:58:15 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Johan Jonker Subject: [PATCH v1 6/6] arm64: dts: rockchip: fix rk3399 hdmi ports node To: robh+dt@kernel.org References: <6626d288-ecf1-436b-b0a3-3417308a8633@gmail.com> Content-Language: en-US In-Reply-To: <6626d288-ecf1-436b-b0a3-3417308a8633@gmail.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: daniel@ffwll.ch, conor+dt@kernel.org, devicetree@vger.kernel.org, tzimmermann@suse.de, hjc@rock-chips.com, mripard@kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, krzysztof.kozlowski+dt@linaro.org, andy.yan@rock-chips.com, airlied@gmail.com, markyao0591@gmail.com, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fix rk3399 hdmi ports node so that it matches the rockchip,dw-hdmi.yaml binding. Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) -- 2.39.2 diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 0caa842bba0e..2c4924465aad 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -2036,7 +2036,11 @@ hdmi: hdmi@ff940000 { 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>; + }; }; };