From patchwork Sun Nov 18 17:32:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10687999 X-Patchwork-Delegate: geert@linux-m68k.org 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 9010F14DB for ; Sun, 18 Nov 2018 17:32:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6ED6929AFC for ; Sun, 18 Nov 2018 17:32:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 611A029B02; Sun, 18 Nov 2018 17:32:14 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 DF93629AFC for ; Sun, 18 Nov 2018 17:32:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727080AbeKSDxD (ORCPT ); Sun, 18 Nov 2018 22:53:03 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:44097 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726366AbeKSDxD (ORCPT ); Sun, 18 Nov 2018 22:53:03 -0500 Received: by mail-wr1-f65.google.com with SMTP id j17-v6so29567459wrq.11; Sun, 18 Nov 2018 09:32:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=etZ88I59S5bMz2Lb6AxKODpk365Qf9859WiYpHfKTHc=; b=rn8lpwXYHAZTJedtokOatZZIKVAA1GJcqz6lDyWUDZrzQr4Txpbc5KfaVXdRFyfV2n fGwKuOwXVucFvecT0fqUsx/+zMnGKHUSAXNoqN89JY+VbwcDRQw00v39I4VEgPQhbu1i bKqYzdr1aRH1cCutDo5mwhss9XTsZxcwFZ/nFHmmxcAjunBpsZwYALxbJyEYkCj9YXDL 3dRjROQnU74hRVOeKSvWzM96rzmNEDqBGyzvZBZUe7ZfIx1FT03MIu+Z/33/2hOcfbhT PXs1vd2Ey+feK6L5tqZidmXK/UtDvYDYhN4ymR4pHdEiD3iqEBeWBdGR1YRyqthcfrzc fsJg== 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; bh=etZ88I59S5bMz2Lb6AxKODpk365Qf9859WiYpHfKTHc=; b=doHqxYWdeI2DZSWwrx5ZL/gex0VRgu9A1mwiqhvHGPeefKibN/RJI6XbSeiL+U6xZL ekd0n4ARtrHxYga/cd2qNhO9TeNG+0IbbvygIC28dPrtLMdvzEXmaKLpMFx51Qf79VLB Nr+zceXBgFK2kUbw25eTlHwNsn+Tt7AJQbB0KyV9ZmPHiGkw3eKhBk1tVkkrpcJ8XU28 iStvWIMn6XV9jxKrP+GR4CZnWz+dNRBexvwMA3BkhrNJifMEPRMawYsxdmYznJRXO/ru 4zFfJirLksvlsiyKO8L6c4tA2qrHVCYKNACwLDq7bsn2DN9KInH5ky/mUvM5/9cOOONE B+Iw== X-Gm-Message-State: AGRZ1gKc1JbEaPx1NBZ9rOZIO+KO0K3KaZDID0EDf8WCYvUEUr7RghAt pUBn7Gpizj1irdyTPtl98eflfOpq X-Google-Smtp-Source: AJdET5d8m8V9+K6KmP0czDZMhZbytSvczUvYxVyToZwUkMjF61zcvbdsAj4Frsp3dmAVblVIII8lpA== X-Received: by 2002:adf:fb47:: with SMTP id c7-v6mr15302593wrs.200.1542562331190; Sun, 18 Nov 2018 09:32:11 -0800 (PST) Received: from kurokawa.lan (ip-86-49-110-70.net.upcbroadband.cz. [86.49.110.70]) by smtp.gmail.com with ESMTPSA id k7sm20023601wrl.51.2018.11.18.09.32.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Nov 2018 09:32:10 -0800 (PST) From: Marek Vasut X-Google-Original-From: Marek Vasut To: devicetree@vger.kernel.org Cc: Marek Vasut , Eugeniu Rosca , Geert Uytterhoeven , Marc Kleine-Budde , Rob Herring , Simon Horman , Wolfram Sang , linux-renesas-soc@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: can: rcar_canfd: document r8a77965 support Date: Sun, 18 Nov 2018 18:32:00 +0100 Message-Id: <20181118173201.4645-1-marek.vasut+renesas@gmail.com> X-Mailer: git-send-email 2.18.0 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 Document the support for rcar_canfd on R8A77965 SoC devices. Signed-off-by: Marek Vasut Cc: Eugeniu Rosca Cc: Geert Uytterhoeven Cc: Marc Kleine-Budde Cc: Rob Herring Cc: Simon Horman Cc: Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org Reviewed-by: Simon Horman --- .../devicetree/bindings/net/can/rcar_canfd.txt | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/net/can/rcar_canfd.txt b/Documentation/devicetree/bindings/net/can/rcar_canfd.txt index ac71daa46195..4720e916fbdd 100644 --- a/Documentation/devicetree/bindings/net/can/rcar_canfd.txt +++ b/Documentation/devicetree/bindings/net/can/rcar_canfd.txt @@ -6,6 +6,7 @@ Required properties: - "renesas,rcar-gen3-canfd" for R-Car Gen3 compatible controller. - "renesas,r8a7795-canfd" for R8A7795 (R-Car H3) compatible controller. - "renesas,r8a7796-canfd" for R8A7796 (R-Car M3-W) compatible controller. + - "renesas,r8a77965-canfd" for R8A77965 (R-Car M3-N) compatible controller. - "renesas,r8a77970-canfd" for R8A77970 (R-Car V3M) compatible controller. - "renesas,r8a77980-canfd" for R8A77980 (R-Car V3H) compatible controller. @@ -26,12 +27,12 @@ The name of the child nodes are "channel0" and "channel1" respectively. Each child node supports the "status" property only, which is used to enable/disable the respective channel. -Required properties for "renesas,r8a7795-canfd" and "renesas,r8a7796-canfd" -compatible: -In R8A7795 and R8A7796 SoCs, canfd clock 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: +Required properties for "renesas,r8a7795-canfd", "renesas,r8a7796-canfd" and +"renesas,r8a77965-canfd" compatible: +In R8A7795, R8A7796 and R8A77965 SoCs, canfd clock 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: - assigned-clocks: phandle of canfd clock. - assigned-clock-rates: maximum frequency of this clock.