Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3504562pxb; Mon, 4 Apr 2022 19:06:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXKANO1D67m7Q+4/LHfVZ2mvXofd5H93rFcyL/BT7nB1e6xJA2mT02MZbtt7BDA+2m72Xj X-Received: by 2002:a17:902:e845:b0:156:39c9:f833 with SMTP id t5-20020a170902e84500b0015639c9f833mr1025471plg.119.1649124412934; Mon, 04 Apr 2022 19:06:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649124412; cv=none; d=google.com; s=arc-20160816; b=YXAVrxr0AmJM39s2GDiK5XKMz16wUVoK1i/45SACbPSFxG6OAtUnAiUpoFkxePvOkp 2hYWgaIPH8tGyNOQJSexho2wyaPBlc1EqSRWQab/OCpl6q+mbCbS+868Jn+6MOUdprKZ D/zPjsDy7Aa8ecK9RTl4RC4u24adMBZbU4INFPJ09QwvATae2Azb3zyLRri+CpZzlXD5 rZQIXaCm9kyJdWNAxQZEqTKFj6gJmTTERqSKmiC2DgwkLvOv/Gr4ji1pNFohuzGH1P7U 3urUFgSyi5rJ6io/c6oInGCrY0U95i93VvfbgL+gxBSageOuN3wENyYYGvPLe8KciWSr 6RfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=jrL/DeeTGKDUmIO0s0ktdBOJGDCSZ62AedFscY9wS70=; b=AC5llsCi4VYQBSI1dNBvA/NQidIglt2spRAD+uTHHJDjqI9mJs40ABditDn9Cclxek NwVM7WaWx4r9qH4+GbTbeF4Khb/Tukffw/O9zKnllSERUzwA81f1SN73YU9VHXTDaBY2 IOfC6dt8ocs7ak1uoMynMiX/AWcrQk6cHpfLu4PgHzDxvDpTzdugMS0T9ePmdy/DGswQ Zk73UUVGUt2YNgTksxTvqZsQ4Qv6oash7H0SsAmc8o7Ctbrxtv/n6M7Q0ZLkCrzzaqzM Cmds1Rd1rTlk+sYLe37fCgCrX2Vv3btXdDO0Qcs0Y35W+bKzltR5pyEMb0H1klUTHiVA Hg2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GSOVLA24; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id w62-20020a628241000000b004fa3a8e0084si11009661pfd.315.2022.04.04.19.06.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 19:06:52 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GSOVLA24; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2B19D19D608; Mon, 4 Apr 2022 17:29:26 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245323AbiDBTa7 (ORCPT + 99 others); Sat, 2 Apr 2022 15:30:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245174AbiDBTa5 (ORCPT ); Sat, 2 Apr 2022 15:30:57 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E7C017AA5 for ; Sat, 2 Apr 2022 12:29:05 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id v30so862937wra.8 for ; Sat, 02 Apr 2022 12:29:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jrL/DeeTGKDUmIO0s0ktdBOJGDCSZ62AedFscY9wS70=; b=GSOVLA24K5u4gRiAJRRwlqQb5vfiM459ZzPdHPmLHzzSHAZrsiKa2QEiG+JNUagQ0c UFbx2EkakeIznFH4jIn9Ou2Y64AzfbTgFTZ2rVJlOiW5+XycQSLRayqIb1x/wiWFuPA8 kW4ICAjre61QezGxCKQdIw6BA96uaa2hH3XjYkQ3z1qmXYEo9iZ/8bWNpWfyYGl0ZIeo qutA/P8qBUyTBPXjGBQvwe+W+3RR0n+EhLfc6jF1PdNBqOGE2xOkvy3ltUOFgbmEWiuC xnejCkeMkFgOrr87el1dovfaIw8wK8YCP1QjZmgA0lRWiwe8PZXmcpyEA/tSMNSuIOS7 JvCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jrL/DeeTGKDUmIO0s0ktdBOJGDCSZ62AedFscY9wS70=; b=eAwdZWT16iUKNanLNeXl76bXZB7USNgWe7sB5qyZ02JiJ5Mjht1dBM1ZqRwnNUDnOD z7W+6I2htuZTOCqKGxyo/vZ9qm8kzsSGRItflpwN3bZ+z3Tv7K/unTVqoDBt/kTc0LAP DWwQnSM3brtT8wBVVy3Hx50phioO93BphLKdVVW+qz1MXhQbEyydIkWaKyGQ7Qi/QsVD cVr/S6cXmR9kiy/uLCJEfYcLATuTSVBfi2nbMVlzYb11PDkJpFDxPmDhEDu0jjSH8Iq6 4f3runeCzvIXyjQtfhM9cso/Vg/ZGvuVq1qoxzsDgkK8C3fUWGx6pSFzdreymA5D1Agc LJDQ== X-Gm-Message-State: AOAM530Ut+gWa+hScFPoMG2mDzre9AXH57nmG61vWfZ4IXwA2rA76QcN pLnnxVu1pxjsmZ0WjfqpIHGsgw== X-Received: by 2002:a5d:5848:0:b0:203:fef3:888b with SMTP id i8-20020a5d5848000000b00203fef3888bmr11796295wrf.611.1648927743677; Sat, 02 Apr 2022 12:29:03 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id y11-20020a056000168b00b002041af9a73fsm5770629wrd.84.2022.04.02.12.29.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Apr 2022 12:29:03 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/2] arm64: dts: qcom: msm8994: override nodes by label Date: Sat, 2 Apr 2022 21:28:58 +0200 Message-Id: <20220402192859.154977-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Using node paths to extend or override a device tree node is error prone. If there was a typo error, a new node will be created instead of extending the existing node. This will lead to run-time errors that could be hard to detect. A mistyped label on the other hand, will cause a dtc compile error (during build time). This also reduces the indentation making the code easier to read. Signed-off-by: Krzysztof Kozlowski --- .../dts/qcom/msm8994-huawei-angler-rev-101.dts | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8994-huawei-angler-rev-101.dts b/arch/arm64/boot/dts/qcom/msm8994-huawei-angler-rev-101.dts index 0e3dd48f0dbf..c1fb9a7d6fa4 100644 --- a/arch/arm64/boot/dts/qcom/msm8994-huawei-angler-rev-101.dts +++ b/arch/arm64/boot/dts/qcom/msm8994-huawei-angler-rev-101.dts @@ -27,15 +27,13 @@ aliases { chosen { stdout-path = "serial0:115200n8"; }; +}; - soc { - serial@f991e000 { - status = "okay"; - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&blsp1_uart2_default>; - pinctrl-1 = <&blsp1_uart2_sleep>; - }; - }; +&blsp1_uart2 { + status = "okay"; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&blsp1_uart2_default>; + pinctrl-1 = <&blsp1_uart2_sleep>; }; &tlmm { -- 2.32.0