From patchwork Fri Nov 30 07:34:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 152493 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp3344945ljp; Thu, 29 Nov 2018 23:36:10 -0800 (PST) X-Google-Smtp-Source: AFSGD/X2FkK+F8+RtlpfWaetGOriN7Rz2lcZe97mDUidgZqOnLnwPAZMGzCysj9Zl/bNjos3fUbK X-Received: by 2002:a17:902:4827:: with SMTP id s36mr4507629pld.168.1543563370681; Thu, 29 Nov 2018 23:36:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543563370; cv=none; d=google.com; s=arc-20160816; b=t1VLIz4mFXn8e6OUeBfmXDMUFSv6ERcmme1bkm5ROwWlSOisjMJPvXQKi91EfNikjm g3Iuf5gBOYFrjfg2i3QREIDp/2r6h6ZV1kngfSVTmhuwDju2mFAIi4W8jbGBptsKYP/g uJuSfAaanX5S9nL+NN0213RIwasitio4cmPAwoYKB9sG4Ilf7KTl2yBDq6joGSRRu2nP F6+DtKu2ut88M91ythiG6QvEy78obmBOV6fOhZTma0PzwUzVKjYzF6Ub+HxO3HUZESuj IcTqYAWnirhJu5TZtLfBh11Tq6UGvdgwWgsRCaarW5y7AYKmgeO4uIoe8U3LnZQNjfIW NkDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=xsbNaAib3hG2Q6HbDpz0Hq3OyJts+KC2ZFvdivQ13DU=; b=GhCEHtDvS5zQOBeTYem/YlJAdrCYhsG+D1USmPCPkZabDBv2hIXNKdyFa5DN9SZI28 5v2j90fCRThYdC/cOkmSTSpm94N9mGkDw4YT+i36iRlb9xWqZ5M8QkGv3HGP7Laas5rR kT/1tOg9vV6iBFuOGv4052xgRgN/otc4bHhzWX0xJZq898MZS1DSmS8NJZJSpDhPR/s8 wiHDX/xTiMFuwUo69nBv2tEyuTfw4O1v+4+QLz3+XNBTbEaMmcf9jHgwwKvTcDvzxGQc GzEDatdFR9UCctxc/csJPBvRMq8jBqbieWC8DuIkQAM47SLh9UvlmcycA3j8kzS5b9f2 miOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BFdLHFbz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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. [209.132.180.67]) by mx.google.com with ESMTP id j6si4471390pfc.57.2018.11.29.23.36.10; Thu, 29 Nov 2018 23:36:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BFdLHFbz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1726958AbeK3Sob (ORCPT + 32 others); Fri, 30 Nov 2018 13:44:31 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:35409 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726800AbeK3Sob (ORCPT ); Fri, 30 Nov 2018 13:44:31 -0500 Received: by mail-pf1-f196.google.com with SMTP id z9so2379387pfi.2 for ; Thu, 29 Nov 2018 23:36:08 -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; bh=xsbNaAib3hG2Q6HbDpz0Hq3OyJts+KC2ZFvdivQ13DU=; b=BFdLHFbzhU+37VXzDIkZNfO+l/KunmVoTqfXqNOuRBkOpBzfh23brj6wXI+PdyQaSg 058rI6u1tw/i460qA1gJL0e4W/pu/BpQcRIaIWiSZ018XHyuBZnd/i8QwhjDoJG87Xvp ED7Ew/18XQmVe1AtNwt3tCh5b7+lWtxWzsQS8= 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; bh=xsbNaAib3hG2Q6HbDpz0Hq3OyJts+KC2ZFvdivQ13DU=; b=t0RoHDm3LClZS1Q2QEX0mU1u5+Cv8lxTHRQiyhxw7agj/C+gLBQImgeg0MfRDxAhih ownv+mkqvKLMnDSE07Jxp/7hS5WUmGezr8YXa82Hca7KYfYo6Hcg54HN73ruGE59NRQO Yw6UuwN5PKO3k+WRsV0/yy7i35qIsVw4B6x+qg5Qkqcn4WO7folhQSznHjSzGa2b5OB0 2hZDur39AKhl36sLrXHpez/j7CPmV8GDlPkS75HADqig7JvBEP5IwNP83/sC614N1J1t WFJ97xMJ1IhbIy/hrwoXMMOCAlZmKsksXCfZ56640i/ldwa2znxLcX43wwpktFyMuHK2 NQeA== X-Gm-Message-State: AA+aEWY8bFuQjeT9Q1CE1PSGXluHvoKXC0OPJp4m6Q7L/4Mtd8NlfSeg 51tdQtpMbCaZB0VQfbDtQCScBA== X-Received: by 2002:a62:32c4:: with SMTP id y187mr4742571pfy.195.1543563367984; Thu, 29 Nov 2018 23:36:07 -0800 (PST) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id m76sm218139pfi.102.2018.11.29.23.36.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Nov 2018 23:36:07 -0800 (PST) From: Bjorn Andersson To: Andy Gross , David Brown Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: qcom: qcs404: Add pshold node Date: Thu, 29 Nov 2018 23:34:00 -0800 Message-Id: <20181130073400.28100-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The pshold block is used to drive pshold towards the PMIC, which is used to trigger a configurable event, such as reboot or poweroff of the QCS404 platform. Add the necessary node to enable this functionality. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 5 +++++ 1 file changed, 5 insertions(+) -- 2.18.0 diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 9b5c16562bbe..ce00fe678e5b 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -260,6 +260,11 @@ clock-names = "core"; }; + pshold@4ab000 { + compatible = "qcom,pshold"; + reg = <0x004ab000 0x1000>; + }; + tlmm: pinctrl@1000000 { compatible = "qcom,qcs404-pinctrl"; reg = <0x01000000 0x200000>,