Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp910402rwl; Fri, 4 Nov 2022 07:45:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5XM5y47mICSNfvtP1tf1a/WdZfLCB0lRjoLEOanXCpoed1pK+rYZ3JSc0YvBH3+sQxUZM/ X-Received: by 2002:a17:90a:708e:b0:213:6876:330 with SMTP id g14-20020a17090a708e00b0021368760330mr50204850pjk.167.1667573133512; Fri, 04 Nov 2022 07:45:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667573133; cv=none; d=google.com; s=arc-20160816; b=0dhM/TxNF2P9lJMinu3a7GdiVVPnmIqIv6u4Lx0mk+iDIZSKLH1NBka9LuCNs0smoi /2OEfhZSMzvHPWQddbmvKfTkVs7qPt95u4Wq1YIXnHLxH28T0ChUt0dINBY72O1MM/pw XnrQm5FGkQFfsmKs2BF5ZYQDNLTsUqNPe4uUn2CNkjBIZ6Zq4vZ0S7MMmHEUDQhse9Mm jDOX+P8Fmuh61VHRpFxdOPbSue3qpg8qaITsj8S437CYTe6rUhAKcohOKvh41ae5SqJv DKtn3mdKsqy847l6mg0tNDKmlK86Lt4D4ynebRnnNMmF/8b3z+guUZWhTFVNu4Ln4DRp Baqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=pBEKtj5T51f51CFIMJKfn028IX//LL9SvX54Zm0sOzQ=; b=KaGkJ/mavEQDiflUw8QkJlgEhnxQ1k3gYyiiBvEHhtmA6r8KYN0faacyWnP+in3yXA ogRrLxR3OYk5Fu2czrigjGJjzaPWuNVkTC8mil6Hd+NPp3boXw4mFT5VSdet/yPDoi6U kUtELLPb/ywPCgM3atY1rat9WO/FWWlA81oBNRWsOP2e2cO2KFsWUXzHVIJA7BDGGnuU dahMySbOw1S/y3aRHcRQD/wT4tG0Ap8WWtbWm3GDxAHC5ny3ULUz1LCV1q5acIGBfPgJ 8fx25VuX5YUazMN3azaYrFmLuei+tLnlIKrgwbl+x2ZApOlPgZ3634p3sxuajs4WSJui 7gxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=huln3VTR; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e15-20020a170902ed8f00b00175430821b1si4089344plj.430.2022.11.04.07.45.20; Fri, 04 Nov 2022 07:45:33 -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=@linaro.org header.s=google header.b=huln3VTR; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231913AbiKDOdW (ORCPT + 96 others); Fri, 4 Nov 2022 10:33:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231840AbiKDOdA (ORCPT ); Fri, 4 Nov 2022 10:33:00 -0400 Received: from mail-qv1-xf33.google.com (mail-qv1-xf33.google.com [IPv6:2607:f8b0:4864:20::f33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8123647339 for ; Fri, 4 Nov 2022 07:31:09 -0700 (PDT) Received: by mail-qv1-xf33.google.com with SMTP id x15so3312664qvp.1 for ; Fri, 04 Nov 2022 07:31:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=pBEKtj5T51f51CFIMJKfn028IX//LL9SvX54Zm0sOzQ=; b=huln3VTRqH40TTYCIhJlLVIbHkAjYz7JTpT0SHEwv67xquAm1j5E97Q544rPicCSXJ gQt3KdXOo1FiEAHNo28RgFRlBrGYzgNG2mCqikNvRqKADpwMj3Xg8G+iAujSzs/CDoZs KZii5uPcl1dmmnDjBbPo3TDiU1QphkMy9QLKhHEn92B5OU7PcN+uf4b9Nz/dlJGS40ao ubwiQzE5MnQ9vSkK6Q7IfxAIv8oH+1s8kJiBh3D2XrWzbfiDzwl4mYHyeKhciYXp4Ccj cR11qCXMQJv3wqTT/romNLLI9MnAbonWvr+ErDWNzsPWSKURZRF9WG+ZYsrgnts77mxp 2yIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=pBEKtj5T51f51CFIMJKfn028IX//LL9SvX54Zm0sOzQ=; b=UjAo+0jEjKq0DcHK2o21DmtuIKa5CPD+M0p3roXdtb5xGGL59omLhE167jLXKVFHH+ kQxrHli3SsiSg2+w5T6pyp49H6AK9y9JO7GZTj6gk2CPkkQCcs4Ala5QxasvT0bdoAa8 gD0iTpLDJ0dZIf3dYOui32tTUOMt9wDa9wIpESvkzLTpFGiGrUPX1ZtD8ZhxegQqW164 OTl8gWSnOD7W7GS62l1uEZpXo56Bo5V/xTkSwxEA3DQT4tNbPy3NkVDvO8y/15dYt9yX sdQ/Eb1YR3PSwq69Z8uryRoeqcMnec0vXlyJz2SeWLeygW6okQMzWO6qykYwSbZ3Cujd wevQ== X-Gm-Message-State: ACrzQf2AOmA3mHJqiJXQ0DZ5CAxj9wIg/yk4b5YieDdMTnZdQrpLtvh5 qtsTfFWaimq0puSLzOjnIsl5xA== X-Received: by 2002:a0c:e2c8:0:b0:4b7:c1bf:784a with SMTP id t8-20020a0ce2c8000000b004b7c1bf784amr32688535qvl.17.1667572268294; Fri, 04 Nov 2022 07:31:08 -0700 (PDT) Received: from ?IPV6:2601:586:5000:570:aad6:acd8:4ed9:299b? ([2601:586:5000:570:aad6:acd8:4ed9:299b]) by smtp.gmail.com with ESMTPSA id 8-20020ac85748000000b0039ee562799csm2626891qtx.59.2022.11.04.07.31.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Nov 2022 07:31:08 -0700 (PDT) Message-ID: <50814a5b-03d3-95b4-ab14-bfd19adae52b@linaro.org> Date: Fri, 4 Nov 2022 10:31:06 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH net-next v7 5/5] ARM: dts: qcom: ipq4019: Add description for the IPQESS Ethernet controller Content-Language: en-US To: Maxime Chevallier , davem@davemloft.net, Rob Herring , Krzysztof Kozlowski Cc: 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 , Robert Marko , Andy Gross , Bjorn Andersson , Konrad Dybcio References: <20221104142746.350468-1-maxime.chevallier@bootlin.com> <20221104142746.350468-6-maxime.chevallier@bootlin.com> From: Krzysztof Kozlowski In-Reply-To: <20221104142746.350468-6-maxime.chevallier@bootlin.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 04/11/2022 10:27, 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; Hm, I have doubts about this one. Why alias is needed and why it is a property of a SoC? Not every board has Ethernet enabled, so this looks like board property. I also wonder why do you need it at all? Best regards, Krzysztof