From patchwork Sun Nov 18 17:32:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10688001 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 AA5F114DB for ; Sun, 18 Nov 2018 17:32:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8B65129AFC for ; Sun, 18 Nov 2018 17:32:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7FC6E29B02; Sun, 18 Nov 2018 17:32:15 +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 1E17E29AFC for ; Sun, 18 Nov 2018 17:32:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727115AbeKSDxF (ORCPT ); Sun, 18 Nov 2018 22:53:05 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:34275 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726861AbeKSDxE (ORCPT ); Sun, 18 Nov 2018 22:53:04 -0500 Received: by mail-wr1-f65.google.com with SMTP id j2so1223941wrw.1; Sun, 18 Nov 2018 09:32:13 -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:in-reply-to:references; bh=j5BMrLgdCnQNRsC5ugwL+PKoobwtWlI30crhHFKFi1U=; b=juAsFe6S8SWEve6XUiSdaJ5B4BhRvBqaPRFTthRZXxpveyb7OrYHDjF5rt84VeecpP HKhmKlcw3vJUyEE4HbNzLTfXOP2eb+eV6TbmbrAKkGwnFQPLHLVN0oJYHNi8CUr3sZFt coAA6ZMLWvsDf0L8iqoXXIBS670eryajN0aoOqoCYEy8xzib0A5PAaykgymRPEYVfhJm Ri06cOq8RECMXZRJdpGRJwxg3sfk0DyRu9S024H8zROpYTpyz7NjpgS7O5/UoZMunblM DSNKiBdoOa0AM9oM770l4+P1AYQ2tA1Fk66ThXO0Vkj0ShOebUiEZp9CqX50iPaBm7ym 63Ww== 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=j5BMrLgdCnQNRsC5ugwL+PKoobwtWlI30crhHFKFi1U=; b=kyvPsxiX+pcfk5aakZZlAYblmFNhEelu7wTnAb7pniI/E8Qcx+YZm/X440bC9RzCT2 WQDhy527BdaaNffUumzRND6TRgwxHUtyGq9eKyeqd5Pz02XTEnRVEFpH5g33HHjRCTXA 3KDnKx1zppam3mCuNvSSeaTA9fhdl74CPV+bDoZpZ324QFwLPBprSMhAcHUGTJNqHSAT 0oSB6XzgihEi9xgPics9XOy4LQ1lp9xQ5poQTHYTzfRVTpApmchnnXTbyi2K8KQwO+He z/1bu8+fQsdCE/aLk/7wSJ0xejXE2lRKCyBeJkYQ2nC53JgSAJ/qbUxxdiGypN6nwC59 HiEg== X-Gm-Message-State: AA+aEWaikfjHUL56uXngGHRiBOmp4IhnSjucHjmzgpzY/WxLkwMT8tWd G86dHz4XCjOwqI62ymCOG7LimlCd X-Google-Smtp-Source: AFSGD/Wmz6cUG+dTsEFrJ8pgW9X94K8+cRmQoGd25wv001c/QWMTOe6cfo7IwyiCbjqixiuwYewPjw== X-Received: by 2002:adf:f308:: with SMTP id i8mr11434016wro.219.1542562332355; Sun, 18 Nov 2018 09:32:12 -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.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Nov 2018 09:32:11 -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 2/2] dt-bindings: can: rcar_canfd: document r8a77990 support Date: Sun, 18 Nov 2018 18:32:01 +0100 Message-Id: <20181118173201.4645-2-marek.vasut+renesas@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181118173201.4645-1-marek.vasut+renesas@gmail.com> References: <20181118173201.4645-1-marek.vasut+renesas@gmail.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 Document the support for rcar_canfd on R8A77990 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 To: devicetree@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 4720e916fbdd..41049fed5872 100644 --- a/Documentation/devicetree/bindings/net/can/rcar_canfd.txt +++ b/Documentation/devicetree/bindings/net/can/rcar_canfd.txt @@ -9,6 +9,7 @@ Required properties: - "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. + - "renesas,r8a77990-canfd" for R8A77990 (R-Car E3) compatible controller. When compatible with the generic version, nodes must list the SoC-specific version corresponding to the platform first, followed by the @@ -27,12 +28,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", "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: +Required properties for "renesas,r8a7795-canfd", "renesas,r8a7796-canfd", +"renesas,r8a77965-canfd" and "renesas,r8a77990-canfd" compatible: +In R8A7795, R8A7796, R8A77965 and R8A77990 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.