Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp352137pxb; Wed, 14 Apr 2021 17:33:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkAV5/YLkqV9klKF5Bhn+Co7kRz322b8wLer8sx6EU59lX5238+yLO8pQEwNPCq5jtcDrA X-Received: by 2002:a63:d556:: with SMTP id v22mr953967pgi.310.1618446826208; Wed, 14 Apr 2021 17:33:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618446826; cv=none; d=google.com; s=arc-20160816; b=r273b4ZLLtxrnuf+YuG3As1GdWnBd1komZV5kPi1Mgn69yc+UCm9+yCIKRoGJufIwJ QTZpLH19zJ6+4Z3JPRMBHJcHao7cXZMdp2N9cKNIYe+5RW49Wc37yd+fMwKx8D7c5yOz z6XjrUElRvfHDdJ3YuHgyI37neEWg7U07nEcOYR/IX1OaW3Om25F0q3ynhoshXQhyhOn 5AK0yPe23/K2C4GCiLGllMR67lUV8l9ZEtlDABdO5J5JqFQgKZFSnnkkEle8R4PcDmUj VlcHvQaiuJ2wJhLETTVYOYBAemZU5DsH0Ly4X4mlHa4Ueukaar9KWqFuIjj+AbIRnv2E q3Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=c7GAfYpFbzm9M2aXlecF184hlWMv02KhoW+NXohFrQI=; b=s0McBtgZanBOWWzRA5YuQbDQJmTbQGmvlpJ4V4QXHSGWCdlo86SdOl1WwLpd72TEtz I923GkS665YaCizRd6Dqs1Dt747GgT0pSGBW0xZXSMBWFbDhPxemWNCg4hzd1M9NSRw6 pQ8gIHuoGLxP70FG6OV+1IiBJXd6yJNe0FB8t5OkoJAFjIV3Nf+fS25NTv/RcQ4txO6c QsAkAR5bmvbsU6JmFaX6PSiJjo0O5K8ZmMooEHw/0E0RDLcIfw88gbpbwMC56p1IX0a6 uqqFnAwMTNeVnN8m2+QlKMlNE3gWsYyd+kYSV30PoMZEuUKHfAaLD+IfMWPCr6AlNaFQ q20w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p23si1264122pgk.180.2021.04.14.17.33.33; Wed, 14 Apr 2021 17:33:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350436AbhDNPdy (ORCPT + 99 others); Wed, 14 Apr 2021 11:33:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350300AbhDNPdo (ORCPT ); Wed, 14 Apr 2021 11:33:44 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E293C06138C for ; Wed, 14 Apr 2021 08:33:22 -0700 (PDT) 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 1lWhVr-0004Ij-Pa; Wed, 14 Apr 2021 17:33:07 +0200 Received: from pengutronix.de (unknown [IPv6:2a03:f580:87bc:d400:69d2:43d8:822b:d361]) (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 did not present a certificate) (Authenticated sender: mkl-all@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id B6BBF60EA4F; Wed, 14 Apr 2021 15:33:04 +0000 (UTC) Date: Wed, 14 Apr 2021 17:33:03 +0200 From: Marc Kleine-Budde To: Aswath Govindraju Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-phy@lists.infradead.org, Chandrasekar Ramakrishnan , Wolfgang Grandegger , "David S . Miller" , Jakub Kicinski , Rob Herring , Kishon Vijay Abraham I , Vinod Koul , linux-can@vger.kernel.org, netdev@vger.kernel.org, Vignesh Raghavendra , Lokesh Vutla , Grygorii Strashko Subject: Re: [PATCH v2 3/6] dt-bindings: phy: Add binding for TI TCAN104x CAN transceivers Message-ID: <20210414153303.yig6bguue3g25yhg@pengutronix.de> References: <20210414140521.11463-1-a-govindraju@ti.com> <20210414140521.11463-4-a-govindraju@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ye5l67gk7hz5picn" Content-Disposition: inline In-Reply-To: <20210414140521.11463-4-a-govindraju@ti.com> 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ye5l67gk7hz5picn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 14.04.2021 19:35:18, Aswath Govindraju wrote: > Add binding documentation for TI TCAN104x CAN transceivers. >=20 > Signed-off-by: Aswath Govindraju > --- > .../bindings/phy/ti,tcan104x-can.yaml | 56 +++++++++++++++++++ > MAINTAINERS | 1 + > 2 files changed, 57 insertions(+) > create mode 100644 Documentation/devicetree/bindings/phy/ti,tcan104x-can= =2Eyaml >=20 > diff --git a/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml b= /Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml > new file mode 100644 > index 000000000000..4abfc30a97d0 > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml > @@ -0,0 +1,56 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/phy/ti,tcan104x-can.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" > + > +title: TCAN104x CAN TRANSCEIVER PHY > + > +maintainers: > + - Aswath Govindraju > + > +properties: > + $nodename: > + pattern: "^tcan104x-phy" > + > + compatible: > + enum: > + - ti,tcan1042 > + - ti,tcan1043 Can you ensure that the 1042 has only the standby gpio and the 1043 has bot= h? > + > + '#phy-cells': > + const: 0 > + > + standby-gpios: > + description: > + gpio node to toggle standby signal on transceiver > + maxItems: 1 > + > + enable-gpios: > + description: > + gpio node to toggle enable signal on transceiver > + maxItems: 1 > + > + max-bitrate: > + $ref: /schemas/types.yaml#/definitions/uint32 > + description: > + max bit rate supported in bps > + minimum: 1 > + > +required: > + - compatible > + - '#phy-cells' > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + transceiver1: tcan104x-phy { > + compatible =3D "ti,tcan1043"; > + #phy-cells =3D <0>; > + max-bitrate =3D <5000000>; > + standby-gpios =3D <&wakeup_gpio1 16 GPIO_ACTIVE_LOW>; > + enable-gpios =3D <&main_gpio1 67 GPIO_ACTIVE_LOW>; AFAICS the enable gpio is active high. Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | --ye5l67gk7hz5picn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEK3kIWJt9yTYMP3ehqclaivrt76kFAmB3Cy0ACgkQqclaivrt 76mT/Af/WbnwgQ+a+aRsKHyfyTWezRr8G7s1RJjQLJFVegSR6EulxFLwmut1kluw rSVTQwfdgixY+aZeufAxAcz7NrIJb80Lmc5iNj+ClFYPb/nVagJ2ctjiddJilJ56 df3vL1M2b4CUoE0fQN9MyfHeVKz81LY69QtXSOOdcgE+oTSOWUUpNFfpyVgtJHjN ZV8VGlxIt81gly02Gu1HZ2E0TDhRw9yy3dvGgh4hsckCaxCwwCon2MOOtmHRVKuF WqlJjpfd8jtdjG2WkKr/MnD4eqQR93nbnVzvBbyPxgqan/bN5vzXSAr+pwNRB0sS ejLqSWJS+Owu4gPtn1wDwDMyTz5jvA== =S3kp -----END PGP SIGNATURE----- --ye5l67gk7hz5picn--