From patchwork Mon Jun 18 14:35:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 138975 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp4029554lji; Mon, 18 Jun 2018 07:36:12 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJPcLlx/hb0LCTKXN1Zh1jr6dBbK9zQnEx4ucI2zg9KAQ83Mr9ngZ/zFRfDZvfqPdT0//Hb X-Received: by 2002:a17:902:b418:: with SMTP id x24-v6mr14376453plr.2.1529332572436; Mon, 18 Jun 2018 07:36:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529332572; cv=none; d=google.com; s=arc-20160816; b=0E4KRDZEGRqmzrKwlCE8zskhDseYm6O3xBUtSiUpxFPagKFtpokI1JrKVSNgPVYimk oGOe0Ad/QhlZus2TbWm3561NM+Y/RvDwO6RNWBRkdYelG96vKpmHMuR/XcOAmeTAtHhm Q6LoSCqjUQOnIitPz997rUUK5nVN/2ZxEMxxHSniAbnXLkWi2k6IH2VaHwwZF73rNZr9 DMJGahXGDAa9IMk9ioNIuIX0h17PsVjz3B5yGJDP7j/HScIi1oAjcN8TO1MTluw27FNV dr+KovV9zYdCnYA+7Z4Mmlgicu7vUkhMTLD3FZctuBQa29FUWwhFdVVQDrsrE9WGWh1c lPEQ== 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=0O1bPNMjq0FvxzImO+gzETe/vs7SFpcm3liN2LR3cPk=; b=cpOBBFn9LXraqdILGFinLg8riMteK6X0CG+L0iSmOwKbyLa+wD8FuUVjgF+o5ZVM3s F/W41nQOiiK0aYbVYM6DX7LokdoruUufWFmu4G4gFoYiMtObyKLwOaUy6EcpCelUfGbl JrX4LF+NB7jBu7w0/pxoa1EFBulj0gcLsf61k9CGtWpqJFaSec6KKWtU7/RkIWq2iSVm xj1rwE/DrmGN0al2cPA3D7H2kgKPpW7NK2+yafgx1L9lxQoeTloNYEZxXMY5PhYoBhR3 NTD+0yeiM62hNTqhhY4OmjyNYkfIz1F8vpSISWQIw8k6TNQx2b9bKVqwVgPldV/3dCrB afIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=YNvpKiRB; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a10-v6si13953064pff.304.2018.06.18.07.36.12 for ; Mon, 18 Jun 2018 07:36:12 -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=@linaro.org header.s=google header.b=YNvpKiRB; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935032AbeFROgL (ORCPT ); Mon, 18 Jun 2018 10:36:11 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:44830 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934998AbeFROgJ (ORCPT ); Mon, 18 Jun 2018 10:36:09 -0400 Received: by mail-pf0-f195.google.com with SMTP id h12-v6so8271197pfk.11 for ; Mon, 18 Jun 2018 07:36:09 -0700 (PDT) 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; bh=aGOOuznHJVPbQT4F+VPliRavwoDA3pJ/tDt6hwX/Irk=; b=YNvpKiRBsrtKP5qR6Mb0MF2ottYERVOnNiqGMzSatIf02AMXAj3TT2XEwj0c6oPZ35 RvWhNIJe4+3ebE+aVWHqtpPrGuAb6rQ2RHXhlR3hbxut8fTYJrj1XFil41jSoHhMu2XL cb89Od2lruBO6DLkGI+7eDId3qjcpzWfN2ZRo= 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; bh=aGOOuznHJVPbQT4F+VPliRavwoDA3pJ/tDt6hwX/Irk=; b=mQT5Y0SAhG2SxKa/cRYfXpJgPZAxP3P6jKhoEeaptTvYehO0KyQe/Ruiluty0MJwG+ pdhgA/x/vBt3+WGWDa7yDPgXdCcED2DqTTX1xDJX7ltXQRKHUTB+Q1qIcgj3f8cKAoCn 6zCBfpVps91UIAqjqkAAXreYHHR8GAy9lRhsWWjv9zNvVsFUOVoguvT/8J7g8PY4BJ+5 VlPkxxzb9fHMTKVuqwBe7vXLn80btGts16Gqac9gsB6dCMYJGlRr+2PcJ165DmVNNLP9 7xjYLsZN6MygY7e75hKyAnb5k8qCinHl1T0aNtr7rS2H5jPkA7zJi/BnBTC7Y3Nu8Rxq hGcg== X-Gm-Message-State: APt69E3sXNL00HHakPyBW9T3FFivZ/4UzctWJfHPepvaF7qrvGh49wF9 mG7zZeq21PB81vqvsNjrOvXwLVhz508= X-Received: by 2002:a62:40dc:: with SMTP id f89-v6mr13625725pfd.194.1529332568815; Mon, 18 Jun 2018 07:36:08 -0700 (PDT) Received: from localhost.localdomain ([27.59.118.133]) by smtp.gmail.com with ESMTPSA id n10-v6sm28163604pfb.27.2018.06.18.07.36.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Jun 2018 07:36:08 -0700 (PDT) From: Vinod Koul X-Google-Original-From: Vinod Koul To: linux-input@vger.kernel.org, linux-pm@vger.kernel.org Cc: Dmitry Torokhov , Rob Herring , Sebastian Reichel , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vinod Koul Subject: [PATCH 1/5] dt-bindings: power: reset: Add qcom pon binding Date: Mon, 18 Jun 2018 20:05:44 +0530 Message-Id: <20180618143548.29900-2-vkoul@kernel.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180618143548.29900-1-vkoul@kernel.org> References: <20180618143548.29900-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 driver 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 Signed-off-by: Vinod Koul --- .../devicetree/bindings/power/reset/qcom,pon.txt | 47 ++++++++++++++++++++++ 1 file changed, 47 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 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..d923835425c6 --- /dev/null +++ b/Documentation/devicetree/bindings/power/reset/qcom,pon.txt @@ -0,0 +1,47 @@ +Qualcomm PON Driver + +The Power On driver for Qualcomm PM8xxx is MFD supporting pwrkey and +resin along with the Android reboot-mode. + +This DT node has pwrkey and resin as sub nodes. + +Required Properties: +-compatible: "qcom,pm8916-pon" +-reg: Specifies the physical address of the pon register + +Optional property: +-prwrkey: Specifies the subnode pwrkey and should follow the + qcom,pm8xxx-pwrkey.txt description. +-resin: Specifies the subnode resin and should follow the + qcom,pm8xxx-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"; + reg = <0x800>; + interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>; + debounce = <15625>; + bias-pull-up; + linux,code = ; + }; + + resin { + compatible = "qcom,pm8941-resin"; + reg = <0x800>; + interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>; + debounce = <15625>; + bias-pull-up; + linux,code = ; + }; + };