From patchwork Wed Oct 21 10:10:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 55358 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by patches.linaro.org (Postfix) with ESMTPS id DCF832303B for ; Wed, 21 Oct 2015 10:11:04 +0000 (UTC) Received: by lbcao8 with SMTP id ao8sf15694471lbc.1 for ; Wed, 21 Oct 2015 03:11:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=95XqDtuOHs2i/37qisMamEBMSDxpCcaNT0x2KCq4PSI=; b=Pc+NUGm7t4WjLrl+LDbZ79IhJYrxTZtX1u2HMo1X+pQxRSNKUlMW8UjJGQdPj0Ud4/ jdhQNyyT1A/ZUuwum/1gz+nbd+gF3yIcfrG/izLPynhcwBjfPT3JxKTVr66Czoa6vs4J qu5Hy250fWmstv0bQceGu0ludJ4fJP1Uug5FJL9L92i1QuRycJZ7NWlpFA4RXieIaU4t cA72R8AZpWhma+WYq5v7FZLhxC7XpYiTAjn1LdBFRUsfCik2Ks7piADN1TctAAQzcyT4 1eixmzVhvcD9MirGOJbZtFetGpiXxMRCy4R9re/v12jM5I5kglIxmX3Ktv2+9SJRWcq/ iKaA== X-Gm-Message-State: ALoCoQlA2x5OFAsWKGy72ptev9ecNtq7e/8IkqSx2qCeLhNSsezZDu1zBnJziR6X14Sfv9jmFKL2 X-Received: by 10.180.99.71 with SMTP id eo7mr1042323wib.3.1445422263856; Wed, 21 Oct 2015 03:11:03 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.30.197 with SMTP id e188ls168112lfe.35.gmail; Wed, 21 Oct 2015 03:11:03 -0700 (PDT) X-Received: by 10.112.161.168 with SMTP id xt8mr4668843lbb.88.1445422263677; Wed, 21 Oct 2015 03:11:03 -0700 (PDT) Received: from mail-lf0-f45.google.com (mail-lf0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id t200si5764519lfd.146.2015.10.21.03.11.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Oct 2015 03:11:03 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by lffy185 with SMTP id y185so18524754lff.2 for ; Wed, 21 Oct 2015 03:11:03 -0700 (PDT) X-Received: by 10.25.205.193 with SMTP id d184mr873106lfg.72.1445422263460; Wed, 21 Oct 2015 03:11:03 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp2594707lbq; Wed, 21 Oct 2015 03:11:02 -0700 (PDT) X-Received: by 10.68.92.164 with SMTP id cn4mr9616618pbb.156.1445422262424; Wed, 21 Oct 2015 03:11:02 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id sa10si12280198pac.110.2015.10.21.03.11.02; Wed, 21 Oct 2015 03:11:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932591AbbJUKKz (ORCPT + 28 others); Wed, 21 Oct 2015 06:10:55 -0400 Received: from foss.arm.com ([217.140.101.70]:59959 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932550AbbJUKKw (ORCPT ); Wed, 21 Oct 2015 06:10:52 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CD2E85EE; Wed, 21 Oct 2015 03:10:46 -0700 (PDT) Received: from e103737-lin.cambridge.arm.com (e103737-lin.cambridge.arm.com [10.1.207.150]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 83EC13F308; Wed, 21 Oct 2015 03:10:50 -0700 (PDT) From: Sudeep Holla To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Sudeep Holla , =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , linux-omap@vger.kernel.org Subject: [PATCH 09/19] ARM: dts: am335x: replace gpio-key, wakeup with wakeup-source property Date: Wed, 21 Oct 2015 11:10:06 +0100 Message-Id: <1445422216-29375-10-git-send-email-sudeep.holla@arm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1445422216-29375-1-git-send-email-sudeep.holla@arm.com> References: <1445422216-29375-1-git-send-email-sudeep.holla@arm.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sudeep.holla@arm.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Though the keyboard driver for GPIO buttons(gpio-keys) will continue to check for/support the legacy "gpio-key,wakeup" boolean property to enable gpio buttons as wakeup source, "wakeup-source" is the new standard binding. This patch replaces the legacy "gpio-key,wakeup" with the unified "wakeup-source" property in order to avoid any futher copy-paste duplication. Cc: "BenoƮt Cousson" Cc: Tony Lindgren Cc: linux-omap@vger.kernel.org Signed-off-by: Sudeep Holla --- arch/arm/boot/dts/am335x-evm.dts | 4 ++-- arch/arm/boot/dts/am335x-evmsk.dts | 2 +- arch/arm/boot/dts/am335x-pepper.dts | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index 1942a5c8132d..a6e398a213ec 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts @@ -83,14 +83,14 @@ label = "volume-up"; linux,code = <115>; gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; - gpio-key,wakeup; + wakeup-source; }; switch@10 { label = "volume-down"; linux,code = <114>; gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; - gpio-key,wakeup; + wakeup-source; }; }; diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts index 315bb02c9920..6b57baaa2bb0 100644 --- a/arch/arm/boot/dts/am335x-evmsk.dts +++ b/arch/arm/boot/dts/am335x-evmsk.dts @@ -123,7 +123,7 @@ label = "button2"; linux,code = <0x102>; gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>; - gpio-key,wakeup; + wakeup-source; }; switch@4 { diff --git a/arch/arm/boot/dts/am335x-pepper.dts b/arch/arm/boot/dts/am335x-pepper.dts index 7106114c7464..5107dbb07a7d 100644 --- a/arch/arm/boot/dts/am335x-pepper.dts +++ b/arch/arm/boot/dts/am335x-pepper.dts @@ -627,21 +627,21 @@ label = "home"; linux,code = ; gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; - gpio-key,wakeup; + wakeup-source; }; button@1 { label = "menu"; linux,code = ; gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; - gpio-key,wakeup; + wakeup-source; }; buttons@2 { label = "power"; linux,code = ; gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; - gpio-key,wakeup; + wakeup-source; }; };