Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp1135969rwl; Fri, 4 Nov 2022 10:09:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5+9jn4Wg6Cs94XHxvDxXPWZvwp4qbQ1TPts5Vozgde6UftuKE3LCB4ATNen4qqSxIfamtO X-Received: by 2002:a17:907:f9c:b0:7ae:1990:5487 with SMTP id kb28-20020a1709070f9c00b007ae19905487mr9090622ejc.293.1667581766924; Fri, 04 Nov 2022 10:09:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667581766; cv=none; d=google.com; s=arc-20160816; b=hwWos6G6xh3brzYfsq/jn/T3HeYGrAEb3y7pGjIXWQQjVNn8tHJDUy6PuR5xBTisAn VGrLJ/5FrvtEKuv2fkUuvR//XP4R3HfFzpUNWk7Z67jdlb+KNKw54114fFfeoUB8w42u 7IGlqUBi1PPncMERWnJSkLJ0N7ezBig5USOj9/kACrGuteup22yyYlCntw40DiSr8VQ1 Jr4SXayStHQal02osSG/H2bHnSWH+187m7whvr0Wiq3siXyRJxeJUvbS4HjSleCt3cKk uf5JVdQLan5sFxUBg8j9wYYwiaQlOhGIqq4ws7dNwmYUSN2VnL/mnRAWzKyQ6TPlvVLR 90rQ== 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=HwyjxWhZP/MgIgc5HM4/DGfwKdzwFd87DAz0NuXY8dw=; b=x/5iW0o085HBMw/Ida9Cj7Xjzn3GPKD+nRobWZadOYlW5+Fe9fQZd8Ep89aZAUuZ6t 3no7AbdtiTLyc335p95lYkOafUX4OUuFW5nPaBaLzn3QFGTxtsvmP+KX3Wx1xEicZCcB MRrQYGlwehMVPfDqX35K1qIFjAAmMtoRnkzx67I+kYA5W3eOShEcTPGGmuSUPPahoIrv HVSW8TFka4/zkOoh/VmT9ZmZ1Ua3DVOGwwPjMOkoeLK0E3B0LweMR2OnCIpSfT9zHYs/ TBWqzpjX6dDBuwbnRy4ghB4efCETWpFlz9sBwGGHszdGw2X6zdxROOqQ+PaJyR2he80M twKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sartura.hr header.s=sartura header.b=xGqZScJ8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=sartura.hr Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a16-20020aa7cf10000000b0046194b2dd53si20992edy.119.2022.11.04.10.09.02; Fri, 04 Nov 2022 10:09:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sartura.hr header.s=sartura header.b=xGqZScJ8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=sartura.hr Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230454AbiKDQnE (ORCPT + 97 others); Fri, 4 Nov 2022 12:43:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231774AbiKDQmn (ORCPT ); Fri, 4 Nov 2022 12:42:43 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CEAC2B628 for ; Fri, 4 Nov 2022 09:42:42 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id gw22so4974360pjb.3 for ; Fri, 04 Nov 2022 09:42:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura.hr; s=sartura; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=HwyjxWhZP/MgIgc5HM4/DGfwKdzwFd87DAz0NuXY8dw=; b=xGqZScJ8boQw8m8d7rB+ASPYAOPe2WE8nrsOx2qcbG5iG7rIVKFDzyr7pVcEpUmjNV p/nLqSgB1hU200+S88ug1jVS9tYZwBpZFtJJx1VxIUEVV/rslXj2arxQ9xc90mY+cokw g99Z7Wdyy8PnCtB061AJG3IvPYYu3764iGjOqwYz5uxIJF4uXPKYGAtpSDFbuzSD3vgl 5tvVQ1pfME1LMkjFdRht2HUiHww9G5+5tqem7IKN4ifZSjM9BDqo78sEbuVljRGqR9u+ IOQUkROjy4U5+edGGbe2BG6un6yAoj9hUka1LcsL2qkgWh7v6c6G0X13T17cLMv6a+ab 2rug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=HwyjxWhZP/MgIgc5HM4/DGfwKdzwFd87DAz0NuXY8dw=; b=jsRkSyXd+0OTFmvkqqDi4bvRik51zmlJXukCu7/zQNp9R6rku7X3O9hDCtgsKZR+n1 X+bcVvJjePNX88AW8ZhLjzHn52baxb5N2rR9lp3YZNKJuTmQOXXR+ZVpgudsnrbUMv6W oNlRMyW1wnIaOS0kXgMPcFMH4ku/27ADb9zfF1CeLXJ0pQmrTu5JsPlM6vITzGJGQiEd OnbGqV8diUnI3FrN5QEzQZBRHZV42SP7Uw8/1cUgr6pzFiQccOQHuQAlAq6fVZVdATjE 0CJFaWy48zRGRpyaQbsaHiYEEyZOat/YKgUhfXQKRH5/X56xorny6yVdAU5r8sQLlr5c pR5Q== X-Gm-Message-State: ACrzQf1drK9rBDG5cerMIydk9UhdUubpyrIx9gkXC9jeTLPdEFC4WNEq 4RdUvMitgU4Bn4Z+fDgpMzVgM//7pIzTqkttDDjLfA== X-Received: by 2002:a17:902:edc3:b0:172:8ae3:9778 with SMTP id q3-20020a170902edc300b001728ae39778mr35968030plk.72.1667580161879; Fri, 04 Nov 2022 09:42:41 -0700 (PDT) MIME-Version: 1.0 References: <20221104142746.350468-1-maxime.chevallier@bootlin.com> <20221104142746.350468-6-maxime.chevallier@bootlin.com> In-Reply-To: <20221104142746.350468-6-maxime.chevallier@bootlin.com> From: Robert Marko Date: Fri, 4 Nov 2022 17:42:30 +0100 Message-ID: Subject: Re: [PATCH net-next v7 5/5] ARM: dts: qcom: ipq4019: Add description for the IPQESS Ethernet controller To: Maxime Chevallier Cc: davem@davemloft.net, Rob Herring , Krzysztof Kozlowski , Jakub Kicinski , Eric Dumazet , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, thomas.petazzoni@bootlin.com, Andrew Lunn , Florian Fainelli , Heiner Kallweit , Russell King , linux-arm-kernel@lists.infradead.org, Vladimir Oltean , Luka Perkov , Andy Gross , Bjorn Andersson , Konrad Dybcio , Krzysztof Kozlowski Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 4, 2022 at 3:28 PM Maxime Chevallier wrote: > > The Qualcomm IPQ4019 includes an internal 5 ports switch, which is > connected to the CPU through the internal IPQESS Ethernet controller. > > Add support for this internal interface, which is internally connected to a > modified version of the QCA8K Ethernet switch. > > This Ethernet controller only support a specific internal interface mode > for connection to the switch. > > Signed-off-by: Maxime Chevallier > Reviewed-by: Krzysztof Kozlowski > --- > V6->V7: > - No Changes > V5->V6: > - Removed extra blank lines > - Put the status property last > V4->V5: > - Reword the commit log > V3->V4: > - No Changes > V2->V3: > - No Changes > V1->V2: > - Added clock and resets > > arch/arm/boot/dts/qcom-ipq4019.dtsi | 44 +++++++++++++++++++++++++++++ > 1 file changed, 44 insertions(+) > > diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi > index b23591110bd2..5fa1af147df9 100644 > --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi > +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi > @@ -38,6 +38,7 @@ aliases { > spi1 = &blsp1_spi2; > i2c0 = &blsp1_i2c3; > i2c1 = &blsp1_i2c4; > + ethernet0 = &gmac; > }; > > cpus { > @@ -591,6 +592,49 @@ wifi1: wifi@a800000 { > status = "disabled"; > }; > > + gmac: ethernet@c080000 { > + compatible = "qcom,ipq4019-ess-edma"; > + reg = <0xc080000 0x8000>; > + resets = <&gcc ESS_RESET>; > + reset-names = "ess"; > + clocks = <&gcc GCC_ESS_CLK>; > + clock-names = "ess"; > + interrupts = , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + ; > + phy-mode = "internal"; > + status = "disabled"; The fixed-link should be defined here AFAIK, otherwise it will fail probing with just internal PHY mode. Regards, Robert > + }; > + > mdio: mdio@90000 { > #address-cells = <1>; > #size-cells = <0>; > -- > 2.37.3 > -- Robert Marko Staff Embedded Linux Engineer Sartura Ltd. Lendavska ulica 16a 10000 Zagreb, Croatia Email: robert.marko@sartura.hr Web: www.sartura.hr