From patchwork Tue Jun 8 15:23:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 12307159 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-20.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 31A2AC47082 for ; Tue, 8 Jun 2021 15:23:46 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F0FAD61246 for ; Tue, 8 Jun 2021 15:23:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F0FAD61246 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 510CE6EC1D; Tue, 8 Jun 2021 15:23:45 +0000 (UTC) Received: from wnew4-smtp.messagingengine.com (wnew4-smtp.messagingengine.com [64.147.123.18]) by gabe.freedesktop.org (Postfix) with ESMTPS id 829DB6EC1C for ; Tue, 8 Jun 2021 15:23:43 +0000 (UTC) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.west.internal (Postfix) with ESMTP id 0690A1AE3; Tue, 8 Jun 2021 11:23:41 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 08 Jun 2021 11:23:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:subject:message-id:mime-version:content-type; s= fm3; bh=7y+uu7kjB/1PI/97u+3Bl7gH1MSy9rD9XBavvjyKxLY=; b=fAtMdnhz IH79WIzcvnXdYUwK56lX0yBX0x1PVBlOI5eaq402NUAbatPBsQNQ12GYr35118nk JirqjxKmHSB93e/l/JMYqImlSpXd1okJzd+Zq2CGPElvIUwt9B1K4gqYOtW/mpUs N2pHvi5G4MoT/dduYQJxcVlFASkMBdUPYsobzsVfQ9kn2YUezWzMg06kDC8A0a9r H2TJcsEs0khPMZjKo/YoMeNWsuIAn0bnYw+o5GAaXLRwj68qjb9pvCecYhKj07aA xQQs548fDT3dMKiubaV8pjU/Z8o6ESgz7UsPi+OHDFnDqvE6yOdXXAe1btsEbVIF 1OUfMEwrCY11pw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=7y+uu7kjB/1PI/97u+3Bl7gH1MSy9 rD9XBavvjyKxLY=; b=HiSKB7SqJr7JN9g6FQgeesiy7qdMJQkDFTmUrqSWeIPV6 tFneGKnf6whSoeH7C7Wc/FVlDdZQKk3DxV3jVbqOZ3R1PNswV1Mv7vE4qmLCN1pY QgGF9heok9m5b+qghBTHRDAgmpdVCy0O8Fn6MXItkGVETTzNeopK5f3njBUbhDuo D1xF4pGbAO1+cmDKup2utWIPWWa6J0/+JxumILrJ1ew5tC1wl+QA9TAApimtFX9Z vyvxDMBf8VMASKFkIewxUkhXNhLRTmL+raTmntdW0BAm4xv1FruuRplR2lX5D+Bm KgFtIEJxgdBVu6HwDwONi8X67leyq0UUwz5W+Ly8g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedtledgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggusehgtderredttddvnecuhfhrohhmpeforgigihhmvgcu tfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrthhtvg hrnhepgfdvuedtvdevvddvvddtheevvdelgefhgefhleeuvdfhheduhfehffeuhfejffeg necuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 8 Jun 2021 11:23:38 -0400 (EDT) Date: Tue, 8 Jun 2021 17:23:36 +0200 From: Maxime Ripard To: Maarten Lankhorst , Thomas Zimmermann , Maxime Ripard , Daniel Vetter , David Airlie , Mark Brown , Takashi Iwai , Liam Girdwood , Jaroslav Kysela , dri-devel@lists.freedesktop.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] HDMI codec improvements Message-ID: <20210608152336.3shidfqym2pgmj7p@gilmour> MIME-Version: 1.0 Content-Disposition: inline X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, Here's a PR for the changes to hdmi-codec that need to be shared between drm and ASoC. Thanks! Maxime The following changes since commit 6efb943b8616ec53a5e444193dccf1af9ad627b5: Linux 5.13-rc1 (2021-05-09 14:17:44 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux.git tags/asoc-hdmi-codec-improvements for you to fetch changes up to aee87e9c8fc0efbe933f0a8371990a0754ac65fd: ASoC: hdmi-codec: Add a prepare hook (2021-06-08 17:06:00 +0200) ---------------------------------------------------------------- Improvements to the hdmi-codec driver and ALSA infrastructure around it to support the HDMI Channel Mapping and IEC958 controls ---------------------------------------------------------------- Maxime Ripard (5): ALSA: doc: Clarify IEC958 controls iface ALSA: iec958: Split status creation and fill ASoC: hdmi-codec: Rework to support more controls ASoC: hdmi-codec: Add iec958 controls ASoC: hdmi-codec: Add a prepare hook .../sound/kernel-api/writing-an-alsa-driver.rst | 13 +- include/sound/hdmi-codec.h | 12 +- include/sound/pcm_iec958.h | 8 + sound/core/pcm_iec958.c | 176 +++++++++++++---- sound/soc/codecs/hdmi-codec.c | 219 +++++++++++++++++---- 5 files changed, 337 insertions(+), 91 deletions(-)