From mboxrd@z Thu Jan 1 00:00:00 1970 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 72C20C4332F for ; Wed, 14 Dec 2022 21:11:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229680AbiLNVLq (ORCPT ); Wed, 14 Dec 2022 16:11:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbiLNVLo (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 4B8022ED7C 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-f200.google.com (mail-yb1-f200.google.com [209.85.219.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-180-NHHINqKCO0mUCAEPg94N1w-1; Wed, 14 Dec 2022 16:10:53 -0500 X-MC-Unique: NHHINqKCO0mUCAEPg94N1w-1 Received: by mail-yb1-f200.google.com with SMTP id x188-20020a2531c5000000b00716de19d76bso1173080ybx.19 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=4XgWHjsRNDK9Uvsi5OAPUDvjLndXli5qpHN0tGFnCZjIOtvT1trehpU1+6ePDT5H1+ umAXBU90MWtxW7K0cc4XW4LSdzq5mDrJfpO+QUUbLKkRVl6/xp8T1WIYN6eldNAWGAuJ rIxm+bOL2lOZVgJrj5WyOIOMymtWGUBOSCbpEjXy35V+qbLAeSK5T6lI0v3/pWUpBZpw 48t0cUZq9cbcRxNnNTRnm6DXc2sfOOfvCqDtPZgoYrsv+X8O6HJMjdLZHADBTHg+WHqh +sn8c8S577o39xFjnrS1N1VR6rmTW8HpJIRk7Fh0rtQHgci2l4NFmh56qMaOc9ocGd9u q6RA== X-Gm-Message-State: ANoB5pkOlrj9kTy3RyWYkAfBHld91KrWS2jeIYlaG0ewEiavTgFAmP/R dueysgIK1VzQupy8A1cd69IJyapBhwddmbm9IiyOfwDbIc+veAD4cbQgMweXwQQ8GnnNdXu02+l /Anuj3vqS/gYlh3IjUNeuTw== X-Received: by 2002:a25:180b:0:b0:71c:52cd:fad3 with SMTP id 11-20020a25180b000000b0071c52cdfad3mr17470903yby.54.1671052252965; Wed, 14 Dec 2022 13:10:52 -0800 (PST) X-Google-Smtp-Source: AA0mqf5XKPZgWply1k688HeenolESiyaXxlmuHoy8v64dWdS7ogBcS7mrLpSIhHlgMvK5FZO27LsFQ== 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@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