From patchwork Wed Dec 5 19:28:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 152932 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp9676939ljp; Wed, 5 Dec 2018 11:28:51 -0800 (PST) X-Google-Smtp-Source: AFSGD/VTvJgdrAsGr6skaSD2ic1Lkw/SeI8t87jH1JPcaQJCQJ5c2c4nLTC1VVFVB5XlQVIJ6jRk X-Received: by 2002:a63:f515:: with SMTP id w21mr21405042pgh.220.1544038131219; Wed, 05 Dec 2018 11:28:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544038131; cv=none; d=google.com; s=arc-20160816; b=bItbqVAXtxHU1GgCEzmQz+zworPgXbOXG0z/hccsIwLxwlscDGGIgXmm8jv2++ah0x tP30I1GshgwMeT5RbGz/WjG8Js1EVw06zQ5hqVhzhTYptNmjRXiqW8czZmOOeIwIes1I ptyTeWTGZP9GYORfyR4/BQ8SWraUu+msGquot+PdYlFf62sobeVNa4CuURB+jK2bHDqa eHSyG+EOK0LYVRyU/AbxQWJG0J0yiZ3Crq9NmmN9eiOeQ880MnxGLcO9VKnP1PlMEk1L uTIE5ApH69EtS0idZEmDiLhY7jPmdF4Pla9eoB2CMFCTOs+PQ3QoQiMoJRdH1r1ben70 xvAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=9zPuoX3rdlAcIJDgaEXyQXO2x1U4wl9AZGyHLF0cSu8=; b=PW91ehBAQ/qBwPbetzYlWzXLTRyj5e0/sxpZp0tp1aCu1wlu8peSuUxREmRAPnXIS8 u1C9Dq5VH9TMd7T+YueqCujikrK5KC9BQad9IzXhVUHlFdXYi+l4yL7I9yNi6ELaT5nS jLubt6wh+S4NxKZx13MK4j1FY/FShpKNX2ZGuvqn95FSfOff5UTeQgG1GYgSR+ccwZjk qWmFKmZsCOry0C3kcvJmeYzjO3M7n9UwtEUTCRWZO6Pp/nX98hO1Dh7MdADHE3j0DYh5 zqx1vCtyovAsAgvvq87n8wtLPJOfEuoSDja8uPAuBut/VU5gvqCpJLX+PgjNXLrNb+yL if3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=o4yZDaOo; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d32si21274525pla.136.2018.12.05.11.28.50; Wed, 05 Dec 2018 11:28:51 -0800 (PST) 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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=o4yZDaOo; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728557AbeLET2t (ORCPT + 31 others); Wed, 5 Dec 2018 14:28:49 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:41984 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728434AbeLET2m (ORCPT ); Wed, 5 Dec 2018 14:28:42 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id wB5JSYx9035103; Wed, 5 Dec 2018 13:28:34 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1544038114; bh=9zPuoX3rdlAcIJDgaEXyQXO2x1U4wl9AZGyHLF0cSu8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=o4yZDaOoSWTLZF8pKBtL/BBtnQYHZC8t0s0cmWHIF8j86rEq28YyZX4pxVY9672sf jWXO6nfdInkfO6ty4Jul++UeNcLyK5jDyaiTymFZOBYIZs/qdCtutm0pt7HEkcuRmu 5Be2n0V35ELjQXx854vrzuc223GUK3c9xBkUaho4= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id wB5JSYVs057839 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 5 Dec 2018 13:28:34 -0600 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Wed, 5 Dec 2018 13:28:34 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Wed, 5 Dec 2018 13:28:34 -0600 Received: from legion.dal.desgin.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id wB5JSYA2004387; Wed, 5 Dec 2018 13:28:34 -0600 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.72.36]) by legion.dal.desgin.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id wB5JSXU29764; Wed, 5 Dec 2018 13:28:33 -0600 (CST) From: Dan Murphy To: , , CC: , , , Dan Murphy Subject: [[RFC] PATCH v2 3/4] dt-bindings: can: tcan4x5x: Add DT bindings for TCAN4x5X driver Date: Wed, 5 Dec 2018 13:28:24 -0600 Message-ID: <20181205192825.11555-4-dmurphy@ti.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20181205192825.11555-1-dmurphy@ti.com> References: <20181205192825.11555-1-dmurphy@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DT binding documentation for TI TCAN4x5x driver. Signed-off-by: Dan Murphy --- .../devicetree/bindings/net/can/tcan4x5x.txt | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/can/tcan4x5x.txt -- 2.20.0.rc2.7.g965798d1f2 diff --git a/Documentation/devicetree/bindings/net/can/tcan4x5x.txt b/Documentation/devicetree/bindings/net/can/tcan4x5x.txt new file mode 100644 index 000000000000..c742d0f10861 --- /dev/null +++ b/Documentation/devicetree/bindings/net/can/tcan4x5x.txt @@ -0,0 +1,34 @@ +Texas Instruments TCAN4x5x CAN Controller +================================================ + +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. + - wake-up-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. + +Example: +tcan4x5x: tcan4x5x@0 { + compatible = "ti,tcan4x5x"; + reg = <0>; + #address-cells = <1>; + #size-cells = <1>; + clocks = <&tclkin_ck>; + spi-max-frequency = <10000000>; + data-ready-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; + wake-up-gpios = <&gpio1 17 GPIO_ACTIVE_LOW>; + reset-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>; + };