From patchwork Thu Jun 28 15:08:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 141548 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2304539ljj; Thu, 28 Jun 2018 08:09:45 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfqaHlhNR1VNjpW+1bW7yw5i5CR5V+PGwHc27atotMl0gG+J4p3iYlmbVF4dl+GIKr0Tpi1 X-Received: by 2002:a63:67c4:: with SMTP id b187-v6mr9049954pgc.86.1530198585734; Thu, 28 Jun 2018 08:09:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530198585; cv=none; d=google.com; s=arc-20160816; b=joDlRFKBYtqGWT7QtiagAkpBESqoMx7A4P6yjCPNKiXOpZkX6p7IsVT3l9XvUT/O6F UnOuq2zYiV7p+EJ6+DjzI2Q9Nhi6OxB6pA7bTeVyyURiMsBacdggFgs8xr3FAzMba2hM Yok0q7eky45ROOkuSKYEcJrSfWYZdxLX0Msewd0IWgqQt52RxbD9IoK+xb/37/Uwpp8w KdE0eakDY4RsyQ8oomKx+bfdpdqcrs2M0HtbZ7xPuD6qDQ9wYmA6Bhf3Ekk4IX3imMnP LdW0xoF28sdD3QHzMbVoaS4p5OBUTQ6lOR7BWFnnFf1p8YNTaRV7OBmWOuu48IpEO0jI psPg== 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=t4z01GowZDcJ+l5xKr0CyN9iRTBviKmjelGrBkGByXY=; b=RNbQFM8w+bYyyR6YnST00qanPQ6oAWh93+fHjoltVXJLVWzRsIXbJj3Amk6j5bS3Qw 9bQAfMvSM4jtri5BbGkq8UYWda78M6AVQ1ghZXqlUQqu70lxd9H6BOJB55zNQs4iUaOP pWyABU6X0qoLLu7kCEHxpzeiTqu147z5/0lwiEzxR0pdXyNmkJ6eWBhFbCQJjMMQZS8n 1U3sDsLCqJCwsHY/sNAU5Mt/QBCN1reNH9JilcZUkfGvJ5OnN24WJwTI7b8qCfSZtud/ +IxdxDea33Ed6jwcFumlIIRmVqe705oucWgzNGd/1ZdJyW4Pr4Szpa8yLqocof2yMuT5 Mm2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=Ut7M6xEm; 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 f14-v6si6681332plr.365.2018.06.28.08.09.45 for ; Thu, 28 Jun 2018 08:09:45 -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=Ut7M6xEm; 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 S967031AbeF1PJm (ORCPT ); Thu, 28 Jun 2018 11:09:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:37898 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967024AbeF1PJj (ORCPT ); Thu, 28 Jun 2018 11:09:39 -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 70D4A275A0; Thu, 28 Jun 2018 15:09:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1530198578; bh=27CVBHRbZ3bZ6ACVlUSGRKhkR5VJ6l7cM82I03/4ubc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ut7M6xEmag5iSF6sOsEDcEVPbbqxuRDTsOvoaE11/sUxN/xGHZbGs8+4qf62PH2Qg Wkw1QZftV5oMV3D0uhRWBwIsEK/WyKt4hBmv2S07r+KaXbkbetC/jUY7EELpK7KKju 3WUs16K0XjN/E23EBd/nUqQlCpnE3TcFSE4IOE28= 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 5/6] dt-bindings: power: reset: qcom: Add resin binding Date: Thu, 28 Jun 2018 20:38:49 +0530 Message-Id: <20180628150850.15358-6-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 Resin is similar to pwrkey, add the description and example for resin bindings Signed-off-by: Vinod Koul --- .../devicetree/bindings/input/qcom,pm8941-pwrkey.txt | 1 + Documentation/devicetree/bindings/power/reset/qcom,pon.txt | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) -- 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/input/qcom,pm8941-pwrkey.txt b/Documentation/devicetree/bindings/input/qcom,pm8941-pwrkey.txt index bf719396eadd..34ab5763f494 100644 --- a/Documentation/devicetree/bindings/input/qcom,pm8941-pwrkey.txt +++ b/Documentation/devicetree/bindings/input/qcom,pm8941-pwrkey.txt @@ -7,6 +7,7 @@ PROPERTIES Value type: Definition: must be one of: "qcom,pm8941-pwrkey" + "qcom,pm8941-resin" - reg: Usage: required diff --git a/Documentation/devicetree/bindings/power/reset/qcom,pon.txt b/Documentation/devicetree/bindings/power/reset/qcom,pon.txt index f32cdd358267..651491bb63b7 100644 --- a/Documentation/devicetree/bindings/power/reset/qcom,pon.txt +++ b/Documentation/devicetree/bindings/power/reset/qcom,pon.txt @@ -1,9 +1,9 @@ Qualcomm PON Device The Power On device for Qualcomm PM8xxx is MFD supporting pwrkey -along with the Android reboot-mode. +and resin along with the Android reboot-mode. -This DT node has pwrkey as sub node. +This DT node has pwrkey and resin as sub nodes. Required Properties: -compatible: "qcom,pm8916-pon" @@ -12,6 +12,8 @@ Required Properties: Optional subnode: -pwrkey: Specifies the subnode pwrkey and should follow the qcom,pm8941-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 @@ -32,4 +34,12 @@ Example: bias-pull-up; linux,code = ; }; + + resin { + compatible = "qcom,pm8941-resin"; + interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>; + debounce = <15625>; + bias-pull-up; + linux,code = ; + }; };