From patchwork Tue Dec 13 00:55:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Chanudet X-Patchwork-Id: 32590 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2560167wrr; Mon, 12 Dec 2022 17:03:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf5+/Q/HVuURVDOPLd4m8tTf8xS0R8YLrP8RqxjUIb4rLYI6EohGamIfSJwCMS/+i+QAFAO4 X-Received: by 2002:a17:90a:f689:b0:219:1b52:859a with SMTP id cl9-20020a17090af68900b002191b52859amr18756151pjb.10.1670893404501; Mon, 12 Dec 2022 17:03:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670893404; cv=none; d=google.com; s=arc-20160816; b=1Ju1u3QCsQDhAnDyGZi1Og06NtFFi+xiNNO53pOI6qTeRp1vBCEGR0vwN0V78RG0qD OAREZAkqmDv2hTzst9LE2Ku4IfBq6/w35h4TWlH/HP/8JIIPaVTxX0tzVXJORUKHH2cd ZlGUh2kXL58Rc4/sLsugK4TQI4zgjS7iLTcwbvC1sw966qX8tjs7OVcl554LncvyMnbA tqwOjX8rH0C2iD0WYvPUd1JZbDDMnpEudzQkb5yyg45Sx8mBpjTynooqhUpfSoG/Y+1F EJ+XJMYMediGmVgLyBNAoNYxRokIPx7OWGPLK1fPBSDYXm7MNNJpmbvDgThFbTgQJKyH QPwA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=0G5DlIm/58n/d7ddm5UPOg5NB4JeT07TXknicvMHP1k=; b=APQDkuNAcR7E8SgdGNuiEcFZyQm/NDLAcZmfrVh9PDs2Ks9JxVug9tdsZvCimeo/2l qLMTuJLYtb5hKvG/7SK0sm+4sbPh6iRxct7rgdAEvIsUP2Ycd2myY2fvoiAEo6VNqKY4 K4VMeTiFE3Ld5sdzeIG1CBN0DqHfyXIC4bf+cIXEbpAFlrRmBbHXA2BdLEKNolY7qYCS gCuXb8IYqe+bEw870AGZ0XKMy6kaDeY11VDJdY/kzXQoklkmexDJ5o2oObF6v8T6ShQh qIcf5NLmtykgX0CZYqkaahaJkQiQ1uXiLwn9BISyFw728kMDPN1Kiv05uMdIPGv5HNHs 85bQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=h3GffPa6; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mu9-20020a17090b388900b00200b5c30f73si11995374pjb.106.2022.12.12.17.03.10; Mon, 12 Dec 2022 17:03:24 -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=h3GffPa6; 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 S233696AbiLMA6E (ORCPT + 99 others); Mon, 12 Dec 2022 19:58:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233680AbiLMA6C (ORCPT ); Mon, 12 Dec 2022 19:58:02 -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 5A19317E39 for ; Mon, 12 Dec 2022 16:56:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1670893018; 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; bh=0G5DlIm/58n/d7ddm5UPOg5NB4JeT07TXknicvMHP1k=; b=h3GffPa6LmsxWVurgFMT3r0cTNjmgBfw84LliU+B5NfEnqHUWluBqlm0e7TICgR1xu7zdk 7WMJ/zTrj6rW0wURCJtK75U9FpH2zulPLUdknSOZuEjOx1XIRP6g+RukW7N5ob7im+35I2 r9PabI4W4iNay+DJAqOFJai8i37g138= 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-470--0cg3x5tOtia3z1FnEZkag-1; Mon, 12 Dec 2022 19:56:57 -0500 X-MC-Unique: -0cg3x5tOtia3z1FnEZkag-1 Received: by mail-qk1-f200.google.com with SMTP id bq13-20020a05620a468d00b006fa5a75759aso16023163qkb.13 for ; Mon, 12 Dec 2022 16:56:57 -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:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0G5DlIm/58n/d7ddm5UPOg5NB4JeT07TXknicvMHP1k=; b=o+/O1EtiQ7J5qehSrqcBUC5nODpYmYFbbqvvfSudLA+iyaZJoB8Q1Df6qCJc80hzaR S9WHOjZVB/HrckanCLIJv1u1bn+pTNFE0FaCEs83P4eMBUax15EaL7PrKauTyOhylog1 Mj9Te7W9yiz8ZQAj+H2aL9SC4QrrWmT2bu8N4VJuv7HzjgQox1EsgZXagudXtg3DjU6y kSbmRYxDQu91JONDm3M7P6uZlEdUz/KA0TJZbAhjkX4W0Tjf5ZiZagN4dvip5DasOtle CnquBIkvP5DIDHSjZwcgeL1/663C+c46I9sAcJcQonScMJ2kqikjgZhzgDUlrNvf5PAO pyfA== X-Gm-Message-State: ANoB5pmmlEP8LBuVwYP5G5aTWEKXirm11XiT2VTrbOR7u91n0VtG7igQ BN8kr41yLm97aZWUSHDl3DbjtwD4c8MaWN4PNXLNvSnu6toKmEfr49w4dSUefzw0/WtVJif3s7c 6zheuWtlon0HD94y2OVX4m/9o X-Received: by 2002:a05:622a:90f:b0:3a6:2170:b0a1 with SMTP id bx15-20020a05622a090f00b003a62170b0a1mr28843450qtb.6.1670893016781; Mon, 12 Dec 2022 16:56:56 -0800 (PST) X-Received: by 2002:a05:622a:90f:b0:3a6:2170:b0a1 with SMTP id bx15-20020a05622a090f00b003a62170b0a1mr28843427qtb.6.1670893016567; Mon, 12 Dec 2022 16:56:56 -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 195-20020a370ccc000000b006fb11eee465sm6747657qkm.64.2022.12.12.16.56.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Dec 2022 16:56:55 -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 1/2] arm64: dts: qcom: pm8450a: add rtc node Date: Mon, 12 Dec 2022 19:55:38 -0500 Message-Id: <20221213005539.1133443-1-echanude@redhat.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-type: text/plain 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752058722294224073?= X-GMAIL-MSGID: =?utf-8?q?1752058722294224073?= Add the rtc block on pm8450a first pmic to enable the rtc for sa8540p-ride. Signed-off-by: Eric Chanudet --- arch/arm64/boot/dts/qcom/pm8450a.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pm8450a.dtsi b/arch/arm64/boot/dts/qcom/pm8450a.dtsi index 34fc72896761..af761dbfbc66 100644 --- a/arch/arm64/boot/dts/qcom/pm8450a.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8450a.dtsi @@ -13,6 +13,14 @@ pm8450a: pmic@0 { #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>; From patchwork Tue Dec 13 00:55:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Chanudet X-Patchwork-Id: 32592 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2564076wrr; Mon, 12 Dec 2022 17:13:37 -0800 (PST) X-Google-Smtp-Source: AA0mqf47U+gW36Edy1wKSr8Zpk3e3rPcKZ39kqzPY+3bPkBJTvKeDf1MfTIv+xsZFxn1QVyg86qK X-Received: by 2002:a17:902:ed94:b0:186:b1bf:be87 with SMTP id e20-20020a170902ed9400b00186b1bfbe87mr19661925plj.51.1670894016774; Mon, 12 Dec 2022 17:13:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670894016; cv=none; d=google.com; s=arc-20160816; b=kJcuEvbs6UGl6SKbYWgOLntOpUGj/T4pc85v2awYJA4hHNX1HvqKLuyW4A+z44CzRy oS4yJQ/NWqKbwrR6UYOSAVVtAMWxtoxCZERo56DefvL0KkgExRZPezraq7CDFQgQxv0+ wssC5+YfVLfgo/yQWpVOg9HLHK7bx8plT6Vm81lyzyXBqM4vv6cpnTuQAL+Yr0IMvvKc 12AwpcVuDDBYG6bK4PEkgOXQ6PQPqUIxcPSz5RkqATy/74/bzZ63JI477CLEAM1WN+eE 8w1Wgf0rW8sYOUW5kf8VJ4jj3KFCYJQh1O4lN+CkKAvmm8oNMWbZp7SyrmX+fJeB+x5w f9gw== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p16-20020a1709027ed000b00182c510591asi9838467plb.246.2022.12.12.17.13.22; Mon, 12 Dec 2022 17:13:36 -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 + 99 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752059364613584584?= X-GMAIL-MSGID: =?utf-8?q?1752059364613584584?= 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>;