Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4192943pxj; Tue, 25 May 2021 02:25:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHEh1dwFrGoOuvN8OK730UBIdWP8yimkTR0vCck3qNGjHrHak2PDTqLMDgXnvRs8TQm0Q1 X-Received: by 2002:a05:6e02:1382:: with SMTP id d2mr21752150ilo.256.1621934732504; Tue, 25 May 2021 02:25:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621934732; cv=none; d=google.com; s=arc-20160816; b=Xr8UejpC/G/NI1LmYeromsSdv/DfWigHwXx67IVBIP33GgJp95xoOYi1jaDRpabi+A dHrfc+pT35y2jPiqZH1IEkHeeiRW2/BGjvM8HBpfl4r2Q4ydLoJ4GlsSiLej0ka2scRk INRfw+R5VrZZK22QwwPBBZ1m4G4Nzt5goUG7wxbRs9wz6+yFyQXCQgZqmUAV4NSuua6N HFe41aqHVq2xv3767CM/fRyROMF5tvWUDUh9hyNuov3UL1Y91BQfEwGMzRJldXtPwZiZ z5cmuJMVEtW7g7JGx0U22dv20JRveQ6k67sCSWB+VY1I7si1gfHQ7E3o8Ni0X7WtRffE MNkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=qhdCG6Qg5hhTfUV1qjjJLTSxYnhgWog/DLM8gX+Rusw=; b=VfcnobOVRW7HjpuTxkap96mHN6SAMt5NZKiPqMLzPggMOFlTpKYyDMG2zC/g1Zyalr W9mhKtR4TzTnWo+Jdai7RugtqFdAjzagS+UWWBLAhiScqa2tuSdoAW5pmdJSJaJG4YLl MB8HIsd1q/Og6na+xAbeQgiwvZ7Xu0B1Ptti9e5d+nu2DT8KKdQyX/vz2aquQhN7yGJs Ewz5UXIiIrI37ccHBJueO09yDIntxt1Zw+CbzweG2CUAa/2X0jJoC2sP5xtI1etpq5o6 gGHPX740K/dXJ815KDDatl9A4SLQc0757+vNmXt1GWTXySn6xjB8H/Bu0+7iTb8dtIXz wraw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm2 header.b=kQDf+JuM; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Mklc8vs2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n3si19708092ioh.98.2021.05.25.02.25.19; Tue, 25 May 2021 02:25:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm2 header.b=kQDf+JuM; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Mklc8vs2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232541AbhEYJZ2 (ORCPT + 99 others); Tue, 25 May 2021 05:25:28 -0400 Received: from wnew2-smtp.messagingengine.com ([64.147.123.27]:41005 "EHLO wnew2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232502AbhEYJZ2 (ORCPT ); Tue, 25 May 2021 05:25:28 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.west.internal (Postfix) with ESMTP id CD5F4146D; Tue, 25 May 2021 05:23:56 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 25 May 2021 05:23:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=qhdCG6Qg5hhTfUV1qjjJLTSxYnh gWog/DLM8gX+Rusw=; b=kQDf+JuM1XOO7yWY/YL1k0CL6e3A113Z8bh5JDuafz+ z94tfBfnQQg27AIRT06Rsgw04DasL3N7qVNihNOHmNB/G2naEPIbd3IF7gkHRQyB GEOBjUVfRWivgP1xck9qrC1uNcmBo9yo8Un68paBoq041Vx/GXXHQ/6YK4FXF+Qd TVTm+VbQFLJ8GIMReDS8wl1NP8vQ+0iSQDxM374HcGzl3FLB/rs5aDvlKyG/LRMD VioNeGIx+W6JPj7NnkxKevxhJ+A3aLUYm4kgdU3J6VCIzMK3HPlyAO7x7D9SqTyF CaPBvmn9ZdA6U1s50PSQ9L3LCpChe/bJZlqHAEE+fug== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=qhdCG6 Qg5hhTfUV1qjjJLTSxYnhgWog/DLM8gX+Rusw=; b=Mklc8vs2/D9YTg3aQo2JtP t1TF8RrAeXK7XLX2eSBz97ykXhYUVrOxgzC9LOclpg2Uzteh66i6r5sfPqWjqCkm toZtkPuHZjeSPpOC2TdW4M2tN7B3MgLT2N4A+kxDBYt1+3lR7Gc6r5fU2sywDv/g 1Mn4ZMttFyaHlRZY73A/wa7VE1odVJ3oV97BlAZnk3dh73SH/HNwoNFChwYNYska UxNm6UTU8HInw0Hyii5M9vRPMrv1I8PdYpj108UpqfUgIoAgBRm9qxLELzxPRCCk 0DiVLKYtuI0vX69CIkZ2AumhAjQuERrORIGaf48N5Mppfj5/GkweCvxHRhhNmEBw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdekuddgudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrth htvghrnhepveevfeffudeviedtgeethffhteeuffetfeffvdehvedvheetteehvdelfffg jedvnecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucfkphepledtrdekledrieekrd ejieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehm rgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 25 May 2021 05:23:54 -0400 (EDT) Date: Tue, 25 May 2021 11:23:53 +0200 From: Maxime Ripard To: Takashi Iwai Cc: Mark Brown , Takashi Iwai , Liam Girdwood , Jaroslav Kysela , dri-devel@lists.freedesktop.org, Daniel Vetter , David Airlie , Maarten Lankhorst , Thomas Zimmermann , devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Dom Cobley , Tim Gover , Dave Stevenson , linux-kernel@vger.kernel.org, Eric Anholt , Rob Herring , bcm-kernel-feedback-list@broadcom.com, Nicolas Saenz Julienne , Daniel Vetter , Phil Elwell , linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org Subject: Re: [PATCH 00/11] drm/vc4: hdmi: Enable Channel Mapping, IEC958, HBR Passthrough using hdmi-codec Message-ID: <20210525092353.mvqdv4bi4i4rkqsu@gilmour> References: <20210507140334.204865-1-maxime@cerno.tech> <20210524133904.kgkh6xd3m5c2j3xa@gilmour> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="edyfacc36enjbeyb" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --edyfacc36enjbeyb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Takashi, On Tue, May 25, 2021 at 10:35:14AM +0200, Takashi Iwai wrote: > On Mon, 24 May 2021 15:39:04 +0200, > Maxime Ripard wrote: > >=20 > > Hi, > >=20 > > On Fri, May 07, 2021 at 04:03:23PM +0200, Maxime Ripard wrote: > > > Hi, > > >=20 > > > hdmi-codec allows to have a lot of HDMI-audio related infrastructure = in place, > > > it's missing a few controls to be able to provide HBR passthrough. Th= is series > > > adds more infrastructure for the drivers, and leverages it in the vc4= HDMI > > > controller driver. > > >=20 > > > One thing that felt a bit weird is that even though > > > https://www.kernel.org/doc/html/latest/sound/kernel-api/writing-an-al= sa-driver.html#iec958-s-pdif > > > mentions that the iec958 mask control should be a mixer control and t= he > > > default control should be a PCM one, it feels a bit weird to have two= different > > > control type for two controls so similar, and other drivers are pretty > > > inconsistent with this. Should we update the documentation? > >=20 > > Any comments on this series? >=20 > A patch for updating the documentation is welcome. > Currently, as de facto standard, we allow both MIXER and PCM ifaces > for all IEC958-related controls, and it's unlikely that we would > change that in future. Ok, I'll write a patch for the documentation make it clearer then :) Do we want to make sure that all the iec958 controls are on the same iface, or is it also left to the driver (or should we just leave the existing drivers as is but encourage a consistent use in the future)? Maxime --edyfacc36enjbeyb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYKzCKAAKCRDj7w1vZxhR xT6GAQCmK74YyTmGnQSUD3qsdks6qIaoPcyMDO73ebQeXm4xZwEAzb0RQ+6uvdWf 9lgi7PPwMH7RXPFAdijTOOtf4OHrLAU= =kqaK -----END PGP SIGNATURE----- --edyfacc36enjbeyb--