From patchwork Fri Sep 30 18:52:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 611107 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 2B7F0C43219 for ; Fri, 30 Sep 2022 18:52:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232411AbiI3Sww (ORCPT ); Fri, 30 Sep 2022 14:52:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232406AbiI3Sws (ORCPT ); Fri, 30 Sep 2022 14:52:48 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFEE5165135 for ; Fri, 30 Sep 2022 11:52:46 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id z4so8206309lft.2 for ; Fri, 30 Sep 2022 11:52:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=32ReyeR7XTuL/1pE9nCyvZ0sfnZgNS4vS4jw57Niey4=; b=l9+eGK9GXzGiAnjrtQO70xhoTBHK8XX+tzOsU2mUID5N2ygW7IgHEiu/XId2gPvQyN hZp4+sV0MRZ7BoIOkSax98qnPDd2B9EwKY8iryoh394j0yI4dIl+oP49C7UUn3iqU4uZ LVGS8xPfGz3KHZkjGu0LNtT+d/+926VELnmp0jgiBmppsPmngkaSdOgdqysOtAHXIPoc pR2yTY82mMKikSvmLwDimXAcVJzDo3bSRjZ6XoP+Mw9sa62lKdQULgYKu5A8PdXJe+4C LbpNIvQ7Rc3AAtW1gNXdn72vD+hTyENlxC+hUSDJQuPxmtYxxbjWS412qzLC5uAJ9CNu lutQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=32ReyeR7XTuL/1pE9nCyvZ0sfnZgNS4vS4jw57Niey4=; b=RISp1cJffu2qMO+LvuJKBcsvCIhJjROPVVyLeo1abS69zn/DF03hxCcgV9EI+/o2Db FMJDNA6r9iNMlHbYPdSNp5mHOrCZomgnIMutRIbde59vGobK4y5LN3QAU14lFkOIOLmn qgfWNPZLlFZsO5Bf+yiz7mxSGDo9+0aDNG/VWkbn6+jQfQj7pPrS/npZX/SoiDZW2C8s AN15t8+nCjkZE6Y8YfUPfsCRAXrI27UWjT2V3Rz4HR0aWFotogpcHpD3HqetjJ1RSbgD YZif3eapxPtcv06CbDZcvXqsyHUYEt7W16djAivSSnaxRgSd5Swwgz/JGymq/WbQOezu F5IA== X-Gm-Message-State: ACrzQf3UJN7u5YDH5pkyeq5grHdan6PqzvlwRzPYwAkLy0TmMWMqAD/A KRR0cuIUbj4QxV8i7x4jSMLy1Q== X-Google-Smtp-Source: AMsMyM7XKvHEgDHGTJdajPskW5DvDS7UeJ1ZP7X5gosWM9Mg30grrsi/SWOL7vpz5EOob5BMuuh6/Q== X-Received: by 2002:a05:6512:c21:b0:49b:d7ab:166f with SMTP id z33-20020a0565120c2100b0049bd7ab166fmr3623927lfu.418.1664563964961; Fri, 30 Sep 2022 11:52:44 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id i8-20020a056512006800b00492cfecf1c0sm374703lfo.245.2022.09.30.11.52.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Sep 2022 11:52:44 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 10/23] ARM: dts: qcom: apq8064-cm-qs600: pull SDCC pwrseq node up one level Date: Fri, 30 Sep 2022 21:52:23 +0300 Message-Id: <20220930185236.867655-11-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220930185236.867655-1-dmitry.baryshkov@linaro.org> References: <20220930185236.867655-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org There are no need to add additional simple-bus nodes just to populate a single pwrseq device. Pull it up one level into /. While we are at it also fix node name replacing underscore with dash. Signed-off-by: Dmitry Baryshkov --- arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts index 5ff0d9a275cc..d6ecfd8addb7 100644 --- a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts +++ b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts @@ -15,18 +15,11 @@ chosen { stdout-path = "serial0:115200n8"; }; - pwrseq { - #address-cells = <1>; - #size-cells = <1>; - ranges; - compatible = "simple-bus"; - - sdcc4_pwrseq: sdcc4_pwrseq { - pinctrl-names = "default"; - pinctrl-0 = <&wlan_default_gpios>; - compatible = "mmc-pwrseq-simple"; - reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>; - }; + sdcc4_pwrseq: pwrseq-sdcc4 { + pinctrl-names = "default"; + pinctrl-0 = <&wlan_default_gpios>; + compatible = "mmc-pwrseq-simple"; + reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>; }; /* on board fixed 3.3v supply */