Received: by 2002:a19:771d:0:0:0:0:0 with SMTP id s29csp1284243lfc; Wed, 1 Jun 2022 14:12:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9OFyKEsNY1r+kpDABGOiPPeBLp+NNHnAHFhq8he+SZOcbslxf568alvXndxEG6OMIkKQJ X-Received: by 2002:a17:903:41d1:b0:166:3c6:f055 with SMTP id u17-20020a17090341d100b0016603c6f055mr1400925ple.112.1654117945386; Wed, 01 Jun 2022 14:12:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654117945; cv=none; d=google.com; s=arc-20160816; b=YM4H3CzzK6BuFGcc6DRxrDqAwh3JcO4w5iaDfqYT1QScTYEaMxeuBHJ0EHXoMwd4qt /JmQR0egcIyLj17BVRrn+naM22Cbx5In5HCSzUIj2iGAvEdsohhLTtIzlWtpi4+M1gen bZGApmpN9A+LNnuECvfzRTzMtsLYNRJjw4PDXimd2eXviET3uTIGB0sNk4f+iwvylbaa +twUULERK8Vso4YKkTzk8eUlMT5eZW3C6I78IqnYVL3yDJWoVDNMfMdrTDWV7OygPepD hL//25FN7CXqiHkekvnc6JJBEJ0A6uc3brgIkHeHb6tvwPPF4cKD0NRM8brpegRqPXqe xyXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=azlyfzRu9cMqIBHovpx4gwhu0zJW42GZxYs3Wuf5XOM=; b=cLn62WMpQjQtdWEDH0b60fyNleiQoeDfVG6yr2Ij9Ppqu9i8VGEMx22su16wPKHPrg 7/V4GTrifHungQrxC/lAVWbtZQ1qhxavzgnbPD4t8ijNRlvWozl8pIkZDoj0Gpa0z1Q+ O3ywAJq5ljKth0cZVIgJF1wJdlaeLh666YqVWmaYwCsIeUKfPaTVrEJ5ixwVZwkhdxCG cHO1eoIdSz4K03y1belw0L2Rn0uVsWFSkVDINysriXjFJiLTK5FEFrWqqinK5XLOolod Pf6CBRzHAC5e9Gqs2PTWaGKm0rPWEEs7Cs0DbZll9ocFNBlROIi2UYli7yoscjt7Awg/ kKuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=u1wnSgR4; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id g3-20020a635643000000b003fb077f9479si3529212pgm.556.2022.06.01.14.12.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 14:12:25 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=u1wnSgR4; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A9C332D80B4; Wed, 1 Jun 2022 13:05:47 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352229AbiFAKpj (ORCPT + 99 others); Wed, 1 Jun 2022 06:45:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351549AbiFAKpi (ORCPT ); Wed, 1 Jun 2022 06:45:38 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81B627CB7D; Wed, 1 Jun 2022 03:45:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1654080337; x=1685616337; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=azlyfzRu9cMqIBHovpx4gwhu0zJW42GZxYs3Wuf5XOM=; b=u1wnSgR4LgPJ9lRNC546rTUK7Z3HJfWVjIpFrjyQ2rMdsdiuHYXNqRY9 eZ/Bpduv92N/35+qRAoI2FEjVifVOxRpbtHW7RrMvYflGf/K8YOWur+/I Tx4jRU8LAK2F7+vyjE5q6Aeze11il9NE8FD5D1cAWdLu0q3jCGGfcMsYE I=; Received: from ironmsg07-lv.qualcomm.com ([10.47.202.151]) by alexa-out.qualcomm.com with ESMTP; 01 Jun 2022 03:45:37 -0700 X-QCInternal: smtphost Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by ironmsg07-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 01 Jun 2022 03:45:35 -0700 X-QCInternal: smtphost Received: from hu-rohiagar-hyd.qualcomm.com (HELO hu-sgudaval-hyd.qualcomm.com) ([10.213.106.138]) by ironmsg01-blr.qualcomm.com with ESMTP; 01 Jun 2022 16:15:24 +0530 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id E3B983FCD; Wed, 1 Jun 2022 16:15:23 +0530 (+0530) From: Rohit Agarwal To: agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, wim@linux-watchdog.org, linux@roeck-us.net Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org, manivannan.sadhasivam@linaro.org, Rohit Agarwal Subject: [PATCH 11/11] ARM: dts: qcom: sdx65: Add pshold support Date: Wed, 1 Jun 2022 16:15:12 +0530 Message-Id: <1654080312-5408-12-git-send-email-quic_rohiagar@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1654080312-5408-1-git-send-email-quic_rohiagar@quicinc.com> References: <1654080312-5408-1-git-send-email-quic_rohiagar@quicinc.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Add support for pshold block to drive pshold towards the PMIC, which is used to trigger a configurable event such as reboot or poweroff of the SDX65 platform. Signed-off-by: Rohit Agarwal --- arch/arm/boot/dts/qcom-sdx65.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/qcom-sdx65.dtsi b/arch/arm/boot/dts/qcom-sdx65.dtsi index c76f330..a249646 100644 --- a/arch/arm/boot/dts/qcom-sdx65.dtsi +++ b/arch/arm/boot/dts/qcom-sdx65.dtsi @@ -394,6 +394,11 @@ }; }; + restart@c264000 { + compatible = "qcom,pshold"; + reg = <0x0c264000 0x1000>; + }; + spmi_bus: qcom,spmi@c440000 { compatible = "qcom,spmi-pmic-arb"; reg = <0xc440000 0xd00>, -- 2.7.4