Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7592874rwb; Mon, 12 Dec 2022 17:25:18 -0800 (PST) X-Google-Smtp-Source: AA0mqf47RSDWEsSLTT7CdKfsi8S2y6BM44O7WN0oswgNdpQGi9Xqjcraoz61GmTUXjBI+ptgz9OV X-Received: by 2002:a17:906:1685:b0:7c1:458b:a947 with SMTP id s5-20020a170906168500b007c1458ba947mr16204966ejd.26.1670894718756; Mon, 12 Dec 2022 17:25:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670894718; cv=none; d=google.com; s=arc-20160816; b=stnHg81zQfFup9rzev8kJH7kYsDknbuiBWEvkyk6ah/7UuO4swiBzb8poisGzAc8zF /y5CXLAEb2my06A+yStNl8hQAELbVNQzklpM9RAaniO/k+ywZndPbGP4tybLoVnL1YEw XoNs4vwNe51/0/VB0CgOU7A/jXXNwl2Zm0UE7qWryjLVF7c9YTRXF2visSJRxlQY3AoD 2aDxz2JM79vKJvSSn5Sjs19XoC6CFw0O9IEThteqdc2g71cCP4fHf3xn6Whh7Wv2Iicj E3V2XVa5YV4/SFfGtliHp4FKnsApZpgpLDeajDAPQQzSbx91NX3Z5lphvOFfi7ql2MKC LB/A== 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=LmjUSyg67D39D4GXwHdsjU8ybX4fVmhyxG/436wX9C0=; b=Hdzn4NtFavhnDVHbsYxV4AyAJoesM1jCcBaNy9WHGLCS9q1ss/fKd389U3Gol2QOdk jqAUlxNGSfiNi9749MZXDsH6uHzaWwtdgsOg9PMv0Fe8H9cHanwr9RqwZoxNm9hUGcXz D5rcpWv8I4iJVCTey8UfGEZ7nGnOEngJyQDliXGNz9VjMPlDjVvxny5LaWpe+JPHkEzX lYpKVzYNZ3a8mjNIXArZnEIEnUPZhfxYyS2mrHwuYf1E3LaTOiXN8PKdiZCiQn0DEe8j Pce+8e05x2Qy42gD1tlvSnKbeF7i3/pKd0+tunueOQA+6Mk1IG5Uq26Y/1V2kgBNGLG+ 0QeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Algvt+AO; 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 hz3-20020a1709072ce300b0078e11e9286csi7319440ejc.195.2022.12.12.17.25.00; Mon, 12 Dec 2022 17:25:18 -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=Algvt+AO; 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 S233250AbiLMA6J (ORCPT + 74 others); Mon, 12 Dec 2022 19:58:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233100AbiLMA6F (ORCPT ); Mon, 12 Dec 2022 19:58:05 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81771F591 for ; Mon, 12 Dec 2022 16:57:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1670893025; 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=LmjUSyg67D39D4GXwHdsjU8ybX4fVmhyxG/436wX9C0=; b=Algvt+AOEF6WT6t/1LyxWBv4AOiK58liF75wQ+jvdendVQliLL/BNmPaTNscrKP+gC+qwt Qgobrd9HCO5wroaeFucZijGc8f9zka7ta0s0x9Bamkn2CRjrfjgwRqxeV64ZhkZDlZaNgN hOLpgz51/a8bG1GY8ekLQNnzFCDpjfU= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-416--R18CR1YPFKQV162VsiW4Q-1; Mon, 12 Dec 2022 19:57:04 -0500 X-MC-Unique: -R18CR1YPFKQV162VsiW4Q-1 Received: by mail-qk1-f197.google.com with SMTP id i4-20020a05620a248400b006febc1651bbso15845428qkn.4 for ; Mon, 12 Dec 2022 16:57:04 -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=LmjUSyg67D39D4GXwHdsjU8ybX4fVmhyxG/436wX9C0=; b=7Clf9V4pZ2d9QaX3bVy1lAhEO/yG2JZi97BDfqEWXmW9lCiMsiecigdD6SxdvCImEf MZhYTc8uSMzQaPpe7Mv5le/agkMY8IIHrGE6zKpPrT2Khtd7pke01GzWBHqoxoC2P8FC Uq3OKDnnuTfDMDZPZ2Nzxg6TL2PE22yH7olGV98RSIiXOnZbczAj+eezySaAIbY+4Q1J pVxHLO4LhKMr4zoXwGkTQ4Xcj194ngiieSYyczeyY5NQgj3160vK2K+7nU8ax+UWveja XzmEi2Ifmk9Km0HfgLnK7B43ZAnQCjvbTTDVqozFouN6QCN0iuo9H1S2d91ee2nMzEbQ 4EeQ== X-Gm-Message-State: ANoB5pk3AS+Hqb7cB+gJ1cPUDFhS/d2B50cg1ZbHKAYo3BLK6SUa8EpS cylIUFzU5KYKFcXY6XPiRcdmCGLQKcgKHsqKy5V9wpONLalPAT4qOsj3JhcSH00hiUejHIP95SC MH0OYyyBirTPe4jJCVPF1tV75 X-Received: by 2002:ac8:774b:0:b0:3a6:8f7c:5936 with SMTP id g11-20020ac8774b000000b003a68f7c5936mr1754134qtu.25.1670893024248; Mon, 12 Dec 2022 16:57:04 -0800 (PST) X-Received: by 2002:ac8:774b:0:b0:3a6:8f7c:5936 with SMTP id g11-20020ac8774b000000b003a68f7c5936mr1754116qtu.25.1670893024030; Mon, 12 Dec 2022 16:57:04 -0800 (PST) Received: from localhost (pool-96-230-116-121.bstnma.fios.verizon.net. [96.230.116.121]) by smtp.gmail.com with ESMTPSA id m11-20020a05620a290b00b006fc6529abaesm6829570qkp.101.2022.12.12.16.57.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Dec 2022 16:57:03 -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 2/2] arm64: dts: qcom: sa8295p-adp: use pm8450a dtsi Date: Mon, 12 Dec 2022 19:55:39 -0500 Message-Id: <20221213005539.1133443-2-echanude@redhat.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221213005539.1133443-1-echanude@redhat.com> References: <20221213005539.1133443-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=ham 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 --- 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..889259df3287 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 "pm8450a.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