From patchwork Thu Feb 27 23:56:20 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jimmy Hon X-Patchwork-Id: 13995362 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 F23BBC197BF for ; Fri, 28 Feb 2025 00:00:24 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=NXpnaMjL7AP/Z4+QGTKXkSvpiIgP3yxAFcivF4XxJXg=; b=gDXNd7Aeu0msI/ uSz2yXf2LpvboT1dRxCiH+iDAcMpF+GWu7ACzHhXENvsiZ/5dJNo4zjCrR0U2zGh1OpfxQi+mi/9W rcU2FOotWB8UEBcPZz3uXKMqMzsjTCa//Rr7ZKTBAtXhmfF6Gz7W/ah1C8m99p2wpLSO8UohRVrPP P4MVhw5kvoI1xNM+lw9aLh7hrOokgbW//oF2uzSfwlFg9GIyAxDvG15tDcxvIu/9pTvtLWMIMlfqU 5DtCi9UsLrTaZfI3/O5qLdhjasdomn+aMLY49sxNDJ6UitpW40wUwUaO7R9pmQoyG5J123AM0wWQM Gw27oEQi50ckrJ1cWYpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tnnne-00000009Dxe-279a; Fri, 28 Feb 2025 00:00:18 +0000 Received: from mail-oa1-x2c.google.com ([2001:4860:4864:20::2c]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tnnkU-00000009DYo-1wlP; Thu, 27 Feb 2025 23:57:07 +0000 Received: by mail-oa1-x2c.google.com with SMTP id 586e51a60fabf-2c11ddc865eso462161fac.3; Thu, 27 Feb 2025 15:57:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740700621; x=1741305421; darn=lists.infradead.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=5f7cp01etSGqQcJpVMZaoL9eSKNoSeKF/3ov9ybZvxo=; b=cD6muYyx21Nvc4zp20+jBGQrK3f2jopK+Jaih/ZDyNfeUUs35O/lNUx//x3a2FvwWy DNSngQJsGI0KQ9uD4tmWOqHHd4EGeSVULyWKMacA8mTqBJkdaEAd7FtU9WwJfw0LS+Te vzUUybyoTrod7Kz9TomuBqliX7jgPdNUZeow9JkidsnlLkNY3egRH6WhgNBkPmgNTnm/ p8mHBde94of/Cw8suFdFLYWKWO8KaxDCxa/GXHd8msTeKhGNzUxQTVNM9wdPvxKbvpS5 PfqAAw1DwpATP30FiiyNTtuXd9WS5h58BqNIydbnqVkKsGjAS82uCZlD5/HcjOWQgejO 4qtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740700621; x=1741305421; 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=5f7cp01etSGqQcJpVMZaoL9eSKNoSeKF/3ov9ybZvxo=; b=R9YLXpBxw1Sglk3qGZYYhyPj1qj/2pvTSQfuxPMyIBRFUHn1Bem9c1HTFd10k565lY HmFmngY9QB8Kc/8DxfcYMILPt8TaM65Jo5wUf7IVJU6zV8J6/56SgqSdUPcYVNLyDt8N JEhRj2eLkpOWc037d+a6ivVBmE/vzMeS5AJnMdJJ5XCtWHqxACJfRlFMu3Sl9DeVNNSv 0gdbepNLRDf6tlKaIkzUHPzVUcb19AhiyZPzIjw3QKA9Ox8+WZu0C/elSuHmdI7VwYpZ 1Lpbk68i/9u+npcu0MzYuj9mP29t4wu0gpxv6E3HdGgHJNV1VjJj0xTCiEVqc834SytP SIoA== X-Forwarded-Encrypted: i=1; AJvYcCWQyq7R1K3tdKvavYJScwsK+LGsgKUnwOG+3OuFw924a7Hig7kYERCOoJF7JtsVBiH3GC1hzOOmmdehwsMIFu4=@lists.infradead.org, AJvYcCXVVy6n1rIPZ+4IwwhBkkWmP7RjV7L17KQtC4fQGx7oD6NMG+k+aOkZ4SnEEe236p5+dYCXAyKHyoaXm2jUcYbq@lists.infradead.org X-Gm-Message-State: AOJu0YwqYde72o74O4RSTP96ag2J9gAh/Tfn6tIGt5RGkcsyBJ5yjJdH TJ3OTVCIDERv1+Z/icrEUg8GTE0uw5IS1mOa//t4vijwY61MjM0g X-Gm-Gg: ASbGnctox0sEN2LekncOcZHHyACgMphCQ13QF3ok9DZAYIGH9GLsnNvlXSwvGZARuYd v4j3Sc2unaxVakBl7ePcCFbP+cBm9rmco0Trdg8WFwj6CTgQ8I0mVq0575FKu8C3rzaNSqDEi1G QCNS/fci6MHeJEuRAEK7k4Hh6UgIx41uGh2Nwb0/cD5S0BAyoZHX5jO2XXX1QtV8WhyCprfE0Tv j6I5+lDXCcVbATnG1B0l2Ef1dkvtkvfj2doB88ueal2+m7GfxYtuy/n4Q/bI0tUxDod7jByjkzG FgvEbH9+PhM3LsA77dCfFlqyftgJWC1co+g= X-Google-Smtp-Source: AGHT+IHeUEKjz+4sGoCB5gVNYNI3uQzQx3hNsvSywy0xjlxhu59fctjx6SgN7YI3BUYwIqr3Z5ffAA== X-Received: by 2002:a05:6871:5314:b0:29e:4c37:b471 with SMTP id 586e51a60fabf-2c17873227cmr783286fac.30.1740700621592; Thu, 27 Feb 2025 15:57:01 -0800 (PST) Received: from tower.cjhon.com ([2603:8081:ad00:4a:87c8:8ae4:f338:6188]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-728afd7694fsm443893a34.50.2025.02.27.15.57.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Feb 2025 15:57:01 -0800 (PST) From: Jimmy Hon To: Heiko Stuebner , Cenk Uluisik , Chen-Yu Tsai , Florian Klink , Muhammed Efe Cetin , Ondrej Jirman Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Jimmy Hon Subject: [PATCH 1/4] arm64: dts: rockchip: Enable HDMI0 audio output for Orange Pi 5/5B Date: Thu, 27 Feb 2025 17:56:20 -0600 Message-ID: <20250227235623.1624-2-honyuenkwun@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250227235623.1624-1-honyuenkwun@gmail.com> References: <20250227235623.1624-1-honyuenkwun@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250227_155702_498652_835820CC X-CRM114-Status: UNSURE ( 9.87 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org HDMI audio is available on the Orange Pi 5 HDMI0 TX port. Signed-off-by: Jimmy Hon --- arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dtsi b/arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dtsi index 9e16960b8705..3fef11f79788 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dtsi @@ -197,6 +197,10 @@ hdmi0_out_con: endpoint { }; }; +&hdmi0_sound { + status = "okay"; +}; + &hdptxphy0 { status = "okay"; }; @@ -355,6 +359,10 @@ &i2s1m0_sdi1 status = "okay"; }; +&i2s5_8ch { + status = "okay"; +}; + &mdio1 { rgmii_phy1: ethernet-phy@1 { compatible = "ethernet-phy-ieee802.3-c22"; From patchwork Thu Feb 27 23:56:21 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jimmy Hon X-Patchwork-Id: 13995365 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 639AEC197BF for ; Fri, 28 Feb 2025 00:01:58 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3AU8hF12PpIYzjiDCPE2TyY3j3t2WnTbfq9dRweaMUc=; b=VKHLdWk8el9K3k WlPqVJgYzYr11iy+Klz8H934MIsBf1WSKMjaKosOp6uBlw2QuHVU+qz1dGWd9wSQEPmq11mNY/ar7 pEVxpSbiWQRvqDDy+K4wiCJMXwI2YBNz4tcigWLHptKxiTU6SEzI9aEoDa/0qQijpoyzsTojwi2Ue JC5sgCr4eOfYZm/Cr9n+ZHIVXL+YHYmfudNBP21PfgYBN2lZRIlwfYiR8uyqkD+Nd4U5OpDKFgzIe xWXIB2DPV0kRIUhUUZVycJJnSKhWLaCiORFF7BUIyCrmTEcmaT0KJ+WSWcdqebAcyZvtay4eecKix S6iOFQxydX3VuviVJ12Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tnnpA-00000009E6M-24DP; Fri, 28 Feb 2025 00:01:52 +0000 Received: from mail-ot1-x329.google.com ([2607:f8b0:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tnnkV-00000009DZG-2c6X; Thu, 27 Feb 2025 23:57:12 +0000 Received: by mail-ot1-x329.google.com with SMTP id 46e09a7af769-727388e8f6cso760485a34.0; Thu, 27 Feb 2025 15:57:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740700622; x=1741305422; darn=lists.infradead.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=Z5qldtwKTOk2lyY9k2JiKh0YOeGWKV3wOOQCJvRufmo=; b=dPdlfZDa2W/GIMcPtK2QU+UTQ8GCSvIGSYqPezWOMSBuRUNhwL4PjEMBuRTkKX8UOC C9ec4yjtT9ck1JIZnQ30Br9KnhVdMBG5FbdtcYmZW/MJc0kOZ3Y1HACQ1WCWPmteI+Ox jATRHoPEnUYPx+Khw4keJo625NJbWgw9i+6Hkk/Z+cI6TDAVWe1Ju3HfqkqPTTJTbFyH pWPS0ga4CWIoOy3ddIMRfNdVEkyocQAXbF7P+kfd7FoZPlIYW7DZkfSajxPbirjoFmyW JiKBBqWb4zngySNrdoY+4n7pZYv/pSgwF7f3RYfx0hfc65Lhj76oX/WCZ6Reb01DeE35 GF7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740700622; x=1741305422; 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=Z5qldtwKTOk2lyY9k2JiKh0YOeGWKV3wOOQCJvRufmo=; b=R35TwdsJfG+Z+ZPHy1Q5Q9rc/5xFBK/ccmJ5/J3xghapEa3aOKOVjHvhFldt3YbM8F 5SxO0V0rP/I0DoMl4X/Zq0aFUMlbBpg7nxUCRlZfoJ0mcPxH7WeUXpWXn/wOpV8won4f XLEq3CBV7PMxaAg3v1vGHF5ZgeNSea3UffMPQEDF5y+uNCm3/uF7yjOTwlrryrUAumMS wEDeuG1IV3Yttefvkmx8mAjI94iwL7Cwm8IkmxJifbhudvmvEkQqRuTmTMaD9IUeW/qR XGTtiFC1HqEjH9R+ENhq96ouL1YAQJclPLIhiltqzrtSTkU023Mjgnr7HHAJtF3yeYp/ E3Ww== X-Forwarded-Encrypted: i=1; AJvYcCVYId67aCEJ8v0ORoyJhp1o6yrGUmtHcyw/HRZbujF0OnwWANdaki4o9a2cvfgYFHMsmqk9vGSJ2V2VCMxzOdMd@lists.infradead.org, AJvYcCVznwfx5SqPLjgX7IWhCG7s3ksiWNIAjIBc4j1/eO8ZKYYYyF3zsZpEkhxn/GRhcOOsN7oE58wjK/oOWis4Mg0=@lists.infradead.org X-Gm-Message-State: AOJu0Yyd6AnynXpCj1thlo8PBExXkoQm9rM6rqJWyKIn2HT2VcCzicjx 7+mF0Y5DZ6OnXuqi1tf5w4osQ2fBovu0qFrxpGhLTAHe6QcgE8Q5 X-Gm-Gg: ASbGncssGMNhdV/Obm672RiEbHl2QyagpiUctkILZx2Etdx/1jHSHz0uRT6ObA7YNbv yFdaJrOm73NeRVuP+2RyAKXJh98dtwIVUSgO4wPfzCPugBMMfHxijj7OKXIcABBYYvARKVaszev KML4L9U1S8oVeGUztioBIvu6lblEgKJSh6ezBRA2RX5eR3CU/2JJuhMcaq2ChQMZnYkkvGkgQOF 6tzvBG7mWtgkTbnj7zAKLzHUL7v6LtnP7SAYbCRe1t6f2gTKodHBr4YkQVGOx4yMTUdo98wI1U6 24YJoC8yYV2cLgE/CgnNr5FPmEyfVuNp7is= X-Google-Smtp-Source: AGHT+IGEdHKwS2hSSdb/fkXNu1lxMp/LqiB34cBRPY7akjBzyiDCblI/9TJhTawmjo7GuyZgfRQ+1g== X-Received: by 2002:a05:6830:2784:b0:727:2b73:cbbb with SMTP id 46e09a7af769-728b8286a11mr661836a34.12.1740700622642; Thu, 27 Feb 2025 15:57:02 -0800 (PST) Received: from tower.cjhon.com ([2603:8081:ad00:4a:87c8:8ae4:f338:6188]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-728afd7694fsm443893a34.50.2025.02.27.15.57.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Feb 2025 15:57:02 -0800 (PST) From: Jimmy Hon To: Heiko Stuebner , Cenk Uluisik , Chen-Yu Tsai , Florian Klink , Muhammed Efe Cetin , Ondrej Jirman Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Jimmy Hon Subject: [PATCH 2/4] arm64: dts: rockchip: Enable HDMI audio outputs for Orange Pi 5 Max Date: Thu, 27 Feb 2025 17:56:21 -0600 Message-ID: <20250227235623.1624-3-honyuenkwun@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250227235623.1624-1-honyuenkwun@gmail.com> References: <20250227235623.1624-1-honyuenkwun@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250227_155703_658163_D2181622 X-CRM114-Status: UNSURE ( 9.67 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org HDMI audio is available on the Orange Pi 5 Max HDMI TX ports. Enable it for both ports. Signed-off-by: Jimmy Hon --- .../boot/dts/rockchip/rk3588-orangepi-5-max.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-max.dts b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-max.dts index be8cc96b5308..8b1d35760c3b 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-max.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-max.dts @@ -50,6 +50,10 @@ hdmi0_out_con: endpoint { }; }; +&hdmi0_sound { + status = "okay"; +}; + &hdmi1 { pinctrl-names = "default"; pinctrl-0 = <&hdmim0_tx1_cec &hdmim0_tx1_hpd @@ -69,6 +73,10 @@ hdmi1_out_con: endpoint { }; }; +&hdmi1_sound { + status = "okay"; +}; + &hdptxphy0 { status = "okay"; }; @@ -77,6 +85,14 @@ &hdptxphy1 { status = "okay"; }; +&i2s5_8ch { + status = "okay"; +}; + +&i2s6_8ch { + status = "okay"; +}; + &led_blue_pwm { pwms = <&pwm4 0 25000 0>; }; From patchwork Thu Feb 27 23:56:22 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jimmy Hon X-Patchwork-Id: 13995366 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 BEFC2C197BF for ; Fri, 28 Feb 2025 00:03:33 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4aiMjNBhZI74FYbkgaM106B4ULh7Y8cIhzsTX/mu1yA=; b=NafJlE/3W1RcTw jruUbq7XzpQm9qDtjzYELCtgxXIForRFB5eWdJ5PDV0hufhSiUKd3YG59nCFtKsgvNemEQ1Zn+0wh zDF2d24/s2mWrxc/GOUNUK2nzrn2RlwfT3xP7xm1lJrxSD4RAxdwEZi+GkafmiIxIuDjoGZuXDDcS NbxBckRvuhmyRVaa60JEMH3Bq0zUAvNG8ofdaNmWngnYrRW2MuHe7SyXo9etVXQzyg9ZNjDTDl+OD EdpdQzItLPRzhpwpSLjafbrP//RBtJOd6ez8KASm+CxkIdIji4YVX9j7jEIWlc2RwZDXLYKXniHoQ 2j31iQuNgSLJklrQ5pbw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tnnqg-00000009EI3-36Lq; Fri, 28 Feb 2025 00:03:26 +0000 Received: from mail-oo1-xc2f.google.com ([2607:f8b0:4864:20::c2f]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tnnkW-00000009DZX-39yh; Thu, 27 Feb 2025 23:57:12 +0000 Received: by mail-oo1-xc2f.google.com with SMTP id 006d021491bc7-5fcd686fe0fso800030eaf.3; Thu, 27 Feb 2025 15:57:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740700624; x=1741305424; darn=lists.infradead.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=802LlVbArNu3UH/6HPG9wGpxIsHdhgKNSyCzYNg9lLs=; b=MO1nAH9z1rLylkA3Uy2WcIlTeSpT99Vm1SjGuRm/HEkmaYd0N5hCSNYzATKmkV4+9u OnTw4DXR2Q3pCuDAb0BsZd2+C+M7Knua5lsY+UJxRJHMkoFQNV4RtTCJplHDgUVpDpvl 0BlRCrBX/fpkzDUrdVdWeDtzX/C8/b3wuescuAdzN0Gz8m0UELSwL7H/VmnYzguR+9CT RAzN9TtKbNDYlA7ua+W6kPJDw8tWOZVbxjyLPAYSHYDSXxw0uLfvYuvYTz5y5wMsI65d HJTkKabLZ3i/Zxdl5/hn33aPMnB4CAhDPQGQOZSvDIdQHoWqcoEElp54fXwp+8TbBgz4 phFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740700624; x=1741305424; 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=802LlVbArNu3UH/6HPG9wGpxIsHdhgKNSyCzYNg9lLs=; b=muJ7gAgvdV/slcowfGuFzyz3clDkcQyJvEFEvX7/g6gy8CPJWu/IxgwxY4CIg8rXlL 1k1JFXk0JmgN4bENS3/4z9AyoGeXKc3PjKejJADsDKSmbNVc9TieMgic9javVFKOF93N +Rq7Ar80vqccFDRFopBsjPuwJIAZFevo2RquHDojSvvKMM0cCWhAL2SCnHU8LPjDIaZl ku9Hp8uBzKsVKn5Wnn6+CadvKUq4oasQmrpZCrFIa69E0wvONLB52EFDyTv3XUNWFBJu srMbT33vtpOQO0uGquY0HzQ6uj9YY8V5bTbfIvLM3XsUtSdO8hjFUs5Qacrda6ygHCf5 enZw== X-Forwarded-Encrypted: i=1; AJvYcCUzPXshXjb05LIvOs4D2PUAlL8HCfbg86Gk8CfPocrxPXsNT8fmHXwOVjZ32MssUIgtn1TRxvjr7ZW6SZYGSfI=@lists.infradead.org, AJvYcCXEzbRpMdwWMCzlHKnf6tDnlFyZR9ohlzEpJMwh6Sn+FdUgjCOlI/M00DDNmerhQt+c2dayOnGqh5HqA91sM5Wu@lists.infradead.org X-Gm-Message-State: AOJu0Yx7R+KOvU5xhVI97bVgzndM1hxTLQ1siT616u6wFJNeW+nvzNy+ HE+4Rg9pL6h0MHKYBsir+R+NKbzf+tiCf9n4tyHajA+hOCv0qxbR X-Gm-Gg: ASbGncuDPofVZTRRQlkRTg9K0DBcElhn5cOAJHay4BL0sM0JAmOkmKD80rLCjMj7B/O 0tkNKwJa/QGuvdYbzsLPh/txY2txqQzQGGT1lq7cr/8nqcNWlMVKAj5tpeEW4dh+iL0PbUenGQN Zr5m055PLEM6qixdiyNXRWxZp7zReWuw1ahdfDyDrUCHbOgCgQeOij51mYM6+Dq9Mfe3BRBrrWu 5drMVK2SErO2+lAbi/695Yc4ueHZHwM4m2JRTfCGpZxZ0kbF2BqsE1yYzt7GYupxBqgXCDzMdsc 626u9kL6qg9LdocdE2bs6lFAqvjg7vGu6Jg= X-Google-Smtp-Source: AGHT+IHfcXVGC5tQ5bFrNZCE4XgxxiA/w9DGYj3TpIHaFSoN22Ho5fH/P65GiVK/y7C5uAZNrPO7Gw== X-Received: by 2002:a05:6870:e2ca:b0:2b8:84d7:ddd5 with SMTP id 586e51a60fabf-2c1788706eamr647963fac.39.1740700623830; Thu, 27 Feb 2025 15:57:03 -0800 (PST) Received: from tower.cjhon.com ([2603:8081:ad00:4a:87c8:8ae4:f338:6188]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-728afd7694fsm443893a34.50.2025.02.27.15.57.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Feb 2025 15:57:03 -0800 (PST) From: Jimmy Hon To: Heiko Stuebner , Cenk Uluisik , Chen-Yu Tsai , Florian Klink , Muhammed Efe Cetin , Ondrej Jirman Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Jimmy Hon Subject: [PATCH UNTESTED 3/4] arm64: dts: rockchip: Enable HDMI1 on Orange Pi 5 Plus Date: Thu, 27 Feb 2025 17:56:22 -0600 Message-ID: <20250227235623.1624-4-honyuenkwun@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250227235623.1624-1-honyuenkwun@gmail.com> References: <20250227235623.1624-1-honyuenkwun@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250227_155704_788112_82485FE2 X-CRM114-Status: UNSURE ( 9.74 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Enable the second HDMI output port on the Orange Pi 5 Plus Signed-off-by: Jimmy Hon Reviewed-by: Ondrej Jirman --- .../dts/rockchip/rk3588-orangepi-5-plus.dts | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts index 0f874b87b47e..53797f633d3a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts @@ -26,6 +26,17 @@ hdmi0_con_in: endpoint { }; }; + hdmi1-con { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi1_con_in: endpoint { + remote-endpoint = <&hdmi1_out_con>; + }; + }; + }; + ir-receiver { compatible = "gpio-ir-receiver"; gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_LOW>; @@ -125,10 +136,30 @@ hdmi0_out_con: endpoint { }; }; +&hdmi1 { + status = "okay"; +}; + +&hdmi1_in { + hdmi1_in_vp1: endpoint { + remote-endpoint = <&vp1_out_hdmi1>; + }; +}; + +&hdmi1_out { + hdmi1_out_con: endpoint { + remote-endpoint = <&hdmi1_con_in>; + }; +}; + &hdptxphy0 { status = "okay"; }; +&hdptxphy1 { + status = "okay"; +}; + &hym8563 { interrupt-parent = <&gpio0>; interrupts = ; @@ -342,3 +373,10 @@ vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { remote-endpoint = <&hdmi0_in_vp0>; }; }; + +&vp1 { + vp1_out_hdmi1: endpoint@ROCKCHIP_VOP2_EP_HDMI1 { + reg = ; + remote-endpoint = <&hdmi1_in_vp1>; + }; +}; From patchwork Thu Feb 27 23:56:23 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jimmy Hon X-Patchwork-Id: 13995367 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 5CBF1C197BF for ; Fri, 28 Feb 2025 00:05:08 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hXYrGvtfAp3ydY2GZ/cTlhI1PkVzZsyzG+vPbTn4Dd8=; b=NQyMh8lv4BVBMr zlLBtQGqnnVkmiAczInxwFzkvnJuL9AA7w1ORVBlP155Q8TpqdHIP8lPioLbl+IqprDQ/nrwTu63N YVO3cjUjbTiIZW7afw2NJNLBBub1cpAnre1W/jN6atR6h7/ylePMzs4ASBkBNW+utYDX+61c3M+nc Va1C9fYe40Kx5gdEUDYMdWuSUBMt0S0sE1bPYrPSphO6/vIlzkyUD4Tx0UWhgHs1Rs85UdI+cv9hU Y2+aRboG90jf1uQM6qRehIZCn9/aRCljki2kN8o3tQQcvWG8uIEO+WI3XG/odJmLob8tLpdBoL69a SoX6saMuhmvQZ26A/sZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tnnsD-00000009EVc-3OGD; Fri, 28 Feb 2025 00:05:01 +0000 Received: from mail-oa1-x2d.google.com ([2001:4860:4864:20::2d]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tnnkY-00000009DZn-06XR; Thu, 27 Feb 2025 23:57:13 +0000 Received: by mail-oa1-x2d.google.com with SMTP id 586e51a60fabf-2bca6017608so1091070fac.0; Thu, 27 Feb 2025 15:57:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740700625; x=1741305425; darn=lists.infradead.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=ZlDk5N2GB9mCp3K6OJvLJ8k4vH/W+90nGfvSZBoofS0=; b=BeXtWWUA/T0YtitJa+Ers1wuYDSdBwaA+3H3e4N4qzwBmVFpaVnZxdVyxxNruB5mXC oVRyUwtzgDNSIIKNJA0o7LCoZBCUneokV1nIcLO5G6DjwM9qaQq0vxd8gMG+v1Jy2LV1 TFqZkbqfSdzEDouMEqFCUTY64VzHqWTazYnjBnczZ5zDArFRmJi9ZOb95Jh6SLvxeB6o jRXmsG0eQugBqtZfEV94erauMsJFBxz9rnD+CAMOPhFDVi5iZfWOp2doFzX7QY+wvs2Q Y2/YkLbXV8oQkwQpZkrZdh7cX54oUFAN97ppShKxYQI6Lk1imFaHyMm2MWUeU39muKzZ TTNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740700625; x=1741305425; 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=ZlDk5N2GB9mCp3K6OJvLJ8k4vH/W+90nGfvSZBoofS0=; b=HkM1eEpBQai1FFsx+MUytAkCja0yOu3fmjY+fbXocEx1+Ez32YRruU+9a08UFwOHUC vPQTzIZzRtbuiEZ4L6OhI5ZF45Wdy6kV5Lmk1eWVpHXizFzWa8LVq/62I4pFFfZXrzG/ h0BK7w028w/Mx55LvTbSNPv1W2gamQqzKOMy1YOrGYTq3ul8axM8J5iYru5t3/jAScIu CsMtZv1WpuIvSDFPLW4f70T3i/Gq6m3auIJj1Jmdk1OSL8C7X87hUl4XZ4H/wp7iZyv7 mHZfA4WmxswjtgD0L3TSJiW8Ch9Xep5cDqslBIGnbyZrXBTsMUyI/QpmPeuuoZ/jk8Dl 0TDQ== X-Forwarded-Encrypted: i=1; AJvYcCUyZD9h5lCVIp9PFeD5r4iLttime+utw5VuE6MV3PANoiSGeeUoyIj5OiHn//HnUDhxbvOTTu3lqINUDxoBCq8=@lists.infradead.org, AJvYcCV2u3DIJApUDMApoC3glGILPDKz7NHYBXIdynArXvWbDy7bTYixiaQta+XeRv9O9HYvnPnvdBiBTnHqjqsPiAlW@lists.infradead.org X-Gm-Message-State: AOJu0YxgE9aubiYpBy2X7/B9QkdnU3NohOThO62u/tlR22ywkZckZHQ8 buF2VH2m4ZxO/5aWENCr9iyYJ8rCOrjpdEwHxnwQdiiCn9BdUHcq X-Gm-Gg: ASbGnctX4DLt3j0MSxbSh5KnMRU9ViOp8viYSpJ9KCPynuuI0HU6FrZlwOapiPMh405 pOB4hSIYuqAUSLMpDTcXZrbkXxhMUgqG9Ax4FeodPt/ExBjX1uqKlfC5Ci/w5b4cUolVW19oxbq ggo0lFICuUvTxMNHRjTfN5fSbtDy7z87gQTvbrnGPid4/H7FDbSpT6Zd8+ZhwdPQgzLUcIVusle 2AJOSJWIqGIarasi6ucIue0NnmwheVZjUA9zgIM1phor4uXcFNjaGpDSIxmZsCW0tmdVyvFn5fb Z00+vhM172EtLl1Qhij1IkwemdXd6Ca9ekU= X-Google-Smtp-Source: AGHT+IF3zsxZysqy4mQrajdDPKqBlf67QpxzEWnybkW16XIkXogKUJuTCIaYSQ0OXdfMVpVrnx9FEQ== X-Received: by 2002:a05:6870:a686:b0:288:18a0:e169 with SMTP id 586e51a60fabf-2c178437544mr717463fac.19.1740700625041; Thu, 27 Feb 2025 15:57:05 -0800 (PST) Received: from tower.cjhon.com ([2603:8081:ad00:4a:87c8:8ae4:f338:6188]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-728afd7694fsm443893a34.50.2025.02.27.15.57.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Feb 2025 15:57:04 -0800 (PST) From: Jimmy Hon To: Heiko Stuebner , Cenk Uluisik , Chen-Yu Tsai , Florian Klink , Muhammed Efe Cetin , Ondrej Jirman Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Jimmy Hon Subject: [PATCH UNTESTED 4/4] arm64: dts: rockchip: Enable HDMI audio outputs for Orange Pi 5 Plus Date: Thu, 27 Feb 2025 17:56:23 -0600 Message-ID: <20250227235623.1624-5-honyuenkwun@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250227235623.1624-1-honyuenkwun@gmail.com> References: <20250227235623.1624-1-honyuenkwun@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250227_155706_059379_B83F608B X-CRM114-Status: UNSURE ( 9.39 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org HDMI audio is available on the Orange Pi 5 Plus HDMI TX ports. Enable it for both ports. Signed-off-by: Jimmy Hon --- .../boot/dts/rockchip/rk3588-orangepi-5-plus.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts index 53797f633d3a..121e4d1c3fa5 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts @@ -124,6 +124,10 @@ &hdmi0 { status = "okay"; }; +&hdmi0_sound { + status = "okay"; +}; + &hdmi0_in { hdmi0_in_vp0: endpoint { remote-endpoint = <&vp0_out_hdmi0>; @@ -152,6 +156,10 @@ hdmi1_out_con: endpoint { }; }; +&hdmi1_sound { + status = "okay"; +}; + &hdptxphy0 { status = "okay"; }; @@ -220,6 +228,14 @@ usbc0_sbu: endpoint { }; }; +&i2s5_8ch { + status = "okay"; +}; + +&i2s6_8ch { + status = "okay"; +}; + &led_blue_gpio { gpios = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>; status = "okay";