Message ID | 20230320154841.327908-10-brgl@bgdev.pl |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1306471wrt; Mon, 20 Mar 2023 09:20:22 -0700 (PDT) X-Google-Smtp-Source: AK7set86rEJ/Fb5YS+Fbg4hHha9wmkAhVGDOmn4EqAr+0bGxXVREHt2OE7ualWWntPnhB/OaQof2 X-Received: by 2002:a62:4e46:0:b0:626:41b:259f with SMTP id c67-20020a624e46000000b00626041b259fmr14484763pfb.17.1679329221760; Mon, 20 Mar 2023 09:20:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679329221; cv=none; d=google.com; s=arc-20160816; b=SElC6TNs+NdMaWEw3poBokhpbv1oggiFPzy4zlaXIvTg++AZF7Hh1+ThZ89ExluKm0 HsBphoEdCwhrRTNX/dWCM7flzsCAS7q6eqfjNZN4dkDemXdW9afm0JD04uRyaXe6uhTZ cReoBOnY0Wf89mxq5IJdEPIJYlVrsMf+UrDUmdCRMtynHhtJ0ASXEwH+740YzGF8RKcr KAzZGo8OEf6r/Kxu7DtnRr6SpVzhS2LDdauvjJk34PZhFdQCA2fw1uCvAbbZqW3IndoL usnn4M5AdwIwNixJ+RV0fypB9eFLrlY5le33/jbT1swsHkBYvTg0L0k4d9xYzoi/dx9n 8nDQ== 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=3I8JHWxkV4zS/edhgEAN6ofRvNqacLGpGveGxbNakgc=; b=n3ZVHxFYCj6cEqrkgeiFgFhaWjnQAgz5q9FStnSwLCNrR7yddHAl7jJe6rrtZBt/+u AizKSGO5j/E7+uNhgC/3MPRax0D3j96PfvzhZNWS+yHDX5OiSfyX6CgMjpcJJAFPW5vB 5I17mA5uE5MWcaiLPppYs7O+OsTcFbJtI036FFLg6KGGD/HGNwxNDHqaUKIAteM35q2g UmovEdz/BXkL3TsLRmc+mWQSdCs+zcWxFJ9SkXYsbnxswT3iC41cLTG2fMw/oyceacEv Mgc1fHgPIrkC+tuvbSSR91bRVwRUC7etKehyyKUIPijqRM4A5ju18hSUKjcghdF7lYvo qaiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=nrJEnSSJ; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b29-20020a631b1d000000b00507249cdbb4si10640427pgb.296.2023.03.20.09.20.06; Mon, 20 Mar 2023 09:20:21 -0700 (PDT) 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=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=nrJEnSSJ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231741AbjCTP7B (ORCPT <rfc822;pusanteemu@gmail.com> + 99 others); Mon, 20 Mar 2023 11:59:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232516AbjCTP54 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 20 Mar 2023 11:57:56 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D81A638471 for <linux-kernel@vger.kernel.org>; Mon, 20 Mar 2023 08:49:11 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id y14so10820614wrq.4 for <linux-kernel@vger.kernel.org>; Mon, 20 Mar 2023 08:49:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1679327339; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3I8JHWxkV4zS/edhgEAN6ofRvNqacLGpGveGxbNakgc=; b=nrJEnSSJgR1KEh+kXFyLl08hzoCamFbR7CuE+/w8o+9miw0AymkbXwyWEYMDKvPkuS tohkvPpQaf/PMvTpeYFXbZtqCqn/lqbUe6jcx7Rtu2Ky6+JXh8JPIL91+7Vy36jRiRMj 3wDrD9e2Fa6hV0ieoxeLae53e8WqwzvPtLSWEIbEUW6mEoQf2huI5EEGUcdwduF4P5Xg bVRgO307yGNH7msfsJcy+leARDEJAHBnvYTahHNNrMHep8JBJa208m02nJ5+civAtVgI OZLb5y6Nv3Q86nNUjXIwirIQsuS9TkWiNoEwH7iomM1Pyw3wRe5NULCZT+7iNxFZfgtf 3WJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679327339; 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=3I8JHWxkV4zS/edhgEAN6ofRvNqacLGpGveGxbNakgc=; b=Zw6qFaBlwSIhUUFv3ml5R1GgR4eseb+fi0m+FwA8M//f1FsdHSQp6faijT12Z4+uoB VqH2HvXtRcHXO2281ykpWGZnEqelayOnZKRVmKhF8ZQYLboGC+0Izuk+95eWnMquQLsQ xmXtndlMbQxl+q/hSU1D8g+KENUTLTEhlo0gjtEpfJDYsY6JSUAIgOjs6FDB1my3nq8X sdwjqH0Qf/4U6qwhxgL+bfnDe12QCEwV/IIOknfwSEqAOr8o2XXxKhr2YpAXOwRb1Qo+ YHQsJtx1Ztj1FCAV6D4H5HFvzSnOmCiYhe2iKE+wzhSAks6eMnnMBcM0BhU0Z9VX0pNk +mWA== X-Gm-Message-State: AO0yUKXVUkN1AOrSe+4wCb0YkHITEVUDwFa0Gk6/3MKIvnlT/mog3Fz9 ptwV2FlqrNUTIv9JFhSz/6D3Bg== X-Received: by 2002:adf:f209:0:b0:2d0:27dd:9c40 with SMTP id p9-20020adff209000000b002d027dd9c40mr14563231wro.26.1679327339520; Mon, 20 Mar 2023 08:48:59 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:d7d9:4f38:38b4:82b4]) by smtp.gmail.com with ESMTPSA id o6-20020adfeac6000000b002c71a32394dsm9202578wrn.64.2023.03.20.08.48.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 08:48:59 -0700 (PDT) From: Bartosz Golaszewski <brgl@bgdev.pl> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Subject: [PATCH v2 09/15] arm64: dts: qcom: sa8775p: add the Power On device node Date: Mon, 20 Mar 2023 16:48:35 +0100 Message-Id: <20230320154841.327908-10-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230320154841.327908-1-brgl@bgdev.pl> References: <20230320154841.327908-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760904318300549251?= X-GMAIL-MSGID: =?utf-8?q?1760904318300549251?= |
Series |
arm64: dts: qcom: sa8775p: add basic PMIC support
|
|
Commit Message
Bartosz Golaszewski
March 20, 2023, 3:48 p.m. UTC
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Add the PON node to PMIC #0 for sa8775p platforms. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> --- arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)
Comments
On 20.03.2023 16:48, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> > > Add the PON node to PMIC #0 for sa8775p platforms. > > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad > arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi b/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi > index afe220b374c2..dbc596e32253 100644 > --- a/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi > +++ b/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi > @@ -12,6 +12,14 @@ pmm8654au_0: pmic@0 { > reg = <0x0 SPMI_USID>; > #address-cells = <1>; > #size-cells = <0>; > + > + pmm8654au_0_pon: pon@1200 { > + compatible = "qcom,pmk8350-pon"; > + reg = <0x1200>, <0x800>; > + reg-names = "hlos", "pbs"; > + mode-recovery = <0x1>; > + mode-bootloader = <0x2>; > + }; > }; > > pmm8654au_1: pmic@2 {
On 20.03.2023 18:23, Konrad Dybcio wrote: > > > On 20.03.2023 16:48, Bartosz Golaszewski wrote: >> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> >> >> Add the PON node to PMIC #0 for sa8775p platforms. >> >> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> >> --- > Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> > > Konrad Hold up, I am not sure if PBS is there on PMM8654AU. Check the -pmic-overlay.dtsi. Konrad >> arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi | 8 ++++++++ >> 1 file changed, 8 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi b/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi >> index afe220b374c2..dbc596e32253 100644 >> --- a/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi >> @@ -12,6 +12,14 @@ pmm8654au_0: pmic@0 { >> reg = <0x0 SPMI_USID>; >> #address-cells = <1>; >> #size-cells = <0>; >> + >> + pmm8654au_0_pon: pon@1200 { >> + compatible = "qcom,pmk8350-pon"; >> + reg = <0x1200>, <0x800>; >> + reg-names = "hlos", "pbs"; >> + mode-recovery = <0x1>; >> + mode-bootloader = <0x2>; >> + }; >> }; >> >> pmm8654au_1: pmic@2 {
On Mon, Mar 20, 2023 at 6:25 PM Konrad Dybcio <konrad.dybcio@linaro.org> wrote: > > > > On 20.03.2023 18:23, Konrad Dybcio wrote: > > > > > > On 20.03.2023 16:48, Bartosz Golaszewski wrote: > >> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> > >> > >> Add the PON node to PMIC #0 for sa8775p platforms. > >> > >> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> > >> --- > > Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> > > > > Konrad > Hold up, I am not sure if PBS is there on PMM8654AU. Check the > -pmic-overlay.dtsi. > Yep, it's there alright. Bartosz > Konrad > >> arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi | 8 ++++++++ > >> 1 file changed, 8 insertions(+) > >> > >> diff --git a/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi b/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi > >> index afe220b374c2..dbc596e32253 100644 > >> --- a/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi > >> +++ b/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi > >> @@ -12,6 +12,14 @@ pmm8654au_0: pmic@0 { > >> reg = <0x0 SPMI_USID>; > >> #address-cells = <1>; > >> #size-cells = <0>; > >> + > >> + pmm8654au_0_pon: pon@1200 { > >> + compatible = "qcom,pmk8350-pon"; > >> + reg = <0x1200>, <0x800>; > >> + reg-names = "hlos", "pbs"; > >> + mode-recovery = <0x1>; > >> + mode-bootloader = <0x2>; > >> + }; > >> }; > >> > >> pmm8654au_1: pmic@2 {
diff --git a/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi b/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi index afe220b374c2..dbc596e32253 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi @@ -12,6 +12,14 @@ pmm8654au_0: pmic@0 { reg = <0x0 SPMI_USID>; #address-cells = <1>; #size-cells = <0>; + + pmm8654au_0_pon: pon@1200 { + compatible = "qcom,pmk8350-pon"; + reg = <0x1200>, <0x800>; + reg-names = "hlos", "pbs"; + mode-recovery = <0x1>; + mode-bootloader = <0x2>; + }; }; pmm8654au_1: pmic@2 {