Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1407346pxb; Fri, 24 Sep 2021 03:58:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5d+r8jISHBTeg/95zLfOiCitNfp5EQBodb+A6xqN1Cq98n7xdNIP2xH+w+W9eFKo1Czi+ X-Received: by 2002:a05:6e02:1b87:: with SMTP id h7mr7837439ili.93.1632481120594; Fri, 24 Sep 2021 03:58:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632481120; cv=none; d=google.com; s=arc-20160816; b=pkW8WNqcavZAC6GLFOD+nfmxz9ZJzyuayZuTTkadLBPSIrfsvYmdyZJZTW3NhNTysR l6P7Y2Np9Pjli04g22fjlwrLIbOCQJ0f6W/Usz66Cb4YeABJG5H+YtK55F9rsgBASWuc crndMqdg9QW/SnJ4I3u5DyFIUimwiUyIRK7vqK7uaoGWf3mwmdYV59SQv822Te54dvdl ERB2HJI72W61w8O+HDFhOWIYT4n+t4sPL6ZgkXAXAFaz1im9Gg7OAmH1L7O47mim4WxS 9FA9QKvQEltutziNGpy1yqqkvOh6985ad7XLM5DckmOQkLnV9MLK2VlfUIH2XJRSdgd4 IKrQ== 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; bh=/RxTD5RlZtVSoGJbWz+SIaw9jcb2Suud4BeCZGzuRE4=; b=L6O+uZt92op/7S60DNwbCGyLyHSclPqeLNQUs3+FCiYupSIOpaB8wpmnCrkahQMNUs sB5L3hXxhSrT7lmaUJpkQi776mxFPvKCOcHpE6IoM/ckKjdqxAUGDQ3v1Yk3TKx/ajAT vylN2Hf6gh5BmBkFRsdGLgtFyHFaF3f53LvhRNaxlAR4zgwbYSnYfISBe4uOD1zy7rbO lVwl8lG0JoC665vqkWrdJX5UQipKkwh3VrbRdPABQhvsSPc9JV0HPU3EioBBcPWxGfbL mux8T3mAomXK2qttFtrx1Soe/pAL/saiKgpuxPZODqYHgNF81UETgq2P4QbvuavaJhx/ ZfBw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m9si11286774iow.85.2021.09.24.03.58.28; Fri, 24 Sep 2021 03:58: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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245123AbhIXJJb (ORCPT + 99 others); Fri, 24 Sep 2021 05:09:31 -0400 Received: from mail-ua1-f47.google.com ([209.85.222.47]:33297 "EHLO mail-ua1-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245120AbhIXJJa (ORCPT ); Fri, 24 Sep 2021 05:09:30 -0400 Received: by mail-ua1-f47.google.com with SMTP id r8so6180830uap.0; Fri, 24 Sep 2021 02:07:57 -0700 (PDT) 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=/RxTD5RlZtVSoGJbWz+SIaw9jcb2Suud4BeCZGzuRE4=; b=cudceSTE9OlDjI+vCgg5xa4Qgf3HgvKPBWoDnWXTCRAG2WIUuN58XgjoCq9yNZ9dqi /De9/AVEqzY3G7VnVnKenLQGdnztSu1Jr5iYRfilbrKnjYW0AoaCy1op91JiTp+mS0DC iKSre1iwmIa63jKZ5jYX4K4JlWAY0TZywSs8LEn+TFinHsZtaEdmv1Zj8DLQKxc8mvTo /6B9UIft5wdwSTXVDxKV80D676eojwyK9DiLyejpwyHIRagyHXKYOP2MP9ScvG6ali+r CncyVIZux0tCRCMxNjtUvYBFB8UKOxNvA4MMEi8QI35JpqtErPX5Mfb3QIfiZ7426H7O faTQ== X-Gm-Message-State: AOAM533NMW+TtGFwSvMDa9xDvbwxCuafs/MxSde6eeD/ng5jrx2XuO6a S6r6VctDp6I8DSirFTGtwA1Zu6N1niLvjHx0NvJILeIGXi8= X-Received: by 2002:ab0:311a:: with SMTP id e26mr8142812ual.122.1632474477108; Fri, 24 Sep 2021 02:07:57 -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: <20210922212049.19851-4-prabhakar.mahadev-lad.rj@bp.renesas.com> From: Geert Uytterhoeven Date: Fri, 24 Sep 2021 11:07:45 +0200 Message-ID: Subject: Re: [PATCH 3/3] arm64: dts: renesas: rzg2l-smarc: Enable CANFD To: Lad Prabhakar Cc: Geert Uytterhoeven , Magnus Damm , Rob Herring , Linux-Renesas , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , Prabhakar , Biju Das Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. So to reflect the meaning of the STB line, I would write: gpios = ; output-low; > + 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