From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 71174C7EE24 for ; Mon, 1 May 2023 21:26:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232801AbjEAV0a (ORCPT ); Mon, 1 May 2023 17:26:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232804AbjEAV0Z (ORCPT ); Mon, 1 May 2023 17:26:25 -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 E4AD626BC for ; Mon, 1 May 2023 14:25:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1682976337; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mDamfEXI3whq2cw/x9Hd2+R2GXvUBBZU4UUvZz4CPZQ=; b=RcRVZz50f4oM0cBeRtlF85KmCj/3/QNYnPOp9zftz9ZtLX0DW/NRn3isBhxacScimH8n5J 59yVFB3l5ZxefjUMn74uhrde5RXjZ0exnFgzw8+OghYn6YEsPngOR6nqQ+WYSrsbUZ5S27 S2Lnhy2r+Sog/wj6/L3HWErtxd//MOo= Received: from mail-oi1-f197.google.com (mail-oi1-f197.google.com [209.85.167.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-592-q7fRRwu9PLeHr0JlIq5G-A-1; Mon, 01 May 2023 17:25:35 -0400 X-MC-Unique: q7fRRwu9PLeHr0JlIq5G-A-1 Received: by mail-oi1-f197.google.com with SMTP id 5614622812f47-38e91a5c246so1990363b6e.0 for ; Mon, 01 May 2023 14:25:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682976334; x=1685568334; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mDamfEXI3whq2cw/x9Hd2+R2GXvUBBZU4UUvZz4CPZQ=; b=bWhaRRG7Wjoa/acroQzU+nyhJrC7CjE37+rVGQk8txEbm6xhy3naqOoyD9iT6s6x7M IRgMmUg+qYWt33q37XZ0EQVst/bozp9gu3+DgbQFTQYo/QsxYdOXJRfknDq7S7bXCv1V UCE0+jujZxQNq8qW4iFl5HLBFTs40zHbrb6BuYW8RK+EEN/t/Cxe8uWW4N6EhMehb/rE xgd4kNcDj8cgpyvW+T5Z7tl9xP4nYI+8Ui4+iGyv3j+0jDtM406dSJecrPhSoE6uXUJ5 Ua18J3oXwI0MgcWYwfZg8SZn6NoLP0b4JqX3eD93/RK8TsVRyGcIujexu530gcauyfhy lLFA== X-Gm-Message-State: AC+VfDxI4mh63TICuzhxCLWklxdLLaOZ0yypdFHFqDaxj89i/QjxinHS 1hCWnhCaH+0vZg9QRC/F/li+MR4Dq6u9OaiWZXtFOEjDycMrjmUBe+OnRFIGHwnFVLY4tg4J6gu xHcEUQvUCz8TWdyocg59lvw== X-Received: by 2002:a05:6808:4345:b0:38e:50:415 with SMTP id dx5-20020a056808434500b0038e00500415mr7011953oib.44.1682976334402; Mon, 01 May 2023 14:25:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4BYwS+ULQ3y0vZhVcaPo7KzPmc9j3hnqCUWlnnvYXv9iYD7qYyCrXV++03Po9pEsgckmWoVA== X-Received: by 2002:a05:6808:4345:b0:38e:50:415 with SMTP id dx5-20020a056808434500b0038e00500415mr7011943oib.44.1682976334174; Mon, 01 May 2023 14:25:34 -0700 (PDT) Received: from halaney-x13s.attlocal.net ([2600:1700:1ff0:d0e0::22]) by smtp.gmail.com with ESMTPSA id q5-20020acac005000000b0038756901d1esm11911385oif.35.2023.05.01.14.25.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 May 2023 14:25:33 -0700 (PDT) From: Andrew Halaney To: linux-kernel@vger.kernel.org Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Andrew Halaney Subject: [PATCH v4 4/4] arm64: dts: qcom: sa8155p-adp: Move mtl nodes into ethernet node Date: Mon, 1 May 2023 16:24:46 -0500 Message-Id: <20230501212446.2570364-5-ahalaney@redhat.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230501212446.2570364-1-ahalaney@redhat.com> References: <20230501212446.2570364-1-ahalaney@redhat.com> MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The mtl nodes aren't evaluated unless they're under the node with the compatible. Move them so they're now evaluated in case future patchsets modify them incorrectly. An example of this can be seen in the link. Link: https://lore.kernel.org/linux-arm-msm/20230414145844.wyg6pt623pzqwh5l@halaney-x13s/ Signed-off-by: Andrew Halaney --- Changes since v3: * None Changes since v2: * New patch (me, after realizing this on another platform) arch/arm64/boot/dts/qcom/sa8155p-adp.dts | 46 ++++++++++++------------ 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sa8155p-adp.dts b/arch/arm64/boot/dts/qcom/sa8155p-adp.dts index b65e0203d783..02d04ce877c9 100644 --- a/arch/arm64/boot/dts/qcom/sa8155p-adp.dts +++ b/arch/arm64/boot/dts/qcom/sa8155p-adp.dts @@ -47,29 +47,6 @@ vreg_s4a_1p8: smps4 { vin-supply = <&vreg_3p3>; }; - - mtl_rx_setup: rx-queues-config { - snps,rx-queues-to-use = <1>; - snps,rx-sched-sp; - - queue0 { - snps,dcb-algorithm; - snps,map-to-dma-channel = <0x0>; - snps,route-up; - snps,priority = <0x1>; - }; - }; - - mtl_tx_setup: tx-queues-config { - snps,tx-queues-to-use = <1>; - snps,tx-sched-wrr; - - queue0 { - snps,weight = <0x10>; - snps,dcb-algorithm; - snps,priority = <0x0>; - }; - }; }; &apps_rsc { @@ -365,6 +342,29 @@ rgmii_phy: phy@7 { device_type = "ethernet-phy"; }; }; + + mtl_rx_setup: rx-queues-config { + snps,rx-queues-to-use = <1>; + snps,rx-sched-sp; + + queue0 { + snps,dcb-algorithm; + snps,map-to-dma-channel = <0x0>; + snps,route-up; + snps,priority = <0x1>; + }; + }; + + mtl_tx_setup: tx-queues-config { + snps,tx-queues-to-use = <1>; + snps,tx-sched-wrr; + + queue0 { + snps,weight = <0x10>; + snps,dcb-algorithm; + snps,priority = <0x0>; + }; + }; }; &qupv3_id_1 { -- 2.40.0