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: 13539972 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 3BD0CC47DB3 for ; Wed, 31 Jan 2024 21:17:11 +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=0cc9BEYqgeMuWTS36r61vD4MdRf4HznZNXnhX07K8qM=; b=OE2Rf7nNkQWdX9 UdyYSfKlmymbU0Oxt3PuubJGIp44fg3Lq3tvqUPrbo7bO3i7VVUAmpUY8eRkhUDYGGnWbSS5uMu3V 5vW3jd4YIr8+bMMQeQuCFnxdc+kQZFzQHMO32Xp2tni3aabOZf/NNztiIUj1En6NGf6YJ8vroV1P2 ieIScYtV0e5Rsufino1ZkZ/7DMjZz+yj3uZULSKjMamIGD8wZLn47bD3Dka/sn0H++kBzWgN6dbTN qrtI6DBX9YdPjTKnUNtxrduDuLSUqWVzo49qirGw6HnfiS1TuIqkj0LOclP31LTdQygpoZa4F3cKj Wj5Uo/IC3iviFq+yCl/w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVHx1-00000005THj-0OPm; Wed, 31 Jan 2024 21:16:55 +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-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 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>; + }; }; };