Received: by 10.213.65.68 with SMTP id h4csp301840imn; Tue, 13 Mar 2018 05:01:34 -0700 (PDT) X-Google-Smtp-Source: AG47ELsoIvji9NvqPWjWg2s13XO+p4CpkIb8elNLGnbWhvNzyMmaQWWFQRuwcGau2wLDs3HcmTM2 X-Received: by 10.101.96.212 with SMTP id r20mr280460pgv.139.1520942494587; Tue, 13 Mar 2018 05:01:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520942494; cv=none; d=google.com; s=arc-20160816; b=nQwryu415EZN+ATMIphAmWf3PMwTyXO/vD7iH0U02wPXdvOL2aXbbIlrS692Erk63w bRwBiBraVMKvsOx248oqWT9imik/dcmxhIvdPmsPVtZnFaPTSVq0cJDxkN4w2jvuSYNG DBklIo0T8fXvKKHSvt7g6bxWfygL93U3itxBvxNpOH12i4mVrZ2ba8CgTK14oNcs4uYi REBHpx2TGnSbUdcF4bziB6ILGeL7t3v3+R0kAljQKiSVa4tPyYDME+zgk0/WQaApDWij G6dsRU6+lL30PobjKdMTbq7BRkuiIT/nlHWuQG4vSjcl7NnlY11CL4d7RYoO+tlVUM3u 87NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=OX0eLzIT2ns7qOFhxm8YTrQ6rOmh9yEYNV5vWDwlewQ=; b=n3yA13Pu7dqZNw960+S78qkdepo76vq2kIAAQ07woc01zwkGZk2GmltPyoaLYU1UYq vxfBKfPsSBeeN5TWOuOl3iQaK4jd018aF8SsLn43ETkbb7Hh4yATTKFl/x+OOtXGVaWo RUAY7149OazZ8MpM77USsMyYb3v8mFz9Rmjap72tCgWXcdaauJTMmxN8V8+UxmeuYp+I SwGv0qNhomTfQ1dOIEIxUuyuPQMJQ71smVT4f/KqM6BP9oSJG6IuVEq5ud8G+Yf2I62s vH37hfgAMDM58YndKURLgcXNQri+/pMWf1+ugtrFivUgSDihh+f4CwMEyE//qziMMVWO 9HBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Qx4YAznx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w11si6414pgt.391.2018.03.13.05.01.19; Tue, 13 Mar 2018 05:01:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Qx4YAznx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932929AbeCMMAV (ORCPT + 99 others); Tue, 13 Mar 2018 08:00:21 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:32944 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752373AbeCMMAU (ORCPT ); Tue, 13 Mar 2018 08:00:20 -0400 Received: by mail-wr0-f193.google.com with SMTP id r8so6715271wrg.0 for ; Tue, 13 Mar 2018 05:00:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=OX0eLzIT2ns7qOFhxm8YTrQ6rOmh9yEYNV5vWDwlewQ=; b=Qx4YAznxSPRNuGRO16+zcdr5hePowYfPN8QFh0zJ9AoqOdeIcbMIFz7DTNCMaY/c27 ioFIv1Xdc4665G8v9HzhQEx+MsDxr52sjoFlZiypAgVVuqtE7XAwR5tfFKrmTGhBWUiq 2TN0fzxgG1obffL5aZpMRqZzHfprqbBLrY6YpKwAEB1/bPQ8uWR1kCNLyp8/0k0Rjv09 kueJT065IBHCsO6mrHXmHcyMU7VMSNy2NxfvDHY/5RC8XkT1Yg114xya8QWJDpUOvdhS w2xu4/2lyYv78ore+Je6iWtwBftyYeW/o3tBbCmk7/92b+5xK7+2+yGcOL5XIHMKpQOF aFxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=OX0eLzIT2ns7qOFhxm8YTrQ6rOmh9yEYNV5vWDwlewQ=; b=TozW9q+fp8zjCpPjA36klUFYrB5//sMli+jsUAeG2LlCXnDG+5KRemjumQeSCYPaCg /8k6v2GMIbwuLKaaegeAw2mJSg99pAyypTpwqOm7nl1nO8YajoRFbMgIF4Npx41yeP4B WkIW7dvUfZK/kKsdQ3KOC0S8o4dZuP/jxHuSq27y1tqSiJaX5X09uJnHc1JDy01c0N0s j1+lEqawFHF4jWxKokIyaIiPK02Ilcja4vQsWan8IIQ2Zkih64j0oTlD8BeEkjiYrK9C bvV/sx83Zy41VOPdA5KGnDFQscT6hZaW2GNLdFKilliCFAVCbJDdbgQyvd7j8QhD5mzl ZF8w== X-Gm-Message-State: AElRT7HsVl2FvO7owrXIP2jnGwxo5m1Ok4vb3blCBqvg536f0IasYXxo wTOsb1LJbbWvWp1lsSPgafVJJnZU5OnpAo14e0k= X-Received: by 10.223.163.93 with SMTP id d29mr328223wrb.187.1520942418878; Tue, 13 Mar 2018 05:00:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.174.196 with HTTP; Tue, 13 Mar 2018 04:59:58 -0700 (PDT) In-Reply-To: <20180312155753.9478-2-codekipper@gmail.com> References: <20180312155753.9478-1-codekipper@gmail.com> <20180312155753.9478-2-codekipper@gmail.com> From: Julian Calaby Date: Tue, 13 Mar 2018 22:59:58 +1100 Message-ID: Subject: Re: [linux-sunxi] [PATCH v2 1/6] ASoC: sun4i-i2s: Add slot width override To: Code Kipper Cc: Maxime Ripard , Chen-Yu Tsai , linux-sunxi , "Mailing List, Arm" , Liam Girdwood , Mark Brown , "linux-kernel@vger.kernel.org" , alsa-devel@alsa-project.org, be17068@iperbole.bo.it Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marcus, On Tue, Mar 13, 2018 at 2:57 AM, wrote: > From: Marcus Cooper > > Some codecs require a different amount of a bit clocks per frame > than what is calculated by using the sample width. Use a slot > width override property to provide this mechanism. > > Signed-off-by: Marcus Cooper > --- > Documentation/devicetree/bindings/sound/sun4i-i2s.txt | 5 +++++ > sound/soc/sunxi/sun4i-i2s.c | 15 ++++++++++++--- > 2 files changed, 17 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/sound/sun4i-i2s.txt b/Documentation/devicetree/bindings/sound/sun4i-i2s.txt > index b9d50d6cdef3..48addef65b8f 100644 > --- a/Documentation/devicetree/bindings/sound/sun4i-i2s.txt > +++ b/Documentation/devicetree/bindings/sound/sun4i-i2s.txt > @@ -28,6 +28,11 @@ Required properties for the following compatibles: > - "allwinner,sun8i-h3-i2s" > - resets: phandle to the reset line for this codec > > +Optional properties: > +- allwinner,slot-width-override:if this property is present then the dai is > + configured to extend the slot width to the > + value specified. Min 8, Max 32. > + This sounds like something that would be useful for other I2S controllers. Thanks, -- Julian Calaby Email: julian.calaby@gmail.com Profile: http://www.google.com/profiles/julian.calaby/