Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp2158821rdg; Sun, 13 Aug 2023 11:54:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHaps/pmurnbfqQDNAlo9TvTHNvbHDJxg76n7bHnhhl/7CgE+ZmV9W5W2f2SFyS0Ifyh29T X-Received: by 2002:a17:907:a0c7:b0:992:48b7:99e3 with SMTP id hw7-20020a170907a0c700b0099248b799e3mr5465885ejc.63.1691952887546; Sun, 13 Aug 2023 11:54:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691952887; cv=none; d=google.com; s=arc-20160816; b=rAmcLVNdOac1HpyN0bUv6R6DDIsUPkV6Oycx0B8z4pkgSzvkAEm7bnz/3d0IYPFTlw xfeFdYJXcfr33ZxVAhbHo0aqXXSbAVEyM9q0tOMIGU+SKxP0+5/ROQWtQTpnDWJSUPVD b80wF9YHf0wQkHOLNCaN1N7doNcvjswim8xeB+lfE3q3c7t4TDbXTG5Honn9Vtkxn5ZV fqEbZdLDqzYup+FprNmW+5Zuh42HLebYtNsi5x11zeBC/kHJ1nrKJcEcEDK5jdz/+7q7 WbA/4tYSI1VJQjI91j+f75MgRt5tOR6/T7DEZ0/jnPW7Gf8kD+ZjIxlk7CCoCvy+JHIr rsZg== 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; bh=O86qyb8h6SBI1GJ2bW0mBUaOzzpc/ZzEWc+PWbp9Ezo=; fh=7vicOjcSb4mKBuUkCCGQlU+gbEdtxwecf4R74bxz9hQ=; b=0YrZ0sDAGasDix1VwdTVZsVV4VR/dpUu6kjZiuiQ2+Ax3+dhw3SmAlcLH6oiaxgJGX HNVuOAoZyvZ2iWqLFGtuceijFWwfOvzx6qVxHQvL37oFtRQBSrLCBt2sHp21WFzGse1E jQHR0iku+TvPfK8aXqo6qwU9Rg/wf9x38/vWpW1xtcp3WR+oaimlhYVaz0bD/4wPj0qZ T9VOcbxHm/r7hPFOl56ZYP60hwZBfhPOQZGerEaTY6IkJk7JJ/4cEHm6IXkacRaHePoP CcHesUonA68aEGnIwYWT2/Fk2RZLy8C+ErvYbPidvZkQsw4WR3XSw605sTrgKQT9h4m3 hQGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mRoPtJg2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h2-20020a1709062dc200b009924806cd0asi6681654eji.295.2023.08.13.11.54.23; Sun, 13 Aug 2023 11:54:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mRoPtJg2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230315AbjHMRZp (ORCPT + 99 others); Sun, 13 Aug 2023 13:25:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229684AbjHMRZo (ORCPT ); Sun, 13 Aug 2023 13:25:44 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDBFD10DD; Sun, 13 Aug 2023 10:25:46 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 79D976111D; Sun, 13 Aug 2023 17:25:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6CF3FC433C7; Sun, 13 Aug 2023 17:25:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691947545; bh=8lbfPPJ4n+8aA2NeyWf4XOSw9lu+CR89Quao+yjZXQ0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mRoPtJg213x03htNDDiHekOtRmlSdoA2tLPvw83vbGbU00QIw8xPQp9VqQ04QPXih NZvAzzctwjLoI2grRD3TclRM/NmQWjaGiq0klLd7vsH2vocnb4qUAQk2Cuiqw/CzuM 9qOOUFiSBvlZZwnP7SROh02qTUuYX1WhF1JwzJP58Wvbud6FXky3sHMDq+g1kmvbJo mi5s2t53lnCfzp9I1KH/g29bu1mq6UyQZHCsTTs8V950imgXf4pWBQonqnGo4FAjMc 4QSHt2PTn/XhnEH6sVXd3K/xoiXY5YgNKG++KOKhtEXn37TUWNHP5t5IwTm2A0qzo7 Ytxu7qHrpUefw== Date: Sun, 13 Aug 2023 18:25:42 +0100 From: Mark Brown To: Rob Herring Cc: Daniel Baluta , alsa-devel@alsa-project.org, kuninori.morimoto.gx@renesas.com, spujar@nvidia.com, tiwai@suse.com, perex@perex.cz, linux-kernel@vger.kernel.org, linux-imx@nxp.com, devicetree@vger.kernel.org, daniel.baluta@gmail.com Subject: Re: [PATCH 2/2] ASoC: dt-bindings: simple-card: Document new DAI flags playback-only/capture-only Message-ID: References: <20230801082433.548206-1-daniel.baluta@oss.nxp.com> <20230801082433.548206-3-daniel.baluta@oss.nxp.com> <20230811191236.GA3937407-robh@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2MQbhxQeL2I8OcPf" Content-Disposition: inline In-Reply-To: <20230811191236.GA3937407-robh@kernel.org> X-Cookie: Give him an evasive answer. X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --2MQbhxQeL2I8OcPf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 11, 2023 at 01:12:36PM -0600, Rob Herring wrote: > On Tue, Aug 01, 2023 at 11:24:33AM +0300, Daniel Baluta wrote: > > + playback-only: > > + description: dai-link is used only for playback > > + $ref: /schemas/types.yaml#/definitions/flag > > + capture-only: > > + description: dai-link is used only for capture > > + $ref: /schemas/types.yaml#/definitions/flag > Wouldn't this be implicit based on limitations in the either the cpu or= =20 > codec DAI? You can see cases where people just don't connect some of the signals for whatever reason so even if the two devices could do bidrectional audio the board can't, and there are also cases like the at91sam9g20ek where the DAI is connected for bidrectional audio but there's not actually any audio inputs you can connect (even loopbacks) for one of the directions so it's best to just mask things out from the user. --2MQbhxQeL2I8OcPf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmTZEhUACgkQJNaLcl1U h9AFoAf9GbJjlpdCljVFwIbGL4YEzDszN7Bqo2ShmBFc2t6+CJ3cFIZIe3xx0e/n Brz83l9paS8ptdkksscqnvp8FsIK91gGI4o2UamvpF46DI3+t6yJ9AiNmtnC9JQx WMVBqNK4gUmlLnvcwM6Esy3BBpHU4XkuOgacAyaOYc2r2Knztc1LQwgk3Kmm4KGx FeESWRjTKDsFT1YjCOHgYEG4LRg5zoClyuL8O4DlzJ3suQwpjPogqoWVRexP/55A QAD8JtPo190LjiOWsp1qxVkNba/KRPADOS4KqBeQM+YFmcOW92E30t+0wdLthv5W Y5oiKJ0YF/0pprKQ+nTij4kxyPxokQ== =yaLR -----END PGP SIGNATURE----- --2MQbhxQeL2I8OcPf--