Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp3069751pxy; Wed, 4 Aug 2021 01:15:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9yE4oRDR8eECAcA4aJID98ze15m8Seoqmk/N2UJb+4p+p5mgNrPYbAqoNAgdXSbKATcE4 X-Received: by 2002:a17:907:7790:: with SMTP id ky16mr22844641ejc.318.1628064944329; Wed, 04 Aug 2021 01:15:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628064944; cv=none; d=google.com; s=arc-20160816; b=lnWS84rnRI5FkSg/vx7GyV3MOoEfuT2BTS5+Vzw121zo5w7jiqRkermL9I+49FGhjT uG13udKEhcocbiIORyJcXYwvBc4kUgHHxaq5lbQiNkg3L5aLIYIWALxQ94MGEntfXbXE JarAHkz8nANYNqIjAlZXSFRhtKC/ZoKkY7CGc+3SAeNcdPehEwQ4/c3RortiaNO+k1xY m7aKspvk684nYbFlwgsbV0pkmfnTse4E2j2aYz+z2uUdFxC3I2Q1E/p3ql5/o9stu/rC MBwBnmiJPKdTcDot9e95jn4fP1YoIksDbD//W/7RKUCdckcv9DlrIr/2ZOKnsQWJcDCF gZ1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=jPCIyaMUeP4YlX+eHOCe2Hk3dvS6J1yRREr3ZpK8PqE=; b=WeC3Xbu9aXypHHqMqe7G0Br6/MIuU6SpyKRG94cbhIuBc5W1bqUuYRXvMnYPr60LRu 8i/XGJpmRnqhoTcChC3J4a/aIeraD78ZVc0dRoT1QFojVdWXvQgbwY1q/iuDbMo3at9x 559SAwSO5vTnWFUqsOMWaTLU/M4xOblaw0Au2dALeAnGh8A0z9B2K52RaXIvqjNtrwIF lXTXExP59QRcda9YnrJSso7XCra2MYhOVPGmVYoD2OD3tgxy8cXu9Oyftob89vXRQBHP LbG+Nimx2tQIPEV+Nj2WO4KDVjTEFwm2DSoTT3IJLqEVz9pRr5mrD1W50frX7Y3u1VC3 xE/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mBZXRCJ9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s24si1455294ejq.120.2021.08.04.01.15.20; Wed, 04 Aug 2021 01:15:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mBZXRCJ9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236191AbhHDIMB (ORCPT + 99 others); Wed, 4 Aug 2021 04:12:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236142AbhHDIMA (ORCPT ); Wed, 4 Aug 2021 04:12:00 -0400 Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48AFCC0613D5; Wed, 4 Aug 2021 01:11:47 -0700 (PDT) Received: by mail-yb1-xb36.google.com with SMTP id z18so2777662ybg.8; Wed, 04 Aug 2021 01:11:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jPCIyaMUeP4YlX+eHOCe2Hk3dvS6J1yRREr3ZpK8PqE=; b=mBZXRCJ9MZQM0MB8te1m5lfQcuzIgUJPb7Xs16M5wRmELRwp69N0rffDJeMYpwoJSx VBM2jPH21DzzbruKOFYOTj4bKoPSSf8vJM0U4XZXPhpBThjCPGkzkiwUy1Q8QJBBVpC0 zPTZx8HLYHgQPvyFr8UIXLql7GnJMC9WuMtoHRkE/QT6lC1h0Lhwrz77ncevHQ8BlZ63 PvpTOtoG5SPZnOqNsRZkq+nwd5ohsAVeFnQQsPFOwJ+HwB28SaS+gYx8FHLy6TEGt4Jo AvSqmPOr7CKNEy0JjDP+eBvGiAmKGyngDilCjhDGX6JJPoYj4Zge1ChrJmnf3kvGi/lr nagA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jPCIyaMUeP4YlX+eHOCe2Hk3dvS6J1yRREr3ZpK8PqE=; b=ORfUHKGfyEc9EVIdbEaqg0Y6ZlxHuwy8cdg6Klf3Z2zZkOGQbJjm2b5trw45/TGB6V 3F4PhFo1tqOfhdNXbV8B7rquytD3K/NdGRNY93qcQj5aK7qYY/WJqqdCfQOj/wM1Bsqv qyGWOHQnkMhTLxSmNapS7vdVsQy3sge8v9QcHNbmGW+0xy3MYX+EEsTk8N9hDhmM9Jto K40HINA9brFh1QE+r59k9mD+GviWpuNIFqhMTQ+UYk9B0RUfsd1w1CaqWi1UKlRHOa/B Mib3W39KQzwpITBw8J0ko1fUFxO9ylpl10FNjFJiKX4BZyCxPOxALYH21QyXfg9IaDvj 05aQ== X-Gm-Message-State: AOAM5336cXm0gwlIPxoVFN6t0/P7KLkOioy1/WoS2ZEwIuD7pjEZg3Fu gr6pCkymK2XuhfHMr0ZXc0IajqozokJRwW5VEVI= X-Received: by 2002:a25:e404:: with SMTP id b4mr34296150ybh.426.1628064706525; Wed, 04 Aug 2021 01:11:46 -0700 (PDT) MIME-Version: 1.0 References: <20210727133022.634-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20210727133022.634-4-prabhakar.mahadev-lad.rj@bp.renesas.com> <20210804075855.2vjvfb67kufiibqx@pengutronix.de> In-Reply-To: <20210804075855.2vjvfb67kufiibqx@pengutronix.de> From: "Lad, Prabhakar" Date: Wed, 4 Aug 2021 09:11:20 +0100 Message-ID: Subject: Re: [PATCH v4 3/3] arm64: dts: renesas: r9a07g044: Add CANFD node To: Marc Kleine-Budde , Geert Uytterhoeven Cc: Lad Prabhakar , Rob Herring , Fabrizio Castro , Wolfgang Grandegger , "David S. Miller" , Jakub Kicinski , Magnus Damm , Philipp Zabel , linux-can@vger.kernel.org, netdev , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML , Linux-Renesas , Biju Das Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marc, On Wed, Aug 4, 2021 at 8:59 AM Marc Kleine-Budde wrote: > > On 27.07.2021 14:30:22, Lad Prabhakar wrote: > > Add CANFD node to R9A07G044 (RZ/G2L) SoC DTSI. > > > > Signed-off-by: Lad Prabhakar > > Reviewed-by: Biju Das > > --- > > arch/arm64/boot/dts/renesas/r9a07g044.dtsi | 41 ++++++++++++++++++++++ > > 1 file changed, 41 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/renesas/r9a07g044.dtsi b/arch/arm64/boot/dts/renesas/r9a07g044.dtsi > > index 9a7489dc70d1..51655c09f1f8 100644 > > --- a/arch/arm64/boot/dts/renesas/r9a07g044.dtsi > > +++ b/arch/arm64/boot/dts/renesas/r9a07g044.dtsi > > @@ -13,6 +13,13 @@ > > #address-cells = <2>; > > #size-cells = <2>; > > > > + /* External CAN clock - to be overridden by boards that provide it */ > > + can_clk: can { > > + compatible = "fixed-clock"; > > + #clock-cells = <0>; > > + clock-frequency = <0>; > > + }; > > + > > /* clock can be either from exclk or crystal oscillator (XIN/XOUT) */ > > extal_clk: extal { > > compatible = "fixed-clock"; > > @@ -89,6 +96,40 @@ > > status = "disabled"; > > }; > > > > + canfd: can@10050000 { > > + compatible = "renesas,r9a07g044-canfd", "renesas,rzg2l-canfd"; > > + reg = <0 0x10050000 0 0x8000>; > > + interrupts = , > > + , > > + , > > + , > > + , > > + , > > + , > > + ; > > + interrupt-names = "g_err", "g_recc", > > + "ch0_err", "ch0_rec", "ch0_trx", > > + "ch1_err", "ch1_rec", "ch1_trx"; > > + clocks = <&cpg CPG_MOD R9A07G044_CANFD_PCLK>, > > + <&cpg CPG_CORE R9A07G044_CLK_P0_DIV2>, > > + <&can_clk>; > > + clock-names = "fck", "canfd", "can_clk"; > > + assigned-clocks = <&cpg CPG_CORE R9A07G044_CLK_P0_DIV2>; > > + assigned-clock-rates = <50000000>; > > + resets = <&cpg R9A07G044_CANFD_RSTP_N>, > > + <&cpg R9A07G044_CANFD_RSTC_N>; > > + reset-names = "rstp_n", "rstc_n"; > > + power-domains = <&cpg>; > > + status = "disabled"; > > + > > + channel0 { > > + status = "disabled"; > > + }; > > + channel1 { > > + status = "disabled"; > > + }; > > + }; > > + > > i2c0: i2c@10058000 { > > #address-cells = <1>; > > #size-cells = <0>; > > This doesn't apply to net-next/master, the r9a07g044.dtsi doesn't have a > i2c0 node at all. There isn't a i2c0 node in Linus' master branch, yet. > I had based the patch on top [1] (sorry I should have mentioned the dependency), usually Geert picks up the DTS/I patches and queues it via ARM tree. Shall I rebase it on net-next and re-send ? @Geert Uytterhoeven Is that OK ? [1] https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel.git/log/?h=renesas-arm-dt-for-v5.15 Cheers, Prabhakar > Marc > > -- > Pengutronix e.K. | Marc Kleine-Budde | > Embedded Linux | https://www.pengutronix.de | > Vertretung West/Dortmund | Phone: +49-231-2826-924 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |