From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754012AbbIQIFf (ORCPT ); Thu, 17 Sep 2015 04:05:35 -0400 Received: from metis.ext.pengutronix.de ([92.198.50.35]:52014 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753513AbbIQIFV (ORCPT ); Thu, 17 Sep 2015 04:05:21 -0400 Subject: Re: [PATCH v8 1/3] can: Allwinner A10/A20 CAN Controller support - Devicetree bindings To: Gerhard Bertelsmann , wg@grandegger.com, maxime.ripard@free-electrons.com, linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <1442402482-7118-1-git-send-email-info@gerhard-bertelsmann.de> <1442402482-7118-2-git-send-email-info@gerhard-bertelsmann.de> From: Marc Kleine-Budde X-Enigmail-Draft-Status: N1110 Message-ID: <55FA7428.4030801@pengutronix.de> Date: Thu, 17 Sep 2015 10:04:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.1.0 MIME-Version: 1.0 In-Reply-To: <1442402482-7118-2-git-send-email-info@gerhard-bertelsmann.de> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="DnEEud09CUixDbdGAbIXlsqhF8WhuhQ60" X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --DnEEud09CUixDbdGAbIXlsqhF8WhuhQ60 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/16/2015 01:21 PM, Gerhard Bertelsmann wrote: > Devicetree bindings for Allwinner A10/A20 CAN >=20 > Signed-off-by: Gerhard Bertelsmann > --- >=20 > .../devicetree/bindings/net/can/sun4i_can.txt | 38 + > 1 files changed, 389 insertions(+) >=20 >=20 > diff --git a/Documentation/devicetree/bindings/net/can/sun4i_can.txt b/= Documentation/devicetree/bindings/net/can/sun4i_can.txt > new file mode 100644 > index 0000000..cd0f50c > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/can/sun4i_can.txt > @@ -0,0 +1,38 @@ > +Allwinner A10/A20 CAN controller Device Tree Bindings > +----------------------------------------------------- > + > +Required properties: > +- compatible: "allwinner,sun4i-a10-can" > +- reg: physical base address and size of the Allwinner A10/A20 CAN reg= ister map. > +- interrupts: interrupt specifier for the sole interrupt. > +- clock: phandle and clock specifier. > + > + > +Example > +------- > + > +SoC common .dtsi file: > + > + can0_pins_a: can0@0 { > + allwinner,pins =3D "PH20","PH21"; > + allwinner,function =3D "can"; > + allwinner,drive =3D <0>; > + allwinner,pull =3D <0>; > + }; > +... > + can0: can@01c2bc00 { > + compatible =3D "allwinner,sun4i-a10-can"; > + reg =3D <0x01c2bc00 0x400>; > + interrupts =3D <0 26 4>; > + clocks =3D <&apb1_gates 4>; > + status =3D "disabled"; > + }; What about adding this snippet to SoC where the CAN core is available? Maxime, what's the policy on sinxi? If you give me an Ack I'd like to take the series via linux-can-next (and to net-next) upstream. Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | --DnEEud09CUixDbdGAbIXlsqhF8WhuhQ60 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCgAGBQJV+nQoAAoJEP5prqPJtc/HGtoIAJRGX/E7oo+0++CedkT1OYMx b6yT4mpAwfLOqcWFQJoNfEQNUcudbHQswBkfFnIKaRFp1HxHnXndqD9zSrDS3gK3 ZbYh8F37oxi4Tv9qJaN4/nvEG92g2HdRFCuhvisGJhrCTZCnhZE1Fy3BEy9wfvw/ s/3YhrLrXNnbsIc7MfgL7oeS5bkQJTmZV3oxFJb3yEmhl9DKUQJPg3IcGQVzr7Gv SEaFWtOtJW8kXhXVlei5SOcFseEMw60KjFehOEg3KZ55ValmKuWrn21Kj5T5wIJY Y3MTnSuVyNJAy8CeRpI0VeKQylxgM6dEZmX+0u4+GmMIATtG6vpiUj2nLpgjcJE= =7blM -----END PGP SIGNATURE----- --DnEEud09CUixDbdGAbIXlsqhF8WhuhQ60--