Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp50724pxb; Thu, 15 Apr 2021 22:30:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySU6xZvh/RzJJnU70v1YosfpIXwu1r/9KtQ+8P0uVGq7ursacWHrDiGxRTlP7CDNZ9GhGf X-Received: by 2002:a63:175c:: with SMTP id 28mr6430351pgx.376.1618551014921; Thu, 15 Apr 2021 22:30:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618551014; cv=none; d=google.com; s=arc-20160816; b=R9YwbubS5/K0l7ghWstoKmyPYRO2gG5Qgp6FzTIQalRzpOtdB7zQ7DUGlkP3nz0wx4 9Pt0vfGij7JHi2Jn/ck9KRQuo5sdN4o5XM/dh5Jy/MAyyZUvce+j+6lGUMXcjjXoO3ao o65iOEPTdHbrgKVg4Q0VPLo+WLKlPtLUXMGQpxrQtEJD2+OtJuSMbq3QB4FW/kBDDUmb 2SASiT7MNSjLGWxWY9QMMipFVqp57GtnSk+ykFjDAjS3kpJiypUMlYXNeyLl9VizWj+d OUgV3urY20cg8EQHHo0I9KMi2IM+6ktmtKjOK3AZtqdYRtaKm8Jw/qKXS0cOX/GSPFWm 4HyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:mime-version:references:in-reply-to :message-id:date:subject:cc:from:dkim-signature; bh=MelUBgWsylW80+RVjogTPjEFvjvSH2ZwkORUG97pKnw=; b=Us/nBiD2JSjpwiK2waJN4vqzva0Pv5183qolzxHI/X3mQHoSWqvbAwUX61uEkvYRSx HHMfkXuIuD/5GOCIIh22dWBrt1eFwLHmuE8/TZyJ24W8X0Qe8zHHZHGATOXcy2DVKrT3 e6IhjLKLchypbtpKRm9QQRkrSu739A7STHUYvWG7+R0uWHcJEgWQahidx4CgWk19DidY UKUS4vwn+vpD3uEB/KVmgS4HqGN3NiQaYOw0smIjbpratjfewPZqToPWvN4rGy07W7pD hMUAWSB2pLjTAELrZVkx3OeWSZ9vy/jz7VpTbWZNwAV9lu9ahJM4ldgC7zhVeNEALSv4 1rAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ti.com header.s=ti-com-17Q1 header.b=X1yWw5EW; 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; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j17si5802563pgb.342.2021.04.15.22.30.02; Thu, 15 Apr 2021 22:30:14 -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; dkim=fail header.i=@ti.com header.s=ti-com-17Q1 header.b=X1yWw5EW; 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; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238001AbhDPF1i (ORCPT + 99 others); Fri, 16 Apr 2021 01:27:38 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:52460 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237117AbhDPF1b (ORCPT ); Fri, 16 Apr 2021 01:27:31 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 13G5R0l7100431; Fri, 16 Apr 2021 00:27:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1618550820; bh=MelUBgWsylW80+RVjogTPjEFvjvSH2ZwkORUG97pKnw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=X1yWw5EWiM0XJbTWHnERYBIg3AckVLre/S9gFzuP7d55LfMz89td9NW1sqbb1lq1V wtP34DcrBZtJh3dxlBtf7ADzu+ZdW5QFOVfvSCS8I0HQDuVw9FL1D5l2kZpv2OXaYa EAiuf0/LAWF9gtV9Lr5O9FK8g1FHeyYwBah5bBR8= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 13G5R0PJ119159 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 16 Apr 2021 00:27:00 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Fri, 16 Apr 2021 00:27:00 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Fri, 16 Apr 2021 00:27:00 -0500 Received: from gsaswath-HP-ProBook-640-G5.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 13G5QlLN023847; Fri, 16 Apr 2021 00:26:56 -0500 From: Aswath Govindraju CC: , , , , Kishon Vijay Abraham I , Vinod Koul , Rob Herring , Marc Kleine-Budde , Wolfgang Grandegger , Lokesh Vutla , Vignesh Raghavendra , Grygorii Strashko , Aswath Govindraju Subject: [PATCH v4 2/3] dt-bindings: phy: Add binding for TI TCAN104x CAN transceivers Date: Fri, 16 Apr 2021 10:56:46 +0530 Message-ID: <20210416052647.2758-3-a-govindraju@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210416052647.2758-1-a-govindraju@ti.com> References: <20210416052647.2758-1-a-govindraju@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add binding documentation for TI TCAN104x CAN transceivers. Signed-off-by: Aswath Govindraju Reviewed-by: Rob Herring --- .../bindings/phy/ti,tcan104x-can.yaml | 56 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 57 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml 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..6107880e5246 --- /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: "^can-phy" + + compatible: + enum: + - ti,tcan1042 + - ti,tcan1043 + + '#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: can-phy { + compatible = "ti,tcan1043"; + #phy-cells = <0>; + max-bitrate = <5000000>; + standby-gpios = <&wakeup_gpio1 16 GPIO_ACTIVE_LOW>; + enable-gpios = <&main_gpio1 67 GPIO_ACTIVE_HIGH>; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 84ef96a444c3..e666d33af10d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4046,6 +4046,7 @@ W: https://github.com/linux-can T: git git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can.git T: git git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git F: Documentation/devicetree/bindings/net/can/ +F: Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml F: drivers/net/can/ F: include/linux/can/bittiming.h F: include/linux/can/dev.h -- 2.17.1