From patchwork Thu Aug 26 15:27:34 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Mark F. Brown" X-Patchwork-Id: 155011 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o83Lnp2p003538 for ; Fri, 3 Sep 2010 21:49:51 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757729Ab0ICVtS (ORCPT ); Fri, 3 Sep 2010 17:49:18 -0400 Received: from mail-vw0-f46.google.com ([209.85.212.46]:60235 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757672Ab0ICVtL (ORCPT ); Fri, 3 Sep 2010 17:49:11 -0400 Received: by mail-vw0-f46.google.com with SMTP id 3so1656191vws.19 for ; Fri, 03 Sep 2010 14:49:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=UPfWBbVoPsuYGFsv0xz5cQmzUdEBuk4B/kQmfw1DjI8=; b=bzzUmqM367pYBhrOyakZEhV7NYAViNK3ltPLAA5NE25zo1/I2MVIcKbLsZgGZCbjNP fSpH/0npGEXfhuTdpzRL+2ml8KJ1RuzBg2zHw8563uS9m06dl4dVvzay3jlLOfxWQkjx yVAfnQMszJYsornFw7dQLDJLctge6J+YFgBzw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=Xprp3uQiMub7aCMlz+H64u9pAXs9s+5em5s7yVHfhJjsHdPXtsZAuPuppb3+lfauWa MFvuWg7m97S9dmSum+ugonh3ham4OyvqcljcyWWWu4UO8VIYIm5HVGiGWK5peggixek/ /IlkIiD8uLBrXOOAXPW/gF3Y6zALBejfN8U4A= Received: by 10.220.126.166 with SMTP id c38mr589262vcs.192.1283550550648; Fri, 03 Sep 2010 14:49:10 -0700 (PDT) Received: from localhost.localdomain (pool-173-48-128-43.bstnma.fios.verizon.net [173.48.128.43]) by mx.google.com with ESMTPS id j34sm1012664vcs.4.2010.09.03.14.49.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 03 Sep 2010 14:49:09 -0700 (PDT) From: "Mark F. Brown" To: Eric Miao , Haojian Zhuang , "Mark F. Brown" , linux-arm-kernel , linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Cc: "Mark F. Brown" Subject: [PATCH v2 3/6] ARM: pxa168: added wake clear register support for APMU Date: Thu, 26 Aug 2010 11:27:34 -0400 Message-Id: <1282836457-5651-4-git-send-email-mark.brown314@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1282836457-5651-1-git-send-email-mark.brown314@gmail.com> References: <1282836457-5651-1-git-send-email-mark.brown314@gmail.com> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Fri, 03 Sep 2010 21:49:51 +0000 (UTC) diff --git a/arch/arm/mach-mmp/include/mach/regs-apmu.h b/arch/arm/mach-mmp/include/mach/regs-apmu.h index 9190305..ac47023 100644 --- a/arch/arm/mach-mmp/include/mach/regs-apmu.h +++ b/arch/arm/mach-mmp/include/mach/regs-apmu.h @@ -33,4 +33,16 @@ #define APMU_FNRST_DIS (1 << 1) #define APMU_AXIRST_DIS (1 << 0) +/* Wake Clear Register */ +#define APMU_WAKE_CLR APMU_REG(0x07c) + +#define APMU_PXA168_KP_WAKE_CLR (1 << 7) +#define APMU_PXA168_CFI_WAKE_CLR (1 << 6) +#define APMU_PXA168_XD_WAKE_CLR (1 << 5) +#define APMU_PXA168_MSP_WAKE_CLR (1 << 4) +#define APMU_PXA168_SD4_WAKE_CLR (1 << 3) +#define APMU_PXA168_SD3_WAKE_CLR (1 << 2) +#define APMU_PXA168_SD2_WAKE_CLR (1 << 1) +#define APMU_PXA168_SD1_WAKE_CLR (1 << 0) + #endif /* __ASM_MACH_REGS_APMU_H */