Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp594392imb; Fri, 1 Mar 2019 08:43:57 -0800 (PST) X-Google-Smtp-Source: AHgI3Ibtz2XpjQB4ruG4L2L6lRuVjlUxMI5wzRvg00BHlGeaOrXreu3z3Q8O7xVcKRasml7kPgfz X-Received: by 2002:a62:e214:: with SMTP id a20mr6307465pfi.192.1551458637295; Fri, 01 Mar 2019 08:43:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551458637; cv=none; d=google.com; s=arc-20160816; b=k6BD0JJVriDUzv+/B6UoEMXaBVJqXeZKg2yjZP304jguV8BMLLMV7fpSPjHLt9tRy9 OsB17xLryHbTI3kmNs7gznRemqTCKkFUfM2BlgJ304ir9xpNwldCCMNZVY8F/V1EYeNT DHeB8duNwQfJSxsWRKqd0og4gTYfOvUgKW/COCKVj4sahK3hqyRIYJR16VeptcMBYd4m AHxyRcpc0QWWcRXtjpeDTNfdEuG/W/0YEqqkQ2r0aOVaMfr/LzQu4o6BiilOh05u93BR JEbyVrMJGC2z3dVEjgzWIPceDdw6IjH3vXfoi/DQub8ssURBIIbbiTOTC7DfgQukj0ck u+SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:dkim-signature; bh=e3cqRxxvKi9HlAZWtoJNjQ7NyDmW1rwXBuDYgIjRaH4=; b=l80KHwFo1ESzoNnplbepP+F8cKM/bkN9EZZ3+hne4/SqW5f9PWQ/1vRJ9VNqbOKi58 fMa+wOz+NXXqr+uVCf0CnrDbAMnU5e0cz+7aLH7dBRaAB2ZQ8c/KbQ3VulG746ocTU5u 4aIjVhal3sm0gGgEqMAU0FeX/msZ1XmwBD/wVDQDr1oOSsPM85YsjeqVcSjOWsVlWL11 AuSvIGQ0dOvo9Gb1I11kP6b2Z+NM7uNQ1xdCpA614QUrVfI15mapa5cBIvtAU9FoeKhF 1C11d3GxkDLERAJ4uehEpgn2n6F0o4Ef2+zFrRKljNr3sDoCgsopD2DxB1DIPQflq5i3 71zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b="GO8efw/t"; 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 cg7si22524891plb.127.2019.03.01.08.43.42; Fri, 01 Mar 2019 08:43:57 -0800 (PST) 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=fail header.i=@kemnade.info header.s=20180802 header.b="GO8efw/t"; 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 S2389171AbfCAQnQ (ORCPT + 99 others); Fri, 1 Mar 2019 11:43:16 -0500 Received: from mail.andi.de1.cc ([85.214.239.24]:39996 "EHLO h2641619.stratoserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728517AbfCAQnQ (ORCPT ); Fri, 1 Mar 2019 11:43:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20180802; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=e3cqRxxvKi9HlAZWtoJNjQ7NyDmW1rwXBuDYgIjRaH4=; b=GO8efw/tue5jU7+SjKmYRQKdO 813haTRrud4KS1TCBdtEh1J3hMf5cdaq9JHf7B+fMJVM2RhP2x3db9OJ4cAxnsYdyIh6nQJgdcHqa nWfLwTHdelgpn5fcfMiPZPr9z5XJa6RUon+XZHkEHPsu5DmpZk0xlb4DvN2u73NcAmkRY=; Received: from p5dcc388f.dip0.t-ipconnect.de ([93.204.56.143] helo=aktux) by h2641619.stratoserver.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gzlFV-0000LO-Qy; Fri, 01 Mar 2019 17:43:01 +0100 Date: Fri, 1 Mar 2019 17:42:49 +0100 From: Andreas Kemnade To: Maxime Ripard Cc: robh+dt@kernel.org, mark.rutland@arm.com, wens@csie.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: sun8i: h3: bluetooth for Banana Pi M2 Zero board Message-ID: <20190301174249.59cd960d@aktux> In-Reply-To: <20190301143632.kzlr4jphq3rceos6@flea> References: <20190228212840.24964-1-andreas@kemnade.info> <20190301143632.kzlr4jphq3rceos6@flea> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/0aemLcy6RyPSQCs9We_xvOu"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/0aemLcy6RyPSQCs9We_xvOu Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 1 Mar 2019 15:36:32 +0100 Maxime Ripard wrote: > Hi, >=20 > Thanks for your patch >=20 > On Thu, Feb 28, 2019 at 10:28:40PM +0100, Andreas Kemnade wrote: > > The Banana Pi M2 Zero board has an AP6212 BT+Wifi combo chip > > with broadcom internals attached to UART1 and some gpios. > > This addition is in line with similar boards > >=20 > > Signed-off-by: Andreas Kemnade > > --- > > .../boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts | 29 ++++++++++++++= ++++++++ > > 1 file changed, 29 insertions(+) > >=20 > > diff --git a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts b/arc= h/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts > > index 1db2541135a7..39e206fac4e3 100644 > > --- a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts > > +++ b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts > > @@ -69,6 +69,8 @@ > > compatible =3D "mmc-pwrseq-simple"; > > pinctrl-names =3D "default"; > > reset-gpios =3D <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 */ > > + clocks =3D <&rtc 1>; > > + clock-names =3D "ext_clock"; > > }; > > }; > > =20 > > @@ -122,7 +124,34 @@ > > &uart1 { > > pinctrl-names =3D "default"; > > pinctrl-0 =3D <&uart1_pins>, <&uart1_rts_cts_pins>; > > + uart-has-rtscts; > > status =3D "okay"; > > + > > + bluetooth { > > + compatible =3D "brcm,bcm43438-bt"; > > + pinctrl-names =3D "default"; > > + pinctrl-0 =3D <&bt_pins_out>, <&bt_pins_in>; > > + clocks =3D <&rtc 1>; > > + clock-names =3D "lpo"; > > + vbat-supply =3D <®_vcc3v3>; > > + vddio-supply =3D <®_vcc3v3>; > > + device-wakeup-gpios =3D <&pio 6 13 GPIO_ACTIVE_HIGH>; /* PG13 */ > > + host-wakeup-gpios =3D <&pio 6 11 GPIO_ACTIVE_HIGH>; /* PG11 */ > > + shutdown-gpios =3D <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */ > > + }; > > + > > +}; > > + > > +&pio { > > + bt_pins_out: bt_out { > > + pins =3D "PG12", "PG13"; > > + function =3D "gpio_out"; > > + }; > > + > > + bt_pins_in: bt_in { > > + pins =3D "PG11"; > > + function =3D "gpio_in"; > > + }; =20 >=20 > You don't need any of those pinctrl nodes, GPIOs work fine without. >=20 ok, that makes things easier. I will resend a v2 without them. Regards, Andreas --Sig_/0aemLcy6RyPSQCs9We_xvOu Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE7sDbhY5mwNpwYgrAfb1qx03ikyQFAlx5YQkACgkQfb1qx03i kyRfcxAAocObObjJgz3viX72ozjLYYWEsJ61fw6JUaBdH87Lh/gelf1uj+oVDKgH LMD7njYsISPqfDmfNwtkwIYu0/NTXqgEOd0WJSEIS4RvTSfTichIx3LpsuVxBdEU jw8xDa1f8SfgxMHoFcMxkzBXzcrxIqGELHy66n+NCj+e68vp1YZghFUbwmWbB0Qs Z0KWywIP0rTKRSwzPFS5py2f+EHuXiajwiAdirBnwaz4VDqSRtX/ysqPif7LQtyP 43INhJqI56FpbO2Jrj0ZvgMyopYIbyFD5V8iEGs+u3T9vwwtIYi0MAbIG8bCn8sz rTLjE8mb4IYqSZTCUIFiDH+fc5xcGz7kGPg2i3r/UC2TJ/rGkgH/WGk1VOH13GxT DJlRL3dxS/xo/p+HcOGSdP9QL/GftSzq+s8ik1jlv35KDcNkryQgxjPBsjlwPH6D YBpVnCgn8oYdHBJlzxZ/XgnlViJ8Q8cS+NJbAjtmR7GbLShYz7WicfTtc1HpPOr8 d9zBCadzvlrlHTuaZIonIw0agfeUa1+D16WzbXZ0drC/Xb29z3w03SfCwk/EhkRN LeJyNAsmbKMSDj5oC+ORA2Kd+tCMX8k75Xh7yLpXjeR32VwyhUYWQNuOkk0lVU9M 2+BVRs6eq9e8x/JP+1vVB4iGcGWYXppdH171yd3XR5cUpva48vE= =jpDM -----END PGP SIGNATURE----- --Sig_/0aemLcy6RyPSQCs9We_xvOu--