From nobody Tue Nov 26 11:47:13 2024 Received: from bali.collaboradmins.com (bali.collaboradmins.com [148.251.105.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DF86C18D65C; Fri, 18 Oct 2024 21:40:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.251.105.195 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729287625; cv=none; b=W/CUeQF2l7UtLedxzCfAW65IjTgZsiLrbiCiLNejLMvtY/z727mkjiWEv6kQOV8UljbL4e6FJQegeENPdgSeCC5w9L7N3TJdM6tEd0mh3qxMAGN4A2xS+dRVtW/5nrWOsbMfq7r6f+kK0K3pqVHmfbySK9KF508ClABvtowEVSU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729287625; c=relaxed/simple; bh=shzTkSVeDAoYPdbpkz2nRxG6xjYT1Tvs40xs92JMLzM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rAb1+JxDIL07j9kbWIodX1lsjEtLPwj8LnvFTChjV86sC98/vjPgbSfBYNwUY2HsNPRRazBAfjaekzTbel4PTPd/ZlYKSbYGsS990lvxNgdBiQDTs5VakrYqjn0pxwoufI6S4LdGpe2krYbc/gRPIQ9OBimpcDKWu0Ivhvlm7sA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=HtDdSJYm; arc=none smtp.client-ip=148.251.105.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="HtDdSJYm" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1729287620; bh=shzTkSVeDAoYPdbpkz2nRxG6xjYT1Tvs40xs92JMLzM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=HtDdSJYmu9zPXuzH7jfRr8/dPL6a9kKdttYn4Yjm/Dk/9FmkvbIYJOpXMfvgzAQGR DEgpnCTn9VpynTKE1YG7TmC+I4ty/EoX4OK12WdjxsyaHFuyGeNr8/7wJy9WgMyK9g 0VD7z/Fjpb06b1zSHV7YXW/vCRgedGpBI07p+AfXlG+APTuWPdugP6nlNCoM3BmJ9u +Cu7msuxhTzFaRCuR+F7XZrkCViaSjDkSB7oo4Wabf41bfeBlAH96iwF+Kq7q1DvmB KnMUKXrSPPoHOXrS42ArtN88CvwC2+DVqhNweLxoL+gts2ScAjF1iPCxs9XynlXpqB F1aJ6h3KW9Hjw== Received: from localhost (unknown [188.24.146.62]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by bali.collaboradmins.com (Postfix) with ESMTPSA id AFCA917E375C; Fri, 18 Oct 2024 23:40:20 +0200 (CEST) From: Cristian Ciocaltea Date: Sat, 19 Oct 2024 00:39:49 +0300 Subject: [PATCH 1/5] arm64: dts: rockchip: Add HDMI0 node to rk3588 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241019-rk3588-hdmi0-dt-v1-1-bd8f299feacd@collabora.com> References: <20241019-rk3588-hdmi0-dt-v1-0-bd8f299feacd@collabora.com> In-Reply-To: <20241019-rk3588-hdmi0-dt-v1-0-bd8f299feacd@collabora.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Sebastian Reichel , Luis de Arquer , Alexandre ARNOUD Cc: kernel@collabora.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.2 Add support for the HDMI0 output port found on RK3588 SoC. Signed-off-by: Cristian Ciocaltea --- arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 41 +++++++++++++++++++++++= ++++ 1 file changed, 41 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi b/arch/arm64/boo= t/dts/rockchip/rk3588-base.dtsi index fc67585b64b7baa33d5a816517f20c4cb940b52d..a337f3fb8377e4a3a200d4d3a37= 73a237de2bd6e 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi @@ -1370,6 +1370,47 @@ i2s9_8ch: i2s@fddfc000 { status =3D "disabled"; }; =20 + hdmi0: hdmi@fde80000 { + compatible =3D "rockchip,rk3588-dw-hdmi-qp"; + reg =3D <0x0 0xfde80000 0x0 0x20000>; + clocks =3D <&cru PCLK_HDMITX0>, + <&cru CLK_HDMITX0_EARC>, + <&cru CLK_HDMITX0_REF>, + <&cru MCLK_I2S5_8CH_TX>, + <&cru CLK_HDMIHDP0>, + <&cru HCLK_VO1>; + clock-names =3D "pclk", "earc", "ref", "aud", "hdp", "hclk_vo1"; + interrupts =3D , + , + , + , + ; + interrupt-names =3D "avp", "cec", "earc", "main", "hpd"; + phys =3D <&hdptxphy_hdmi0>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&hdmim0_tx0_cec &hdmim0_tx0_hpd + &hdmim0_tx0_scl &hdmim0_tx0_sda>; + power-domains =3D <&power RK3588_PD_VO1>; + resets =3D <&cru SRST_HDMITX0_REF>, <&cru SRST_HDMIHDP0>; + reset-names =3D "ref", "hdp"; + rockchip,grf =3D <&sys_grf>; + rockchip,vo-grf =3D <&vo1_grf>; + status =3D "disabled"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + hdmi0_in: port@0 { + reg =3D <0>; + }; + + hdmi0_out: port@1 { + reg =3D <1>; + }; + }; + }; + qos_gpu_m0: qos@fdf35000 { compatible =3D "rockchip,rk3588-qos", "syscon"; reg =3D <0x0 0xfdf35000 0x0 0x20>; --=20 2.47.0