Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp68227rwb; Wed, 14 Dec 2022 14:07:03 -0800 (PST) X-Google-Smtp-Source: AA0mqf44Lils/yoQQ6MHmmymiNwbC56q1CnOheKV+Jdy6BanEeBO6dQN6hg9fOY5hzrMV+57szUB X-Received: by 2002:a17:902:b493:b0:188:760f:d811 with SMTP id y19-20020a170902b49300b00188760fd811mr28301443plr.4.1671055623349; Wed, 14 Dec 2022 14:07:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671055623; cv=none; d=google.com; s=arc-20160816; b=H5Gtf39GoDWHGegiYrT3o42y6d3FuJM93coKj/Yj6kHZj2HpTbzHChr/dNUq7yr5xC MWJpy0a54g4CP7ZwI9XA6srI5Fjg6naeXV4Uo6PPMpdfD6r0l8Gp8WyUnR6eSAfns1WK 4MAkf9igHCAxqB3VVpmBAYi6j3csnkXlTSst91KMoth4h42e7N/2NHyJkcon1fok87e9 z3X+K+0KVheZC/k55RfJm5F/P/L+bMiopdCV6g64DpAvAsOasg82kSEvXJ5+PHUejJ3J OD/a8dFfOJSNkC3W5xqzd4jfXyvcyC5PmAedfulpBYOErGEVrdmgd8nI8Q8fx0dBqjho IkBQ== 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=CpqlvPKf3nLUQdJSz/3TUwvYtELm4RDFFses/nXCYMloHN6GNlzeXIiW3PYKf1Y5A/ 7VwWtNHGkO/9Ba+T4iUQJkh4xMFmpi3LCaAI0KHxSrBq7rgfn3Eq3GjhtNNt/xWAMZ5n SkOcLBYEdschQVxHBAe2xiZiIwfHouQkMLUjcbrKrWCehHUtpm1QDBMEytT2Bd9nLPph ZM1/qfbIXuKqV5vUIDffTD2rxPk8KcJeQ2GVn6Av7FbS451hAGs5K+i2jhiUol/CFWum P9aYYRGg1qtLLsPoHqmXpJpS44dQA2zwY4N20gPwm4om9zl8wbJFImBgTXw1/3mXUKig 3tVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ikRO7o2i; 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 j64-20020a638043000000b0047860cda19dsi874460pgd.859.2022.12.14.14.06.42; Wed, 14 Dec 2022 14:07:03 -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=ikRO7o2i; 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 S229625AbiLNVLs (ORCPT + 69 others); Wed, 14 Dec 2022 16:11:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229589AbiLNVLo (ORCPT ); Wed, 14 Dec 2022 16:11:44 -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 4B7822E9DA for ; Wed, 14 Dec 2022 13:10:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671052254; 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=ikRO7o2i3uZMNZFsObWVt6UeQuEs88RKUk+g6SZTP6P3PAA+LmsV2S7MJ3N1w3R+YwxYZe n0ZBYhmsTkQvCCXkg77vyFKiN8+7jZCSbLQEJNwDDyDJWXJK8rnOfeXLfiOMAP77LtUyUh tzoylYDa+9f1pGof8immuylA13iaZUY= Received: from mail-yb1-f197.google.com (mail-yb1-f197.google.com [209.85.219.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-198-fQYQczYbMUSEZrSIsFMUuw-1; Wed, 14 Dec 2022 16:10:53 -0500 X-MC-Unique: fQYQczYbMUSEZrSIsFMUuw-1 Received: by mail-yb1-f197.google.com with SMTP id 203-20020a2502d4000000b006f94ab02400so1263300ybc.2 for ; Wed, 14 Dec 2022 13:10:53 -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=r0B265NuUDyTB7l/AmR15u+QMKaN8zeBN8E4+mUlCxLlvbX3hiNLA8xZuG5M8JMW3s TeQ9pFZHGkJSn6OhdGBUchRe1+eV5+tVJWUGieocXRu9cZsBra46LmKKmLzQT2J5S3b+ mbFLtTWloZAqnfC0dqq6+GFZVesQEwf/6G0U0ZNgZGVoQNfVi1hf7hAd9G9fbN0iTGU4 RiWVhCDO33CJINnLOWsz4zB8vVb4y2O5XJ4HDi6TMgjF4meXUZH3rGjveMi3yry6Djtd DM6Bafin85UU/awc0zP2+e1S9n83V6USLmy0Pjdrem643B3iZClsebttg2znWfHcgaXH JvvA== X-Gm-Message-State: ANoB5plazKCrMUc2HjyTpSdUJBOffhhFJcKXSI/9f8nwoDf75riOR2sa uTo3VP1eH7HIqKOJhSvMwhZ+jQEXr4ngLQ5VRHgzX0zkXyX65IDoeX/Zul8YVMmKsSqF5oUgbQ0 Ee2JqhTgSAM4OAMRVGe/8OOvn X-Received: by 2002:a25:180b:0:b0:71c:52cd:fad3 with SMTP id 11-20020a25180b000000b0071c52cdfad3mr17470905yby.54.1671052252965; Wed, 14 Dec 2022 13:10:52 -0800 (PST) X-Received: by 2002:a25:180b:0:b0:71c:52cd:fad3 with SMTP id 11-20020a25180b000000b0071c52cdfad3mr17470885yby.54.1671052252715; Wed, 14 Dec 2022 13:10:52 -0800 (PST) Received: from localhost (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id i15-20020a05620a248f00b006fbae4a5f59sm4542505qkn.41.2022.12.14.13.10.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Dec 2022 13:10:52 -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 v2 2/3] arm64: dts: qcom: sa8295p-adp: use pm8450a dtsi Date: Wed, 14 Dec 2022 16:09:07 -0500 Message-Id: <20221214210908.1788284-2-echanude@redhat.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221214210908.1788284-1-echanude@redhat.com> References: <20221214210908.1788284-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