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: 13537561 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 CB1E9C46CD2 for ; Tue, 30 Jan 2024 14:56:03 +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=+qX4a3HuhCW91MpW6NfoVUa/BBITqjBVntNBcnVU4iM=; b=J/2Xdg9dpmyuGf IQ7fTBIbI0S/8a8JneP2/oTFWkaZUQQMng3sp1Gt4Jqe7VTYU+Lwkd5F3Etm3pu0ChDrf5D5Fomi+ 8xmBrYRMX6tRthfNYIyp2EeeRbKKoC+KmcqRPGIzcV/Y7Dif5lGvbI4J/fMbX9q6Fg1MmYEj+DFTT mwnihOutYMeKeqslswxKcn4+Jig9WlmSU0OmaBoamy7nGuuWFweymNWko9Vo69v9+wDApIr3FE3jj LDdOiOPbv/PQH/tCJgGNEJSzYjkrDWDzNAsplepqIPlBvbdcYA6bsOJzhPCsh+S8MuNLMGuarNoWd wEYbom3ZgiWNDg9hzs7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUpWh-0000000H38B-342c; Tue, 30 Jan 2024 14:55:51 +0000 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUpWf-0000000H36k-3XOv for linux-arm-kernel@lists.infradead.org; Tue, 30 Jan 2024 14:55:51 +0000 Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-55c2cf644f3so4090125a12.1 for ; Tue, 30 Jan 2024 06:55:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706626546; x=1707231346; 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=+gO8ZOe0pnwzVp9ud1Vv3npsbTRCsdAJJfeT82uG86Y=; b=jI8k7JON3xzPAuwG7b6a1p6XDkRObyQhCPxGJ9cHCmP5CnwmGcXDpBhGHYjG60phKg m3yDB2CFoSM64cmo59Y/LLD+uGHEqtrZ/9oNl1y7gmdj21nEPfdQZdJfJyamiYubIqV4 QAMiACrg68gotDpMrbMeT8ULnMDCRRTAMeVOG3kiOMh8pbTiy56X8jaeEJfJi5Yu5R9d qz8BB8uBAnAaibrQ6xJqhDWQOobLpYyNVTgwR85ejl53hMPSjdOLeuajwidzZdR6TRBa c0u7xXtZpipgbn68OHNr8x3zieHJpLR/393RmUOG8kMblD2AKU1dUC6JUx0n3yN3p4Kf VTng== 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=BgZp+ABor/PAQ8HbcJjVyEM7b44vewyEflvwPURNVpdBcydUDQgwWfQAGFWzGvrnU/ E1aKKWWoFJ3gMOWz5lZfAFN3gJ+k6bZc587ORMG+bZIrGvueU0yozjc5sGvcFNXdeLvf At78Il3h78IoilVqxu3irQhpvuXupnriX5bQfyoIJ5xP2K2ojCDmAZWm1P/g/kHc3N1o D8zgEPzcVPqYTIh6u429+LUad3SV7p09BpeHsc2pMy3GYVRF8HcuYFDrVH1JMnYehM/v 1Hz8YwEA/KW9FcIsN/KZhMxAdbgdydyFkAjJ8+inNaf620zk3k0UXqRXdMJo104315H4 8ppg== X-Gm-Message-State: AOJu0YzWzMKLF3HnInT62TjwPT5eJr15vxoFhA9Vc/+pfpEpYEOUxLcp o1vDtSStsDzJ0722XctI07D6OAtXv6OGbpp4dO+vzeYsO0PTasoD 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 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-kernel@vger.kernel.org Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240130_065549_917390_FBD6872C X-CRM114-Status: UNSURE ( 9.81 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 13537562 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 0C9E6C47DDB for ; Tue, 30 Jan 2024 14:57:43 +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=bbMRrj+0qUWIuUZ+hOHMNbVfQCK4hIWPLhS2hmZujvA=; b=01Zk+WibWYpipF O0fnkUAj+Sbl9tpR3WAzWn8MXWtxDEPh4SJJbh8+0iti4q7RwW29KEPZ3yI1B8TJELHXcHkuSjavX gQY+CFQtFM7OmOlAyq8WmYkYtxGODcuQm4n1VgxtFMZXQ2BS8ML3N+I3plhrmbPBlGirD9K0TeDGe SpEfoGtq2krSljD1jENPvxzksV3KdHmccG+4OYRqq9DDxZkn9qOW7+CUX2DVoQJ5HfM7DaS27l4gm fwYigKPJrtId2393MScYjj5BmShxZIr/lSjbbp0aucYQvcXj16UPyyCpwXsCEVmM/OM7s0N56uGgH 8uqIvrT/hkDbXVViBHcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUpYI-0000000H3NV-2psf; Tue, 30 Jan 2024 14:57:30 +0000 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUpYH-0000000H3MR-0303 for linux-arm-kernel@lists.infradead.org; Tue, 30 Jan 2024 14:57:30 +0000 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-55eed368b0bso4453682a12.0 for ; Tue, 30 Jan 2024 06:57:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706626645; x=1707231445; 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=yBP1sbQ2NlcbjUdIKedXdoU619EWO8zH/xknpjbpMbs=; b=C7wmizm2jZB7O1NrmLc8FUBeT5FCTXrJ4MCRgX7yenqqLCAvIKdprjtWkzU485khH7 BqMz88yoSa9i8/V4xa6SBCS36mhV+MIPJu4HX49Ph/3ZkV0Gxxa1dVr/M6RBOm8YOLaB snMOB6M8ot/sVh1iuiI5OxWveHzDFo6f9lMbMASXnxrv1jL3Usgsm8y7Y8gQ8jr5jZ7L 2Oc01Ablu2trOcl2C3FljCExoIh7G+1IK1UGIE9QSXatoYAwP0MFhGKSeScDNb/xxpND N0Rpcm2ddjUzYFJppybIckVVgeWt+kWYGmerVTxFhckPL48b2YYKoSqpQGtTGJ1hZfC+ MNiA== 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=YG5I+2UI8W/Cw3LtuMdtvItBNwyNR9r1jSDRzvCAjjaJc1/p80CT7JVBV8BQ2nGC8O GDV71PW75dXS7t0qqA0q9R2QJOEVJWLHFuL6+M93cyExmSxMbGX9EwjuVecemlPrWvkk zdeU1xctbdDy++iut9O1dPtoo3ZioOx65J/KNd9jOPPen8J0/PBZ2/MFrB9nyDLZG9mf ycoWWswlREAxyXttpMj9wl63v90zGUKSyXw+ww/0hVdH7Ona14ho+JYY+BNwtr7ZRmaD Z6J5pkzp4301jsMe+2Mf4ggdzKluZ0JWgL8oPA4Iv1yA/Qz2U4IOk6C/vR0OOB9YMGhN hjYw== X-Gm-Message-State: AOJu0YzIP3Y53GcmevvvPyPC/UQEsfzapUQC5LEJSKmyCwL0TBMDQwEX LvOBP5JhcBwyUdMKDUzq9YDLJyhnOON4kNokwHcr0Vh0gW4wYQw3 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 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-kernel@vger.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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240130_065729_088501_0B08898D X-CRM114-Status: UNSURE ( 9.24 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 13537563 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 115CCC46CD2 for ; Tue, 30 Jan 2024 14:57:59 +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=Xv1GDJaMhfsyXW0JtanIH5QkUnPUh4rmu46Q7S8l0jY=; b=jzgAd841oG9OqR zuziWkUXTKCgnNyMOySbCoVWgHU0R/+jSo45oqax0R1FQVtF4X0gleYlYsCA5fJsp3tsPR3gm8Ad8 a/ENcDXyCgyhBWWyhDFB/chtvUdp0YlFDy6/NJqzM0RF0BihZf+f6FUEla8Hm0fJSlVzenSCgGDqE EXuWpm0ykQS+kiJRJU9PUrGz2/O0wrs8fi1ROTVmLyTuLVCqf9jBCTTlc2ewqidwmqMlwE7KatcjM CvAsOvkia3LvKcrJj1/GSiUtGi6+26wO1BuzmQ3EN5aC2gF98AL1TPh9xT03+QgXrMNflDIgYOF8O IhH7n6u3pZC5d/G8gFnw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUpYW-0000000H3Sj-2aZ1; Tue, 30 Jan 2024 14:57:44 +0000 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUpYT-0000000H3Qx-3sRm for linux-arm-kernel@lists.infradead.org; Tue, 30 Jan 2024 14:57:43 +0000 Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-5101cd91017so4467206e87.2 for ; Tue, 30 Jan 2024 06:57:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706626659; x=1707231459; 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=q/NVySBHvc0o4wdoGiVlWfEl/BNyNyErkR0wz3BaYxg=; b=P5Xj4955EujFDpDxChpZFiUrtl05jUQ3056PmgGD3Yx0KlnVldiHXBVbrrvuQyWsZS EQ6F52cMoUXBPBabOVeuS3m+jpTlk7+GYBG51NYF42E4ickSIzJ4UXraUbrZRAKsXuqL W1SwJls51PasLVCyI3Ud/xSxa4QE9QA9a2J6Ky7Mq/Qq/JGhGAc5foXkfkLL5xXvfPKr WpuirCv6qrzXRVS7QyL3qmqUBiRI9KwOI0eRmmVsxCUI23ck6d8wn0ByIHog5QTr0plN bYwSvgYTaEqsIaburVl/UOZshB85ENP+IxiPK4S7R8TqqXOaAvm+qtTVaQxq2qAzr7pY qa/Q== 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=TTVbG1KMVaQ+w3JR0aLRMSmtXbtul+AcIyODrER+nLpCm/UUfu0i7YYLaod41V1UiN aaVkANpidIPCiN50KYc4p7XDhBzc6Qfy+cj5cB0I2wDmGv9p0IsmZhDUy+EVUI43wkO8 POTZ6ZYDqLBfU2gKSrTr8qFBQ4Cj7xoKB+DyLn9ChrGIGRI8gxITkCBMvPsTlTfDk7ww upchpwL7lc0KGOA/wF75JD6YBfy5rS+bIfi8Lrv/U2wCJJvN9QxkTBY3IgUYl+hdUOK+ Yb0l9ui8Ztn7crwlFXwHNR7QGG7VIFzahmH+T+ZvCbTV/Kj9dsGpT54JInj/fqbdvj3d cfiQ== X-Gm-Message-State: AOJu0YxG85P62soyY3EAM1BxbCRbYOUVfX3hgHerFsllfmW2IhQ8dVAF g7+vCbZs6HzNjREdxcxzs6r8lKQ28HaKWa8Rag6/Es145pbLrN+b 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 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-kernel@vger.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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240130_065742_004235_16C250BD X-CRM114-Status: UNSURE ( 9.51 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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: 13537564 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 C0B7FC46CD2 for ; Tue, 30 Jan 2024 14:58:08 +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=7Ztiv6t7rnbi3XKy14fTRDYBquN1Ah3iOB274eCxwoU=; b=x+LN+8qxTAlnbn N6PlpJOCUasJUnXRgt2cfD4/I5i4mlQm+FbLbRSEee4UtfHdQUOIekKHqcgOeCNjV+b03ca0MP7KS Khr+TfHbxHx6NeOLnONOnZ7y4b0cwCeq7t6bbcqyH9S1KxkwmXSJARQtfkLx00EEJBdHtSaSNRxJo NJoVATCPgxCAFdy6anNd91JOyjbMZv2NyLQu5ZtZluk4gCcAV7dy8AnhgDHDg2Q7OPYSi0zx6iBp3 rjGMwlwZj5ZGbnMGmfzFOQ6NWTVhD5mlabXGDAdsG70VYAi4X8fSJh5+/YjElto5EvTs1TwQ7RB7G wwm3Q32dFLlCXw/uVT0A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUpYl-0000000H3Zd-1IYh; Tue, 30 Jan 2024 14:57:59 +0000 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUpYi-0000000H3V1-04h4 for linux-arm-kernel@lists.infradead.org; Tue, 30 Jan 2024 14:57:57 +0000 Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-55a8fd60af0so4364282a12.1 for ; Tue, 30 Jan 2024 06:57:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706626671; x=1707231471; 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=DmcehVDq1GcEjhHx6wGLc0qaDaI/0n7EbffVmbga+mI=; b=DgJtgJJmSjZIoiA8FmL+oDeC1+eREKBz89YuuuA0dfSrW0Rspy6q6BaG5l6jCbIM2x fMpnbvb/8+diiVl1bW5iMPPWt+zVZk+Zj+mGEsVQJi7FdJTnyAs36TtRr+H50o0Ihrph ByILr2yRmJ+8qG8Xu+Ciz7wZNbfjMylJ9isRTLRUMlyUGIYV6UKUI4S5eB1lhoCKxVf2 uujB7ZB+CFafpmfqh2HzsHzOebn6P5YIrbGji4U3fFonRGZzQPRPTxEoxCG5QEx3yrKj 8taiW0OKLJODP5oN7pwe61fQiJtyCyj+Vy9TWR7Cui60vpYt3HgP+8Bg2sIySxk/9pna /ycA== 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=Z8+YqNwcnFOCqnaNW+NQlpqj6+VPZnpTkSQXfDvFxSyGi/hu1vxww4oAHzoAoT3RZa eb5ljR3PSQJm5tvTlE8qv2e/fu5c2LxuljFNXosfgvPxCYEBJ7fSwZJwXcqb9Y3NiQBG UgAxNhb3KszipFMn85yP7D7dUz+aSA09L/c31sdEOa640PazVToDasPa4r7olDi3DoFf oMooFNuHDXWodvYJ2GDEFqG9J43+BvO36xhWXWBCB8Msfn28K2Pf+lAm5cSs7ADNbZXN +5BQgGcI1AmUKI2+hZlJSQWwK4EzoMVao6bY0xlvmJ8uZ/5Xj0zyhOh0wcEhcxTKCTeO h9jA== X-Gm-Message-State: AOJu0Yzru+VJOEgQFxQefvYRQAo7DOVsuA8D5CkYXy29v6BOI5vI+L7O pPMrOT5JG6nU5IqKQ9+TFvEAHnuwwH/oSYr7eJt4lbxG/eVBJpfL 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 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-kernel@vger.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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240130_065756_118323_4B3E4D44 X-CRM114-Status: UNSURE ( 9.86 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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 --- 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: 13537565 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 A3169C46CD2 for ; Tue, 30 Jan 2024 14:58:21 +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=6EQxTkdO8uvpXJ90+UuLYZwY2KlDe2OTxthfxvdZ7M0=; b=psa4YzrSLkvxTv LxhSnuQrWJ0tZQ4SlrpxIAoDuZug6BAIAszr2AbbvaONADV9eIuq7pN0Udq4KKz739thO3HiaeoUG afwdh6jpGBOUdautThJvnVcOCp2k00mGRzNBOwecUQ/D1A3Idgjikq0Bikz2GOHl9J2LqmujcQUtV 8r/66pYcCTPwQgDTl9sxRMr3aKKyX/TiHd3MOovXbIAnhJua2OmqpqALhIoOqM+1JJvI/H/GXB0xf 1qyyfm5woCNNLhtoVqN8K4zjHbdf/1knglPnpXXvb7+u5/k9wuQUKDxrja8Y4mRxifnx92b2duSRv 0g/wWYgeA3QSi8Yev8Lg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUpYv-0000000H3fD-29UN; Tue, 30 Jan 2024 14:58:09 +0000 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUpYr-0000000H3c3-1uf4 for linux-arm-kernel@lists.infradead.org; Tue, 30 Jan 2024 14:58:06 +0000 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-5111f40b8beso612922e87.2 for ; Tue, 30 Jan 2024 06:58:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706626683; x=1707231483; 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=4KVEU6pfibVE5vwIMFG0DTRVvqGuby5kG2hwyGagW1Y=; b=HsNaBQL1VJri1JAkfIYxtt+5yH4mewIJ3zOhDGAMhdyBdfCf0g89D3NmZKreFFBYZq W9h3Kb2cc1bCSU+oKwVUq6PmLXS3MptuTkCyJbD7CXe3c5blbBP5zejp+Apbk8Nob+gU 1X8LSVR7Mwya+YvTcSLZux2NcgApo2IW/aOhRs8eTB95KWs/x2APN07tTPAWKh5SagHq 0G5LoiJatTnjMVCYdXEhkK9uPCgioecsKEWuWgGnN9bc7hDCdnSkCuGvT8baLo0E9NED Bu0hzv83pUqm6opUf8n8zdJ3mHSQqazdtXgst2xzUkXrUEHSJA1wankH2txjhDeUqr00 aqyw== 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=xU4iP5bcxhrheqsRb+Q8SArmEuhKH2ZYC75cs2nR3E9RxwKFJejssZHv6XtzNw8/fB vMDIfLqiV3ZSr6y5AtmgxSGVE0jYDLjlB6tKW3hQqc/QhVAEkkb/mwFYZKgTmnZyB0MH c53Kc9ZLoLNnwsGNw51XJjRHjpJZcB/LsZhnJE3pp4JFSu2vm+Sjge6yU3UxYCXGc5gT 8d68saVK4Eyc7zFbdiJ46FDzgB+K9EJpRWoJhQFMFVSc7cdEwMbVYbdydsUb/Ym8hn6p QQXmfbwJsD6BDVzmZjNiZ3R6xktfO/UV7zh+r14P9ptdB8GiGz1qFoHfjbBpyhrKVCSA D7BQ== X-Gm-Message-State: AOJu0YwIv14oJLyA0YYxtUlTAVHQgkiOEnIfcepvHTnZ2ajwhUZ65iuR LU8zl1LeuLalYStL/fz7lwqW7kUaTd8y5039tuxmzRIsHIFx95Ge 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 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-kernel@vger.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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240130_065805_546118_B23C9340 X-CRM114-Status: GOOD ( 10.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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 --- 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: 13537566 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 B212EC46CD2 for ; Tue, 30 Jan 2024 14:58:29 +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=KnlNQKXIvIjg6IWQr/u4I/tH5dziYp1+blJU4xj6sJI=; b=WqGIvHBjTXhNip +JH7mHCRYSSSa7hhVnqElc8d8he5bmR5S9WBR6v8q7rMvCZdCdQbaM3V0MMSTroVE6JuPW43XbqSk 2Sg0FhfOQ75KWUBZ3n5dXJVcdhli2vf31JqyAI5idRy/sX5e2Uq6wY6kt5CNm9ykL/+Bwt9CqILGK HMnaJ78WQJcw2KNAqlKriqx/SQGUiMGa/pr58AYx6HvXJUtkOqFO30K8Z26jGEGd2HsDZhJ1hFMGs XjY9fUPywfvmtRbMAzT7T9oY0LHZ9+8Mc5ClVr/CZjkxsVlB2EyXsvQjrY8TU/x7nfbiT3F3nOY8M zQgbQpqeTDqGVc6w8HQA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUpZ7-0000000H3mb-2syP; Tue, 30 Jan 2024 14:58:21 +0000 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUpZ4-0000000H3kB-1gPj for linux-arm-kernel@lists.infradead.org; Tue, 30 Jan 2024 14:58:19 +0000 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-557dcb0f870so4321917a12.2 for ; Tue, 30 Jan 2024 06:58:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706626697; x=1707231497; 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=wDIfMQ4YppB4DGt1fhFV2sj3z9j8y70f63I+fQjYLro=; b=hjEBJHaBBUPPAfaviKbzJ/+0j3c7N7fONHN2miYTV92kmksqry2bYSYCCunBge/qeP JxQwdpy+RCUHOZhkE5vfhQmnC+9iY82WPa5aSz0qGS1sBENHThqD2tC+c1HLZrgYqAEn Qppjy9SOeIWk5H4SoCX9BJ6SuhVglq/PXlUo8G8cechclSmplFaZk4qGrYF/D6kThIvF 3xgLnzbc8A4ZziUHadnSfbzMGeBQHj3JiIzJ3aj5R000v4n+/gT7sBzFRAe7fgP/MNWi DZyqt75OH1VHRUzuW+0STmKzmFXwTc9Z3sI+thBaC0YxTzHqj1r1IrzD4lSSLVLDfEfV uroQ== 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=P9PxtVLCH6oEwDS/B8DnRL73jHSTKNrHkZlTigqhFFS4qIHp2akU/o7WO60yndlKWY js66kW2XH9vsUHJwv5kPbo3eyhnKGm7aLsoaRukFge6dNrpR65I2rDdaX0pHoSHl1LjI g3JPIWneatE/NsjT6xrV6XsKUC1B/yFkPSEtiDOG9ubRr0/FWXBabxilHNFLPkhXY+Xr Ce6G1HhyPQXZvYyqsz2hClsG5yv08HdCn0o/XjRQZ2LZ9mTpMJreq5QN9ZlRJFXK4xcN QQpIjkIAKryY/yQx2pjzyK5fpgjbo0l0Dc2c2ICV7XbctPOHdk5glCDD3FJ9qYcNWUi3 2FCQ== X-Gm-Message-State: AOJu0YxQhd8NiLpqnLfJH0dBwwhS62Y3PNB7xJ7mAEujusdF3AaNP7WU CTxHKM8pwjWM9RiR0OtPY7EtTY323QFAjA2MtAzITPuH0rPHJw8m 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 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-kernel@vger.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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240130_065818_686774_3F2A9419 X-CRM114-Status: UNSURE ( 9.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=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 --- 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>; + }; }; };