From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 99FF633D6F9 for ; Sat, 18 Jul 2026 08:57:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784365076; cv=none; b=Z/QVWrkeH32W+OHWeFEE5m4NBSQCjvn944ZQrKyq2jvh36zAd4hjdtlEKiJGvQ3uwuXbzgCp44tA4FhZkzJp9doWrGfR/4LTgweDStdMgKsfWGN0R+68D2k2RERf/nnX1gs7gb9MQ0HO/FZkvXExAymRVLcvQxjb/Um+RLlq95Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784365076; c=relaxed/simple; bh=tizS5g0h70SzokJT7ulA6Z1Qe+e6ZmlUwrpJqQZsAiA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=X9WoX/dL2bZQUurUVwRgE7XZvMXv6VdxByK3E8J8mhSNbOYQc2G2hLv3OsUaSKHeExAEQLjMweGWggKTAb0vV3M757UJZdIoMCs/gQeq7ecaYg8vwZ6XLQ5h55M9NmdlVvQzqbGvqmslQxquD7K1PP8RaGRKXFGqlUhxYpOnbXQ= 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=bPGJMfXH; arc=none smtp.client-ip=209.85.128.49 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="bPGJMfXH" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-495522bc0e2so272175e9.2 for ; Sat, 18 Jul 2026 01:57:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784365069; x=1784969869; 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:content-type; bh=OkAddxCtIZjvbuQcdVYEMV492MXwwpyu35XKLgJr4rw=; b=bPGJMfXHeDy9xisKFzTaiYeCLN2keI7S37xUaolhVDOkoWTRr6ECxNncheVTfHSgc1 wVgxJJZ7cT5gqtMILcda/olZqOgu8dlq+NxcKb0p4XAxcKr2Aw6MKFUUdrsJHnGss8AF 8clSKjO92BWxMRXYCpugj0SEJhdHpUi9oMZ4MvBL+eDKxZmUXVwyO7WaM/sjfDzelj6j VOwAt+p2PB/a2rUGLzhF+sWaFaCR21yHcUitIU3mKAddJ/EORl+StzmHav93WcXF2RSe QJ5aml6SNjn+DpOk9WavoJtdvtA3zDWiqlU9svkZm5DVTRGzeYtCxLILZ5QIN4qhVvFR bjAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784365069; x=1784969869; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=OkAddxCtIZjvbuQcdVYEMV492MXwwpyu35XKLgJr4rw=; b=PJC/DZPs0uX/be9mMDJNJJGOYLntBrLIhK8WoDbr5xi1XXGIF1PKDaoIX9KyQDAbcJ lnBkdB+mzL572ZvkWmEG7T+wZL8kcjJBLnEP4r41bwblhoSOxrVz8gcKK33ybnvXQAkJ Cdn3pbiG2aT9c9kyDgKaVfqtPtgdySvbc7yfjie6uEQz007DQ00HfZj9YLhI4tTzlAya p/Qgdu/MGRqLeyqrRbk+Xh4uG8lla23mCW+SGM3wZrA7pKKITxfpjlsYqVZ8mj3XaauH HGLreH6iTK2GO1LRwxccMELeBa46hSWyJpk8PI3oK4WnfETwsLETTqrx/R89R/ZjAvLf tN0w== X-Forwarded-Encrypted: i=1; AHgh+RoGGeGX74ks1njIXf3vhMT59CPaNIu+T02MD7VcleZfeXap13Pm1PVjxNvY3s3KtuishK0x0iiw7QjX@vger.kernel.org X-Gm-Message-State: AOJu0YxZ0XEtNX22/CkRGxPxZYwhNP0dXjRD0u/0jyUsQEtg8T9XLnAn A2Yt+GxNomwiWx2uZzqfpHgQjJGQiv2iMIXcQGzrcT5qmxJ0ufaiPxg5 X-Gm-Gg: AfdE7cmF35qhcoh9nGo/jEXic/5HqFDVQx87mB5BBvsruxcDMR/Efo8aPD7TRi3Sg2F C+Svq8/PPP9UNDkleR1j3ku7YxQOUY0mm75KrE3CAQklwLr4AOtpwZQ1ssCP/ZHd6vLX3n1BR7N mynK16U0aLWh8R8bCrKxJJth2LjqCJ3ikHp6HgNFSGWLkecNgX8GZuO/20SRe+h82K+rYkqEs8K gBeoRRj/qU9qaOy2B20EmrocHMjGIRmHHB/3JHazMbZIkoEVQ1+eX0kgS2/9QKmHVjILhpRA/lx cScFm87AZdMFDO3JxXo+vdMRn7r4i0xKBv4FBh9/Wjo6gDFnXGeuBjyPxc8v/QpKA1aSXwC7IQw Idv5nyJM6zZuUncgLga37euW6uiEoB8cWPGxNbw+gn6QP7UUSjYyIvRtFcCvINDxBd3g497vs6f bw0cd+uBHV7xqZtKbcVHPRssCeN3rkxPY5AiHviDVdqwMakLlTEPUtgF/8aa6m+U3I/+gA8nMAI Gfcm7CKag== X-Received: by 2002:a05:600c:3553:b0:495:4a33:2c34 with SMTP id 5b1f17b1804b1-4954a39955emr39555925e9.0.1784365068868; Sat, 18 Jul 2026 01:57:48 -0700 (PDT) Received: from OrangePi5-Plus.BB-HOME (20014C4E1B8D1600206D23E70680CBAA.dsl.pool.telekom.hu. [2001:4c4e:1b8d:1600:206d:23e7:680:cbaa]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4954834edc3sm91477455e9.0.2026.07.18.01.57.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jul 2026 01:57:48 -0700 (PDT) From: Igor Paunovic To: Dmitry Osipenko , Mauro Carvalho Chehab Cc: Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, kernel@collabora.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Igor Paunovic Subject: [PATCH v3 4/4] arm64: dts: rockchip: enable HDMI RX audio capture on Orange Pi 5 Plus Date: Sat, 18 Jul 2026 10:57:28 +0200 Message-ID: <20260718085728.6797-5-royalnet026@gmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260718085728.6797-1-royalnet026@gmail.com> References: <20260718085728.6797-1-royalnet026@gmail.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Route the HDMI receiver audio to i2s7_8ch, the receive-only I2S interface dedicated to HDMI RX, through a simple-audio-card with the receiver as bitclock and frame master. Together with the audio capture support in the snps_hdmirx driver this exposes a capture-only ALSA card fed by the HDMI input. Tested on the Orange Pi 5 Plus with multiple HDMI sources: capture follows the source sample rate and stays in sync via the FIFO-level clock tracking in the driver. Signed-off-by: Igor Paunovic --- New in v3. .../dts/rockchip/rk3588-orangepi-5-plus.dts | 20 +++++++++++++++++++ 1 file changed, 20 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 9950d11..d5840e1 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts @@ -37,6 +37,22 @@ }; }; + hdmiin-sound { + compatible = "simple-audio-card"; + simple-audio-card,name = "rockchip,hdmiin"; + simple-audio-card,format = "i2s"; + simple-audio-card,bitclock-master = <&hdmiin_codec>; + simple-audio-card,frame-master = <&hdmiin_codec>; + + simple-audio-card,cpu { + sound-dai = <&i2s7_8ch>; + }; + + hdmiin_codec: simple-audio-card,codec { + sound-dai = <&hdmi_receiver 0>; + }; + }; + ir-receiver { compatible = "gpio-ir-receiver"; gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_LOW>; @@ -247,6 +263,10 @@ status = "okay"; }; +&i2s7_8ch { + status = "okay"; +}; + &led_blue_gpio { gpios = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>; status = "okay"; -- 2.53.0 From mboxrd@z Thu Jan 1 00:00:00 1970 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 9C69CC44524 for ; Sat, 18 Jul 2026 08:58:02 +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=1aHqA7179yFmoIKJzxOkMrAI+t7mZO8eKSPUuEbiHhk=; b=PRgOEH1QLYvW3T lb9KH7Vuv0BqSeIuDYIFeVvPxOPxtq5au6jZbId9eCqBPMJi3AyluxKHanxbOMYTCt5a9+5TqsJcq e0/gXPZRNd9mA1Qd7VyM4kccIW/p5mjmyNWprHs1Fh8LoFSVExZCAs3glQ07z4/nnWm7WuykpLoJ/ UP1Neqn57XOrG7GNhfui7nAscUTzt48t+tfsU7UquOemF0BtnPFTzhCTHKk7r1iOMWRNa6JSgj4BS wiNYvKRpNH83tg7z9Pcp68bg0o7JQPVpB7LvFZExTkPq+CU9HVOIBxUSnOSTm2UdQgJmh6qA5GHpb 1f7wpfZBvRXfTvZM9wiQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wl0rr-00000003uzp-3MHf; Sat, 18 Jul 2026 08:57:56 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wl0rm-00000003uwI-2ywp for linux-rockchip@lists.infradead.org; Sat, 18 Jul 2026 08:57:53 +0000 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-495522bc0e2so272185e9.2 for ; Sat, 18 Jul 2026 01:57:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784365069; x=1784969869; 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:content-type; bh=OkAddxCtIZjvbuQcdVYEMV492MXwwpyu35XKLgJr4rw=; b=OQWzxOt+VEIB+Byy+P2e55WTMYLqffyoltJVc2fVwjKWJEt+6NQyepyOprtskdkyr9 JwHCHwTHmZkpbbi0s3nQOoNtk9i4ulIPcqLgtQ5exD3zfjn77vLdcL9SM3I/9J0MQJE0 tWm2wkTcR/5x2ROHvMyBUNP0i5VbD2A2rQ+qM+6XOkFlCn0clowOWgoRsK2hUyW27Asu lwSj0R5BplmtxMZ8nVlYF1YcwYQ2QCa8RKG1wIOANVVYelXjLrSk5BYv1M8cGAYbEGrQ Oi3GiGQuYSnHLVWrs2Zp6/83ef8hOo6FUvFZ3XH71X/2TgF+0kFngPnO7fUdsts78mys oZmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784365069; x=1784969869; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=OkAddxCtIZjvbuQcdVYEMV492MXwwpyu35XKLgJr4rw=; b=EJMtBkUjZjqPEFkaq8ygaCHuE7/1ahFcc+BEwxVVeAerWzoqYIediuolnjNorYlKJj xX99u7pOb2XC1HRdILhJ6V2s1XwhQ0p13qSXn24RAiLJNB8vT04bggCxHV3+v6zEimDc AgjcLQoV4aJSd74AjWT+dsGuuNzflDLq6l57qgeLO+uOT0UXhEi0cWeJRZMMBza+eGAB jg2yLdzEuXncez+EYKrllqFSvYv9Ji8PChSQYR2P6+lqu98u+kAKYMdNgbWJ4cl8s0/u 03uPzl5dRTjJMSG9lX1bKPM9yz3x44iwM7cPwcjYjmu6ClPwAgi2fnawbnbScnlm1KYR xrUA== X-Forwarded-Encrypted: i=1; AHgh+Roo7usofbj+9/p5Uq+Dt8qOosRcCK0w9Rkxr6V0C4SUJnBwzkW6RY6WVb+KYRB3xqZK5FhlCBsKN/W7Ahjdtg==@lists.infradead.org X-Gm-Message-State: AOJu0YzdeYUDvHXaCTgtQgXJsMQdr44JTHPMkFHwAsHrc2M2MgoqXJTe +NeOgk8Wth+z/nQS7J4thm8YOeCitkcLE1XYW4W4JHFED+Y3zqepK/St X-Gm-Gg: AfdE7ckQJp0k4Zs7cpTRhmtQxRPy/EhVjMb6SDMbMxTvuQCvrks5SaIdAPCEsyBx7ql sAByygRxPpM5NCSbNavWmn+WPp5V7N0gACKl0i7ah+zIiFeRtXKUtwoc3lNEX9gcDfHymh+WivK OLH3L1EDq1DG0IdvFBcw8aJ6VbYKQinvPLOoFU5JxMtOIcg5BUuxNPkeoIuo+pBugtPIwroaiZn 2TUnhmwJqOpcr4bW3e/tQ8StD1RIEOiYx+ZMGr/nAOc/kMsiaE8aF81dYK6xBZlyRKiQoLsCg9K WiSJtgT17g7koqu+t9I1pxwB19y4wQYfBAQAUyKUdK6LSvlfl/S3MbMS13nbozVI30z+rVH0qBD cOInbwR1cvP38dC/gbz/7QnMpN/mJuzRY0lWV06TKGD5r2hePHgrQP1lfp1V5Wlz6vQN4O5BcYl gLnYKvIX3Djj/eUfU/eiuN1uP4iY0yzG7YKIOWJ/5bPpNgTb9scUyIXdPAj/ZCLDAd9iJKyh15/ ui0SxRGCQ== X-Received: by 2002:a05:600c:3553:b0:495:4a33:2c34 with SMTP id 5b1f17b1804b1-4954a39955emr39555925e9.0.1784365068868; Sat, 18 Jul 2026 01:57:48 -0700 (PDT) Received: from OrangePi5-Plus.BB-HOME (20014C4E1B8D1600206D23E70680CBAA.dsl.pool.telekom.hu. [2001:4c4e:1b8d:1600:206d:23e7:680:cbaa]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4954834edc3sm91477455e9.0.2026.07.18.01.57.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jul 2026 01:57:48 -0700 (PDT) From: Igor Paunovic To: Dmitry Osipenko , Mauro Carvalho Chehab Cc: Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, kernel@collabora.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Igor Paunovic Subject: [PATCH v3 4/4] arm64: dts: rockchip: enable HDMI RX audio capture on Orange Pi 5 Plus Date: Sat, 18 Jul 2026 10:57:28 +0200 Message-ID: <20260718085728.6797-5-royalnet026@gmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260718085728.6797-1-royalnet026@gmail.com> References: <20260718085728.6797-1-royalnet026@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260718_015751_219413_5A4FB9F8 X-CRM114-Status: GOOD ( 11.73 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Route the HDMI receiver audio to i2s7_8ch, the receive-only I2S interface dedicated to HDMI RX, through a simple-audio-card with the receiver as bitclock and frame master. Together with the audio capture support in the snps_hdmirx driver this exposes a capture-only ALSA card fed by the HDMI input. Tested on the Orange Pi 5 Plus with multiple HDMI sources: capture follows the source sample rate and stays in sync via the FIFO-level clock tracking in the driver. Signed-off-by: Igor Paunovic --- New in v3. .../dts/rockchip/rk3588-orangepi-5-plus.dts | 20 +++++++++++++++++++ 1 file changed, 20 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 9950d11..d5840e1 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts @@ -37,6 +37,22 @@ }; }; + hdmiin-sound { + compatible = "simple-audio-card"; + simple-audio-card,name = "rockchip,hdmiin"; + simple-audio-card,format = "i2s"; + simple-audio-card,bitclock-master = <&hdmiin_codec>; + simple-audio-card,frame-master = <&hdmiin_codec>; + + simple-audio-card,cpu { + sound-dai = <&i2s7_8ch>; + }; + + hdmiin_codec: simple-audio-card,codec { + sound-dai = <&hdmi_receiver 0>; + }; + }; + ir-receiver { compatible = "gpio-ir-receiver"; gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_LOW>; @@ -247,6 +263,10 @@ status = "okay"; }; +&i2s7_8ch { + status = "okay"; +}; + &led_blue_gpio { gpios = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>; status = "okay"; -- 2.53.0 _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip