From patchwork Wed Jun 27 11:52:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 141532 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp765420ljj; Wed, 27 Jun 2018 04:53:45 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJXqnVFxrM9GDfZja9CW0ZewEcvGOmE3nDtKCA1tL+KvfnoofePxK6kJickVyq2f7SRcbMc X-Received: by 2002:a63:7e45:: with SMTP id o5-v6mr4746973pgn.400.1530100425686; Wed, 27 Jun 2018 04:53:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530100425; cv=none; d=google.com; s=arc-20160816; b=xCmr6LdK03FO5ECAn8E+VvD/VrMlDhOiuHWgx9G7kySXhybgYqzN5ccK5pZsN7fj3X 30LVOWAw0TD2grGvOLgdygeXQg0N4gAPYflaoJ+cwNymha5uTVcn09jnLfbrnUTtAmve 6vG1wCzoJzQLcaXmeqn3Rdmo+EuDIwihuKruk7sEjdJlx6fiBSMdXSn1FNujjuwiS4ZY x9MGQrQi4/IqZytKjt8jo9gOvDc5yYaLXtpFcj4GeIn7q3sNoKqxIzTtSCDMsgXtOmXd CXa2nu5mhWByUTphdWS/KgshmZf08zPf3x9Ae2vdKOz3ndXk40m7AoquIOsHDGmnOL/m kENQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=eYFirzok9wdLHh1djHqQ1y6UwPByMEHRaS2p2dYmF8k=; b=JG+TnPY2zZ4hDqCK61FNw2nG5qHUM5J9iaIIV9Np2Uqpkg5/ZAxf9nBxAfomHPEN8h B35B1hW54umE+IRRpRiBkeDBmtItd4njuACwRNNGXzPOiE9JusKEEzDzo+iG6BU+64Oe F5lx67fQUE4bTD59/m1k/9pw+Knelz/9E2+NFliTfrIC+4bV/93BxDIYHNWAPAnzv8l1 1jR9dtW82HinMjKyTNSMPl7cgxRp4HJegOJpzocazgFqC62NL3ukUpmGidNmpS6uOieG nXMP0/Cx2oPv5zAJEq/uLrvNCSN8hNsmufIbKefJ2ji8rrHZXYmPdFpB0LbNwtYlvPBU U7Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=vSAUwnmv; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t21-v6si3384540pgb.553.2018.06.27.04.53.45; Wed, 27 Jun 2018 04:53:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=vSAUwnmv; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753124AbeF0Lxo (ORCPT + 13 others); Wed, 27 Jun 2018 07:53:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:35074 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933821AbeF0Lxm (ORCPT ); Wed, 27 Jun 2018 07:53:42 -0400 Received: from localhost.localdomain (unknown [106.201.61.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EEE8521725; Wed, 27 Jun 2018 11:53:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1530100422; bh=egAjrg1yzTNg5UFnxaVx03jxSSSK+Q1OP8Eb4q4cOXw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vSAUwnmv/f4zv0ZBv3Ce8NTX45g1plSHRjTdeufPut/B8UJpJqFpSXeY8L7H5WPFb eg66pvv2jNT1sV1nbs8AA0vmZ8jrqwEEXANgI1vQ33bNTkk5hiVb82ET6RZEwdL2uN s8v/H0RnA4Dm6gly2AV4ZRHeYQImJ0sG7eDC70kc= From: Vinod Koul To: linux-input@vger.kernel.org, linux-pm@vger.kernel.org Cc: Bjorn Andersson , Dmitry Torokhov , Rob Herring , Sebastian Reichel , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vinod Koul Subject: [PATCH v4 1/6] dt-bindings: power: reset: Add qcom pon binding Date: Wed, 27 Jun 2018 17:22:56 +0530 Message-Id: <20180627115301.21330-2-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180627115301.21330-1-vkoul@kernel.org> References: <20180627115301.21330-1-vkoul@kernel.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The Power On device for Qcom PM 8xxx is a MFD supporting pwrkey and resin along with the Android reboot-mode. Add the binding describing this. Suggested-by: Bjorn Andersson Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- .../devicetree/bindings/power/reset/qcom,pon.txt | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/reset/qcom,pon.txt -- 2.14.4 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/power/reset/qcom,pon.txt b/Documentation/devicetree/bindings/power/reset/qcom,pon.txt new file mode 100644 index 000000000000..f32cdd358267 --- /dev/null +++ b/Documentation/devicetree/bindings/power/reset/qcom,pon.txt @@ -0,0 +1,35 @@ +Qualcomm PON Device + +The Power On device for Qualcomm PM8xxx is MFD supporting pwrkey +along with the Android reboot-mode. + +This DT node has pwrkey as sub node. + +Required Properties: +-compatible: "qcom,pm8916-pon" +-reg: Specifies the physical address of the pon register + +Optional subnode: +-pwrkey: Specifies the subnode pwrkey and should follow the + qcom,pm8941-pwrkey.txt description. + +The rest of the properties should follow the generic reboot-mode description +found in reboot-mode.txt + +Example: + + pon@800 { + compatible = "qcom,pm8916-pon"; + + reg = <0x800>; + mode-bootloader = <0x2>; + mode-recovery = <0x1>; + + pwrkey { + compatible = "qcom,pm8941-pwrkey"; + interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>; + debounce = <15625>; + bias-pull-up; + linux,code = ; + }; + };