From patchwork Fri Dec 22 17:42:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Bee X-Patchwork-Id: 182753 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp1226570dyi; Fri, 22 Dec 2023 09:50:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IG5BZSk9o+v5vV4UGfF2EEky+OtMBqMwO5sDEeOZRj0xIiQOwI6Q4aS7vPZFnd3XrH2A7jH X-Received: by 2002:a05:6a20:78a2:b0:194:a32d:b6aa with SMTP id d34-20020a056a2078a200b00194a32db6aamr1599610pzg.122.1703267444781; Fri, 22 Dec 2023 09:50:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703267444; cv=none; d=google.com; s=arc-20160816; b=ci7HPnpl2pw2Pym+4V4TAVl3MbUxhQXKIfuZF3c/WAfA+DpXg6Qd79BjNwuA9urbnd GtUxis87+ocNANooA5u61/Ssb99uwlng6He680vOPkDfKYCrdKtnzPnutj9BZIddPfse McQk2hQ2MZa9sqIv7tkxxgSR24OCVqWGt5jdsswv3SEx7tfR29W075VTFwx4sgMsLxM4 oerUkiq1N3zehHLicaGkN5RHkc+GHXw2LWgoNnm9SkyjzwVBfL3NB3UwWwpAjm8tkDNI H5lkCCGcHXrGdsPf75JWVkHfNe9vprlR3fp7V320ztEm0UExKUqtqnmBm22UG7kPCnji KeuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=DSehpxE7VFQUy0YWI/0+kwR1zv6c+kt9jZ6SUI8YNPA=; fh=k7ZhfSDxugAUNAX9PFQjqQnTRGZ+rgCl5CN8/TdzbyU=; b=uD1MFebH97U3CmEqJYBWwNsL06lLUVLsBs0p+Nqfc6Yh2fb5EOP+x4v+ScH485Mk7j 3QmQp0KhKt0pfE8qgW0PG8CM1zmKruMiW4uauOXWde3cagRFp8A6isJfZ24vWryc4wNK TIDRxjj4wuIE7V3vaeCrmBmcNFRFFIE5HtzKYAVWGhzrv6c6xKKqGK6uTjFB47CtpPUc vfi8YUBb6SRXv6Ai7HKgmqPvcLr7J64h8ICHL9nOpsAYv4vjZu6Y9ma0gPBadjBvSR6D bPsIIamP1hhWdpE5npD3BPbuxSgCNTDNCU8WEfw1yBAGUIyOZqeho2qIfQZtOhbU0rJB 0DxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DNrsA2GV; spf=pass (google.com: domain of linux-kernel+bounces-9978-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9978-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id bv71-20020a632e4a000000b005cda25b2bedsi3486135pgb.430.2023.12.22.09.50.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 09:50:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9978-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DNrsA2GV; spf=pass (google.com: domain of linux-kernel+bounces-9978-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9978-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 56DBDB24686 for ; Fri, 22 Dec 2023 17:49:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 955844D5B6; Fri, 22 Dec 2023 17:42:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DNrsA2GV" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (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 A615D4C618; Fri, 22 Dec 2023 17:42:44 +0000 (UTC) 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 Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-336897b6bd6so1795736f8f.2; Fri, 22 Dec 2023 09:42:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703266963; x=1703871763; 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=DSehpxE7VFQUy0YWI/0+kwR1zv6c+kt9jZ6SUI8YNPA=; b=DNrsA2GV7j+BqN527P2MlgiifrPCHya3w1+jh2y07aAM/BmAX34bI4La17bjdnv3Ye uOy/4XTkjudE8DRnGqQavrNYuQHMqmWYuQ74WsKIWS6tSYTy18BLMZARmj78a84PvJpT H2eSMZjy6mPF4YVlpO5uEtWpwQcJiJFamrDDfGEH4yDW2sC6gQTzqIY9F2O2n8K9tiFa suHr0s8VyRWaX6W7KYUjl3v+VvtpYAE96O7mkPI0P176AXL5O7ZiBXh45XKb2X46cF/o mHjyvBdA+Qen16fNd2+/XHR4g2Tz78kQWpRK+I9sHzhoRftHyYc1/QeFCoNskKyPWKJi Xjnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703266963; x=1703871763; 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=DSehpxE7VFQUy0YWI/0+kwR1zv6c+kt9jZ6SUI8YNPA=; b=LyYmfZvcx1P4htsmcZrbzM7x6EKXeR8vRSO5nJ8sW3FNPyLYHoy9BUC7fHIwFsddJ0 i6v28pnWTFbkVCbViUONrVGfWneGILIemToFhFeeClWsLGQA7+XKRBIbAQArRNuW6gcf F7GvvQi2EZvNES3BvvrwofliLr0zFHp7AraCwVJ+sMgzE/FW9El+jeh8VASSUGrETrZO 2RaQYqKDXN7NUsSlIpf7gNvvQThS5/jGglpaQ2mwUGgk8Wo7SjcXtPTBRP8i7PHn/yOh Q7HD99ANxcLIXaYx0RIbhwD127Oh2fxrrG/biSEsx6uRVIttfAGClSRKAEghQkjyI9EA vgJw== X-Gm-Message-State: AOJu0Yz1/Oh++PjHnEotwmA51rDSVl3aT0F7eXajfCCGWavj8QKw0Aaj 8R8ADgZxE3pe4v/f+MhqjA== X-Received: by 2002:adf:ed47:0:b0:332:e337:7c5f with SMTP id u7-20020adfed47000000b00332e3377c5fmr904774wro.61.1703266963000; Fri, 22 Dec 2023 09:42:43 -0800 (PST) Received: from U4.lan ([2a02:810b:f40:4300:f3ae:2788:7e03:f44]) by smtp.gmail.com with ESMTPSA id w10-20020adfec4a000000b00336670abdcasm4777116wrn.40.2023.12.22.09.42.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 09:42:42 -0800 (PST) From: Alex Bee To: Sandy Huang , =?utf-8?q?Heiko_St=C3=BCbner?= , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: David Airlie , Daniel Vetter , 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, Alex Bee Subject: [PATCH v4 29/29] ARM: dts: rockchip: Enable HDMI output for XPI-3128 Date: Fri, 22 Dec 2023 18:42:20 +0100 Message-ID: <20231222174220.55249-30-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231222174220.55249-1-knaerzche@gmail.com> References: <20231222174220.55249-1-knaerzche@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786005364502551218 X-GMAIL-MSGID: 1786005364502551218 Add an hdmi-connector node and enable the hdmi, display-subsystem and vop nodes. Signed-off-by: Alex Bee --- changes in v2: - no changes changes in v3: - no changes changes in v4: - none .../arm/boot/dts/rockchip/rk3128-xpi-3128.dts | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/rockchip/rk3128-xpi-3128.dts b/arch/arm/boot/dts/rockchip/rk3128-xpi-3128.dts index 03a97881519a..21c1678f4e91 100644 --- a/arch/arm/boot/dts/rockchip/rk3128-xpi-3128.dts +++ b/arch/arm/boot/dts/rockchip/rk3128-xpi-3128.dts @@ -47,6 +47,17 @@ dc_5v: dc-5v-regulator { regulator-boot-on; }; + hdmi-connnector { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_connector_in: endpoint { + remote-endpoint = <&hdmi_connector_out>; + }; + }; + }; + /* * This is a vbus-supply, which also supplies the GL852G usb hub, * thus has to be always-on @@ -239,6 +250,10 @@ &cpu0 { cpu-supply = <&vdd_arm>; }; +&display_subsystem { + status = "okay"; +}; + &emmc { bus-width = <8>; vmmc-supply = <&vcc_io>; @@ -328,6 +343,16 @@ &gpu { status = "okay"; }; +&hdmi { + status = "okay"; +}; + +&hdmi_out { + hdmi_connector_out: endpoint { + remote-endpoint = <&hdmi_connector_in>; + }; +}; + &mdio { phy0: ethernet-phy@1 { compatible = "ethernet-phy-ieee802.3-c22"; @@ -423,3 +448,7 @@ &usb2phy_host { &usb2phy_otg { status = "okay"; }; + +&vop { + status = "okay"; +};