From patchwork Tue Mar 19 17:26:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 160596 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp4139358jad; Tue, 19 Mar 2019 10:27:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqzhzYtasC8Uk+bVJphI3lgNYwbyCGDYysHQJzMdpUqONTJVf7lYV4JrvdlUSmPHC8C87wD+ X-Received: by 2002:a63:9a4a:: with SMTP id e10mr2776604pgo.366.1553016446030; Tue, 19 Mar 2019 10:27:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553016446; cv=none; d=google.com; s=arc-20160816; b=R+BZMMqf/NVbqlDjFVVWF2eyUNS2zTWXuZQvNW1XOQN34tc2CdGXMsSjbhAxwwCwgd MzGwgJuWNVVQfKwMp5wZSjjSaJbSATpJRoRUURCkcWBAW29fd6W626GjwxV2qZGqX5Lr nTmzVVtEx5ZlGVNNeUM3Cd7voKDgxGLYXINd5RlSxf+QjQ7gXYzQj4/VCdsPMopjGI60 ch0yg3ksloinKfb0k/O877P2I/RNGJi+qa2f1i6QPeqn3LflKokT5HGBKkB0FVNNa7nW D5b+JLJ1DnHMlx+DGUQCpHxnHrS2dC2x4sSS5Ynj/B9ALIbLw4SgxrZaNwJ2LtzYvF6i dFnw== 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=5cXwXP9bwo/nqhmt0UXQ/YanJPauYYzEYg6KInyzYII=; b=WylOLehagHPNoYB25+mrwxBfXson6FE65MGPE6hAhVowoFv69KDzT3C0oVY/NbJcoQ OaqPDI2DbXRFSsUXjlg2JmPgTVvV9thR5xPgnkh0kYUeJBxiUUY8dkS6XuOU3gUui3Rz Z0olF03ZtQ7AzDGCGBHrnoaC4E35JhoTACk33ujlBV1XQDI5geA28vN68nbQJTFH5uHf MUy/x/iKdmetfRcliPUGEg5Z601BuLcdmacwy0u0SrXC6nm0aueDOeu3nf4jZ39lQaNB 5/gzjZ2BltPKZ1JlYqpBbOMq1t0l4A1png6Q6JKNfkdw5anS+E/4agivDDEsEGsaK+qw 4g4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Wr+UqHBP; 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 r18si12568531pgd.585.2019.03.19.10.27.25; Tue, 19 Mar 2019 10:27:26 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Wr+UqHBP; 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 S1727653AbfCSR1Y (ORCPT + 31 others); Tue, 19 Mar 2019 13:27:24 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:34392 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbfCSR1X (ORCPT ); Tue, 19 Mar 2019 13:27:23 -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 x2JHRGQG094704; Tue, 19 Mar 2019 12:27:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1553016436; bh=5cXwXP9bwo/nqhmt0UXQ/YanJPauYYzEYg6KInyzYII=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Wr+UqHBPi2dWcSoXLgtyg1AiOc/onV6d84JdcnVTRJp7BmK0gHq85NMHvFC7MNO8X 0CkA1TPd7/2MdkXdvD/sbCnCAn3rUaaN2vM/0tP9J2h36y6gawfglX2EWe0hdNk/l/ pAMHbVlvwwpiyNGey/4Ekae4bMhC0eCWFFmTjnSI= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x2JHRGlS106769 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 19 Mar 2019 12:27:16 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 19 Mar 2019 12:27:16 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1713.5 via Frontend Transport; Tue, 19 Mar 2019 12:27:16 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id x2JHRGRq000383; Tue, 19 Mar 2019 12:27:16 -0500 From: Dan Murphy To: , , CC: , , , Dan Murphy Subject: [PATCH v11 3/5] dt-bindings: can: tcan4x5x: Add DT bindings for TCAN4x5X driver Date: Tue, 19 Mar 2019 12:26:49 -0500 Message-ID: <20190319172651.10012-3-dmurphy@ti.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20190319172651.10012-1-dmurphy@ti.com> References: <20190319172651.10012-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 --- 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/patch/1047218/ v6 - No changes - https://lore.kernel.org/patchwork/patch/1042445/ .../devicetree/bindings/net/can/tcan4x5x.txt | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/can/tcan4x5x.txt -- 2.20.1.390.gb5101f9297 diff --git a/Documentation/devicetree/bindings/net/can/tcan4x5x.txt b/Documentation/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 +================================================ + +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 = "ti,tcan4x5x"; + reg = <0>; + #address-cells = <1>; + #size-cells = <1>; + spi-max-frequency = <10000000>; + bosch,mram-cfg = <0x0 0 0 32 0 0 1 1>; + data-ready-gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; + device-state-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>; + device-wake-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>; +};