Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4228182pxj; Tue, 25 May 2021 03:17:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOUIBbOz3jE2uJLnXtPyoZqBJghuhNPaJhd9AyHPCWmXBOvD27WwjFbP6070NA/XG3valV X-Received: by 2002:a02:9621:: with SMTP id c30mr29879776jai.113.1621937846296; Tue, 25 May 2021 03:17:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621937846; cv=none; d=google.com; s=arc-20160816; b=ULZHi4BYXo5SEEv0BM6LGaOUIlDciPTyc3dooud1PbpKXb1X1adxrZi+z2B8JID3co CRPUbmd/19XxuVW0AcQJzElTitNpfuVN1cZMemub1XIgmAaNpbC9MxFg24WSVzQFRxRR wIL/4df3koN+TGXKd+YGg4BeRYDPujYt3k6ttw1yJ0YXhezVb1frf0MGQnTDtEV5DMET CXPYzVhA5ruu2f7Weem6zL+fAODozSIpfDdRhIIN2NlXUkhnnyGWFuIp7EiGKBvlkqXN TAIlTP+DriQppxeIfcWrwQn5xZ9eFNL8ZhhOebe+HTzvKpw5aANFPlqvf2bR82OqhQ2n 0a7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=fQlYaaBAybmBVUAGlRLhcaeBlT3WUi4ttbQdnsQvkkc=; b=aO8KamU6NAQTv0Kijj0wXauvGFOSD5/tOzobVqCT2EItGbq1cWR9PUS3ao2b3BLHmJ 32h6HUbuuozO04d0IoFyUKVV4sStpPKEgGd36kyW8tR+gdVwse+PQ/5h/hDus1q5uF4D znIFQg2pjY3N8eiFu1l7IEOdFv2dixHVCYoJbucL81vQubmKVatA98bDBBQvgAcMgydy SjTEi0wcQxeV66bYUU3PzZJE7V0HIswVfoI5bkUfFa3GqgGI/+EH3q5VdubJaAO6Pse3 fsYSMTFzXOtf4Uy9aKwyKDJX0e0aF88xyauudMSgyYUrxFfN1sK8QEOF+O5hs41nJS6b kGgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Z5IFxkkq; dkim=neutral (no key) header.i=@suse.de; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f10si19300845ilu.68.2021.05.25.03.17.11; Tue, 25 May 2021 03:17:26 -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=@suse.de header.s=susede2_rsa header.b=Z5IFxkkq; dkim=neutral (no key) header.i=@suse.de; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232541AbhEYJ3J (ORCPT + 99 others); Tue, 25 May 2021 05:29:09 -0400 Received: from mx2.suse.de ([195.135.220.15]:54264 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232530AbhEYJ3F (ORCPT ); Tue, 25 May 2021 05:29:05 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1621934855; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fQlYaaBAybmBVUAGlRLhcaeBlT3WUi4ttbQdnsQvkkc=; b=Z5IFxkkqBLurgeYrmix32ALtnLT8lESgjZwzcw8pSHjE1t+wVxLtaTAnEY84Yd8srphYjb DXNkN7/1wWh/OZndYtoGp7JzrnNS1qEB+GU+VdSDfY2HXaraGUWGpzKArrrq7N0sgT1kWp smaoRynoJTMxNcR8pCYrm/mLTnIusIg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1621934855; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fQlYaaBAybmBVUAGlRLhcaeBlT3WUi4ttbQdnsQvkkc=; b=w5nx12E3s3jTBrzYYio/pTtjlRrpP2if1P01HcjOBFvnQvkKvT9WoFa60nHBjeZKOVFGfl MfRFxF961C/czXCg== Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id CF558AECB; Tue, 25 May 2021 09:27:34 +0000 (UTC) Date: Tue, 25 May 2021 11:27:34 +0200 Message-ID: From: Takashi Iwai To: Maxime Ripard 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 In-Reply-To: <20210525092353.mvqdv4bi4i4rkqsu@gilmour> References: <20210507140334.204865-1-maxime@cerno.tech> <20210524133904.kgkh6xd3m5c2j3xa@gilmour> <20210525092353.mvqdv4bi4i4rkqsu@gilmour> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 25 May 2021 11:23:53 +0200, Maxime Ripard wrote: > > 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: > > > > > > Hi, > > > > > > On Fri, May 07, 2021 at 04:03:23PM +0200, Maxime Ripard wrote: > > > > Hi, > > > > > > > > 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. This series > > > > adds more infrastructure for the drivers, and leverages it in the vc4 HDMI > > > > controller driver. > > > > > > > > One thing that felt a bit weird is that even though > > > > https://www.kernel.org/doc/html/latest/sound/kernel-api/writing-an-alsa-driver.html#iec958-s-pdif > > > > mentions that the iec958 mask control should be a mixer control and the > > > > 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? > > > > > > Any comments on this series? > > > > 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)? I'd leave the existing drivers as-is. Changing the iface is basically an incompatible change, and although most of applications and alsa-lib should look at both ifaces, there can be any surprise by that change. thanks, Takashi