From patchwork Wed Jan 11 14:05:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yegor Yefremov X-Patchwork-Id: 9510135 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 E388C6075C for ; Wed, 11 Jan 2017 14:05:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D279C28645 for ; Wed, 11 Jan 2017 14:05:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C76DE28649; Wed, 11 Jan 2017 14:05:51 +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 79CFB28645 for ; Wed, 11 Jan 2017 14:05:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759903AbdAKOFu (ORCPT ); Wed, 11 Jan 2017 09:05:50 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:34082 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757114AbdAKOFs (ORCPT ); Wed, 11 Jan 2017 09:05:48 -0500 Received: by mail-wm0-f65.google.com with SMTP id c85so36714964wmi.1; Wed, 11 Jan 2017 06:05:47 -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=Pdy/UF6QDKxTVdBzyAg2rxk85OnBme/v3rQVECxhE5k=; b=Y7XKugYPgtpwXFO1YElK9an3RzxwP5FRiZVRQ2R9vUXNkKSeo6auJkkC2mcBwb0L4F fkj8Fp0YLv4dq81AcMpI6pWLzeVEvS3icJPQN2kFwNJZhLHnLNfSAZYvhkIcOwjN5/jk yVQXKPVFQuu8Jk9jpSMJ1wxpxbPBI6/Wp6b5I8lXVt6Sp101ck8ITWvd+tmq7XnL+U1Z 3he9C7uN0qi6rwnvNFOyVrYAw8R/kfU3r50Qsx4GWON7dGk5U9M9FDtD5+1wmmNYFZVv lWFJeWR6VNxcuh2028PRhINAlfKe+PVr3jsEbsEPf16HkMYnv3q940sMUFTNi/PAOfAA V4ew== 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=Pdy/UF6QDKxTVdBzyAg2rxk85OnBme/v3rQVECxhE5k=; b=LzRY5VBGzuQJPEVHqxAm11/hNI26joubIoAluOK0Rzs9gHpYVPHwEeFDG8ZCP/kSg7 31Si3XDEwUoM5+k8iIJM5HGjRLLtXCUadtPrGBBAR/+E5Vq2T8WvL4L622wA8zhSmMD2 wwb5L/Z50eSGCVScWNcIrYUumi6lAQFChNEz1WbkiHy8QhziVB7maL5aCMDb2d2WvYTw zUk5HdKdiPfk0SKwV9evT8URhahxaSMphstcLDkXAqniwHsoIhVwiv+U85f1YrCUD8C/ C8hFhlc1TpuEP/ppXm1EFH9XBzALuklwTvXG5cLlXmIx/p0ZZNkmjPpgFjFcfTemTXqM UFTA== X-Gm-Message-State: AIkVDXJsBWGfrBxU+ngfIGYzbQk4OEF6YdkCrvU+Iu78ZKECLAcw7PI0wBiglfYefuBm8w== X-Received: by 10.28.232.90 with SMTP id f87mr3221719wmh.35.1484143546331; Wed, 11 Jan 2017 06:05:46 -0800 (PST) Received: from development1.visionsystems.de (mail.visionsystems.de. [213.209.99.202]) by smtp.gmail.com with ESMTPSA id v2sm8670174wja.41.2017.01.11.06.05.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Jan 2017 06:05:45 -0800 (PST) From: yegorslists@googlemail.com To: linux-can@vger.kernel.org Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, jean-michel.hautbois@vodalys.com, andrej.skvortzov@gmail.com, hs@denx.de, Anton Glukhov , Yegor Yefremov Subject: [PATCH v2 2/3] can: ti_hecc: Add TI HECC DT binding documentation Date: Wed, 11 Jan 2017 15:05:20 +0100 Message-Id: <1484143521-4898-3-git-send-email-yegorslists@googlemail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1484143521-4898-1-git-send-email-yegorslists@googlemail.com> References: <1484143521-4898-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: Anton Glukhov DT binding documentation for TI High End CAN Controller Signed-off-by: Anton Glukhov Signed-off-by: Yegor Yefremov --- Changes v1 -> v2: change compatible to "ti,am3505" .../devicetree/bindings/net/can/ti_hecc.txt | 31 ++++++++++++++++++++++ 1 file changed, 31 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..ce015cf --- /dev/null +++ b/Documentation/devicetree/bindings/net/can/ti_hecc.txt @@ -0,0 +1,31 @@ +* Texas Instruments High End CAN Controller (HECC) + +This file provides information, what the device node +for the hecc interface contains. + +Required properties: +- compatible: "ti,am3505" +- reg: offset and length of the register set for the device +- interrupts: interrupt mapping for the hecc interrupts sources +- clocks: clock phandles (see clock bindings for details) +- ti,scc-ram-offset: offset to scc module ram +- ti,hecc-ram-offset: offset to hecc module ram +- ti,mbx-offset: offset to mailbox ram + +Optional properties: +- ti,int-line: interrupt line + +Example: + +For am3517evm board: + hecc: can@0x5c050000 { + compatible = "ti,am3505"; + status = "disabled"; + reg = <0x5c050000 0x4000>; + interrupts = <24>; + clocks = <&hecc_ck>; + ti,scc-ram-offset = <0x3000>; + ti,hecc-ram-offset = <0x3000>; + ti,mbx-offset = <0x2000>; + ti,int-line = <0>; + };