Received: by 10.213.65.68 with SMTP id h4csp208843imn; Tue, 13 Mar 2018 01:24:48 -0700 (PDT) X-Google-Smtp-Source: AG47ELvM3tagfEFinWz6jHnx4tLsbfPEFdC86fMsxjUNgL1pRCQbOaP1Qfz4TnUb/y8DYhMhBgeL X-Received: by 10.98.155.93 with SMTP id r90mr10920755pfd.132.1520929488596; Tue, 13 Mar 2018 01:24:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520929488; cv=none; d=google.com; s=arc-20160816; b=TqbzFY7waz1s1b2sen6Zv5Cq3WyKrVNVoUWQwMqzaXXxaIfVFsWf5+VmuBJY8p599O kXrcIkQPFFvjZjHrbe9Qf/i1eDM5WlsFqsdWb+w+qOx8FtTD79egAavfIV26pM1F1Gb6 9/Jae2MO+oSsaSQ4vV9se4Y89oOhpN/mi1tP5V1LX1d21aXmaSqBGt7RftOybojTjlkt 31AdCqnX8MNIqjEY28ZtqS3FDS8J2RVQmNimAD1asMLoAEgBgB00wKSUpq5p+2B6fzwl FCC55RtyfSKP3vNZ4+b96KfgheUaNsXqQ8Bw4nu5lIZB+Os/KYfA/3QeCy004NRMllnH XCWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=higMZJkgaBW3kv1qpoRQ3Ftc/WzARlia3DS/cJZjVZs=; b=ubWDJZ9JHe+FFXOjK4ESvVEuqx4LE5pM8SZ8AyQWK7WxzPnt/q7yivKYkv4NXwL2df GWUPA1MAUMce0wZgA7AKJ7w+qLECDqa4SHOL1YfFS3t8E25NA3aNLwBcixHZ33QcJMXL fCZSjB6XNS/GRbIKK53i9ApOmtRruy95dGzN/bvHhAwpgoC4PwbpdIGBiH5xwG+1Sd9x F5kB7TaYEfaTqS/9xd7I6jPfrrcpa+D5iVqksbg8BFm0ly9w+lK1uVunqt0n53ZQdxGr s1/vc1pOkV8+0ZI/pYfPNJP0hmaXosCNfEXtURT/ON/FW7/30wTswOhadtYsqEjQLnbc YIyw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w71si6208868pgd.435.2018.03.13.01.24.33; Tue, 13 Mar 2018 01:24:48 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752206AbeCMIXk (ORCPT + 99 others); Tue, 13 Mar 2018 04:23:40 -0400 Received: from mail.bootlin.com ([62.4.15.54]:36724 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751977AbeCMIXj (ORCPT ); Tue, 13 Mar 2018 04:23:39 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 6A076203B1; Tue, 13 Mar 2018 09:23:37 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.bootlin.com (Postfix) with ESMTPSA id 13C1E200FB; Tue, 13 Mar 2018 09:23:37 +0100 (CET) Date: Tue, 13 Mar 2018 09:23:37 +0100 From: Maxime Ripard To: Code Kipper Cc: Chen-Yu Tsai , linux-sunxi , linux-arm-kernel , Liam Girdwood , Mark Brown , linux-kernel , Linux-ALSA , "Andrea Venturi (pers)" Subject: Re: [PATCH v2 4/6] ASoC: sun4i-i2s: Add multi-lane functionality Message-ID: <20180313082337.zekrzyx5utx5lkj6@flea> References: <20180312155753.9478-1-codekipper@gmail.com> <20180312155753.9478-5-codekipper@gmail.com> <20180313080026.jtag4w46koxzeqe2@flea> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4nv7gcidubzhyoxj" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180223 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --4nv7gcidubzhyoxj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 13, 2018 at 09:15:49AM +0100, Code Kipper wrote: > On 13 March 2018 at 09:00, Maxime Ripard wrot= e: > > On Mon, Mar 12, 2018 at 04:57:51PM +0100, codekipper@gmail.com wrote: > >> From: Marcus Cooper > >> > >> The i2s block supports multi-lane i2s output however this functionality > >> is only possible in earlier SoCs where the pins are exposed and for > >> the i2s block used for HDMI audio on the later SoCs. > >> > >> To enable this functionality, an optional property has been added to > >> the bindings. > >> > >> Signed-off-by: Marcus Cooper > >> --- > >> .../devicetree/bindings/sound/sun4i-i2s.txt | 3 ++ > >> sound/soc/sunxi/sun4i-i2s.c | 48 +++++++++++++= ++++----- > >> 2 files changed, 41 insertions(+), 10 deletions(-) > >> > >> diff --git a/Documentation/devicetree/bindings/sound/sun4i-i2s.txt b/D= ocumentation/devicetree/bindings/sound/sun4i-i2s.txt > >> index 48addef65b8f..3f966ac61b9e 100644 > >> --- a/Documentation/devicetree/bindings/sound/sun4i-i2s.txt > >> +++ b/Documentation/devicetree/bindings/sound/sun4i-i2s.txt > >> @@ -33,6 +33,9 @@ Optional properties: > >> configured to extend the slot width to t= he > >> value specified. Min 8, Max 32. > >> > >> +- allwinner,playback-channels: if this property is present then the = number > >> + of available channels is extended and the > >> + outputs enabled. > > > > Isn't it something that is fixed for each generation of SoCs? Can't we > > attach it to the compatible? >=20 > I'm not sure as the documentation is pretty poor. It looks like it is > supported by all of the variations that we've seen but only exposed as > pins on A10 and A20. I'm also not sure who would ever use it with > external devices. Well, you were saying that it was the case on the older SoCs in your commit log, so this needs to be figured out. > The reason why I've added it is that it is required by HDMI for > supporting surround sound on the newer SoCs. Why isn't that mentionned in your commit log? Can you post the whole set of changes needed for HDMI audio? this would make things much easier to see where you're going. Maxime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com --4nv7gcidubzhyoxj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlqniogACgkQ0rTAlCFN r3RAxQ/8CoPs/TVNfsl+Je+WRDpNM03fEf6niOFSSsQ20HHJWkMcHy4txWzgLq9+ 077+bQE26K2R0kEGtd1UPBNwIgRGwQE1nqBkmnsyfvnU4slsMHbypxHYjqj41TJG HGaNnzLEjwthPTKEg0PfiwQzZYNdaFv/8PgHYiUjr2xyvO5uYMXhKsv+8DubwBgF NoBXFqZ+dbutNPLmmY9yVastnKxB631WB3QMWTY/z6M+XTtEP6zMWRudQMGN1S9r 9Et5kPGM48HcJ9qyi6LZyfZ1JwEXJiyksb3tcgIQHOAE/oeMw3IoBh9FIQYx5+zu VALdP9qv4xknD8nLxaAoyz6FdU0vPfN6e/aoiXmmVEvTz5sR7CdlfbPatzswalUI 9A07Kt1L0GJGfJAPQO0FO6R2FOORKuTS4beCjUBdugYRheiF6Okt7TNuDvTOktO1 Uy8oDLbuIJo0etQm3ANJ8DPozchp3M18JQu/PZ7DU6plAeOujCtAfQUVeCOw3Cgt /Z8R/r9OQHWXDQiWNfPcO6XRfRYM/OJGXnTu3RgH/sQb3dXmF+pjgZYqVL97Jbw6 YGWVLGabodqAH4GdvA8QDlMVaYrFidOP1XkYMW3yf1LXmCCldr7Lif0Sz5ZMbmEJ psuys+U629tcER7OLIPlIR+9ZHlygfrBHznkGWgKQePcXndvAN0= =9gSg -----END PGP SIGNATURE----- --4nv7gcidubzhyoxj--