From nobody Mon Nov 25 12:17:44 2024 Received: from m16.mail.163.com (m16.mail.163.com [117.135.210.5]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3D31D18E03A for ; Mon, 28 Oct 2024 12:35:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=117.135.210.5 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730118925; cv=none; b=Gvwjpu+ZjlvzIW3O0EEiAmdsszwfQR9RL5E6bKCJZeGOWb/FEn+Y4WzpdUOiuyEofVc9VQB27iAZ/qC5MClNZl6PuUehJjj/hchddBftYivTeBo5xieM5nqJNIMxVMrLXwaiggdjRYPHRJvaf4VJVrv9lIs1KiW/H2JI8d4JT98= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730118925; c=relaxed/simple; bh=EcyrQPDgthkfdEcc10o2egX30s4Dev+MVbzErqEZlwo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=c+eLcRahyN16KZ51VAWVpULSFwGM3vI2pBw7jyMPZH5u7yM6WTdk/40TdU0LN4NsDchCqTCgQlhje4OaXMVNNIteaNgiQykKcZO8NhXE0SC2pwUiJ7bletjCfjSSiOUc5D5R3RICBW6w9dqkMB5MnnmOoRORYfLX0XqI4eP1Jc8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=163.com; spf=pass smtp.mailfrom=163.com; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.b=dZPxq51+; arc=none smtp.client-ip=117.135.210.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=163.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=163.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.b="dZPxq51+" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=sGXAv ZN6OzVPvAHYYKDVulgxFxNefKXk3I0OnEojRD0=; b=dZPxq51+r33wrg9bHdss3 PnWA0Q7hx5WgDht40418kF2nMK7IV4uYviEUm1l+5KMScDVcjTKwpCTy1OVSVpe8 VAOaL6LL8ZXws0y3/NwLDC0Wuh/0Vn2a49Wvm0n63ADC6CieKQOawmKp/hQqHEvm JlGgice12QzMkznHnQO0cs= Received: from ProDesk.. (unknown [58.22.7.114]) by gzga-smtp-mtada-g1-3 (Coremail) with SMTP id _____wD3f+b5hB9nytgkBw--.9113S4; Mon, 28 Oct 2024 20:35:09 +0800 (CST) From: Andy Yan To: heiko@sntech.de Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Andy Yan Subject: [PATCH v2 2/3] arm64: dts: rockchip: Enable HDMI display for rk3588 Cool Pi 4B Date: Mon, 28 Oct 2024 20:34:57 +0800 Message-ID: <20241028123503.384866-3-andyshrk@163.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241028123503.384866-1-andyshrk@163.com> References: <20241028123503.384866-1-andyshrk@163.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-CM-TRANSID: _____wD3f+b5hB9nytgkBw--.9113S4 X-Coremail-Antispam: 1Uf129KBjvJXoW7tFyrGFWfAw4xCFW7tr1fJFb_yoW8Ww43p3 ZrurZ5GrZ3urW7XwsxAF1xJrsYyws5CayxGw13ZFy3tr42gas5tw1xGrnYvFyDAFWxZ3y3 Cr1kJFyq9r4UXw7anT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0ziNVy3UUUUU= X-CM-SenderInfo: 5dqg52xkunqiywtou0bp/1tbiqRGGXmcffS5+9gAAsD Content-Type: text/plain; charset="utf-8" Enable the micro HDMI on Cool Pi 4B. Signed-off-by: Andy Yan --- Changes in v2: - Remove enable-gpios as it is unevaluated - Remove pinctrl setting as it use the default .../boot/dts/rockchip/rk3588s-coolpi-4b.dts | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dts b/arch/arm6= 4/boot/dts/rockchip/rk3588s-coolpi-4b.dts index 074c316a9a69..27a89a110085 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dts @@ -11,6 +11,7 @@ #include #include #include +#include #include "rk3588s.dtsi" =20 / { @@ -38,6 +39,17 @@ chosen { stdout-path =3D "serial2:1500000n8"; }; =20 + hdmi-con { + compatible =3D "hdmi-connector"; + type =3D "d"; + + port { + hdmi_con_in: endpoint { + remote-endpoint =3D <&hdmi0_out_con>; + }; + }; + }; + leds: leds { compatible =3D "gpio-leds"; pinctrl-names =3D "default"; @@ -815,3 +827,38 @@ &usb_host1_ehci { &usb_host1_ohci { status =3D "okay"; }; + +&hdmi0 { + status =3D "okay"; +}; + +&hdmi0_in { + hdmi0_in_vp0: endpoint { + remote-endpoint =3D <&vp0_out_hdmi0>; + }; +}; + +&hdmi0_out { + hdmi0_out_con: endpoint { + remote-endpoint =3D <&hdmi_con_in>; + }; +}; + +&hdptxphy_hdmi0 { + status =3D "okay"; +}; + +&vop { + status =3D "okay"; +}; + +&vop_mmu { + status =3D "okay"; +}; + +&vp0 { + vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { + reg =3D ; + remote-endpoint =3D <&hdmi0_in_vp0>; + }; +}; --=20 2.43.0