Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5339900rdb; Wed, 13 Dec 2023 06:10:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IHp2mwIj26pAwL+KfsvOLEKJ/s3G/iUv0AlsJG2A5GhyEaTEcB5nT5eBgZw6x+zLX5VZWyE X-Received: by 2002:a05:6a20:160b:b0:190:ce12:ecec with SMTP id l11-20020a056a20160b00b00190ce12ececmr3337033pzj.74.1702476631759; Wed, 13 Dec 2023 06:10:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702476631; cv=none; d=google.com; s=arc-20160816; b=J3vzbFJMCnZzwxudjMWGAN0eLi9rjux+ZjhXg1973iIr7kAQGQoRbob/Uyx8gAVnUV NjRMJJ0ZVSf4viflEkUS/OiPk/wFZsLMSx8LdwqQHZbtdbAUBiMqw75Do/1F2GC0mKFC SzglZz5ErNgsUIYhf4wh5sZimhBqOAbOOozMb8D2PTG4iDOvTpw/q7K6Irl2dlThMO6Z 9wFPjWMrzZzFTlH2OUYgfiDnOeveHefEHsq7/BjDv/k23Xy0vEk1bmmGWMWOPCcx/uV/ wDwQf05oEiNjjTOiT3q6fyykyoDZ/PTrd9GRifJ3m8a77AH9s15vs1gWUMXwbnC2nsmI MgoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=wJweT9BjLZ7gGyWSMF89Z7dwWJ8NBFBGZm/QYIU+m4U=; fh=4MDH8sj2wJ6Wu/fnOGkVu4rnlQzETKMJXNwfJgVSlJI=; b=sEbEt0l9SiOIZytyEuF+FyJq52FCyAWeSy3WQ0wlbcMahxK8SFxDkvDDF29uvKSatW eoK1QXwo9ocl1ebE3LeTaVF0XuUHWs6KJHCXl9YqUI7TIVdgNOx9pyRThIWrZjymynPv YfMVaxEXIHGgowP5VRZrpzOqhX/AGde809Upal/TwpaGPkxf65vcRp9qEqJwe6tKVHlD Wgavr1dLuZjOIPat03fI2anokcNOPH5Ic6baK8WlA7rLsY9yeAMt8wnbKN1stOfLCBrv Ql+PXpYrcpfGLaeESzWaxDUBv5DpOnnHLh1D1Pr1G86rR06Vb4CfA2RDoDfn6ToJ8rNn ldkQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id t42-20020a056a0013aa00b006ce6ad886c8si9747991pfg.177.2023.12.13.06.10.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 06:10:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id A70B480B9F97; Wed, 13 Dec 2023 06:10:18 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1441802AbjLMOKF convert rfc822-to-8bit (ORCPT + 99 others); Wed, 13 Dec 2023 09:10:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379237AbjLMOKD (ORCPT ); Wed, 13 Dec 2023 09:10:03 -0500 Received: from mail-yw1-f177.google.com (mail-yw1-f177.google.com [209.85.128.177]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B73929C; Wed, 13 Dec 2023 06:10:09 -0800 (PST) Received: by mail-yw1-f177.google.com with SMTP id 00721157ae682-5d8a772157fso61503027b3.3; Wed, 13 Dec 2023 06:10:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702476608; x=1703081408; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lctB7HRIwcjgOPSYwLKN7AvXZwasrHyg/ppK58pb6FQ=; b=rgAthnrB6ry20TwHvow877fohFwKW75PmFBDsAnV4g4DeSxKtDtQPv9wFQpPJ0EmN6 fRDwiQfysGWH4AnyNbnTlN3QDAnH3uAc32SaLwKd5kmyLuyzMXiKVX/OtSpk5I9ovLk5 aKHkY6sOKm3kCLyS8j1qOlZ7j2av4idIAlueo/P3VXElM1uqRCNnYkoSO+r4uBBwH3LE WOw8/F6OLKwYbpkrsYZ9iPXFzF6ndMiFT4inhwQheLhmgutm1jDlBDOVDhKFe5BnPJnW brVTcsDGX0qX2v3hIgZpAasy6lbRY5POZdlyr/hVRAWSoz/5ZL+1kUlQv5ZwAFJIaQh2 XBzA== X-Gm-Message-State: AOJu0YyS6dugah+M+RaGUBwTHXeZ+kgYN7dLrc+59iST9cfrrCGeCdLy 3H3TvzppGSLvdIUIUdkMeEcIC9xe6buQKg== X-Received: by 2002:a25:ab23:0:b0:dbc:d22a:9135 with SMTP id u32-20020a25ab23000000b00dbcd22a9135mr446757ybi.105.1702476608583; Wed, 13 Dec 2023 06:10:08 -0800 (PST) Received: from mail-yw1-f169.google.com (mail-yw1-f169.google.com. [209.85.128.169]) by smtp.gmail.com with ESMTPSA id u4-20020a258f84000000b00dafa5f86dc2sm3967368ybl.16.2023.12.13.06.10.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Dec 2023 06:10:07 -0800 (PST) Received: by mail-yw1-f169.google.com with SMTP id 00721157ae682-5d8a772157fso61502697b3.3; Wed, 13 Dec 2023 06:10:07 -0800 (PST) X-Received: by 2002:a81:6582:0:b0:5d3:f36c:4aa3 with SMTP id z124-20020a816582000000b005d3f36c4aa3mr6180811ywb.15.1702476607543; Wed, 13 Dec 2023 06:10:07 -0800 (PST) MIME-Version: 1.0 References: <20231207070700.4156557-1-claudiu.beznea.uj@bp.renesas.com> <20231207070700.4156557-12-claudiu.beznea.uj@bp.renesas.com> In-Reply-To: <20231207070700.4156557-12-claudiu.beznea.uj@bp.renesas.com> From: Geert Uytterhoeven Date: Wed, 13 Dec 2023 15:09:56 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 11/11] arm64: dts: renesas: rzg3s-smarc-som: Enable the Ethernet interfaces To: Claudiu Cc: s.shtylyov@omp.ru, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, magnus.damm@gmail.com, mturquette@baylibre.com, sboyd@kernel.org, linus.walleij@linaro.org, prabhakar.mahadev-lad.rj@bp.renesas.com, biju.das.jz@bp.renesas.com, linux-renesas-soc@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, Claudiu Beznea Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 13 Dec 2023 06:10:18 -0800 (PST) On Thu, Dec 7, 2023 at 8:08 AM Claudiu wrote: > From: Claudiu Beznea > > The RZ/G3S Smarc Module has Ethernet PHYs (KSZ9131) connected to each > Ethernet IP. For this, add proper DT bindings to enable the Ethernet > communication through these PHYs. > > The interface b/w PHYs and MACs is RGMII. The skew settings were set to > zero as based on phy-mode (rgmii-id) the KSZ9131 driver enables internal > DLL, which adds a 2ns delay b/w clocks (TX/RX) and data signals. > > Different pin settings were applied to TXC and TX_CTL compared with the > rest of the RGMII pins to comply with requirements for these pins imposed > by HW manual of RZ/G3S (see chapters "Ether Ch0 Voltage Mode Control > Register (ETH0_POC)", "Ether Ch1 Voltage Mode Control Register (ETH1_POC)", > for power source selection, "Ether MII/RGMII Mode Control Register > (ETH_MODE)" for output-enable and "Input Enable Control Register (IEN_m)" > for input-enable configurations). > > Commit also enables the Ethernet interfaces by selecting > SW_CONFIG3 = SW_ON. > > Signed-off-by: Claudiu Beznea > --- > > Changes in v2: > - removed #address-cells, #size-cells > - adapted patch description to reflect the usage of SW_CONFIG Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-devel for v6.8. 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