From patchwork Thu Jun 28 15:08:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 141531 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2304216ljj; Thu, 28 Jun 2018 08:09:30 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd3b9YUtQg06U0pvYdjN7lzTmcEMk9+t91kzjeizEOMDEB9z65p8zqsJUj1fsCHhdAqCO7v X-Received: by 2002:a62:4dc5:: with SMTP id a188-v6mr2235807pfb.217.1530198570606; Thu, 28 Jun 2018 08:09:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530198570; cv=none; d=google.com; s=arc-20160816; b=HgpMGtND0JKbtHvgTrPZ9HcKr/XudqlJziOc785m6jixa4RvKsDOC9RHuLSyntVlno bm4F+Qkey6GTW4WCPruwlb3OrtXZvwEe3KNj7VgQLZCP+hftne2wy9/bnlBgOEImaadk BgmvQ1MoemRMUOV9+WBjyTi7KzMCQ5fc8Mk7A3cVFYyJpiavRu3hyE6VH39ihTkFU8wl bP2SjWOZEnMhiPY59A5KVAj3IqUMa6zs35N7ExjrWNSRC4GCyh+hb7+cB8CEBB1b/t+n meIHC3KQWq+WaRWmQIVs0OKzMrnwC9TIcv7FhompLnFmH1+hWGh83AbWG0LpaBMc5q4R tBmQ== 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=2cpT5zICUcDYvs7pahsN61CyPYw593k2YbqT7nm1TmA=; b=nFWk+kcSGig4psQ/s74V+JigdFtPKfzRuKcJmXem3oMrng0/i17QsJhI6JRROQhsUY 3iWDPrnzTwXI84GiLdV12jfgojVkoz5tOiaOYBqWHSlFF8Pbc/kzKHUn7xD7VLNEp/07 c3JfR7PdCHbuz70GCdX5Xm6xU3QfrXJVXMRbQldpcpG88A7+K5uiqwQAE0FZp3HxGBVG JHvFT1EVdTEwXS7m+wMj8AgwJO4mc5OCTZj/HbQTIdoUf6tQRAwqDyxsysm8IADhru9r 9fJe7OmdbdSJptsxN0Q+s51x/PpSHS+ObU5+J0xTe5c16pB5ILqEov1Lr5RiHoHGV7bG CpoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=2djM+t4C; spf=pass (google.com: best guess record for domain of linux-input-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-input-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 q15-v6si6070562pgc.620.2018.06.28.08.09.30 for ; Thu, 28 Jun 2018 08:09:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-input-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=2djM+t4C; spf=pass (google.com: best guess record for domain of linux-input-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-input-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 S967008AbeF1PJ2 (ORCPT ); Thu, 28 Jun 2018 11:09:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:37702 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966685AbeF1PJ1 (ORCPT ); Thu, 28 Jun 2018 11:09:27 -0400 Received: from localhost.localdomain (unknown [106.201.104.231]) (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 AED5F24832; Thu, 28 Jun 2018 15:09:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1530198567; bh=egAjrg1yzTNg5UFnxaVx03jxSSSK+Q1OP8Eb4q4cOXw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2djM+t4C8c2gM5CnjbDpeJDCtACxSjvQfBfhtnHUdB3GCvLcbfgy9LLIzuVvXfds+ xNmNhTKKBVRlLA8NxHwy7HHocyQHDJDsPoyoiPIRC3G3ba3YWpAuTsevDy9eFl/10Q cJGFiHgmf3VYA6ZoJ0vPF9dajAMz3WccF683FDPk= 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 v5 1/6] dt-bindings: power: reset: Add qcom pon binding Date: Thu, 28 Jun 2018 20:38:45 +0530 Message-Id: <20180628150850.15358-2-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180628150850.15358-1-vkoul@kernel.org> References: <20180628150850.15358-1-vkoul@kernel.org> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@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-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Rob Herring 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 = ; + }; + };