From patchwork Sat Aug 4 23:11:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eugeniu Rosca X-Patchwork-Id: 10555975 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DBDBD157D for ; Sat, 4 Aug 2018 23:14:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CE4DA29AC6 for ; Sat, 4 Aug 2018 23:14:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C16C629ACA; Sat, 4 Aug 2018 23:14:17 +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.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_WEB 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 61F4429AC6 for ; Sat, 4 Aug 2018 23:14:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729690AbeHEBQe (ORCPT ); Sat, 4 Aug 2018 21:16:34 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:44899 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729669AbeHEBQe (ORCPT ); Sat, 4 Aug 2018 21:16:34 -0400 Received: by mail-wr1-f65.google.com with SMTP id r16-v6so8775038wrt.11 for ; Sat, 04 Aug 2018 16:14:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=lAJwZGpewDj1dAxpHJqFN1QZ0DD8QdM7EjftknVvlM4=; b=GlLLiRGtImjWsjMkewSy6CCnA4IA9zj7J7gmTu8EBfxCX9hl8+/m6dJ0oTgc0SsbTT +kU6bWLOyD8YacMURHqbYAi2blWZNM7UoU6gmgXp+f4KG5sLqcG79DORtZw+aXtQswQH 2REbDA7h1m7pWZWyeSyxEJ5KJbuT70bKayOrPyxs2hjaIWv+e3wCjfL7zxmn3ma3yQgl vhRL/YtObjdlcpaML9Sq6ewRe9VmVv7ICb2FLK8rGl4wc/jr5qdJ2KXnEB5NVJtlILVS YLFL0I5uAFY31QAyrtj3zugC3e4gyou94RpXpYMDwmA1rGT52QOb8hEswlS0/wj5GcVp GRLw== 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=lAJwZGpewDj1dAxpHJqFN1QZ0DD8QdM7EjftknVvlM4=; b=KIiWrXjTqdOMUb6bob8Gd4W1cRHGX+6duBqjuxJd/6BLP6PDOji49JOxV+KVxoiKfc 7FnEXxbRtwhu+92ZWAmbRGDdW1Nu83E/Bk+7UKsdn+NhiWYqwJ0MOzE9Xrr1Hizkzzej RMjCgQdPCbbZMnEkLs6mdB6fn3f/uP5ScpFV/wYuD+SM5ZN0l5Mw0tGGCB1JRnvfmO+y O6XOcLfxJVIR2paP16uBDSEUDHJCy9kck56tg0JNSDMPsbskK4TVChq2ieIzdjJOffqF cRBbL8HtPt9sWaDV4Ar1YD1g2p2L0frDLngf9uRmAdoqXGVlURPmk1syzDzWQNkP/clG w8ZA== X-Gm-Message-State: AOUpUlHhP6BC4P+9iL91HwYZyXevJAH6W4qe4AHqHjvkeS5p9/SV/GgK 4wPRPaGQLkvCkfoKiLieKws= X-Google-Smtp-Source: AAOMgpdt9gqkVk79072Jrc/8cXgBKcvmtiR9sNsicF1/iJgTh5zsJkDysbvT//TW1Qb8UvItv4AYoQ== X-Received: by 2002:a5d:41c1:: with SMTP id e1-v6mr5928321wrq.25.1533424455102; Sat, 04 Aug 2018 16:14:15 -0700 (PDT) Received: from localhost.localdomain (ipb218f456.dynamic.kabel-deutschland.de. [178.24.244.86]) by smtp.gmail.com with ESMTPSA id f17-v6sm5645627wrs.1.2018.08.04.16.14.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 04 Aug 2018 16:14:14 -0700 (PDT) From: Eugeniu Rosca X-Google-Original-From: Eugeniu Rosca To: Simon Horman , Geert Uytterhoeven , Yoshihiro Shimoda , Sergei Shtylyov , Vladimir Barinov , Niklas Soderlund , Laurent Pinchart , Jacopo Mondi , Magnus Damm , Kieran Bingham , Takeshi Kihara , Ulrich Hecht , Kuninori Morimoto , linux-renesas-soc@vger.kernel.org Cc: Eugeniu Rosca , Eugeniu Rosca Subject: [PATCH 11/14] dt-bindings: can: rcar_can: document r8a77965 can support Date: Sun, 5 Aug 2018 01:11:11 +0200 Message-Id: <20180804231114.21420-12-erosca@de.adit-jv.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180804231114.21420-1-erosca@de.adit-jv.com> References: <20180804231114.21420-1-erosca@de.adit-jv.com> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP After adding CAN support to arch/arm64/boot/dts/renesas/r8a77965.dtsi, checkpatch complained that the new compatible string "renesas,can-r8a77965" is not documented. Fix the warning. Signed-off-by: Eugeniu Rosca --- Documentation/devicetree/bindings/net/can/rcar_can.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/net/can/rcar_can.txt b/Documentation/devicetree/bindings/net/can/rcar_can.txt index 94a7f33ac5e9..23264451a5a4 100644 --- a/Documentation/devicetree/bindings/net/can/rcar_can.txt +++ b/Documentation/devicetree/bindings/net/can/rcar_can.txt @@ -13,6 +13,7 @@ Required properties: "renesas,can-r8a7794" if CAN controller is a part of R8A7794 SoC. "renesas,can-r8a7795" if CAN controller is a part of R8A7795 SoC. "renesas,can-r8a7796" if CAN controller is a part of R8A7796 SoC. + "renesas,can-r8a77965" if CAN controller is a part of R8A77965 SoC. "renesas,rcar-gen1-can" for a generic R-Car Gen1 compatible device. "renesas,rcar-gen2-can" for a generic R-Car Gen2 or RZ/G1 compatible device. @@ -28,9 +29,8 @@ Required properties: - pinctrl-0: pin control group to be used for this controller. - pinctrl-names: must be "default". -Required properties for "renesas,can-r8a7795" and "renesas,can-r8a7796" -compatible: -In R8A7795 and R8A7796 SoCs, "clkp2" can be CANFD clock. This is a div6 clock +Required properties for compatibles [A], [B] and [C]: +For the denoted SoCs, "clkp2" can be CANFD clock. This is a div6 clock and can be used by both CAN and CAN FD controller at the same time. It needs to be scaled to maximum frequency if any of these controllers use it. This is done using the below properties: @@ -38,6 +38,10 @@ using the below properties: - assigned-clocks: phandle of clkp2(CANFD) clock. - assigned-clock-rates: maximum frequency of this clock. +[A] "renesas,can-r8a7795" +[B] "renesas,can-r8a7796" +[C] "renesas,can-r8a77965" + Optional properties: - renesas,can-clock-select: R-Car CAN Clock Source Select. Valid values are: <0x0> (default) : Peripheral clock (clkp1)