From nobody Sat Nov 23 20:48:10 2024 Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3F44D1A2C32; Mon, 11 Nov 2024 16:50:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731343848; cv=none; b=ofRGG7h0y764DG5AI9lCEwJF79PQL3CuIKtrWa+Y+fxO3qjwbgIcBfSugkkTxufGOOlxemqJfgdJ6messGd93BK4lJKVCeOrxfdb1SYWXSKan7MmTMfQ51ojT++wIOINR0Mou/UQXgFTSpd6ffYWzJr+9wlMV2QPl9Tby6DM76U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731343848; c=relaxed/simple; bh=1AcAq6VVQ5FXFDqAdIQfK4N4RrtrGvvbw8Z4my+WasA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=mYqWSwebzboenEEdWnGu7DrAgYe6LGHVU2odWihCnmnZpYPYe6+voZFNdx6letS495TUQBc4nPIbfYuCtPtdqIyA7W0Z4Mmp8GQcpYvPaT0ji8E3SEaAFRQvdTKB/R49HYs29iyrYsH4YosQQKJJam7eWp5urzoeB1rV55If+Dw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=keEFLBGe; arc=none smtp.client-ip=209.85.210.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="keEFLBGe" Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-71e4c2e36d5so128266b3a.2; Mon, 11 Nov 2024 08:50:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731343845; x=1731948645; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RuwG52/VBZoIAELJNnOz0xD1tNHC8lVIM/18UIXkAKA=; b=keEFLBGeywZIWjwNHzdlGHOeTY2wxvrl5dGrjp+331S+jJM4LEZ9uKhwM0u71Ey8nq 9xAmogAmHmM9Rm0X6NmhHnB+DQUzQznv9ZTGSU5g80hfOMh/0t+dWqU1KR025bp29m6V A0bkvNtMnjRLQ1aro+xH84EeUxSQ6gxLgeRuNwqnTvqgegqCebeKa6mdidqod+1XmZKe u8vzDijLAAc9xejZV+nHcBfiIGMz/ZuD3xx8H7ejyiPpkSX7+TuYxuyLCO3nK5Svgvlj p0dsK+9A7rOCHkItKLszaZrnLqXOH+3cFMzL+27oI0eGpi5ohGS2wj2YoEckfeoYhM59 zwpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731343845; x=1731948645; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RuwG52/VBZoIAELJNnOz0xD1tNHC8lVIM/18UIXkAKA=; b=AKsrbgcn5J2un/z+5zBzvLgPft4igxruqEQaDzskFsOP0iEZP99Tgkt5tZgC0CL2Qz /7czrejs5GRGONJ2ivuoIiJbiv5sWiVNePx0Ki0wxf6+zzGjm4Qhcg6E9o9zvxoTOeXO b6hKqO1clw473DHfQ/nwGyzkJEtNg1dCC6fKJZ5O0EN3ZWC4czBRMH7IpyKUoXqRW9/M 4Y9s6tIiQrRs26lEHXhv90rkqlPOSFvcYt3geIV3nOz60Ig1ptP9ZxBgjstNfiszNxAQ 8fBZYa/7K3daLPhnpcIcjBI5vJEc3qCUbHCQDn9V1K3KcoDRfDI+9jnZj7TRGB+a95xh q+vg== X-Forwarded-Encrypted: i=1; AJvYcCX5XN7aYWAPW1v8IfLZlkXi9wPe9klljRW2hVLLnEJ5yMp+aDMEhbEYIhUt2uPoqYR8q5x3AFi+ijEX@vger.kernel.org, AJvYcCXFSsTDY+GIYFjfbSFQgXc32idy1fFcygPne/N9SfQY0BBpYf9cYdeAj/wb+s4l7tjsepQ03i7Qyr/JEaiS@vger.kernel.org X-Gm-Message-State: AOJu0Yy+NSWtGJ0MN4+qfYtZK+kidZ7zhC+8/aFaFPHfAePmMY/L8z0r JWybTbbMPPlB/U/l5TSZYUj0lvrUkpRO9RliJg/7fGBQJyF/Ds8k X-Google-Smtp-Source: AGHT+IE47aehOo9+5XJxP7J3fFZt4ohbuOovj+8Ybp+54UpV5R+tuCYOcLUSE+OW5HQpnHd5TS+I5Q== X-Received: by 2002:a05:6a00:1828:b0:71e:66ed:7bd4 with SMTP id d2e1a72fcca58-72413263f12mr7087915b3a.1.1731343845448; Mon, 11 Nov 2024 08:50:45 -0800 (PST) Received: from rock-5b.. ([221.220.134.31]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72407a19dd8sm9401955b3a.157.2024.11.11.08.50.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Nov 2024 08:50:44 -0800 (PST) From: Jianfeng Liu To: linux-rockchip@lists.infradead.org Cc: Jianfeng Liu , Conor Dooley , Heiko Stuebner , Krzysztof Kozlowski , Rob Herring , Stephen Rothwell , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] arm64: dts: rockchip: Enable HDMI0 on armsom-sige7 Date: Tue, 12 Nov 2024 00:50:03 +0800 Message-ID: <20241111165026.60805-2-liujianfeng1994@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241111165026.60805-1-liujianfeng1994@gmail.com> References: <20241111165026.60805-1-liujianfeng1994@gmail.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 Content-Type: text/plain; charset="utf-8" Add the necessary DT changes to enable HDMI0 on ArmSoM Sige7. Signed-off-by: Jianfeng Liu --- .../boot/dts/rockchip/rk3588-armsom-sige7.dts | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-armsom-sige7.dts b/arch/ar= m64/boot/dts/rockchip/rk3588-armsom-sige7.dts index 08f09053a06..b3e9ffe5234 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-armsom-sige7.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-armsom-sige7.dts @@ -4,6 +4,7 @@ =20 #include #include +#include #include "rk3588.dtsi" =20 / { @@ -33,6 +34,17 @@ analog-sound { "Headphone", "Headphones"; }; =20 + hdmi0-con { + compatible =3D "hdmi-connector"; + type =3D "a"; + + port { + hdmi0_con_in: endpoint { + remote-endpoint =3D <&hdmi0_out_con>; + }; + }; + }; + leds { compatible =3D "gpio-leds"; pinctrl-names =3D "default"; @@ -164,6 +176,26 @@ &gpu { status =3D "okay"; }; =20 +&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 <&hdmi0_con_in>; + }; +}; + +&hdptxphy_hdmi0 { + status =3D "okay"; +}; + &i2c0 { pinctrl-names =3D "default"; pinctrl-0 =3D <&i2c0m2_xfer>; @@ -723,3 +755,18 @@ &usb_host1_xhci { dr_mode =3D "host"; status =3D "okay"; }; + +&vop_mmu { + status =3D "okay"; +}; + +&vop { + status =3D "okay"; +}; + +&vp0 { + vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { + reg =3D ; + remote-endpoint =3D <&hdmi0_in_vp0>; + }; +}; --=20 2.43.0 From nobody Sat Nov 23 20:48:10 2024 Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DAD7814AD3F; Mon, 11 Nov 2024 16:50:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731343851; cv=none; b=CDTcyIsgBEhxLgKU38E88vUNPR7ZScBhxAxmSxbfPA4sn65TQHrVr3hObGHAHEVNlk848cGI3r7OKx6TQ4Tdc90qbS53kLCZWYtar6yPmKGVpxfksJiBForAeaR4+At7VDE+aDdyAC0hVsT1J6DkAySdJnbognFh7CRl5uY6RM4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731343851; c=relaxed/simple; bh=nWVegVIO1iqmGgX3sTrds12vV7pNS01/SOYJetl0QIA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Q/ywT5JWNPq4Garcp3cTq6Xu6JTfAJyHlscxcP9gDnc9A3kYzN+PHSBny4C7TfhWbVkZHby3vPDt/HoquZ1UR9sqiklHL9PYPWVeba88s9i676FoJCjTsTdmChu0itYJjNgeOBEjzaXyCbcmrpqo9bJ68eQAV0hxhBEStVuhvYo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=gb4wGY5G; arc=none smtp.client-ip=209.85.210.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gb4wGY5G" Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-71e710c5d0dso103560b3a.0; Mon, 11 Nov 2024 08:50:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731343849; x=1731948649; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gfIh7QFf8oEaQfYkdv6ZpaO6sL/ncFNHIot8BWk/VIc=; b=gb4wGY5GRlQIAhpzK4K5khEa0uGFXkyqJoP3ZVuqJpX0EI/6Ku0bSYeyHS7cXNKncx 59hb/lsh+YdpkddXgkuJ2yb2DmbtKiIQ+dVreHH0zbbj40VdwYLs0WTUshmcuIgDQ+Jh SPp3KNqN1X2W91EO1k82h/xqzWYiZY8OMkeLHsJnpUX+6Kt6aTr1pGJMtjnakpY9dXXq 5ZzbpLRviq9w24uWnXDA2r1mGGAF8bBiUl7oC+QFn5VqFsxLXtVk0MencrhHvJIbkrHk 0Fp28CsiTSiEEyWmsNAd6746lPUwMTmhbQnePJmIs7sNCqf7tFCyhqAFQb5vWvrNtgZF HUbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731343849; x=1731948649; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gfIh7QFf8oEaQfYkdv6ZpaO6sL/ncFNHIot8BWk/VIc=; b=AcdVXJydEWoQ66eqT9ym18iiYicKO3BBlWMPij2Ci2Q5526ZA/Zk7MwAcA3Rd9WlXA gtDcqLZ4cMAwHpTv1vL/xLv54WnWtmtF9Hb7jf/nm4T4XvrcWSs7rpYLh8+o2+PbaLkQ X/6ashmSIS6RloPJ6sL6Nl0T1EKATR0oG+wcyJZwI+BT3feUu+HW5kcwu5WjMeJm/DMM /x7lbIiDQZQeFCRnGy1Of+KWQ6IaHO0dqd5HrprR2hOV3yyMvzzKEk+ntsw0eGQMcfzU aE5Cir1dSI7D1W4oXBAMVjYgXWpaC1STl5PsMWg+MdOiwBCNpAX6CobmW13PlAZq18zL jdGQ== X-Forwarded-Encrypted: i=1; AJvYcCUWkLCLcOq+9RpjeGzYXM7E/5DkDqeKFrLNi8vARiyHASyNrkACgZYXtIF19e3JJD8fCLLRgcOgUMefRTvb@vger.kernel.org, AJvYcCW25M1MkaO1VwZaxapaeotHFBaDGwGuEljD7+awuu7gw2H0vR7MgG/trxvWQE2/F1MWtaME65vX5P51@vger.kernel.org X-Gm-Message-State: AOJu0YxOD7AK+uPoe4Aywq/u206qcRqO4e2sda8zUDRZnrVXNCNzXMiQ xsgfBXfylLTQO8rOZs/gxDIUeCFdEl/f8DrcGtQE/LqhE72LtLSK X-Google-Smtp-Source: AGHT+IHfynhJtyo2TYb9cgYePvmyNGNyO/FFedYkfCOY6PP3kqTXtwUZx7toT125k2vM6Ak06pC67g== X-Received: by 2002:a05:6a00:4614:b0:71e:5e9a:2db with SMTP id d2e1a72fcca58-7241338307amr7053453b3a.6.1731343849040; Mon, 11 Nov 2024 08:50:49 -0800 (PST) Received: from rock-5b.. ([221.220.134.31]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72407a19dd8sm9401955b3a.157.2024.11.11.08.50.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Nov 2024 08:50:48 -0800 (PST) From: Jianfeng Liu To: linux-rockchip@lists.infradead.org Cc: Jianfeng Liu , Conor Dooley , Heiko Stuebner , Krzysztof Kozlowski , Rob Herring , Stephen Rothwell , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: rockchip: Enable HDMI0 on armsom-w3 Date: Tue, 12 Nov 2024 00:50:04 +0800 Message-ID: <20241111165026.60805-3-liujianfeng1994@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241111165026.60805-1-liujianfeng1994@gmail.com> References: <20241111165026.60805-1-liujianfeng1994@gmail.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 Content-Type: text/plain; charset="utf-8" Add the necessary DT changes to enable HDMI0 on ArmSoM W3. Signed-off-by: Jianfeng Liu --- .../boot/dts/rockchip/rk3588-armsom-w3.dts | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-armsom-w3.dts b/arch/arm64= /boot/dts/rockchip/rk3588-armsom-w3.dts index 779cd1b1798..5b5a18c8edf 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-armsom-w3.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-armsom-w3.dts @@ -4,6 +4,7 @@ =20 #include #include +#include #include "rk3588-armsom-lm7.dtsi" =20 / { @@ -32,6 +33,17 @@ analog-sound { pinctrl-0 =3D <&hp_detect>; }; =20 + hdmi0-con { + compatible =3D "hdmi-connector"; + type =3D "a"; + + port { + hdmi0_con_in: endpoint { + remote-endpoint =3D <&hdmi0_out_con>; + }; + }; + }; + leds { compatible =3D "gpio-leds"; pinctrl-names =3D "default"; @@ -138,6 +150,26 @@ &combphy2_psu { status =3D "okay"; }; =20 +&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 <&hdmi0_con_in>; + }; +}; + +&hdptxphy_hdmi0 { + status =3D "okay"; +}; + &i2c6 { status =3D "okay"; =20 @@ -406,3 +438,18 @@ &usb_host1_xhci { &usb_host2_xhci { status =3D "okay"; }; + +&vop_mmu { + status =3D "okay"; +}; + +&vop { + status =3D "okay"; +}; + +&vp0 { + vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { + reg =3D ; + remote-endpoint =3D <&hdmi0_in_vp0>; + }; +}; --=20 2.43.0