Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp513842pxb; Wed, 15 Sep 2021 07:14:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwRxx/NoPRDuJjOXxWVUb/uJ2wJxPnU8iiA2CMRsBmW4hIIVx/lU0OUo5wjceVYy1EbJYy X-Received: by 2002:aa7:c9d6:: with SMTP id i22mr198872edt.307.1631715246552; Wed, 15 Sep 2021 07:14:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631715246; cv=none; d=google.com; s=arc-20160816; b=FPgCMV22sQYehEX4SbM4UdLdsMfLOYxzGJnauc6v5GzLqyZR0abWs2IKOg74hlUMiS hi/BClyEnIS/mf5SpszFWTb3ctvjbl2uj0eR6NfX5evcjRTNOkLuD97r7qEyBiPxdFVR AVloqW/9re6IVqS26nChE7EQK4KFRBnbqjXSn2tDafMybfwnvLixudMySXr4cl9CH38m kwsISfmD/Bi6mWz88/7KtpHyxTMCXZcjDVGNen845WLLBwiUlIR5t45FujH5Sj024Sd4 807uqCYEMRAjKIFcG5IZjBMEKjqLlyOnydISAbKlcfmrc9xoDovVtXPtctgvv+jYCXOe n28Q== 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=IFvhcMmFNvXqi4azl8defmi3pipifYt8o0WTu0S5Z6A=; b=zkd1k0uypabo76u9A+tJh8vcSFYpq8W1pW2Ksj2Mfc73n1X42/Dut4aaxPxINITXd2 dI+O1RaMtlovlLf7OWLcYnBzPuBdnvnPZjuJQlh6H6PJRPwFDIEqt9pWG0ZXoHDFHP7o wYto/LGMLCKJ/soDeSTqSA9Z0L+K2idXWHnv0vIdFbJO8TPA/N9SC7DHVmhwfu+vukkn e9iUPSCGHZhzSEEiWwzYVf6IfxkbKVEa+TZ0s5Wo7DPiuRrzx8PIkk6UCRvgf+SWF5z+ 5XiwPUwaxXDIk88uKpqM0CGCSitP2c6XjfOuoV1LPKfvXOFuC/dMrHRXLnXi72QunmXd djDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NhHMNxjD; 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 i11si56225edb.418.2021.09.15.07.13.38; Wed, 15 Sep 2021 07:14:06 -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=NhHMNxjD; 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 S233793AbhIOOMN (ORCPT + 99 others); Wed, 15 Sep 2021 10:12:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:58626 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234504AbhIOOMM (ORCPT ); Wed, 15 Sep 2021 10:12:12 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2D688611C1; Wed, 15 Sep 2021 14:10:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631715053; bh=YbvuYcfAW5Fjwy98n/gQJCW044gac9hZzpuoydBe/dQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NhHMNxjD3PIagYWukAJT16WejQu1Dbiq44S2cQuGmDemU2s0PzXskS0Mb6Irn2nY0 BvejqDNI6tgKrU1ojfMAGWva+cvxOeL1smppWSvCJUDTI7NVGjiBan1X2KNSHfm7Cv SSpy5IqfbXrxWkAx/ybCRQtL/d6EL853pp8VMM72yCXx3IQT/T5e6tI417NVsb0NcG apEMwbvZhpq0W4c93pt3BoeiITIqoc9OSZs4wJcnpAcw2hMTEjTT57GRqIozJsev+y lxg8x+/sbjcNbn/yBiGmplD1n/bTKDfkkMtprEac4uc6TZbXNEVB2zY8NoV8SVuzGK BaTvvFkw5hLng== Date: Wed, 15 Sep 2021 15:10:12 +0100 From: Mark Brown To: Nicolas Frattaroli Cc: Liam Girdwood , Rob Herring , Heiko Stuebner , linux-rockchip@lists.infradead.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 2/4] dt-bindings: sound: add rockchip i2s-tdm binding Message-ID: <20210915141012.GC12513@sirena.org.uk> References: <20210903231536.225540-1-frattaroli.nicolas@gmail.com> <20210903231536.225540-3-frattaroli.nicolas@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="XWOWbaMNXpFDWE00" Content-Disposition: inline In-Reply-To: <20210903231536.225540-3-frattaroli.nicolas@gmail.com> X-Cookie: The more the merrier. User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --XWOWbaMNXpFDWE00 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Sep 04, 2021 at 01:15:34AM +0200, Nicolas Frattaroli wrote: > + rockchip,frame-width: > + $ref: /schemas/types.yaml#/definitions/uint32 > + default: 64 > + minimum: 32 > + maximum: 512 > + description: > + Width of a frame, usually slot width multiplied by number of slots. > + Must be even. Why is this in the binding? This is normally configured by the machine driver setting the TDM slots, not through DT. > + rockchip,mclk-calibrate: > + description: > + Switch between two root clocks depending on the audio sample rate. > + For integer multiples of 8000 (e.g. 48000 Hz), mclk_root0 is used. > + For integer multiples of 11025 (e.g. 44100 Hz), mclk_root1 is used. > + type: boolean Why would we not want to do this, and assuming it's to do with availability can't we detect it simply through seeing if both MCLKs are available? > + rockchip,tdm-fsync-half-frame: > + description: Whether to use half frame fsync. > + type: boolean > + Why is this not part of the normal bus format configuration? I don't know what this is but it sounds a lot like I2S mode... --XWOWbaMNXpFDWE00 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmFB/sMACgkQJNaLcl1U h9AyVgf/R1hx+9U5odYrV/J4RA9uPRmhSRnrn3d9jvqBMcYWbZUVHv4dTKqn4SqK QUkjtLocXUuai3S1P/4XuaoN0HvXjNaPsGxo7967IUUgfxrWbRiBIsG+DQJiAMWS 95KX7lNSNmjf8ZGDY5LTp78M8fhzUpB0zedTNQw5D9r8aCHTBAmIUw+fKOJFlucS ndk/eJHrgcxpcvaVZX8nuRdgAfJpv/i4v4+K6I/dAHsiGOkbFwiJiOIZ+psy7wpr lp5ioBhSuQQEH/sA62y0nSDVXggOJEPp+APhIqeiGDTmiZ9gabhBClhDHQ3aylpJ 9vmhvE2NT59s90BGBWMnFEQfyqdk4A== =s91p -----END PGP SIGNATURE----- --XWOWbaMNXpFDWE00--