From patchwork Fri Feb 17 13:45:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yegor Yefremov X-Patchwork-Id: 9579835 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E06CE6042F for ; Fri, 17 Feb 2017 13:46:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D161E286CF for ; Fri, 17 Feb 2017 13:46:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C63C2286DA; Fri, 17 Feb 2017 13:46:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E5BE286CF for ; Fri, 17 Feb 2017 13:46:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934028AbdBQNqj (ORCPT ); Fri, 17 Feb 2017 08:46:39 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:34664 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933900AbdBQNqi (ORCPT ); Fri, 17 Feb 2017 08:46:38 -0500 Received: by mail-wm0-f66.google.com with SMTP id c85so2664341wmi.1; Fri, 17 Feb 2017 05:46:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=MRw7WxJfwLrKJP6ddkLa5HGlmP/JXvVUy3YQ5I8XBsQ=; b=T3rRiPnV2UUZFxbzKwzUBMVuuhV7naavZ13Gbl2axMGcu2LfYHX9yF7sXjEwf53kEt Vm8ftcsWBgR1yvqEXchZBKM7YodUIYMZXHhmjMNkC0cMw318iQl9VnkzbuFNvNLSQqh9 vHjGP1tB+YgTisiWIYrP5lblCjLTLSYzSGjBw08lSt8sNCGm5tTMS1HFByRVgM8y/Ywg Ms1rcxkwH+d0Qhavc8cj4Q9G8GogVU4GnTGjWRFBAUPf4KFn2Ww+8yQLEuyzCLaDXDTR S391YBNtYPTdH/foQcUhjJpqMYsDaXv6YxdDsR9+0N2XAZTy2d1+QVzFA685PXWUSGu6 NDYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=MRw7WxJfwLrKJP6ddkLa5HGlmP/JXvVUy3YQ5I8XBsQ=; b=Z3lFqC8ji1d1P7aDnwIrmwJMRYaA5aOCExLYRAsdKIJ2rf1ca6raB3/FJWKes5kJhU IIzODRYpoMxUwCJ3QaX82NkgvphhSa0BEP4Ib1CW8warsHddTfGNdVCaQ9M3k/3wvFZq HUdPZdurMsrqfznW2S5AbIE8eO1HB7S7kBYxF7AbxMAWrt2+i6ixETmlJsWeeLObVyNx X42Ng065jW08K9ZwJrXEX/fqhjuA+kF1c6APK1YHwSkrIoSkQaq1CjI93W2ZF3Y0D2nQ 1oF+8/Ltrd/vZa9lUQzEk1nCL3Wxyei82eWgeGUnvfDAhkU2pqjIoUpvUU38iSPNArts diqQ== X-Gm-Message-State: AMke39lt7/X0Gv2i5pZPuQOE8sYz7YBfRZ5DDMYMA5MZYHiSAB5Z0S1XTLLzx2Lryn/B6g== X-Received: by 10.28.65.196 with SMTP id o187mr3448520wma.37.1487339196768; Fri, 17 Feb 2017 05:46:36 -0800 (PST) Received: from development1.visionsystems.de (mail.visionsystems.de. [213.209.99.202]) by smtp.gmail.com with ESMTPSA id l140sm1778906wmg.12.2017.02.17.05.46.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Feb 2017 05:46:35 -0800 (PST) From: yegorslists@googlemail.com To: linux-can@vger.kernel.org Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, robh@kernel.org, tony@atomide.com, mkl@pengutronix.de, andrej.skvortzov@gmail.com, Yegor Yefremov , Anton Glukhov Subject: [PATCH v4 2/3] can: ti_hecc: Add TI HECC DT binding documentation Date: Fri, 17 Feb 2017 14:45:57 +0100 Message-Id: <1487339158-18809-3-git-send-email-yegorslists@googlemail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1487339158-18809-1-git-send-email-yegorslists@googlemail.com> References: <1487339158-18809-1-git-send-email-yegorslists@googlemail.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Yegor Yefremov DT binding documentation for TI High End CAN Controller Signed-off-by: Anton Glukhov Signed-off-by: Yegor Yefremov --- .../devicetree/bindings/net/can/ti_hecc.txt | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/can/ti_hecc.txt diff --git a/Documentation/devicetree/bindings/net/can/ti_hecc.txt b/Documentation/devicetree/bindings/net/can/ti_hecc.txt new file mode 100644 index 0000000..a7c601e --- /dev/null +++ b/Documentation/devicetree/bindings/net/can/ti_hecc.txt @@ -0,0 +1,33 @@ +Texas Instruments High End CAN Controller (HECC) +================================================ + +This file provides information, what the device node +for the hecc interface contains. + +Required properties: +- compatible: "ti,am3517-hecc" +- reg: addresses and lengths of the register spaces for 'hecc', 'hecc-ram' + and 'mbx' +- reg-names :"hecc", "hecc-ram", "mbx" +- interrupts: interrupt mapping for the hecc interrupts sources +- clocks: clock phandles (see clock bindings for details) + +Optional properties: +- ti,use-hecc1int: if provided configures HECC to produce all interrupts + on HECC1INT interrupt line. By default HECC0INT interrupt + line will be used. +- xceiver-supply: regulator that powers the CAN transceiver + +Example: + +For am3517evm board: + hecc: can@0x5c050000 { + compatible = "ti,am3517-hecc"; + status = "disabled"; + reg = <0x5c050000 0x80>, + <0x5c053000 0x180>, + <0x5c052000 0x200>; + reg-names = "hecc", "hecc-ram", "mbx"; + interrupts = <24>; + clocks = <&hecc_ck>; + };