From patchwork Thu Jan 30 15:14:25 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 13954692 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 6606FC0218F for ; Thu, 30 Jan 2025 15:16:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:Message-Id: Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=r8UH/RaoOHVyZgnyzbmx5p1MPPXJP4MFHbgUCvdc4T4=; b=10CDPzK5FaiEsQGjhXuEx36/++ /gqU3SMRsEjmr73xhcn6NwtBmATXZQWdAj5AZblsiPzGJa/4ySl8lMTWVHNd96m8atqZaq4OhGoQL O0l0UCtKcFwYX1TzT43Q8xFn1bPWxDXzTZg9CuCgjukFF/rUPxvq1UXNqTOG6SP1G7qiLl07tfzq4 S3FPoQtB7dkTEADPqdlfe46RRsiCd0YBTZadWva82Rwll3eezYLdRRiZHla9NlZY9QIJAwQ4m7LgK D++9Jr6O6Cd+pXX3Dc8uKFRo5H5vvrm31eZuLnluuu/mrMJOtGBO0zAjInwKauzGQ9dbse8n/HJyE dp20hIYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tdWGw-0000000936l-0Ez4; Thu, 30 Jan 2025 15:16:02 +0000 Received: from smtp-8fab.mail.infomaniak.ch ([2001:1600:7:10::8fab]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tdWFc-000000092yk-2T20 for linux-arm-kernel@lists.infradead.org; Thu, 30 Jan 2025 15:14:43 +0000 Received: from smtp-4-0001.mail.infomaniak.ch (smtp-4-0001.mail.infomaniak.ch [10.7.10.108]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4YkMy33hq4zgqy; Thu, 30 Jan 2025 16:14:35 +0100 (CET) Received: from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4YkMy25swpzvPg; Thu, 30 Jan 2025 16:14:34 +0100 (CET) From: Quentin Schulz Date: Thu, 30 Jan 2025 16:14:25 +0100 Subject: [PATCH] arm64: dts: rockchip: add support for sound output over HDMI on RK3399 Puma Haikou MIME-Version: 1.0 Message-Id: <20250130-rk3399-hdmi-audio-v1-1-406244333111@cherry.de> X-B4-Tracking: v=1; b=H4sIAFCXm2cC/x2MWwqAIBAAryL73YIPguoq0UfqVkukoRSBdPekz xmYKZApMWUYRIFEN2eOoYJqBLhtDish+8qgpW6lMhLTbkzf4+YPxvnyHNFW7bT1resU1O5MtPD zP8fpfT9W/cVVYwAAAA== X-Change-ID: 20250130-rk3399-hdmi-audio-b130c2bd5c81 To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Quentin Schulz X-Mailer: b4 0.14.2 X-Infomaniak-Routing: alpha X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250130_071440_769700_1AC96962 X-CRM114-Status: UNSURE ( 8.39 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Quentin Schulz The Haikou carrierboard exposes an HDMI connector and audio can also be output, therefore let's enable it on RK3399 Puma. Signed-off-by: Quentin Schulz --- arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dts | 8 ++++++++ 1 file changed, 8 insertions(+) --- base-commit: 72deda0abee6e705ae71a93f69f55e33be5bca5c change-id: 20250130-rk3399-hdmi-audio-b130c2bd5c81 Best regards, diff --git a/arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dts b/arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dts index 947bbd62a6b09ce55320d0889ee8cf50ca59dfd4..a60779bbbaaa54ebc5060907ab876a4d679f7da3 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dts @@ -154,6 +154,10 @@ &hdmi { status = "okay"; }; +&hdmi_sound { + status = "okay"; +}; + &i2c1 { status = "okay"; clock-frequency = <400000>; @@ -191,6 +195,10 @@ &i2c6 { clock-frequency = <400000>; }; +&i2s2 { + status = "okay"; +}; + &pcie_phy { status = "okay"; };