Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp614883pxb; Thu, 19 Aug 2021 07:19:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsHWkWT4gOCRERn9av/mUfORLtlb1F7pUTZxLqvhHmMxQYMeADEVJhPE/dTZx5/jXBWw5T X-Received: by 2002:a17:906:891:: with SMTP id n17mr15706282eje.164.1629382782292; Thu, 19 Aug 2021 07:19:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629382782; cv=none; d=google.com; s=arc-20160816; b=R/yKncp3Klu71/NZcQvFsR+Or8PZ8XcgpBwBFZE2sqErovA0Tm3qR2lbQ8gC5ovfHU l2F4C9Mrt9N9wWTL8zruWOh/GecEzB+HwJQeU53p28vhU/lIbhXabmIzNfgF8LAHoigK FOkLlVTL80pyNBlpBuXqkhMEPDK8xIFC9YUn+iVS443eWP7G6G+hJ7BjXO/8dNodjWlP bYJfX9XaCJViP3UZ08mu0+50lo7uQyZZvY2CcdfbcqC4Sx58r6gXEJjGQ0n/fgyh0vrr Se6yd/rdMxrMVxIDTNaw7zdWSeYoyZgbM5hfYZw1Je9rqBu5LkJmT4TeUFubTOomKmNX 14fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Ev5pNvEBBthgHXoHRbl6TW8cxxmCOkApXUYQuklk40Y=; b=S28QTMqBNzPSZ+Y1SD+AmWmJ0Fk3IqBd0rowWckRbWRzZULFRVQRA0RGs8B0jR15js qNokQXAbyp5ufQeFH6pV7iPhEfEJSm/VUR4/5dQtwmRoK8AhSASzNaxcvIQUifjjjSD3 GnhVjtsbK7dy/cItrJjwshnvV3CcJdMvx+4nbTDHoQLNNou5byGzYCie4RFN2MAXmd1U Nrg9rbTcJ42r1ph8W9wmJ96ZeZyu8JENMQ0gxzFMi3rD79XjADICJiwaVrIjh4atTck0 ll6I8LlLBVlzujjs50GncenhTnIqagbuEsFgayQMxZHle1yI7g9m9pjUwYTKVDpUov5P ru2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uFfLWw0X; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jg5si3809255ejc.378.2021.08.19.07.19.06; Thu, 19 Aug 2021 07:19:42 -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=@kernel.org header.s=k20201202 header.b=uFfLWw0X; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240452AbhHSORT (ORCPT + 99 others); Thu, 19 Aug 2021 10:17:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:38922 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235352AbhHSORS (ORCPT ); Thu, 19 Aug 2021 10:17:18 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 93D20610FF; Thu, 19 Aug 2021 14:16:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629382602; bh=0uMlC15O+oh23cQEELPSg5hsjxTkiutg1Dl14TuNA2s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uFfLWw0XVYjN0YeCEeOw9d34neLFdGyTTycyb0AKBzkKwvJw0RaJfoxI34JSe3WL1 r7GynOaqWvGHOGOvkhdR9yJ3VjEseQ8pGl1iwhmQ2ZVJwwnIkEojsezZkpmygbrq1i tU0zLeemaItq2qGwl4K/aWVCqzotZmIj21bza5ql2ZhSMAQw4Lych1rGy7qrZ5k9x+ i0249dOb5mCdV+lZ9eACZkjoYtTEEFCSo7DrjEYv56L9+y5jHdva/0+A6an8OgIpby zGnrg0Hhvmjh5dk9JY0eln2pqlu+HrE9B8y+I1r0cIkLuaOnyfZQisIMx6ph2kOnpN Tay5NsPYPQRcA== Date: Thu, 19 Aug 2021 15:16:17 +0100 From: Mark Brown To: Nicolas Frattaroli Cc: Liam Girdwood , Rob Herring , Heiko Stuebner , Robin Murphy , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/4] dt-bindings: sound: add rockchip i2s-tdm binding Message-ID: <20210819141617.GM4177@sirena.org.uk> References: <20210817101119.423853-1-frattaroli.nicolas@gmail.com> <20210817101119.423853-3-frattaroli.nicolas@gmail.com> <2412250.zZEsDtmPgG@archbook> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yklP1rR72f9kjNtc" Content-Disposition: inline In-Reply-To: <2412250.zZEsDtmPgG@archbook> X-Cookie: She sells cshs by the cshore. User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --yklP1rR72f9kjNtc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Aug 19, 2021 at 03:52:55PM +0200, Nicolas Frattaroli wrote: > On Donnerstag, 19. August 2021 14:08:36 CEST Robin Murphy wrote: > > > + rockchip,no-dmaengine: > > > + description: > > > + If present, driver will not register a pcm dmaengine, only the dai. > > > + If the dai is part of multi-dais, the property should be present. > > > + type: boolean > > That sounds a lot more like a policy decision specific to the Linux > > driver implementation, than something which really belongs in DT as a > > description of the platform. > I agree. Should I be refactoring this into a module parameter or > something along those lines? I'm unsure of where this goes. Why is this even required? What is "multi-dais" and why would registering the DMA stuff cause a problem? > The particular configuration may even vary per-board; an I2S/TDM > controller may be connected to an external codec which does not > support capture, whereas on another board it may be connected to > one that does. If the external device doesn't support both directions then why does the driver for the I2S controller in the CPU care? The constraint handling code in the core will ensure that nothing tries to start something that isn't supported --yklP1rR72f9kjNtc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmEeZ7EACgkQJNaLcl1U h9BLTQf+NFP6G5gxloO6mI1KjGRABdmwB01kioQ+Wrt6Vw3VwRA/5Obtl1XcwDU6 sMmqKjIMhNgfSvDKESHfSDL7E32hYMKUMOXCpEYW2pCEjN2hEbdxVwP+hbIdsmel z+z+ISyW3zl6K1ndvLbeniqwEZOsGNiz1EUvTygFCMvHdd9Yuory3/nufj92owBJ RgRiuIZJ52nPD1hdPQY1MRpP+Us3DaP8RNHLrF+FlZVtaj/hPftEwt62oTCNI0KO iQv81p2ueGYvqIVzD50HGC7sSc5pB2iU3VQ72XlWusgkLYdU22rbVvXGZWSRoaq1 w8aXvCnwvc8ml4d7ZG4ROXBHzoY2oQ== =/YEY -----END PGP SIGNATURE----- --yklP1rR72f9kjNtc--