From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (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 AAB84395AF5 for ; Wed, 15 Jul 2026 20:08:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784146126; cv=none; b=mOWJOZDksGQD1wp4ME4wLchm/7pyIH+kfFQlOvP3XkbkAA37Y88eslRuhnfnqgUMAX1d0Z2AYYNkfSk/kY0HnVLzucf4CrNZD+X/YLEaNzMQiVORCdoK1fGpxphHo5wWtmZr7YPbPucvA4oNPWvaavJHDtUzJ9aB4EaglCNGxQc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784146126; c=relaxed/simple; bh=gkCD81XCRKujgWuJ/o0vlSNXbZjlRz5ZS9uv5DJwxlE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=c2sTINuoKcObr3vHKbuMWGM0p2jfGysI9fch4rsx7Xn9aPVVunz3rPJvvtNdrL3NVLq6smq0B3ZAf4GHFuhKUzBstst7N3tZHeKY3kItVeYDJswp5wa9STH2YL8rlYyMt2sUivhYKTNnXIl5dGXpfZtCyIy3hrb/xdlFyIwdUQM= 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=qUZNL7Tr; arc=none smtp.client-ip=209.85.221.45 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="qUZNL7Tr" Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-470f53bdc70so380072f8f.2 for ; Wed, 15 Jul 2026 13:08:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784146123; x=1784750923; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=WB2MJcT25aW4xciwtNpRduuma9Lg4geJEuusUG9ev68=; b=qUZNL7TrCI6Ln+WovxRS8aYn5lgE71QT1mbdo9Qp5K9oZVKpJKO6YZGnv1mVf1BkwG kpzdB4r8uvu0b4Mn0qWiFAwIQ+COxzif0j7Guvs+hH1qej0eKgSbIx2I3yJ5DzGa2U3m O0H+cc89r9YTFOpuAC1k/gF8RUvXbWTAEicFR5gtAKrMU0ndnEqdkwL5e4ZOZdEPou2u dcP8aUbknCsdADjfXqoa8N6kRwGMQLAzsxHf2iIO4aDAaNcTtB6z0WzKVVjzgxXIhsYs TEjhKUNX5JdiBC55LelefZy+DA7BvZFry/L1yV0Q5fQZPK3QAR9C2bwtraSF6oID1OQ2 M9xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784146123; x=1784750923; h=content-transfer-encoding:mime-version: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=WB2MJcT25aW4xciwtNpRduuma9Lg4geJEuusUG9ev68=; b=XkmSoL6byRl9R83YOg4ZLlD4mcr1IGjzHwEX+KjeP1I9aiSUK85JeIttWM6aMUpYj7 EzAe2xW/AYzi++5jMveBWHbL1odyiE9zqwyg9ZasLbmIyvfUrRNK73rsXGHek7oy0ebZ /iGUbt8SxGp3dCB70cfafZHXTlfnXgA8q1oOUoeWrJWs/0MNCL4+oubHcIMaIiVmfvK/ RzpedkXJpJrTg6hoaIh4qRrfYxlq1J4QnVFuA5YrBwD+PO4Oyl36Keqi5yWDvJRAvWW5 BK5uYAdURCHf4YeVY96JZTfXw6SUinY+0GHazNUqGod8w3SuiNI4oARK0V5XJ8URkEGt UnZA== X-Forwarded-Encrypted: i=1; AHgh+RrVh4oV9cxHMAqTozzZgex7EZeWmSitJI91xwdT18Lv0LFiC8iqWeurN5QW2Ur+H5ZMHr2pnyE4DStXYCo=@vger.kernel.org X-Gm-Message-State: AOJu0YyyP6dpfDzcRrf3Sc1twqa/pawXsHjG/WHjcTcF+hl6AMxo4RzV jIvxKZsTCBjkNPosuOrm/LwxcEhb1YufN+lMg4syZxe8jAuoeUxdoWsqndx0a5+7 X-Gm-Gg: AfdE7ckz5xV4PXuHWUjuWao64ehY7Q/X/ww5NYusdMm3eq6zEbsaA65Ep68Bc1nhtt9 Z2CZ0GZF4FdaAqDV5fieI4Yo4walrnEoF2Y6cLn0GATSy2U9MDO03ypg+7NV9j7BZT81Lf5No2f fCjLdPNByvLJuUaP74lDt7L90OI+g6gxwnl/i3yI1E/yWDpI4mBrw7K4/75Jh/QLrCGVk/J4hIY kmsp7HJs81HbQXpGVS1f44rTPTqdejbcrwRkAAl3pnMfCUOqZu8PpZIoU4VyRYYeu3IzX0ik9hr +bgIr3z8FR2LbqtW2iSlQB/cEjlPCFtE6BYDUImSTNT6k6fHoxGiygi64KT66XFCi/aNajNxyiU UtQaOYbsYfr9pfVq0+JERMY9EUzWs4BP1paC+45wVIOtPi3A0NRGVjiraghR16e84o+p+mwCj6u OhrsbVagkgJ44gK5Cc26xSHTvBQjHdYra1KDFvJCMgsAg3j59ZJ6FKV4WPMvfGbbWn3D1YR9rMK 0aAVMMwmmrnodzoRH9Qww== X-Received: by 2002:a05:600c:4fd0:b0:493:b246:4a19 with SMTP id 5b1f17b1804b1-493f8855831mr121524865e9.8.1784146122782; Wed, 15 Jul 2026 13:08:42 -0700 (PDT) Received: from OrangePi5-Plus.BB-HOME (20014C4E1B883700BD3E109F7898AD30.dsl.pool.telekom.hu. [2001:4c4e:1b88:3700:bd3e:109f:7898:ad30]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49541e7d21fsm7300625e9.2.2026.07.15.13.08.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2026 13:08:42 -0700 (PDT) From: Igor Paunovic To: Dmitry Osipenko , Mauro Carvalho Chehab Cc: Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-media@vger.kernel.org, kernel@collabora.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Igor Paunovic Subject: [PATCH v2 0/2] media: synopsys: hdmirx: add HDMI audio capture support Date: Wed, 15 Jul 2026 22:08:32 +0200 Message-ID: <20260715200834.8486-1-royalnet026@gmail.com> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This series adds audio capture support to the Synopsys DesignWare HDMI RX driver, which currently handles video only. The controller extracts the audio embedded in the incoming HDMI stream and feeds it to an on-SoC I2S interface; patch 1 documents #sound-dai-cells in the binding and patch 2 registers the generic hdmi-codec as a child of the controller, recovers the audio sample rate from ACR N/CTS and the measured TMDS character rate, and keeps the local audio reference clock locked to the source with a periodic FIFO-level worker. v2 addresses all review feedback on the RFC: Sebastian Reichel's binding comments (hardware-focused description, documented DAI indexes, consumer reference in the example) and the S/PDIF DAI handling, Dmitry Osipenko's platform-device registration comment, the Sashiko AI review findings on the driver's error and teardown paths, and the Media CI sparse warnings. Per-patch changelogs are below each patch. Re-validated on an Orange Pi 5 Plus (RK3588, i2s7_8ch as the capture DAI): stable capture at 44.1 kHz and 48 kHz, sample rate switching, repeated capture start/stop cycles, and abrupt client termination without worker leaks. Igor Paunovic (2): dt-bindings: media: snps,dw-hdmi-rx: add #sound-dai-cells media: synopsys: hdmirx: add HDMI audio capture support .../bindings/media/snps,dw-hdmi-rx.yaml | 9 + .../platform/synopsys/hdmirx/snps_hdmirx.c | 280 ++++++++++++++++++ .../platform/synopsys/hdmirx/snps_hdmirx.h | 8 + 3 files changed, 297 insertions(+) -- 2.53.0