From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752906AbcFBIQz (ORCPT ); Thu, 2 Jun 2016 04:16:55 -0400 Received: from down.free-electrons.com ([37.187.137.238]:40614 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752502AbcFBIQu (ORCPT ); Thu, 2 Jun 2016 04:16:50 -0400 Date: Thu, 2 Jun 2016 10:16:38 +0200 From: Maxime Ripard To: Julian Calaby Cc: luoyi.ly@gmail.com, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , Chen-Yu Tsai , devicetree , "Mailing List, Arm" , "linux-kernel@vger.kernel.org" , linux-sunxi Subject: Re: [linux-sunxi] [PATCH] [V2] ARM: dts: sun7i: Add dts file for Bananapi M1 Plus board Message-ID: <20160602081638.GG4908@lukather> References: <20160602023623.5761-1-luoyi.ly@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="K3Y3NTg/qyuIFs24" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --K3Y3NTg/qyuIFs24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 02, 2016 at 12:55:23PM +1000, Julian Calaby wrote: > Hi Luo yi, >=20 > On Thu, Jun 2, 2016 at 12:36 PM, wrote: > > From: Luo Yi > > > > Add support for the Bananapi M1 Plus A20 development board from > > sinovoip.com.cn . This board is nearly a clone of the Lemaker's > > Bananapro, but differ with the wlan chipset connection and i2s pinout. > > And I also enable the integrated audio codec on default. >=20 > No signed-off-by. >=20 > > --- > > arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts | 72 ++++++++++++++++= ++++++++ > > 1 file changed, 72 insertions(+) > > create mode 100644 arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts > > > > diff --git a/arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts b/arch/ar= m/boot/dts/sun7i-a20-bananapi-m1-plus.dts > > new file mode 100644 > > index 0000000..6fd55d7 > > --- /dev/null > > +++ b/arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts > > @@ -0,0 +1,72 @@ > > +/* > > + * Copyright 2016 Luo Yi > > + * > > + * This file is dual-licensed: you can use it either under the terms > > + * of the GPL or the X11 license, at your option. Note that this dual > > + * licensing only applies to this file, and not this project as a > > + * whole. > > + * > > + * a) This file is free software; you can redistribute it and/or > > + * modify it under the terms of the GNU General Public License as > > + * published by the Free Software Foundation; either version 2 of = the > > + * License, or (at your option) any later version. > > + * > > + * This file is distributed in the hope that it will be useful, > > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > + * GNU General Public License for more details. > > + * > > + * Or, alternatively, > > + * > > + * b) Permission is hereby granted, free of charge, to any person > > + * obtaining a copy of this software and associated documentation > > + * files (the "Software"), to deal in the Software without > > + * restriction, including without limitation the rights to use, > > + * copy, modify, merge, publish, distribute, sublicense, and/or > > + * sell copies of the Software, and to permit persons to whom the > > + * Software is furnished to do so, subject to the following > > + * conditions: > > + * > > + * The above copyright notice and this permission notice shall be > > + * included in all copies or substantial portions of the Software. > > + * > > + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, > > + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES > > + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND > > + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT > > + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, > > + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING > > + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR > > + * OTHER DEALINGS IN THE SOFTWARE. > > + */ > > + > > +#include "sun7i-a20-bananapro.dts" > > + > > +/ { > > + model =3D "Banana Pi BPI-M1-Plus"; > > + compatible =3D "sinovoip,bpi-m1-plus", "allwinner,sun7i-a20"; > > +}; > > + > > + >=20 > Extra line. >=20 > > +&codec { > > + status =3D "okay"; > > +}; >=20 > Does anyone know if this should be enabled on the bananapro too? Yes, everything that is shared with the banana-pro (which, judging =66rom Bernhard, is pretty much everything but a GPIO) should be merged in the banapro DT. Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --K3Y3NTg/qyuIFs24 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJXT+tmAAoJEBx+YmzsjxAgZtEP/jQJG2cPyoFeeL0d1Vrm60u+ nwvk5W7KxNfZ03e+7IfmYDoLp+jd5iaiBTXVfEw6b6q9Lr6111AbgbyCpsMzTapO KVeg7JEcr522J5TQ6jv8viIl7GYHlzfY0TBmI0jFyPE17Ftm+Nra7H/mKZ6yJDza 7dluk667AblmRDbJ/wH/lVgDJZ98cxlc1FsOQkPO/wWoUyyD0oiacPkn8us91fmp o9NkgPTWFN4NYmABtWsF05+20xlwck/TIkQOpVnoUKvlHN5QMnjvjIBKgQ3pm+uX clXrruncz9d2GYOFYO0p0zYfXrl2X+WssXiERdH65ddVwaQOoFunnv5QjeyC1oMi n/tmqUyo4Dhg4nvh2fAmXVnoupNA12g783juwLBngwVqFC3495eaVq+/cbAlznm/ xMh2unOiDPUj/ZbbSmMyOR6R+/rkykhh3PYmcpBxEUijPv339w8PDTjI/Jutg33I u99gNZEznuFn/FtoOkKIMooNhIB2qFxAFQLz7LYM6ng0q1w2yXwKMgSa/UxODDee 9ULkDF40EK6bA0D7EQ9EjhSBPCBh9dJh1Tzr14ct5azLQUkuLvN+ukwbvDAyOWpu nLY8zAaXvYFESPD8SJZg5Ic+rOXwrtedLTNJfp/ahI2cysL8nxhU6uPq8NWeflBj 0Z6bayF2YeIH5EIBLIkK =0Lp8 -----END PGP SIGNATURE----- --K3Y3NTg/qyuIFs24--