Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753063AbbBJIMv (ORCPT ); Tue, 10 Feb 2015 03:12:51 -0500 Received: from mail-yh0-f54.google.com ([209.85.213.54]:54738 "EHLO mail-yh0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752601AbbBJIMt (ORCPT ); Tue, 10 Feb 2015 03:12:49 -0500 From: Chris Zhong To: heiko@sntech.de, dianders@chromium.org, dtor@chromium.org, djkurtz@chromium.org, sonnyrao@chromium.org Cc: linux-rockchip@lists.infradead.org, Chris Zhong , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Heiko Stuebner , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: add disable-wakeup property for gpio-charger Date: Tue, 10 Feb 2015 16:12:24 +0800 Message-Id: <1423555945-24289-2-git-send-email-zyw@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1423555945-24289-1-git-send-email-zyw@rock-chips.com> References: <1423555945-24289-1-git-send-email-zyw@rock-chips.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1320 Lines: 37 add disable-wakeup for gpio-charger, if you set this property, system will not wakeup by gpio-charger. Signed-off-by: Chris Zhong --- Documentation/devicetree/bindings/power_supply/gpio-charger.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/power_supply/gpio-charger.txt b/Documentation/devicetree/bindings/power_supply/gpio-charger.txt index adbb5dc..a46e9bc 100644 --- a/Documentation/devicetree/bindings/power_supply/gpio-charger.txt +++ b/Documentation/devicetree/bindings/power_supply/gpio-charger.txt @@ -4,6 +4,7 @@ Required properties : - compatible : "gpio-charger" - gpios : GPIO indicating the charger presence. See GPIO binding in bindings/gpio/gpio.txt . + - gpio-charger,disable-wakeup : Boolean, charger does not wake-up the system. - charger-type : power supply type, one of unknown battery @@ -20,6 +21,7 @@ Example: compatible = "gpio-charger"; charger-type = "usb-sdp"; gpios = <&gpf0 2 0 0 0>; + gpio-charger,disable-wakeup; } battery { -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/