From patchwork Thu Jun 10 12:25:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 12313027 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 A8768C48BE5 for ; Thu, 10 Jun 2021 12:26:59 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 85468613FF for ; Thu, 10 Jun 2021 12:26:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 85468613FF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 940A51791; Thu, 10 Jun 2021 14:26:06 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 940A51791 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1623328016; bh=SMCTCfVGYyElEle+nuusCDs4AKD20x5AWJSG/78ZM3Q=; h=Date:From:To:Subject:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=uZHKRxcRmL+63IK8k843hu/rQMg7un18QZZyfo5WAbKr+O1artghRj/lxRuu8YSfL UTjpfQHXl5ld1DRyLoDIpSTrqm1lTmxwCDf8W8FQdvWCTv8mOrVvcSqMl5a6xd86/f woGKDQ66ZtfeUeO7KR82IBKFs+7AycnSnHyp+0H8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 28780F8020D; Thu, 10 Jun 2021 14:26:06 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B8EC5F80218; Thu, 10 Jun 2021 14:26:04 +0200 (CEST) Received: from wnew3-smtp.messagingengine.com (wnew3-smtp.messagingengine.com [64.147.123.17]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id F20FEF800FC for ; Thu, 10 Jun 2021 14:25:58 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz F20FEF800FC Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=cerno.tech header.i=@cerno.tech header.b="hufp3yt3"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="EyB9o7Ds" Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.west.internal (Postfix) with ESMTP id 0A5342396; Thu, 10 Jun 2021 08:25:54 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 10 Jun 2021 08:25:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:mime-version:content-type; s= fm3; bh=uHio+4NIJ30iZUQOLrOe+MHQN4Sn7Af3MGSexW5w2ps=; b=hufp3yt3 de8jPWnUZ25P43F3IykGVCi9XgBRZS2x61/71w0pFKMTJcMO9ON3msRCEh0LlLlk xzXKCq7kSJFW4u9exfsmgaKua4Unr+zP39zxv+5aN3DN/hpGBwYvK7xJubVwaO1D qCROwhzBqOP4vnH9WzkDdiSPuBLR9NuIdiS8REy4SmqzFHWcgqfo7p+vhIdXHnbB 7OvFLaTL+jPoLoZTO0RuC4IpcgYXQECwX5hkAOHLmFmRsXklHzOTtcG7ctxD8aYW 4+AB2aLYCS4X/6mvoIoBBnzEmXtpHIbg9vpukIloTntKAtBW7fbf1TlXqcwRU9CT Aqu2/TPwgbwaMw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=uHio+4NIJ30iZUQOLrOe+MHQN4Sn7 Af3MGSexW5w2ps=; b=EyB9o7DsGY9CuOi1kBEWYqPdraY21EYolZfAkA8eMyGc4 pnxEdC4PN1GJY1Pp2F9xxYvYtmt0XiHXLnEt+yRDAP8mbMMjZP/M4pQx+x9O3eQL YW1NnJ/qFvtn+cbSGjCk82Obh7zQXhQQ17aq6V+W2SXKp4MKlExKpsvyDpOsfdj6 tDRky6m55vbq3Z3rDhCLrTnY70JlBGgYt7EVQh9WREZVp6/00iGm/IUFqIPqRgiZ OwtP8p+qaNclriRVfDo9DjuXWfA4ysZ1m1rbXQ6dZ275UgvOEAEhtqVJroZG4NyI anyGh7/UtOXXUj9LCCQOY92OMESfPZ4xxpqvBZhUw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedufedgheduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggusehgtderredttddvnecuhfhrohhmpeforgigihhmvgcu tfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrthhtvg hrnhepgfdvuedtvdevvddvvddtheevvdelgefhgefhleeuvdfhheduhfehffeuhfejffeg necuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 10 Jun 2021 08:25:52 -0400 (EDT) Date: Thu, 10 Jun 2021 14:25:50 +0200 From: Maxime Ripard To: Maarten Lankhorst , Thomas Zimmermann , Maxime Ripard , Mark Brown , Takashi Iwai , Liam Girdwood , Jaroslav Kysela Subject: [GIT PULL] HDMI codec improvements, v2 Message-ID: <20210610122550.jnriewchqspdcrwk@gilmour> MIME-Version: 1.0 Content-Disposition: inline Cc: David Airlie , Daniel Vetter , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Hi, Here's a PR for the changes to hdmi-codec that need to be shared between drm-misc-next and ASoC. This is the second iteration, fixing a bisection issue with compilation 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-v2 for you to fetch changes up to 2fef64eec23a0840c97977b16dd8919afaffa876: ASoC: hdmi-codec: Add a prepare hook (2021-06-10 11:48:56 +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(-)