From patchwork Mon Jan 18 05:10:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 365470 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp1940784jap; Sun, 17 Jan 2021 21:12:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJyu9frRIgwmcp1MdBOJ16WgCvhmRbMR7iUY+a2sOEP7B/iNgpP06fsr4MC6RBXs8+RWGiBX X-Received: by 2002:a50:d5c1:: with SMTP id g1mr18541207edj.299.1610946769081; Sun, 17 Jan 2021 21:12:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610946769; cv=none; d=google.com; s=arc-20160816; b=A0cSE6Kmu2TeHu8mzTMar1ZnctC/MAX12jSAgj/YUJ4QrcCWkQFLuoqlRyZ24tPII2 Nbu1NRyWyklfxUC7+PMJ9fl7W/8Dvwme1836cXdJQHKfGnM6MDLRH0lWG5SvDtvIh4I4 s9miek2sFzWqve6+XaiZiDJJCyBITrXRZ1/ja/1tknvLR3dtyPPFSUvnKTuBoJ4HXjhh VT3+bT2LLXofmbDH/q34ce1mZ1C6/W26IczKYTQwfL1tmmqAZhRyhV9v5D+bRqQRAjjD 1/dT401tLGLKCate5YrM/nE8u68nx2Q1VbojjbiWU7IlesXNS6OtEFnid+OmFp9jH7hR G/Rw== 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=FQQRSZh/NmNyBOTuzvTdIbgV6cYNRh+ssF+27vc63k8=; b=GQFOF85Ei4o8EeARgwnyGxopAGiI8hCGw4IdEj6uG0+KmJmiDevsYaCjqGUaqhXTL3 xuOJ+ekCxXRM4vUBXk6bFw5HWk83BJFldOWJU0KZ8LeFv+mltGFcfv8NYsejgP5S+VFH CA23v/iUxsl0IpMkodHu7OQ3i2pB0ZyIa6sAhkwVgQxnGz/QzbfsjVikj8/uthOVTZ+Y tCcez63gDgZSUUtrLWy/sbmCEnNyKFIHXQGuTFGHnckTap6GeacnBw2JWSJL/2fzLEjF dhKEnBFK1TQsd6NsVsyzr0vdo51xfW+L/Jlp5BjBmEBtF6O/XCtm7LQyJcws+wOaj9mG aTFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=G78Dy46v; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o11si7111122edq.506.2021.01.17.21.12.48; Sun, 17 Jan 2021 21:12:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=G78Dy46v; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731605AbhARFMS (ORCPT + 15 others); Mon, 18 Jan 2021 00:12:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731490AbhARFLv (ORCPT ); Mon, 18 Jan 2021 00:11:51 -0500 Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94015C06179B for ; Sun, 17 Jan 2021 21:10:33 -0800 (PST) Received: by mail-pf1-x435.google.com with SMTP id q20so9504738pfu.8 for ; Sun, 17 Jan 2021 21:10:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FQQRSZh/NmNyBOTuzvTdIbgV6cYNRh+ssF+27vc63k8=; b=G78Dy46vudxGiu5QxUrtUYK1Tz5iy6FL+x2iEqL70SzaNxfiDIM6QIqZ0riiTy6vWY i0gDpYqhWOS86eI/vKOAqiIa+1d9lGOVXEMnNRfUHNEUl82BG/dfzAM1QKN++K0o5js1 nMD5WKg3wmiVVQeXKsazNgQw0+spY6j8VHcuAViVj+oovAkwcg7NNzguSjUdq2zObNll Izth/A+eeVjiWsO8ZLW+4xDe+FhQ4EU79JaMKeWGfRPb9US+5iQzW/U/nPY5ZFj12qzG 0vkVHkbowOtn2KgW7bHIeMM44d/9krEe0l/pHrWY21k5NKuOMpDuuKlZlhcIjaVp/gsS k57g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FQQRSZh/NmNyBOTuzvTdIbgV6cYNRh+ssF+27vc63k8=; b=lt2YbmObGXhasOyib1nhNmYOB8/0lUNxJDRF0ljvaY+qz7BGAZL7ptAtL8p7ZDNhm2 /WxlpDv4oxRN8Ao0CEu4jY5qg7DKStt1Yh/3/8KmsXDjdSiOjSMZdPg5xwy8wKJBHf9q a0a2TPbpQYqX6Q93GAAzkSe5dwtHp6K9lgRSJULOXjGcVoW58wSfgc6XvEhYJarslTP4 p0QU+Bd9ihSD4iP0f7EZOvihLpjiwaijLOovwnHZv4T9Ii5NNWz/rAr5qr/Y+dVo5W8c rmJJn9Rk08hDBWzjUNYUAoeELORWeTYa+YUOThjQS9QsMLyix1C6FIwWqUcjJadjEZKV wGfQ== X-Gm-Message-State: AOAM5314C9gTE4+YGhljlbvD2RCIiJynN+w9Ss2uRuIvb/UPziHIsmQp aG6Kjll1GXjojl8eio9VqktfR5Ejvu/3 X-Received: by 2002:a62:37c7:0:b029:1aa:22ea:537d with SMTP id e190-20020a6237c70000b02901aa22ea537dmr24226771pfa.56.1610946633127; Sun, 17 Jan 2021 21:10:33 -0800 (PST) Received: from localhost.localdomain ([103.77.37.182]) by smtp.gmail.com with ESMTPSA id j3sm14703571pjs.50.2021.01.17.21.10.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jan 2021 21:10:32 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 6/7] ARM: dts: qcom: sdx55: Add pshold support Date: Mon, 18 Jan 2021 10:40:04 +0530 Message-Id: <20210118051005.55958-7-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210118051005.55958-1-manivannan.sadhasivam@linaro.org> References: <20210118051005.55958-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 SDX55 platform. Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 5 +++++ 1 file changed, 5 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 606244fbb91c..342149abea5e 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -292,6 +292,11 @@ pdc: interrupt-controller@b210000 { interrupt-controller; }; + restart@c264000 { + compatible = "qcom,pshold"; + reg = <0x0c264000 0x1000>; + }; + spmi_bus: qcom,spmi@c440000 { compatible = "qcom,spmi-pmic-arb"; reg = <0x0c440000 0x0000d00>,