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>; + }; + }; }; };