From patchwork Mon Mar 27 12:53:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 667666 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 4238AC77B72 for ; Mon, 27 Mar 2023 12:53:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232636AbjC0Mxj (ORCPT ); Mon, 27 Mar 2023 08:53:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232460AbjC0Mx2 (ORCPT ); Mon, 27 Mar 2023 08:53:28 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73934199E for ; Mon, 27 Mar 2023 05:53:27 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id i5-20020a05600c354500b003edd24054e0so7311134wmq.4 for ; Mon, 27 Mar 2023 05:53:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1679921607; 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=RVPd6z3eFRROHSFksVoIxkaOXyB+uKNiEShdPaS7GUc=; b=F0g51YkdfgZH856IiwVk8kBXYUu6ZxbfUncT/ytqXJ9OgkB1cIVPBSFhgBMKCT7hbQ h8oUV4f9pl4JfcM59ZAndni4E9zz+bZ/pdArsi40Z6xagcdF6bdc8qLN1SIgfMRT7w4z hkZgiLja5xj1ylv6NSZvhp4vhuhYGQ5U73P2Ptv77WP9AyMzNlEDTxbHXQNHmSaU5n9n pVfCdu6ek9L5OTAmTeHCpmZLFsLXYx6IPn8iIQqQYuhrE/tVKjxwVYztYPox3pmIAwTo htX3wUdM5OJ4CSGiNU0pNuYRnWfWppO/CZ/FzgUomm0cfITKdzzRiREiWUj7AaY8XDop nkgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679921607; 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=RVPd6z3eFRROHSFksVoIxkaOXyB+uKNiEShdPaS7GUc=; b=fEEIH9EAD/gLk0n15Dewwt9y9MIUcH1UJaIlbDPpKSEHcXrtnT4Hd2i+nkElhgynjM JwXsmPRJoDMNjbWkL0Z6D69zAC1TdIkXwpJ0KnPeup3Ji4dkbVywFkt1/vWSWDIhTJ7n 2m+Inedk8Lrb22jkeFjiaGQNRHmewG/iI6aLOBICyDmktK+9LwwTFR99GbFQVBrQFdx7 yAPTjvzWTtvGnvtczlD/6IkKhZpBh6CgQHr7SqRlyZEIcj2fwjj//zgs5NeEVOIXQM5x 2pkoIkpTdKeaLlRfQz3H5DKOI07acVRbLWGlACnD5wfzDzoVAtWpZ0E0Dg2jLbJWQ07m HZBg== X-Gm-Message-State: AO0yUKUDLX2gIzlYpMTcZXSI2z4DUNl8OdVIWIYLlTfjE17Jxk8PI9fe xo1ZATo0ybUCMUhwpNVa2xCKMw== X-Google-Smtp-Source: AK7set//qBvMWzr7mNo9bh0ioOCY2bcCR4QqyYS4f0sqDiCeuj76qVu/o/rcSU1AaAtZbvD8yy1hsg== X-Received: by 2002:a7b:cbd2:0:b0:3ee:3e07:5d26 with SMTP id n18-20020a7bcbd2000000b003ee3e075d26mr9230339wmi.24.1679921606951; Mon, 27 Mar 2023 05:53:26 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:313d:a304:2790:a949]) by smtp.gmail.com with ESMTPSA id q25-20020a1ce919000000b003ee58e8c971sm13572220wmc.14.2023.03.27.05.53.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Mar 2023 05:53:26 -0700 (PDT) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v3 08/18] arm64: dts: qcom: sa8775p: add the Power On device node Date: Mon, 27 Mar 2023 14:53:06 +0200 Message-Id: <20230327125316.210812-9-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230327125316.210812-1-brgl@bgdev.pl> References: <20230327125316.210812-1-brgl@bgdev.pl> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org From: Bartosz Golaszewski Add the PON node to PMIC #0 for sa8775p platforms. Signed-off-by: Bartosz Golaszewski Reviewed-by: Konrad Dybcio --- 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 {