From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755256AbcBBWbS (ORCPT ); Tue, 2 Feb 2016 17:31:18 -0500 Received: from down.free-electrons.com ([37.187.137.238]:56730 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752906AbcBBWbR (ORCPT ); Tue, 2 Feb 2016 17:31:17 -0500 Date: Tue, 2 Feb 2016 23:31:15 +0100 From: Maxime Ripard To: codekipper@gmail.com Cc: linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, lgirdwood@gmail.com, broonie@kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, be17068@iperbole.bo.it Subject: Re: [PATCH v3 1/2] dt-bindings: add sun4i SPDIF transceiver bindings Message-ID: <20160202223115.GE4652@lukather> References: <1454424594-25208-1-git-send-email-codekipper@gmail.com> <1454424594-25208-2-git-send-email-codekipper@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cseAwlqrBzmhRTxO" Content-Disposition: inline In-Reply-To: <1454424594-25208-2-git-send-email-codekipper@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --cseAwlqrBzmhRTxO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Tue, Feb 02, 2016 at 03:49:53PM +0100, codekipper@gmail.com wrote: > From: Marcus Cooper >=20 > Add devicetree bindings for the SPDIF transceiver found on > found on Allwinners A10 and A20 SoCs. >=20 > Signed-off-by: Marcus Cooper > --- > .../devicetree/bindings/sound/sun4i,spdif.txt | 46 ++++++++++++++++= ++++++ > 1 file changed, 46 insertions(+) > create mode 100644 Documentation/devicetree/bindings/sound/sun4i,spdif.t= xt >=20 > diff --git a/Documentation/devicetree/bindings/sound/sun4i,spdif.txt b/Do= cumentation/devicetree/bindings/sound/sun4i,spdif.txt > new file mode 100644 > index 0000000..55ed2f6 > --- /dev/null > +++ b/Documentation/devicetree/bindings/sound/sun4i,spdif.txt > @@ -0,0 +1,46 @@ > +Allwinner Sony/Philips Digital Interface Format (S/PDIF) Controller > + > +The Allwinner S/PDIF audio block is a transceiver that allows the > +processor to receive and transmit digital audio via an coaxial cable or > +a fibre cable. > + > +Required properties: > + > + - compatible : should be one of the following: > + - "allwinner,sun4i-a10-spdif": for the Allwinner A10 SoC > + > + - reg : Offset and length of the register set for the device. > + > + - interrupts : Contains the spdif interrupt. > + > + - dmas : Generic dma devicetree binding as described in > + Documentation/devicetree/bindings/dma/dma.txt. > + > + - dma-names : Two dmas have to be defined, "tx" and "rx". > + > + - clocks : Contains an entry for each entry in clock-names. > + > + - clock-names : Includes the following entries: > + "apb" clock for the spdif bus. > + "spdif" clock for spdif controller. > + > +Optional: > + > + - spdif-in : Enable block for capturing an SPDIF signal. > + > + - spdif-out : Enable block for transmitting an SPDIF signal. Is that a generic property? What values can it hold? Thanks, Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --cseAwlqrBzmhRTxO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWsS4zAAoJEBx+YmzsjxAgugoP/1zktkCCEh/PJ395gAARuOCX Yy/n6RA0YHXSOtnvnBAyua/S2s35e5YggY8E5vQSbpQcjpZ+DjC1g6qC0jk6oqQy bEaI5/UtzZd+1ozvX/4dVJ34FqWt7TP5avyg2QmlNAYKylC0oBCEO1rDP169UxRT 3jNaPVEhp9UMc14emU9kxfcnj8+nV+a/UMbTjLTYUGXBwIMRP+62s5iyeOGHPXKu GUHYjt7JbeTyiZhLHq/65KxhHXl7mHKm0d1uzUSp2ABT2wrs7fUOb75Y1EOm6Lyd q7XcMNPXSWh+VrHwmfh3n9FqeM1J7DPfTyDdF1g9+xPYW7tAfdFnXrlRgdl0qs8+ cqdjtesjLxYnb0XZAdE7wet86r1ay/9HqANgdP4UgvzNIIxGFvMkkVFvIuYKkGBs 5Lz5YAHV3MeTIrA8obPzjFgm3iBDxntmIlodq62MItOKkOiMMsVwYQlqcaeo2ls9 tv0zGosXdyAc1pMoZ4bfPLSfZFP681dicIGIzuByrndmcJBINRq4puTVIU1emMu/ TwX79O9kB/lfSBmEUtLggP7ZLfQf2z07bl78XTqbq/SemwxUJUcGc9p5uoAFOh9k UX5yVF8W9vZcEXZSLZh5TB+W/Z3ve0DyW23D8Q6BDej+W0acetMrUGBb3DO7CgRc 0PO2n2kchmQ65sNT2kzb =Fmdc -----END PGP SIGNATURE----- --cseAwlqrBzmhRTxO--