Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1465397pxb; Fri, 24 Sep 2021 05:17:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzmupSPcjrZL5OGXy9+wf1Yj23SKZDEWeiGR2V4K6JGL4okLLIZlLLNdn79S98j8XgXpCir X-Received: by 2002:a92:1306:: with SMTP id 6mr7583645ilt.183.1632485860561; Fri, 24 Sep 2021 05:17:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632485860; cv=none; d=google.com; s=arc-20160816; b=rNIbdvu3v4jCcy+sDcZcqVtW9fTuw633RjR4XIpE7/Lr81CZhRWLrrZO07M3IBf1HT U5Yo3WnOnMB7fLXBR26WDnMAXwkkwaqoFJKhvV7C+VLvJlLjclp4yiKOWHiKo1iMaM8q zouX4H7oAZ4kZm+ewybpf6FolDzr7g1quHiDb/jPZBXaA1G3NBLn8XN3PnnoLY3bkoZG dEO86JsUmf6nTS4LfICTJHMCQ+eQRodbeB0eGgVjBg8B5PGeKQ4F6NAz/I/GhRMBRsAn 9/8G7Z5cxymnGJt3V9gXfLgBzlg99ko7AoBO6XYBhgRPqezxkInf1l4sH4EEuTgHdXaW xQhw== 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=My9M0v7qJhbKsrz/7FTz5JGmb9fs1Ll7Beio5FnmHqc=; b=EdcjVdtBIeeFSW610PbHNY67SSZSIN4yTzBvdWeg9ymVMLkNjE5N9yF3hNQV/NWb1j LOJBVgIyeU3fO5DB18LEqKVSKinYqjBljoq1vKLdrnFaqPBSefrlABB2bUVJH25gMiOB 3A5BS5R9jP/HrRfl/cmwNRIypecXWcDcF6A9HA5obXDb3n/lIdCPMKXcDYxMKGWW4XaG fWgj+98hl72mBEYbOrs2ci4ALPVIiDx+YOKqSfYGM8kbaXyM283JMctFoWTS1zBhGBQL Ik7mjYbS4SOE3U4pplyXQY6yBhpAC9MBH4nN8stuUct+BN2U8b/LKZs/zmZFerLpZY2V qydg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YXpeYDae; 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 h17si10088685ilq.30.2021.09.24.05.17.25; Fri, 24 Sep 2021 05:17:40 -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=20210112 header.b=YXpeYDae; 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 S245640AbhIXKRs (ORCPT + 99 others); Fri, 24 Sep 2021 06:17:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245629AbhIXKRo (ORCPT ); Fri, 24 Sep 2021 06:17:44 -0400 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DB29C061756; Fri, 24 Sep 2021 03:16:11 -0700 (PDT) Received: by mail-yb1-xb2c.google.com with SMTP id j195so4665913ybj.8; Fri, 24 Sep 2021 03:16:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=My9M0v7qJhbKsrz/7FTz5JGmb9fs1Ll7Beio5FnmHqc=; b=YXpeYDae0HLvjQhtS08y9UCK5rk2yskTekAF+77BlUR2G1BXDzQiQsChN/YVeBOmiw AD7G40dwZZbyVKZakxDb/XPn8pk0la1bPLuMvGI3YmXy7g9sA/DCra6PIdGERVWAGGox sUU9mJM5zklL7FItdg+4wNHHC3WGJ3ONSufasnNCaHUvO2+Nex/Y38zoBBm956bR1G7J tXAqkgXBVTEviU2uPPLunTqw7GtyBn+wu6u+21OOQr+rNEyIriTu9zf8jDi19Rv7T9b0 QNX0V5HhIi5qsO9Oe8p7nvcGnWhnNbXLhzhJwMROGYOoxOucKhA/FJ5ciC7HN6zca9zT 1eCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=My9M0v7qJhbKsrz/7FTz5JGmb9fs1Ll7Beio5FnmHqc=; b=NX+BMvZsPGgaRp1cdaOMtBGzVHCYzytXq0V8NYdOPnjay5JYsXn4xQp3n/fOxFvs87 6t4Z68N/eKzFc8Mpm6Obnqxp+hELkCxYKEWqOaF1yTcjL3h5xNFEdo6jO19qbsXl60/e YMSLc6xP0thiu1HGY+99evHda+UVEeEUwahomD3se8UhepR/E00P7Ljq2Xo5EeeVO0ds T5jYaYp3jSKA8BaIq/G/O6lWRxK9l/gPYqGO7XY1FLRTwNWPwX4Za9joc+K241KLZD4S tHaALm1jPAC3QAso0h38KsfGfMPN7zjFXxFrrdwoGbHS5LDkq8x+u+JerJzZ+G008DY/ lLeg== X-Gm-Message-State: AOAM533OzPFHTv9Pwy80vwAHjbXKHhr65rn8NY4TtOFdkdjBidki/7rR VyPqjgMkC69OdmJWekmS05WxvBfa0jAZr3Cgh+q/10/HR2M= X-Received: by 2002:a25:880f:: with SMTP id c15mr1028557ybl.543.1632478570530; Fri, 24 Sep 2021 03:16:10 -0700 (PDT) MIME-Version: 1.0 References: <20210922212049.19851-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20210922212049.19851-4-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: From: "Lad, Prabhakar" Date: Fri, 24 Sep 2021 11:15:44 +0100 Message-ID: Subject: Re: [PATCH 3/3] arm64: dts: renesas: rzg2l-smarc: Enable CANFD To: Geert Uytterhoeven Cc: Lad Prabhakar , Geert Uytterhoeven , Magnus Damm , Rob Herring , Linux-Renesas , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , Biju Das Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert, Thank you for the review. On Fri, Sep 24, 2021 at 10:07 AM Geert Uytterhoeven wrote: > > Hi Prabhakar, > > On Wed, Sep 22, 2021 at 11:21 PM Lad Prabhakar > wrote: > > Enable CANFD on RZ/G2L SMARC platform. > > > > Signed-off-by: Lad Prabhakar > > Reviewed-by: Biju Das > > Thanks for your patch! > > > --- a/arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi > > +++ b/arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi > > @@ -139,6 +153,32 @@ > > pinctrl-0 = <&sound_clk_pins>; > > pinctrl-names = "default"; > > > > + can0_pins: can0 { > > + pinmux = , /* TX */ > > + ; /* RX */ > > + }; > > + > > + /* SW7 should be at position 2->3 so that GPIO8_CAN0_STB line is activated */ > > + can0-stb { > > + gpio-hog; > > + gpios = ; > > + output-high; > > While this drives the STB signal correctly, I find it confusing. > According to the datasheet, the STB signal is active-high, so it has to > be pulled low to disable standby. agreed. > So to reflect the meaning of the STB line, I would write: > > gpios = ; > output-low; > will re-spin the patch 3/3 as above. Cheers, Prabhakar > > + line-name = "can0_stb"; > > + }; > > + > > + can1_pins: can1 { > > + pinmux = , /* TX */ > > + ; /* RX */ > > + }; > > + > > + /* SW8 should be at position 2->3 so that GPIO9_CAN1_STB line is activated */ > > + can1-stb { > > + gpio-hog; > > + gpios = ; > > + output-high; > > Likewise. > > > + line-name = "can1_stb"; > > + }; > > + > > The rest looks good to me, so with the above fixed: > Reviewed-by: Geert Uytterhoeven > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds