Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp538074imb; Fri, 1 Mar 2019 07:21:01 -0800 (PST) X-Google-Smtp-Source: APXvYqz4ijCv1Q42NQ2gupSY4bZTuVsagIi+IGPflEtcPJGTpMXtLbuXhxJldjw2DJPbK8vpPWUt X-Received: by 2002:a62:13da:: with SMTP id 87mr5990268pft.173.1551453661179; Fri, 01 Mar 2019 07:21:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551453661; cv=none; d=google.com; s=arc-20160816; b=YFhBFKXrMhBc+Adi1S5JSfl+6ikOytcM8Q2oecxB07Rraks1y3xgrI2unRcvJ3SD8M jLKB2sp8tiHmBQy+3B01W5UcyqQs+IK9Gn8Xda089QRgVeuQbiw0kl4SlZLEFcCB39a7 75FPIeClV8JVDVMtIDCmehF32zJjvnzRvW7V/LPyrv5XtYtDsB2jnr+wmBrSnvlkUVqA t7A2jtHJYlCgAysQ/0F+v8G7hQz2Z93O9uB5HVDXzsQuc33n78xUGyV6jx8S97ZcmvNm wbcbHAoy0vE/19hmuFpANFUPMST57oof3+//bBP0yg/wN1ECWlIaudDUUN/IuiCB1REp 6cFg== 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; bh=KuRA2MQ4yYk2EG8apcweiKUcgYYqY+Rmp+5Sfk7RYks=; b=cFf0LQD/FZkQHKpNMTJBhhYNne5hwNxGR6kfCFYK5CmIgVutQOY67efiA+/nGIPRG+ EhMj+31Mobuf50iGO0eMDPXhNel5OvMvcwHpHw2EyVztiS1I/5Z3+yd7p6Ua606S9SNp CMpGI+qv0CxMlV0Z2DIVg37ZvzidMxpqFe9K0/0ORmFoHbEGKDPxo8Byp+qwz0n6u0/2 4MVAYLfnGtHXvGwx1NMK4eZjj5Q3AV5tZUAWax35tdyvP2/clu31zUH70JYuDfPvi6IW 4t9bfckRnNRUHp2YL3XTorByak7HetlI9j8Dp2yqAIqw9+Ld4lBQJ/QqIrcOFjvOSa30 9PFA== 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 ck6si23497920plb.298.2019.03.01.07.20.45; Fri, 01 Mar 2019 07:21:01 -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; 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 S2388109AbfCAOgg (ORCPT + 99 others); Fri, 1 Mar 2019 09:36:36 -0500 Received: from relay10.mail.gandi.net ([217.70.178.230]:55741 "EHLO relay10.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387965AbfCAOgg (ORCPT ); Fri, 1 Mar 2019 09:36:36 -0500 Received: from localhost (aaubervilliers-681-1-27-150.w90-88.abo.wanadoo.fr [90.88.147.150]) (Authenticated sender: maxime.ripard@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id E2EBF240014; Fri, 1 Mar 2019 14:36:32 +0000 (UTC) Date: Fri, 1 Mar 2019 15:36:32 +0100 From: Maxime Ripard To: Andreas Kemnade 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: <20190301143632.kzlr4jphq3rceos6@flea> References: <20190228212840.24964-1-andreas@kemnade.info> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ib4bul6sb7rzbemi" Content-Disposition: inline In-Reply-To: <20190228212840.24964-1-andreas@kemnade.info> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ib4bul6sb7rzbemi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Thanks for your patch 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/arch/= 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"; > + }; You don't need any of those pinctrl nodes, GPIOs work fine without. Maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --ib4bul6sb7rzbemi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXHlDcAAKCRDj7w1vZxhR xWn6AP0cj7wtgn87Bf2OYGSm3A4wakfamsXePzKGD2jOfh+OUQD+PQr/iYkj+OYv 6IvLK6H+eNF9wjDGYohNflqd7siYuwo= =Wkrh -----END PGP SIGNATURE----- --ib4bul6sb7rzbemi--