From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754335AbbINM6d (ORCPT ); Mon, 14 Sep 2015 08:58:33 -0400 Received: from metis.ext.pengutronix.de ([92.198.50.35]:60949 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754043AbbINM6c (ORCPT ); Mon, 14 Sep 2015 08:58:32 -0400 Subject: Re: [PATCH v6 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: <1442235299-5885-1-git-send-email-info@gerhard-bertelsmann.de> <1442235299-5885-2-git-send-email-info@gerhard-bertelsmann.de> From: Marc Kleine-Budde Message-ID: <55F6C46D.7090203@pengutronix.de> Date: Mon, 14 Sep 2015 14:58:21 +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: <1442235299-5885-2-git-send-email-info@gerhard-bertelsmann.de> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="L9EJcg0wTGHoKgxVOcplLhfqBpFq5MhiU" 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) --L9EJcg0wTGHoKgxVOcplLhfqBpFq5MhiU Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/14/2015 02:54 PM, Gerhard Bertelsmann wrote: > Signed-off-by: Gerhard Bertelsmann > --- >=20 > .../devicetree/bindings/net/can/sun4i_can.txt | 37 + > 1 files changed, 37 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..b572e2b > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/can/sun4i_can.txt > @@ -0,0 +1,37 @@ > +Allwinner A10/A20 CAN controller Device Tree Bindings > +----------------------------------------------------- > + > +Required properties: > +- compatible: "allwinner,sunxican" > +- 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 { That's supposed to be a proper "@": can0@0 > + allwinner,pins =3D "PH20","PH21"; > + allwinner,function =3D "can"; > + allwinner,drive =3D <0>; > + allwinner,pull =3D <0>; > + }; > + > + can0: can 01c2bc00 { can0@01c2bc00 > + compatible =3D "allwinner,sunxican"; > + reg =3D <0x01c2bc00 0x400>; > + interrupts =3D <0 26 4>; > + clocks =3D <&apb1_gates 4>; > + status =3D "disabled"; > + }; > + > +Board specific .dts file: > + > + can0: can 01c2bc00 { can0@01c2bc00 > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&can0_pins_a>; > + status =3D "okay"; > + }; > + >=20 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 | --L9EJcg0wTGHoKgxVOcplLhfqBpFq5MhiU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCgAGBQJV9sRtAAoJEP5prqPJtc/HfLYIAJtqYMtePOE9hD6Il60R9Uxr T/BSdHQKv6g1++Hg2JKkGX+aBm+ZDEC2OYUX1eXKyBI7YoKspzY86P6oL8nLnhh8 vMs5pN1U4KRnE9YsUEgBV2q06NVrWPVIdR3mUHXhwyF7gfDk1Hx5zOnIFmCLc96F besFlyTdGh1LijNt/GWktjsFcN7+LEA1GuKChuYT5nw+iw9ljentiNkwjYlVQT2v oprcJuim31J+qgO5wQgLnA4gE63PtDbxT1bwQM3PRL/RkBpl5GnCCer2wU1kInEh wN8p2WJ6Z36sXHyD1Q3ZijmcYoBWJ29wK81mPpGodm2jipuja2WDKITs5UxpO20= =yLEO -----END PGP SIGNATURE----- --L9EJcg0wTGHoKgxVOcplLhfqBpFq5MhiU-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: mkl@pengutronix.de (Marc Kleine-Budde) Date: Mon, 14 Sep 2015 14:58:21 +0200 Subject: [PATCH v6 1/3] can: Allwinner A10/A20 CAN Controller support - Devicetree bindings In-Reply-To: <1442235299-5885-2-git-send-email-info@gerhard-bertelsmann.de> References: <1442235299-5885-1-git-send-email-info@gerhard-bertelsmann.de> <1442235299-5885-2-git-send-email-info@gerhard-bertelsmann.de> Message-ID: <55F6C46D.7090203@pengutronix.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 09/14/2015 02:54 PM, Gerhard Bertelsmann wrote: > Signed-off-by: Gerhard Bertelsmann > --- > > .../devicetree/bindings/net/can/sun4i_can.txt | 37 + > 1 files changed, 37 insertions(+) > > > 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..b572e2b > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/can/sun4i_can.txt > @@ -0,0 +1,37 @@ > +Allwinner A10/A20 CAN controller Device Tree Bindings > +----------------------------------------------------- > + > +Required properties: > +- compatible: "allwinner,sunxican" > +- reg: physical base address and size of the Allwinner A10/A20 CAN register map. > +- interrupts: interrupt specifier for the sole interrupt. > +- clock: phandle and clock specifier. > + > +Example > +------- > + > +SoC common .dtsi file: > + > + can0_pins_a: can0 0 { That's supposed to be a proper "@": can0 at 0 > + allwinner,pins = "PH20","PH21"; > + allwinner,function = "can"; > + allwinner,drive = <0>; > + allwinner,pull = <0>; > + }; > + > + can0: can 01c2bc00 { can0 at 01c2bc00 > + compatible = "allwinner,sunxican"; > + reg = <0x01c2bc00 0x400>; > + interrupts = <0 26 4>; > + clocks = <&apb1_gates 4>; > + status = "disabled"; > + }; > + > +Board specific .dts file: > + > + can0: can 01c2bc00 { can0 at 01c2bc00 > + pinctrl-names = "default"; > + pinctrl-0 = <&can0_pins_a>; > + status = "okay"; > + }; > + > Marc -- 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 | -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 455 bytes Desc: OpenPGP digital signature URL: