Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp3022102rwj; Mon, 19 Dec 2022 11:53:27 -0800 (PST) X-Google-Smtp-Source: AMrXdXve++Lmjb4Wl8FltK7ToPX1NvqAm4TpKTl1bRwSZ6WhiTQxyJZEEkmWNCQz2qXqev71IRgF X-Received: by 2002:a17:906:878a:b0:828:76a3:e6bf with SMTP id za10-20020a170906878a00b0082876a3e6bfmr4465730ejb.50.1671479606787; Mon, 19 Dec 2022 11:53:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671479606; cv=none; d=google.com; s=arc-20160816; b=d/htfmNyLei6lE4FiHnLN0HyMnhswQoj9Rzj5FiD3YdqM6sNPi/9MDOl0Sff/U9cdu NrHdzV2metTipCij/wyQXYy1P3dsir5bVYmngCxEhtwtyRKSTKRWWKeY7Q6BYO8a93f0 dMbnQYFJqNxAOqtVGalGPL7/IPCMqmDYn3Jn4/qZAIEb/MoR+X8NHJS5snKANZVtMSab 4OA/xUhDaw03BaOtH5kwsCobA7rq0i5LYB/4e6BIkXg5gpL3dTm+HVTHJ90Y3sBmy5TI pSNlz/wqQtgL+IrGOyWD2ezGC+fEO3AUpH/Oipc7mt08zCc5AZ6b9H8zmPQSKkUkgley sKWA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=DYlcVMZxZ7sfT1YBoo0lGgFw3p0ugJ1rt2fQWCu4fB0=; b=u6nqfY2vvzd17NQYxGoGEI/f9eMhRysc6IOGYlScPLS39mp3UlwsSTPJYBnsTKTZRy eMWLhvCtZ1Nbzxke7CG0LGFg9rTmWy5w05ISxdVn3LS9lRR6fsnIFAPIGsVd6Ao+cPqp xYHdSb2brzInDdd82idq/W3D8j7fzmf604oN/nGP+Z3gzRVy2RVGnSNVy54zLZXUjLER blaTMFOeyNFdDszpEK8Osu36SoptOVIBI316+5XakceT8vDx++xQ5TjRcUoHMHYfXfDK Dd/0WiidSAiMvY6lLFADmBex/l5SRdaUrtjuDe8M/PCjulIokvWZ63ZN+6I3FWWt/xul qB6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ah8UnNL1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hp23-20020a1709073e1700b007da4fe085desi10391991ejc.157.2022.12.19.11.53.10; Mon, 19 Dec 2022 11:53:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ah8UnNL1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232399AbiLSTNa (ORCPT + 70 others); Mon, 19 Dec 2022 14:13:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232245AbiLSTMv (ORCPT ); Mon, 19 Dec 2022 14:12:51 -0500 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 2E03C11C39 for ; Mon, 19 Dec 2022 11:12:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671477129; 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=DYlcVMZxZ7sfT1YBoo0lGgFw3p0ugJ1rt2fQWCu4fB0=; b=ah8UnNL11wxcc1BtzKX8aixnh2xWUzObgSFiR5RLCHR4uNcUI74u332mxwepoSv2KvTYFU 4xjwu9imoAXcV5AJZ3gobPeLgL5RzIzUIv4nNJrtASfsEfFwnVt+z8K2IEBFwTNMY0O5xH IcKrI3/ZIRLFZBvffP7nqOWUiZkD02g= Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-223-2lg5Yb0LMWS8kKccEivXfA-1; Mon, 19 Dec 2022 14:12:08 -0500 X-MC-Unique: 2lg5Yb0LMWS8kKccEivXfA-1 Received: by mail-qk1-f200.google.com with SMTP id v7-20020a05620a0f0700b006faffce43b2so7818250qkl.9 for ; Mon, 19 Dec 2022 11:12:07 -0800 (PST) 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:message-id:reply-to; bh=DYlcVMZxZ7sfT1YBoo0lGgFw3p0ugJ1rt2fQWCu4fB0=; b=7ttNB2YqRtMlDQAOKIjtJ0s8qCCa73oGIspj7PCUKQaTZmJ7J0ktJUu+qCoyqjdfyR C+jzvvthrozlTKB3E2wqcW9QmL7q6cCuVlgFEpofzzp0bZuP4z010I2vm3ppcne7cqDN xSSjJ6z2EfEda7WPARr3DEIyZcR0XLQi9Kd5o1dK/QjCLQ9AI1+Nf3G3PFAvTi2jWudQ BmA0blPxPRUYFcBSUshaX9PwHx5IohE6Kc75ji1B2ccaE43peTLSEvBZloaEpqC9ALRQ 2zHoIW1bv11jNdlD6rask0kcA12ze6rf2vSxiPiePBX4kPtQgOR7cJCZzg6zXK0gP8XO feKw== X-Gm-Message-State: ANoB5pk5qJ7p5TLXdbijZe8g3XFYe8QVXoscIWvRTe0YMOoYDobYGP9s xv+k671YtryUXYog+jw7+W8gg3/IXB1YUxmlq+CyULDKCYEayQoPN1LQE6YwS72lB1ZWrYF+8f/ 7B633dnqwShLijZ2yCCT8iM6g X-Received: by 2002:ac8:5f93:0:b0:3a7:ff9c:3f92 with SMTP id j19-20020ac85f93000000b003a7ff9c3f92mr66970866qta.22.1671477127502; Mon, 19 Dec 2022 11:12:07 -0800 (PST) X-Received: by 2002:ac8:5f93:0:b0:3a7:ff9c:3f92 with SMTP id j19-20020ac85f93000000b003a7ff9c3f92mr66970838qta.22.1671477127286; Mon, 19 Dec 2022 11:12:07 -0800 (PST) Received: from localhost (pool-71-184-142-128.bstnma.fios.verizon.net. [71.184.142.128]) by smtp.gmail.com with ESMTPSA id y6-20020a05620a44c600b006fcb4e01345sm7694158qkp.24.2022.12.19.11.12.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Dec 2022 11:12:06 -0800 (PST) From: Eric Chanudet To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Halaney , Brian Masney , Eric Chanudet Subject: [PATCH v4 3/4] arm64: dts: qcom: sa8295p-adp: use sa8540p-pmics Date: Mon, 19 Dec 2022 14:10:00 -0500 Message-Id: <20221219191000.2570545-4-echanude@redhat.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221219191000.2570545-1-echanude@redhat.com> References: <20221219191000.2570545-1-echanude@redhat.com> MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 Include the dtsi to use a single pmic descriptions. Both sa8295p-adp and sa8540p-adp have the same spmi pmic apparently. Signed-off-by: Eric Chanudet Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sa8295p-adp.dts | 79 +----------------------- 1 file changed, 1 insertion(+), 78 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts index 84cb6f3eeb56..c8437efe8235 100644 --- a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts +++ b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts @@ -11,6 +11,7 @@ #include #include "sa8540p.dtsi" +#include "sa8540p-pmics.dtsi" / { model = "Qualcomm SA8295P ADP"; @@ -260,84 +261,6 @@ &remoteproc_nsp1 { status = "okay"; }; -&spmi_bus { - pm8450a: pmic@0 { - compatible = "qcom,pm8150", "qcom,spmi-pmic"; - reg = <0x0 SPMI_USID>; - #address-cells = <1>; - #size-cells = <0>; - - rtc@6000 { - compatible = "qcom,pm8941-rtc"; - reg = <0x6000>; - reg-names = "rtc", "alarm"; - interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>; - wakeup-source; - }; - - pm8450a_gpios: gpio@c000 { - compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio"; - reg = <0xc000>; - gpio-controller; - gpio-ranges = <&pm8450a_gpios 0 0 10>; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - }; - - pm8450c: pmic@4 { - compatible = "qcom,pm8150", "qcom,spmi-pmic"; - reg = <0x4 SPMI_USID>; - #address-cells = <1>; - #size-cells = <0>; - - pm8450c_gpios: gpio@c000 { - compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio"; - reg = <0xc000>; - gpio-controller; - gpio-ranges = <&pm8450c_gpios 0 0 10>; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - }; - - pm8450e: pmic@8 { - compatible = "qcom,pm8150", "qcom,spmi-pmic"; - reg = <0x8 SPMI_USID>; - #address-cells = <1>; - #size-cells = <0>; - - pm8450e_gpios: gpio@c000 { - compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio"; - reg = <0xc000>; - gpio-controller; - gpio-ranges = <&pm8450e_gpios 0 0 10>; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - }; - - pm8450g: pmic@c { - compatible = "qcom,pm8150", "qcom,spmi-pmic"; - reg = <0xc SPMI_USID>; - #address-cells = <1>; - #size-cells = <0>; - - pm8450g_gpios: gpio@c000 { - compatible = "qcom,pm8150-gpio", "qcom,spmi-gpio"; - reg = <0xc000>; - gpio-controller; - gpio-ranges = <&pm8450g_gpios 0 0 10>; - #gpio-cells = <2>; - interrupt-controller; - #interrupt-cells = <2>; - }; - }; -}; - &ufs_mem_hc { reset-gpios = <&tlmm 228 GPIO_ACTIVE_LOW>; -- 2.38.1