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: 10705837 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C623513AD for ; Fri, 30 Nov 2018 07:36:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B76E02E515 for ; Fri, 30 Nov 2018 07:36:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AC1AC2E538; Fri, 30 Nov 2018 07:36:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A13F2E515 for ; Fri, 30 Nov 2018 07:36:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726932AbeK3Sob (ORCPT ); Fri, 30 Nov 2018 13:44:31 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:47076 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726910AbeK3Sob (ORCPT ); Fri, 30 Nov 2018 13:44:31 -0500 Received: by mail-pg1-f193.google.com with SMTP id w7so2115412pgp.13 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=TfSLGJpvY9sFb7gA6kqyBQOirJA8zAp1sVNVGXCfdziZVPxO7fC7cz7w+alq3uLoTl bLO8HGhZow4jHIcD3efzlg61jfTjzKwZ1eRcYq0SFnHygzq0DOQHqv51s0ooQz8NbHfg i4l58sk+PmQ/TacHhLNdrDroDnrnV5c9VnmJQY8rBcD2OdYuVZpBxnj2/aooQ/e/jQ7L rhZUggwERlVLzLF6pmeIVbgLPm8qKpFc9O5OzWR5IOUfG4Mihp7icLRDfQ3lJlA2bJTG K08+ykTjbb6+npYDDr/bYPHvsmw1dGqLkwgp35KdjC9PETyUBltH33Fy8ZUJmZ3lEpEg NWBw== X-Gm-Message-State: AA+aEWYUPbEwRh3N4bCex4b1WcXu/gAkfpomnOqICYnH2bqtxg2F2KH7 ZPu0HWbL13cBVXJN9USqE7mnog== X-Google-Smtp-Source: AFSGD/WQ/xZrmlXqc5a0lcUIdZn7/Nq67iBMZNOmHPuPnuIrVU8TvSi7aICa+snmZ8TUdB2PbGCe/g== 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Vinod Koul Tested-by: Vinod Koul --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 5 +++++ 1 file changed, 5 insertions(+) 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>,