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 2C377C433FE for ; Thu, 6 Jan 2022 18:43:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242976AbiAFSnA (ORCPT ); Thu, 6 Jan 2022 13:43:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242965AbiAFSm7 (ORCPT ); Thu, 6 Jan 2022 13:42:59 -0500 Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE7A3C061245; Thu, 6 Jan 2022 10:42:58 -0800 (PST) Received: by mail-io1-xd30.google.com with SMTP id 19so4231376ioz.4; Thu, 06 Jan 2022 10:42:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3BKBH7bXrSa7D2NBRCF3DtqxqnTEQJ2QlSdlcjBQtLw=; b=IaIzfOAl83AKok3656+22nOkSeCWmg/58JB1QkmQly1kVVCt6224b2hTbv6Xq6u5D7 BnvuIKLeZmFRsPx17I5vU2GxscZimDwMpjlrmCCAR5lOrp1Izbb01IFuOhWhXGA8aCnR EWZFobsvA1cBQB3ddFx6ja5M1JDApPhxPvBoFDsmwqRpol0iM38HN4q++EmLmnDsANfs GyaClzSPmIQf7REvFw0QrqkSzA83iQ39+KaMiZAxSS/SPeVYY5darGRa58XRyqXw7Miu 1h3jP8mN9ZSS2QhHU7sJz1b+rUlSaXTOLBGim8Y9alPZNNWIMKqCud60SUsAHc3Lpu51 dCMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3BKBH7bXrSa7D2NBRCF3DtqxqnTEQJ2QlSdlcjBQtLw=; b=0w4YDY1zzbgVhYYj195aGjihbAwg32FCGSeT/kef2jRU9nUcYXUiZNzYgnPMuCtQeE 3aSS683WtwaamDAaZW0eOVKPruRWcpkl6DgNNrKpHjInDNuMRinofyCpgzHbo8rlgh+m Zo27toHSEYqyFQNvM10JO/FHUmHvc7jlerWWb0ODFAi9yotiEx6ImeVzLiGeAoTG5R4C eivn3oWUnZr0BiVtukFYNEvhLJz6tKXmJsM2A4Q3mTLrrMKFKmmAIgomAU8M38/vvQeJ SEBVI4ayjrftOHScm8GizrtCC+8huBeJO4j04fw+HYvIIlUMHkWH0UsXiLNnyqMt/01O yQaA== X-Gm-Message-State: AOAM532QO53nUJNORW+cdEk4Xhn1lI8DdDHq5iiLhzhDDAK86dTQHhbp MaFs/SNo7GYcKqILNwYbYu1Kgndwc2PJz8pJrZM= X-Google-Smtp-Source: ABdhPJww3eQIXfkqUkfXk7et0oXtpkP9Zj5ynkVb1R886yXUB/7KMk919g2ZzLham/tTXHlfUcUR5cB/fjLK0IlvfpE= X-Received: by 2002:a02:b384:: with SMTP id p4mr26830812jan.167.1641494578260; Thu, 06 Jan 2022 10:42:58 -0800 (PST) MIME-Version: 1.0 References: <20211231161930.256733-1-krzysztof.kozlowski@canonical.com> <20211231161930.256733-6-krzysztof.kozlowski@canonical.com> In-Reply-To: <20211231161930.256733-6-krzysztof.kozlowski@canonical.com> From: Alim Akhtar Date: Fri, 7 Jan 2022 00:12:22 +0530 Message-ID: Subject: Re: [PATCH 05/24] ARM: dts: exynos: override pins by label in Peach Pit To: Krzysztof Kozlowski Cc: Tomasz Figa , Sylwester Nawrocki , Linus Walleij , Rob Herring , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, open list , Marek Szyprowski , Sylwester Nawrocki , Sam Protsenko , Chanho Park Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Krzysztof On Sat, Jan 1, 2022 at 11:15 AM Krzysztof Kozlowski wrote: > > 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). > While it makes sense to do this, was wondering if you faced any issue with the current implementation? > Signed-off-by: Krzysztof Kozlowski > --- Feel free to add Reviewed-by: Alim Akhtar > arch/arm/boot/dts/exynos5420-peach-pit.dts | 44 +++++++++++----------- > 1 file changed, 22 insertions(+), 22 deletions(-) > > diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts > index e76fb104db19..1ae5528e9ebf 100644 > --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts > +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts > @@ -868,27 +868,26 @@ pmic_dvs_1: pmic-dvs-1 { > }; > }; > > -&pinctrl_1 { > - /* Adjust WiFi drive strengths lower for EMI */ > - sd1_clk: sd1-clk { > - samsung,pin-drv = ; > - }; > +/* pinctrl_1 */ > +/* Adjust WiFi drive strengths lower for EMI */ > +&sd1_bus1 { > + samsung,pin-drv = ; > +}; > > - sd1_cmd: sd1-cmd { > - samsung,pin-drv = ; > - }; > +&sd1_bus4 { > + samsung,pin-drv = ; > +}; > > - sd1_bus1: sd1-bus-width1 { > - samsung,pin-drv = ; > - }; > +&sd1_bus8 { > + samsung,pin-drv = ; > +}; > > - sd1_bus4: sd1-bus-width4 { > - samsung,pin-drv = ; > - }; > +&sd1_clk { > + samsung,pin-drv = ; > +}; > > - sd1_bus8: sd1-bus-width8 { > - samsung,pin-drv = ; > - }; > +&sd1_cmd { > + samsung,pin-drv = ; > }; > > &pinctrl_2 { > @@ -907,12 +906,13 @@ pmic_dvs_3: pmic-dvs-3 { > }; > }; > > -&pinctrl_3 { > - /* Drive SPI lines at x2 for better integrity */ > - spi2-bus { > - samsung,pin-drv = ; > - }; > +/* pinctrl_3*/ > +/* Drive SPI lines at x2 for better integrity */ > +&spi2_bus { > + samsung,pin-drv = ; > +}; > > +&pinctrl_3 { > /* Drive SPI chip select at x2 for better integrity */ > ec_spi_cs: ec-spi-cs { > samsung,pins = "gpb1-2"; > -- > 2.32.0 > -- Regards, Alim