Message ID | 20230401220810.3563708-20-dmitry.baryshkov@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <linux-arm-msm-owner@vger.kernel.org> 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 0B090C77B6E for <linux-arm-msm@archiver.kernel.org>; Sat, 1 Apr 2023 22:08:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229805AbjDAWIb (ORCPT <rfc822;linux-arm-msm@archiver.kernel.org>); Sat, 1 Apr 2023 18:08:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230210AbjDAWI0 (ORCPT <rfc822;linux-arm-msm@vger.kernel.org>); Sat, 1 Apr 2023 18:08:26 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D54322BEDF for <linux-arm-msm@vger.kernel.org>; Sat, 1 Apr 2023 15:08:23 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id h9so26658319ljq.2 for <linux-arm-msm@vger.kernel.org>; Sat, 01 Apr 2023 15:08:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680386903; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=vpAPdB8a1KxE/31P7n445ITkGLoAKYAjcNmqI1cmGfU=; b=SD4iocEM9j+/oieJlsvl9UQdJPs2hHxkezcB9YDxP97z8qcJtXlMgBBX2Oip75L1Gr uThwfZZ1MXX+s4rdHGk+iRCmzLXGhz9qJE5nXAYpacVn1R9MV7A0kdvJkjDoketVY2pv tco6T4uVW8GttLasAQnLiqPnwHc16IPSheNGWQLhNsu+AN03TGrPFECudDW9G5Kke9+4 QI72OscETsAF9ZqThS4Do+D4c0VyPFjpilCsUstnVXeQwl5WEVBU62wngNRjOx3up3xv 9gHMOTwHDNsUgFB3RiUdhPWPUA+3mTYYmKtNsTOBWaQwiOrvxolIqekKii2QWLKokDAq +k6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680386903; 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=vpAPdB8a1KxE/31P7n445ITkGLoAKYAjcNmqI1cmGfU=; b=dbBLXKxTBqgErsw+v/l9L3OKbJFo8CuzCF8fuRSGN2B/3nYFpl4NuFIMupPQ8yuJw8 Fq/wZ51iLoVPD+1fc/DL+ItaPdxZykyy3iLvnD5M6HhZ0RxpoWAAqzlXPniETw14TNZn praoSQ9J1XrZ4EbWDWV0P9EDCrQ20IyWd4TQIDUarMBMfmxgAes/ojZtLuW4GPSWOZ/A GdvvykDwbmE6sX4lNJXyQkUgsN9VV1OyNU0MoOTvvUHtOm391WXxqmm7pZ8yGnd2pO+i lt607TLIDPdNcNCSl8bL4DNjzxlJqlltiuR9rXfn1uMIupuHE3V0JS/rFAC3D4E6DO1L HQpg== X-Gm-Message-State: AAQBX9fWiuRmw79k2jNYw4O8JqtKyMPjI7MGFdbZy/D1naxclhd22h/i RcoxUdOiR7ohq+mt+lBp78x57g== X-Google-Smtp-Source: AKy350ZvcqUde57P5OLtX4UdluqR5qLCim03qpfPgnHRL+SLBDdb8ouQPncf3Zd94cdr2C7KW55hqQ== X-Received: by 2002:a2e:83d5:0:b0:298:6d34:31c6 with SMTP id s21-20020a2e83d5000000b002986d3431c6mr8739886ljh.47.1680386903378; Sat, 01 Apr 2023 15:08:23 -0700 (PDT) Received: from umbar.unikie.fi ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id k17-20020a2e9211000000b0029bd4d0d3f2sm997590ljg.33.2023.04.01.15.08.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Apr 2023 15:08:23 -0700 (PDT) From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Johan Hovold <johan+linaro@kernel.org>, Jonathan Cameron <jic23@kernel.org>, Lars-Peter Clausen <lars@metafoo.de>, linux-iio@vger.kernel.org Subject: [PATCH v2 19/22] arm64: dts: qcom: sc8280xp*: use pmr735a.dtsi Date: Sun, 2 Apr 2023 01:08:07 +0300 Message-Id: <20230401220810.3563708-20-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230401220810.3563708-1-dmitry.baryshkov@linaro.org> References: <20230401220810.3563708-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-arm-msm.vger.kernel.org> X-Mailing-List: linux-arm-msm@vger.kernel.org |
Series |
arm64: dts: qcom: remove duplication in PMIC declarations
|
expand
|
diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi index 3d2914d13fd2..7a1298a71791 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi @@ -25,21 +25,5 @@ #define PMIC_NODE pmc82802 #include "pm8350.dtsi" -&spmi_bus { - pmr735a: pmic@4 { - compatible = "qcom,pmr735a", "qcom,spmi-pmic"; - reg = <0x4 SPMI_USID>; - #address-cells = <1>; - #size-cells = <0>; - - pmr735a_gpios: gpio@8800 { - compatible = "qcom,pmr735a-gpio", "qcom,spmi-gpio"; - reg = <0x8800>; - gpio-controller; - gpio-ranges = <&pmr735a_gpios 0 0 4>; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - }; -}; +/* SID 4 */ +#include "pmr735a.dtsi"
Stop duplicating declarations of pmr735a PMICs, use existing file to prevent possible future issues. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> --- arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-)