Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2997329rwl; Thu, 13 Apr 2023 14:10:39 -0700 (PDT) X-Google-Smtp-Source: AKy350aPwC+BwMcVIfjueW50h1Wh2ihHA5sDs/FZtuvrQqhDT/Pfavd++u1QxPVDxPbsx88Baolx X-Received: by 2002:a05:6a00:1885:b0:639:28de:a91e with SMTP id x5-20020a056a00188500b0063928dea91emr5774996pfh.17.1681420239235; Thu, 13 Apr 2023 14:10:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681420239; cv=none; d=google.com; s=arc-20160816; b=CRG4LsEMm3Gs90rJYTDuAh4zVH9PjtZjtLfoWA8dVoqgLAaxF0h8tFQHzSILR/rGNy XGMEY/aM7afkPyAny1LT207HuD4/Wg4y3YnW1404UIyHtBeIWPmXl5+sszuw8/14B5NU OIKO9dDmq6ZWXdwTGvqsM7y2eJmY5UjKBNVzOd0xFMuz9dRpR0ktHBKIVOk4B277d8WL NNSSCS47J1Lh7PqO9hfEw3+AEYtmcelJQhzudYKSV3HsaMi3zuEDzyH4UMYEUUVo+/Dd 31fIpAfVv1gD46pIY31dzjQuFzQ1XPruUWoSqHn+sAEroWZH6WMz8HNdvCZi7v/TSFtY cM/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=W92tAQhl/8cqUTTacQVRda1DmbqU6Pauq8CJ+Pib2iE=; b=QG6vRg6M8cHfBpey769PJnp8pEe/GXQsYKM+nw9JgEDw5dAD9L7rzvgIfhMf6PrIDK b0BBWaa7JKhuDvKByS0HngYjEZibHc2/OSgnaiZkJmHRgB/iAwvPEVE88rZJxDAVuONh vmt4kX2gTbGVOKZra7aaSQmP7gLh9eSXO3y/1b76BbRa9koaUVDrhg1rfxBkEunjX07L AE+RmOJvrPrxAdrGKUKNM1uWrSdbvdT+2lNAMxynsQY0gDWrXIKPffVuYFtE8e3UzOb3 K6YIdF0vgu4NfJCzPRtfWZpRK06LvPfe2j4Sy7HNopoWMA1Um+/PQjggRF31M8OMT+HO tpng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EemZYvbr; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k6-20020aa79726000000b0062d7d3f1192si2485457pfg.166.2023.04.13.14.10.27; Thu, 13 Apr 2023 14:10:39 -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=@redhat.com header.s=mimecast20190719 header.b=EemZYvbr; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229492AbjDMVCZ (ORCPT + 99 others); Thu, 13 Apr 2023 17:02:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229810AbjDMVCV (ORCPT ); Thu, 13 Apr 2023 17:02:21 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0BBA9EC9 for ; Thu, 13 Apr 2023 14:01:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1681419692; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=W92tAQhl/8cqUTTacQVRda1DmbqU6Pauq8CJ+Pib2iE=; b=EemZYvbr2aKJXP9BIcAL0tmPx42CqkI5rGQfnTmbip+ITp+86RKC/dUR0wFUUIQhe/PVjN xyzCZKQd107T7FLMxI1JuRWzJiOlc75tFDi6jsyRvY9fNgaepaRW0Xq1cbtcp82UQZjDfU EdvBBz3reMlC1tMiCWrmtTU2t2fCB64= Received: from mail-oo1-f69.google.com (mail-oo1-f69.google.com [209.85.161.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-150-4SZvtCqUPPGYqWgK9hpC2w-1; Thu, 13 Apr 2023 17:01:31 -0400 X-MC-Unique: 4SZvtCqUPPGYqWgK9hpC2w-1 Received: by mail-oo1-f69.google.com with SMTP id d140-20020a4a5292000000b00541fdf203ceso1984706oob.3 for ; Thu, 13 Apr 2023 14:01:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681419690; x=1684011690; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=W92tAQhl/8cqUTTacQVRda1DmbqU6Pauq8CJ+Pib2iE=; b=MYKAqADZOfwX4BEA+0D1oIMDlCxepvSkMXeX8T2IM2mkR4cdvJM9znX8zhQbmuD4c0 UIZfFWLRn3wJffnbWbTMhjyX0R2OOnAOQdAsiMl0OV6So4y+PEGFLWzJlGWTqavR2qcw y+FgoXVDGqLeNOVGNoLkWOAjKAWcg5Hcer66NUEq1Ld/iF45dyfYa3UDLM3KaMyX3iUI Zwx69fa/rJx/D7A0Q0wDgpndoBQYAZ5OrnV3fW4Ox58q5s8NVkkxeFZV2QixAHJqmsNS NQo+3je3fecoLd/aGl6nPujge4QRwUBKgOkgokskhvN4JEN2cV+wzqZ6HuRP5yE3ZM+t WSuA== X-Gm-Message-State: AAQBX9d5ytB8DEfoGN4wSuPdlM1/7tHNhmEOOCObY0oOsYh3Fj8y2IxN Gqn8ZWiQb0sFT+/B1qsSmeIKCyXQqRO+d5Yo+FXWXoWj3GylC+w4fyrFD6IJlxROyETCS1WXKT2 ysl8MxustKQuc4UKdqhTicUHV X-Received: by 2002:a05:6870:9727:b0:184:53f3:ae08 with SMTP id n39-20020a056870972700b0018453f3ae08mr2604076oaq.9.1681419690526; Thu, 13 Apr 2023 14:01:30 -0700 (PDT) X-Received: by 2002:a05:6870:9727:b0:184:53f3:ae08 with SMTP id n39-20020a056870972700b0018453f3ae08mr2604056oaq.9.1681419690247; Thu, 13 Apr 2023 14:01:30 -0700 (PDT) Received: from halaney-x13s (104-53-165-62.lightspeed.stlsmo.sbcglobal.net. [104.53.165.62]) by smtp.gmail.com with ESMTPSA id q3-20020a056870e88300b001723f29f6e2sm1118333oan.37.2023.04.13.14.01.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Apr 2023 14:01:29 -0700 (PDT) Date: Thu, 13 Apr 2023 16:01:27 -0500 From: Andrew Halaney To: Stephen Boyd Cc: linux-kernel@vger.kernel.org, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, richardcochran@gmail.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, netdev@vger.kernel.org, bmasney@redhat.com, echanude@redhat.com, ncai@quicinc.com, jsuraj@qti.qualcomm.com, hisunil@quicinc.com Subject: Re: [PATCH v5 3/3] arm64: dts: qcom: sa8540p-ride: Add ethernet nodes Message-ID: <20230413210127.s5dkek6adp5ndern@halaney-x13s> References: <20230413191541.1073027-1-ahalaney@redhat.com> <20230413191541.1073027-4-ahalaney@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 Thu, Apr 13, 2023 at 01:47:19PM -0700, Stephen Boyd wrote: > Quoting Andrew Halaney (2023-04-13 12:15:41) > > arch/arm64/boot/dts/qcom/sa8540p-ride.dts | 179 ++++++++++++++++++++++ > > 1 file changed, 179 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/qcom/sa8540p-ride.dts b/arch/arm64/boot/dts/qcom/sa8540p-ride.dts > > index 40db5aa0803c..650cd54f418e 100644 > > --- a/arch/arm64/boot/dts/qcom/sa8540p-ride.dts > > +++ b/arch/arm64/boot/dts/qcom/sa8540p-ride.dts > > @@ -28,6 +28,65 @@ aliases { > > chosen { > > stdout-path = "serial0:115200n8"; > > }; > > + > > + mtl_rx_setup: rx-queues-config { > > Is there a reason why this isn't a child of an ethernet node? > > I debated if it was more appropriate to: 1. make a duplicate in each ethernet node (ethernet0/1) 2. Put it in one and reference from both 3. have it floating around independent like this, similar to what is done in sa8155p-adp.dts[0] I chose 3 as it seemed cleanest, but if there's a good argument for a different approach I'm all ears! [0] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/qcom/sa8155p-adp.dts?id=de4664485abbc0529b1eec44d0061bbfe58a28fb#n50 Thanks, Andrew