Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp704371ybl; Fri, 16 Aug 2019 02:39:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqxSUmRJxoaZYlLU924kOXhCFEYoZMjUkRrjhIWAsCZbWVFj2EjjvfOXbI+vPYrv4cqLq8IP X-Received: by 2002:a17:902:8f95:: with SMTP id z21mr8485064plo.42.1565948381679; Fri, 16 Aug 2019 02:39:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565948381; cv=none; d=google.com; s=arc-20160816; b=sUeEMa9Yz3Y/jNK9O2i0YjLAZVdhyR3Huy2NXdM6iJiMHgO9Rh3Ln7jzxAmFDT/TnE aXXcCwsLROpP1tkURiaycpbbGYWyBmD5fGqJIRLH40zI6UfpzRWkc9yID3Q6gbkWgdKb wGnLicNBiB+29QpFxEu6Ufh11qO6a8nOa6W7T6uXOqZ5ZP2d8VjMj51mCcr0LASIDZfq UR04YfXrT0AhU07aACPOJw6Giq2I/C+PuuGkzrngAsdgJz0O6YiV4fBbv12CD40VAg/0 5bSL4OlwWeI0MtD6s155EwluqkfjmGiVQkZjGgLa8WwMke6b5xqo3WqTW1Kt7W+KCu4W VYNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:mime-version:user-agent:date :message-id:subject:autocrypt:openpgp:from:references:cc:to; bh=KiLN3IS0IOGz+gTKTPns4WYvOI+X++yy29npz6uC10s=; b=sDoINdOg2NDZgp9wmUlh6hSKqk0iQOaLXvlh42iLJ8PXahnpGFiOLOm406SkBR5zX2 LtiSM5Ix+vuErTpeM5Qcb1E9AbMqFRgT0nekdUMn0Jqf84gvqIMsDBHSXPtdhHVZtaFE vnc6+UPN5Ydynr8bAVwQ1tWtugU0Q//zBvsYzKqItscfXlMN8WEQt3AxGoTKsScDIY+e rS5P5HzBiEpLx1GISHoo6HJ2IqT04NQcps78VJdVoxuT6NbOVG7fEfCkNOZkSxHo19tw pOyuCfCec/6CPcSqy0Vns+LuUxv6TCVvctsem5mAts7f84oCXFSy2FKdL0+Mf0FVyO8n Px/Q== 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 cu3si2667954pjb.74.2019.08.16.02.39.22; Fri, 16 Aug 2019 02:39:41 -0700 (PDT) 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 S1726998AbfHPJin (ORCPT + 99 others); Fri, 16 Aug 2019 05:38:43 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:37669 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726867AbfHPJim (ORCPT ); Fri, 16 Aug 2019 05:38:42 -0400 Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=bjornoya.blackshift.org) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1hyYgv-0008Nu-4x; Fri, 16 Aug 2019 11:38:37 +0200 Received: from [IPv6:2001:67c:670:202:595f:209f:a34b:fbc1] (unknown [IPv6:2001:67c:670:202:595f:209f:a34b:fbc1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mkl@blackshift.org", Issuer "StartCom Class 1 Client CA" (not verified)) (Authenticated sender: mkl@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id C1F0B4466F4; Fri, 16 Aug 2019 09:38:33 +0000 (UTC) To: Dan Murphy , wg@grandegger.com, davem@davemloft.net Cc: linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20190509161109.10499-1-dmurphy@ti.com> <20190509161109.10499-3-dmurphy@ti.com> From: Marc Kleine-Budde Openpgp: preference=signencrypt Autocrypt: addr=mkl@pengutronix.de; prefer-encrypt=mutual; keydata= mQINBFFVq30BEACtnSvtXHoeHJxG6nRULcvlkW6RuNwHKmrqoksispp43X8+nwqIFYgb8UaX zu8T6kZP2wEIpM9RjEL3jdBjZNCsjSS6x1qzpc2+2ivjdiJsqeaagIgvy2JWy7vUa4/PyGfx QyUeXOxdj59DvLwAx8I6hOgeHx2X/ntKAMUxwawYfPZpP3gwTNKc27dJWSomOLgp+gbmOmgc 6U5KwhAxPTEb3CsT5RicsC+uQQFumdl5I6XS+pbeXZndXwnj5t84M+HEj7RN6bUfV2WZO/AB Xt5+qFkC/AVUcj/dcHvZwQJlGeZxoi4veCoOT2MYqfR0ax1MmN+LVRvKm29oSyD4Ts/97cbs XsZDRxnEG3z/7Winiv0ZanclA7v7CQwrzsbpCv+oj+zokGuKasofzKdpywkjAfSE1zTyF+8K nxBAmzwEqeQ3iKqBc3AcCseqSPX53mPqmwvNVS2GqBpnOfY7Mxr1AEmxdEcRYbhG6Xdn+ACq Dq0Db3A++3PhMSaOu125uIAIwMXRJIzCXYSqXo8NIeo9tobk0C/9w3fUfMTrBDtSviLHqlp8 eQEP8+TDSmRP/CwmFHv36jd+XGmBHzW5I7qw0OORRwNFYBeEuiOIgxAfjjbLGHh9SRwEqXAL kw+WVTwh0MN1k7I9/CDVlGvc3yIKS0sA+wudYiselXzgLuP5cQARAQABtCZNYXJjIEtsZWlu ZS1CdWRkZSA8bWtsQHBlbmd1d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wY iSXKOl4fFCh2Peo7qYmFUaDdyiCxvFm+YcIeMZ8wO5udzkjDtP4lWKAn4tUcdcwMOT5d0I3q WATP4wFI8QktNBqF3VY47HFwF9PtNuOZIqeAquKezywUc5KqKdqEWCPx9pfLxBAh3GW2Zfjp lP6A5upKs2ktDZOC2HZXP4IJ1GTk8hnfS4ade8s9FNcwu9m3JlxcGKLPq5DnIbPVQI1UUR4F QyAqTtIdSpeFYbvH8D7pO4lxLSz2ZyBMk+aKKs6GL5MqEci8OcFW Subject: Re: [PATCH v12 3/5] dt-bindings: can: tcan4x5x: Add DT bindings for TCAN4x5X driver Message-ID: Date: Fri, 16 Aug 2019 11:38:30 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190509161109.10499-3-dmurphy@ti.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aBUzk5kBxcksCMQiGzZKo8fIFHJb9btJx" 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --aBUzk5kBxcksCMQiGzZKo8fIFHJb9btJx Content-Type: multipart/mixed; boundary="q6QniM5YBwprqSKHFOCHjmzVW0QcEIZcF"; protected-headers="v1" From: Marc Kleine-Budde To: Dan Murphy , wg@grandegger.com, davem@davemloft.net Cc: linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: Subject: Re: [PATCH v12 3/5] dt-bindings: can: tcan4x5x: Add DT bindings for TCAN4x5X driver References: <20190509161109.10499-1-dmurphy@ti.com> <20190509161109.10499-3-dmurphy@ti.com> In-Reply-To: <20190509161109.10499-3-dmurphy@ti.com> --q6QniM5YBwprqSKHFOCHjmzVW0QcEIZcF Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: quoted-printable On 5/9/19 6:11 PM, Dan Murphy wrote: > DT binding documentation for TI TCAN4x5x driver. >=20 > Signed-off-by: Dan Murphy > --- >=20 > v12 - No changes - https://lore.kernel.org/patchwork/patch/1052300/ >=20 > v11 - No changes - https://lore.kernel.org/patchwork/patch/1051178/ > v10 - No changes - https://lore.kernel.org/patchwork/patch/1050488/ > v9 - No Changes - https://lore.kernel.org/patchwork/patch/1050118/ > v8 - No Changes - https://lore.kernel.org/patchwork/patch/1047981/ > v7 - Made device state optional - https://lore.kernel.org/patchwork/pat= ch/1047218/ > v6 - No changes - https://lore.kernel.org/patchwork/patch/1042445/ >=20 > .../devicetree/bindings/net/can/tcan4x5x.txt | 37 +++++++++++++++++++= > 1 file changed, 37 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/can/tcan4x5x.= txt >=20 > diff --git a/Documentation/devicetree/bindings/net/can/tcan4x5x.txt b/D= ocumentation/devicetree/bindings/net/can/tcan4x5x.txt > new file mode 100644 > index 000000000000..c388f7d9feb1 > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/can/tcan4x5x.txt > @@ -0,0 +1,37 @@ > +Texas Instruments TCAN4x5x CAN Controller > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +This file provides device node information for the TCAN4x5x interface = contains. > + > +Required properties: > + - compatible: "ti,tcan4x5x" > + - reg: 0 > + - #address-cells: 1 > + - #size-cells: 0 > + - spi-max-frequency: Maximum frequency of the SPI bus the chip can > + operate at should be less than or equal to 18 MHz. > + - data-ready-gpios: Interrupt GPIO for data and error reporting. > + - device-wake-gpios: Wake up GPIO to wake up the TCAN device. > + > +See Documentation/devicetree/bindings/net/can/m_can.txt for additional= > +required property details. > + > +Optional properties: > + - reset-gpios: Hardwired output GPIO. If not defined then software > + reset. > + - device-state-gpios: Input GPIO that indicates if the device is in > + a sleep state or if the device is active. > + > +Example: > +tcan4x5x: tcan4x5x@0 { > + compatible =3D "ti,tcan4x5x"; > + reg =3D <0>; > + #address-cells =3D <1>; > + #size-cells =3D <1>; > + spi-max-frequency =3D <10000000>; > + bosch,mram-cfg =3D <0x0 0 0 32 0 0 1 1>; > + data-ready-gpios =3D <&gpio1 14 GPIO_ACTIVE_LOW>; Can you convert this into a proper interrupt property? E.g.: > interrupt-parent =3D <&gpio4>; > interrupts =3D <13 0x2>; See: https://elixir.bootlin.com/linux/latest/source/Documentation/devicetree/b= indings/net/can/microchip,mcp251x.txt#L21 https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git/tr= ee/drivers/net/can/spi/mcp251x.c?h=3Dmcp251x#n945 > + device-state-gpios =3D <&gpio3 21 GPIO_ACTIVE_HIGH>; > + device-wake-gpios =3D <&gpio1 15 GPIO_ACTIVE_HIGH>; > + reset-gpios =3D <&gpio1 27 GPIO_ACTIVE_LOW>; > +}; 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 | --q6QniM5YBwprqSKHFOCHjmzVW0QcEIZcF-- --aBUzk5kBxcksCMQiGzZKo8fIFHJb9btJx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEmvEkXzgOfc881GuFWsYho5HknSAFAl1WeZYACgkQWsYho5Hk nSBTlwf/UKOIilK+QTWjdNPICt6931qej73qUpCyoXPrpGem3p9JQ75TWAnwtpoH JrzeqtaAkV2BuGWkF22JtdALqQWlLXniKBBr8jvYK7oVBP51eFm1Yu70ta5lztOo Pr8SsTNW0/ey/4b8hygkpmQnuQIlOYWo1v+YK4IccEz9EbkyOVrg2aj/dvGzaVga TMWmmKtpAjB8Cy0Rn1Ygf/zxs8AvCKFhMRnz2jabe/dxUAsxw3lKiW3fiJ8I6OMv 6Ra0kKf9nlZibQ70TUu/LX6X4rAf7U+SZ/IWAk1LoOtiySC6hn0r4pn9Oxvary2i AVXO0fgo63K2OiIFDldCsTiyluylJA== =0DaQ -----END PGP SIGNATURE----- --aBUzk5kBxcksCMQiGzZKo8fIFHJb9btJx--