From patchwork Fri Apr 21 20:55:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Halaney X-Patchwork-Id: 675923 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 08588C7618E for ; Fri, 21 Apr 2023 20:57:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232922AbjDUU5m (ORCPT ); Fri, 21 Apr 2023 16:57:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233033AbjDUU5k (ORCPT ); Fri, 21 Apr 2023 16:57:40 -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 A1DAB1FCE for ; Fri, 21 Apr 2023 13:56:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1682110612; 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; bh=P7RzzGtL5Qme9j/hdre25JPbFnXeBl/FsBkZ1xbOQB0=; b=S/N0lMLqKqgxR3L/lwWJp8mz1qZnYYN774AkF8nrlU01cIEldRVDg3WgzCtPhR+c+wxY+n F+CCFHUoUDOo/rhPzWtEZP9GafmK0g7PSTk0oNsjEiJtwg6KS/kjsPPGQn2zvJ85WSFCDT 9j0Lhz96teqZm/5V1xdxkY/vrtAcEAU= Received: from mail-yw1-f199.google.com (mail-yw1-f199.google.com [209.85.128.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-496-Jd0VQV1VPumzdNlN95xH5g-1; Fri, 21 Apr 2023 16:56:51 -0400 X-MC-Unique: Jd0VQV1VPumzdNlN95xH5g-1 Received: by mail-yw1-f199.google.com with SMTP id 00721157ae682-54f95c79522so31174887b3.3 for ; Fri, 21 Apr 2023 13:56:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682110610; x=1684702610; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=P7RzzGtL5Qme9j/hdre25JPbFnXeBl/FsBkZ1xbOQB0=; b=I1696a4sr54XahM8715wAy/6EsOInbO7DNrWfsKK0XI3tqaQMgu3x50ghHUYQCD3Ro hiARDuA96Ckg7LBJ2S5q36yS9E5onzRq6muF6GQKjE2KZN1yoqGMW1Jhm1m7f729M+qf maMZ2Mm9onqevZMKbqpC1jWH1KiERLx2xeYmSHJJfnQi6x9jAehYU981RhipgnOdG0ex MaZcP126dCnLwbgEQHdssJZppxRjQjFpYdMyh+ZqiRyl2WVSfWQAdgn16qGYfhctXDYA +jiLxf2fTKejAVSRFJIq/IzdQuW3SpZAGjA3JO3BasYl5mGDB0rNgpbScZ6kEtT2Qxjh o61w== X-Gm-Message-State: AAQBX9fhnlaUM2aUurHw74eZX9CmiqLGNLC8QGfVbPzNXnjuqcYsON78 fwXRm3xeScE4V0+FZnakylFTI/cl/j81exN/B7IK7lShHlLLGCGiWwWwiTXs3jxH5L+I8gsR8H5 B57oEnVRPS2jyn/slvOfNBj9XzQ== X-Received: by 2002:a0d:db06:0:b0:555:d2a9:4187 with SMTP id d6-20020a0ddb06000000b00555d2a94187mr2537992ywe.23.1682110610620; Fri, 21 Apr 2023 13:56:50 -0700 (PDT) X-Google-Smtp-Source: AKy350Ysv83zsjjr1cp1Suy4HWlK3tdWVEM6VXyriWG1GQF2XZOnobMkx4hDq6giIytxpxtehgZ8vg== X-Received: by 2002:a0d:db06:0:b0:555:d2a9:4187 with SMTP id d6-20020a0ddb06000000b00555d2a94187mr2537972ywe.23.1682110610145; Fri, 21 Apr 2023 13:56:50 -0700 (PDT) Received: from halaney-x13s.attlocal.net ([2600:1700:1ff0:d0e0::22]) by smtp.gmail.com with ESMTPSA id x67-20020a0dd546000000b0054c0be459dbsm1179999ywd.39.2023.04.21.13.56.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Apr 2023 13:56:49 -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 v3 1/4] arm64: dts: qcom: sa8155p-adp: Make compatible the first property Date: Fri, 21 Apr 2023 15:55:09 -0500 Message-Id: <20230421205512.339850-1-ahalaney@redhat.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org As stated at the below link in another review, compatible is always the first property. Follow suit here to avoid copying incorrectly in the future. Link: https://lore.kernel.org/netdev/20230331215804.783439-1-ahalaney@redhat.com/T/#ma76b4116bbb9e49ee4bcf699e40935d80965b3f3 Reviewed-by: Konrad Dybcio Signed-off-by: Andrew Halaney --- Changes since v2: * Collect tags Changes since v1: * None arch/arm64/boot/dts/qcom/sa8155p-adp.dts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sa8155p-adp.dts b/arch/arm64/boot/dts/qcom/sa8155p-adp.dts index 339fea522509..029b23198b3a 100644 --- a/arch/arm64/boot/dts/qcom/sa8155p-adp.dts +++ b/arch/arm64/boot/dts/qcom/sa8155p-adp.dts @@ -352,19 +352,18 @@ ðernet { max-speed = <1000>; mdio { + compatible = "snps,dwmac-mdio"; #address-cells = <0x1>; #size-cells = <0x0>; - compatible = "snps,dwmac-mdio"; - /* Micrel KSZ9031RNZ PHY */ rgmii_phy: phy@7 { + compatible = "ethernet-phy-ieee802.3-c22"; reg = <0x7>; interrupt-parent = <&tlmm>; interrupts-extended = <&tlmm 124 IRQ_TYPE_EDGE_FALLING>; /* phy intr */ device_type = "ethernet-phy"; - compatible = "ethernet-phy-ieee802.3-c22"; }; }; }; From patchwork Fri Apr 21 20:55:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Halaney X-Patchwork-Id: 676183 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 F1575C77B76 for ; Fri, 21 Apr 2023 20:57:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233260AbjDUU5s (ORCPT ); Fri, 21 Apr 2023 16:57:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233145AbjDUU5p (ORCPT ); Fri, 21 Apr 2023 16:57:45 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02D951FD8 for ; Fri, 21 Apr 2023 13:57:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1682110622; 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=gCHyO7KsVFQpse/HOUPR50ds379wRgjHgpb+I1FLJjs=; b=czaZ2FTbPjm0520ZkVvBFC5UO0aeOjMwfD7c1uvOW+Tndg12m6/NSyJyLtw8/3j5qhIXhr PqO8pWh7VJsb8Kj4XW07BmzrjqD7HQEDMvLB543+GR1Zg7gph3S9tRG7rnWCTZ2wFnhAQD zNxq6r0CGydAqyXBJkQHqCoqG5rM1hA= Received: from mail-yb1-f197.google.com (mail-yb1-f197.google.com [209.85.219.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-649-DAzxz6DDOnuPs53SGjvjJQ-1; Fri, 21 Apr 2023 16:57:00 -0400 X-MC-Unique: DAzxz6DDOnuPs53SGjvjJQ-1 Received: by mail-yb1-f197.google.com with SMTP id 3f1490d57ef6-b992ab82e0dso2141455276.3 for ; Fri, 21 Apr 2023 13:57:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682110620; x=1684702620; 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=gCHyO7KsVFQpse/HOUPR50ds379wRgjHgpb+I1FLJjs=; b=eugoRoeUj0fIJ2A1CHcEKw14JBjLs3gIjxLz0M6rJ7ih4dynhCn+39LckbJlNXNo4Y MZM4W5bI9IVKEaRSd/L29QXwJSq5GO5uM++Vs2Fls3BFhdh++yfHMUbqyGzPCChHQraQ tmpvcF9Oija9j/jbMjSYIUhpV3UUkFJtbRY7oj5UgAGHhLacFTWk3S+Mme6rCtLWoidm 4yDaJ0vWU148MF/CAE5Hzh/+4YhQdd0WROnFwGFFmbrzshoWn1xz7BEbaii0J7bZGNG3 yiWELUCFjVUsHn8ZY+5C77GD2ApBaElhBk8h8HBPWgS+QtxNJ31zqv7ioTFqZYFap5aS pV6w== X-Gm-Message-State: AAQBX9dFdlQ6ChHiZEtWEkafWyDe9RfxVsuysZVDuwcNQl3KIDJ1ebHr FZsuJK2UatwbxUiz1yK6D6B1WrYa4uOXe0IfeM8Ei99jO/qSTZvp719TwDQhEQ3BJZUwTFpwaz8 YCtyXFTyKcOzG43zuwqYXd6vpeg== X-Received: by 2002:a25:ad1e:0:b0:b97:b56e:8db6 with SMTP id y30-20020a25ad1e000000b00b97b56e8db6mr3556715ybi.60.1682110620269; Fri, 21 Apr 2023 13:57:00 -0700 (PDT) X-Google-Smtp-Source: AKy350Y4rqY6e3Xy/x6/yshw27j9TDzxWo+pJ+Kpzmmw6FsdnANP5euaf+uvyWc6Ge9omHanCEvu0Q== X-Received: by 2002:a25:ad1e:0:b0:b97:b56e:8db6 with SMTP id y30-20020a25ad1e000000b00b97b56e8db6mr3556699ybi.60.1682110619973; Fri, 21 Apr 2023 13:56:59 -0700 (PDT) Received: from halaney-x13s.attlocal.net ([2600:1700:1ff0:d0e0::22]) by smtp.gmail.com with ESMTPSA id x67-20020a0dd546000000b0054c0be459dbsm1179999ywd.39.2023.04.21.13.56.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Apr 2023 13:56:59 -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 v3 2/4] arm64: dts: qcom: sa8155p-adp: Make -cells decimal Date: Fri, 21 Apr 2023 15:55:10 -0500 Message-Id: <20230421205512.339850-2-ahalaney@redhat.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230421205512.339850-1-ahalaney@redhat.com> References: <20230421205512.339850-1-ahalaney@redhat.com> MIME-Version: 1.0 Content-type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The property logically makes sense in decimal, and is the standard used elsewhere. Suggested-by: Konrad Dybcio Reviewed-by: Konrad Dybcio Signed-off-by: Andrew Halaney --- Changes since v2: * Collect tags Changes since v1: * New patch (Konrad) arch/arm64/boot/dts/qcom/sa8155p-adp.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sa8155p-adp.dts b/arch/arm64/boot/dts/qcom/sa8155p-adp.dts index 029b23198b3a..ac52a8dfeba1 100644 --- a/arch/arm64/boot/dts/qcom/sa8155p-adp.dts +++ b/arch/arm64/boot/dts/qcom/sa8155p-adp.dts @@ -353,8 +353,8 @@ ðernet { mdio { compatible = "snps,dwmac-mdio"; - #address-cells = <0x1>; - #size-cells = <0x0>; + #address-cells = <1>; + #size-cells = <0>; /* Micrel KSZ9031RNZ PHY */ rgmii_phy: phy@7 { From patchwork Fri Apr 21 20:55:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Halaney X-Patchwork-Id: 676182 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 9B932C7618E for ; Fri, 21 Apr 2023 20:58:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233316AbjDUU6A (ORCPT ); Fri, 21 Apr 2023 16:58:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233258AbjDUU5x (ORCPT ); Fri, 21 Apr 2023 16:57:53 -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 8767E1FE4 for ; Fri, 21 Apr 2023 13:57:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1682110627; 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=O0Mtszdjlm4MgVhkShoWxFcn7UkV33phtqGTpiHGGr4=; b=F7q+120Z2AOzr1aP8thEuh4DUPkEs6jk7Xe1Ad5u87+Vs9Zanu089OfwOxHHi7ooxvXda8 ubbF4HhB9S/XIx6FNbLcxrxHKIMBzZLNq1g4UntN47h5FdNh9zKAnzWsJXwwMYfkvFCnsc BQx5l8Aw6jScyjEN4a1croF/sY5X4eg= Received: from mail-yw1-f198.google.com (mail-yw1-f198.google.com [209.85.128.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-390-hYXjDH4dNZSGclQgTJO6xA-1; Fri, 21 Apr 2023 16:57:06 -0400 X-MC-Unique: hYXjDH4dNZSGclQgTJO6xA-1 Received: by mail-yw1-f198.google.com with SMTP id 00721157ae682-552f2f940edso33700137b3.0 for ; Fri, 21 Apr 2023 13:57:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682110626; x=1684702626; 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=O0Mtszdjlm4MgVhkShoWxFcn7UkV33phtqGTpiHGGr4=; b=dGxg4V9NJldA2kG2+yyuTWcK+6bqjhlwTH09ofK2+lmfSAMtFQQA6wu6fUVHA54dUF KAnNbfooHENYNzGj2RHWn0Ur/+cF0cXfo3yefZFQNynl9lOTXZgFK3caXqE7Qs/ipEOl X3YdbbqYdIFrVrvKWJGdlT3lDpiqQ1Fyhu+La1pE810R7YyIF2yG7q1I/Pw2oCWvXpeN fBTbNU6OM7nuWjHbo4VNyHFwWZBRaxqLyhDJJnHg6NoDvhku9wC9mI2EPKmhnQNYOhPl QjKJB8wS5Lxh0dP0THKUGwygBYNlUpAutk89UXvXlFDfzOJ4jERcGHlp50B/dy3sTu2t T5qw== X-Gm-Message-State: AAQBX9efO1EvaTyCX0U73r0bQhTp1dDGvKcjGhum5qSqTWRNGTQiXqvz 6/58tARElRLH+tMgukBW+JylujQDhSlPA6F2ggD31cD9kVc7hLcsYwtarPPgBy37EG1B4UPzCnB 5CCkIXd+ZJDCfut+7zPsBPk/2Cg== X-Received: by 2002:a81:6c44:0:b0:556:1182:958a with SMTP id h65-20020a816c44000000b005561182958amr2790570ywc.24.1682110625953; Fri, 21 Apr 2023 13:57:05 -0700 (PDT) X-Google-Smtp-Source: AKy350YQDiTLclCcBihczFE91vxXgq6wBX1hK5ylVIS+7QncrEBEYfPYI8ILhGObrfq57VG337mb4w== X-Received: by 2002:a81:6c44:0:b0:556:1182:958a with SMTP id h65-20020a816c44000000b005561182958amr2790554ywc.24.1682110625659; Fri, 21 Apr 2023 13:57:05 -0700 (PDT) Received: from halaney-x13s.attlocal.net ([2600:1700:1ff0:d0e0::22]) by smtp.gmail.com with ESMTPSA id x67-20020a0dd546000000b0054c0be459dbsm1179999ywd.39.2023.04.21.13.57.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Apr 2023 13:57:05 -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 v3 3/4] arm64: dts: qcom: sa8155p-adp: Remove unneeded rgmii_phy information Date: Fri, 21 Apr 2023 15:55:11 -0500 Message-Id: <20230421205512.339850-3-ahalaney@redhat.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230421205512.339850-1-ahalaney@redhat.com> References: <20230421205512.339850-1-ahalaney@redhat.com> MIME-Version: 1.0 Content-type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Using interrupts-extended already indicates what the interrupt-parent is, so drop the explicit interrupt-parent. The comment about this being the phy-intr is not helpful either, since this is the only interrupt in the phy node. Suggested-by: Konrad Dybcio Reviewed-by: Konrad Dybcio Signed-off-by: Andrew Halaney --- Changes since v2: * Collect tags Changes since v1: * New patch (Konrad) arch/arm64/boot/dts/qcom/sa8155p-adp.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sa8155p-adp.dts b/arch/arm64/boot/dts/qcom/sa8155p-adp.dts index ac52a8dfeba1..b65e0203d783 100644 --- a/arch/arm64/boot/dts/qcom/sa8155p-adp.dts +++ b/arch/arm64/boot/dts/qcom/sa8155p-adp.dts @@ -361,8 +361,7 @@ rgmii_phy: phy@7 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <0x7>; - interrupt-parent = <&tlmm>; - interrupts-extended = <&tlmm 124 IRQ_TYPE_EDGE_FALLING>; /* phy intr */ + interrupts-extended = <&tlmm 124 IRQ_TYPE_EDGE_FALLING>; device_type = "ethernet-phy"; }; }; From patchwork Fri Apr 21 20:55:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Halaney X-Patchwork-Id: 675922 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 24676C77B76 for ; Fri, 21 Apr 2023 20:58:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233239AbjDUU57 (ORCPT ); Fri, 21 Apr 2023 16:57:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233259AbjDUU5x (ORCPT ); Fri, 21 Apr 2023 16:57:53 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D75EC10CC for ; Fri, 21 Apr 2023 13:57:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1682110631; 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=GHdC3CO7d7h9QJ4WwIQBRA4b+ojZKpdU+4dGZcHHyn8=; b=eNhQ1nwu47euN4OrU8fCxy88LZ8TT/dc71LGIPKoiYk41NxLPrprKvZ2Qyu6jXnbxHZ/x3 wFjNPyyzrvUejx5IbdU9JBb/ldfCYkyWF97g7xAS/xsXu6NAdBBTW0sdV3m8wTpiL+ww6b Y/GwnFXX9OgqSvdbmfZ6zG8oMqDhSnQ= Received: from mail-yw1-f198.google.com (mail-yw1-f198.google.com [209.85.128.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-449-zIedwAYmNom1722r_YqRew-1; Fri, 21 Apr 2023 16:57:09 -0400 X-MC-Unique: zIedwAYmNom1722r_YqRew-1 Received: by mail-yw1-f198.google.com with SMTP id 00721157ae682-555f6759323so29692127b3.2 for ; Fri, 21 Apr 2023 13:57:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682110629; x=1684702629; 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=GHdC3CO7d7h9QJ4WwIQBRA4b+ojZKpdU+4dGZcHHyn8=; b=LhJ/JPALp4TkxFxa/cLey0p0xObUhFFjE3OXPLZxYdxikk3Fv/4hfCn7uQSMgNhM7g xbGeWzZloyFQ1aoZhUqgd/ZQoVXU4YeWgwCXot4eRbuMmcDedVaXSJu5Szas01TXZxfo 6cukKkj4fJHTfO8UjU5iWhhNOJIhwh4Z74C141ygvGMGALaksaDl/TqMQL6894GZkQVX NZCaX+BCYGIL3aCIs7e20/nbmHvugZp+ghES3DSA4mB3/2+H1rUs6jFr5Bygicn9LCLM 0a54rEtsYXYl9QQ4UFGHmjzt/QDgm0keBmdxgdS0rjj9v36l2QZIWAYTZo/JDIci/1yZ efYg== X-Gm-Message-State: AAQBX9faXFRZ+1408WDs/LRTcheyB4r234pyTbIE94Pk8vVob4g8mLMu UoRWyHnUABGx+WgWOzGmL78EuCHtKsg6ZE3lSu+EbCzO+HH/6Dc7B8aCVe3UhS8DCenuJsXEmwS OmezOVT4EO8EuuCu/KgOhM8yWgQ== X-Received: by 2002:a0d:e80e:0:b0:552:9fae:d0b with SMTP id r14-20020a0de80e000000b005529fae0d0bmr2961326ywe.16.1682110629207; Fri, 21 Apr 2023 13:57:09 -0700 (PDT) X-Google-Smtp-Source: AKy350YhmtU533lQoik67y8f8UrJHdl4W7EW+ZwOU08LNuM8hqNta/4muproajIhj5BU+Xb9HkSvqw== X-Received: by 2002:a0d:e80e:0:b0:552:9fae:d0b with SMTP id r14-20020a0de80e000000b005529fae0d0bmr2961319ywe.16.1682110628977; Fri, 21 Apr 2023 13:57:08 -0700 (PDT) Received: from halaney-x13s.attlocal.net ([2600:1700:1ff0:d0e0::22]) by smtp.gmail.com with ESMTPSA id x67-20020a0dd546000000b0054c0be459dbsm1179999ywd.39.2023.04.21.13.57.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Apr 2023 13:57:08 -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 v3 4/4] arm64: dts: qcom: sa8155p-adp: Move mtl nodes into ethernet node Date: Fri, 21 Apr 2023 15:55:12 -0500 Message-Id: <20230421205512.339850-4-ahalaney@redhat.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230421205512.339850-1-ahalaney@redhat.com> References: <20230421205512.339850-1-ahalaney@redhat.com> MIME-Version: 1.0 Content-type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 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 {