From patchwork Thu Aug 26 09:18:57 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: 144371 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 o7V2anBj009290 for ; Tue, 31 Aug 2010 02:37:05 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756825Ab0HaCgU (ORCPT ); Mon, 30 Aug 2010 22:36:20 -0400 Received: from mail-qy0-f174.google.com ([209.85.216.174]:54033 "EHLO mail-qy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756804Ab0HaCgP (ORCPT ); Mon, 30 Aug 2010 22:36:15 -0400 Received: by mail-qy0-f174.google.com with SMTP id 36so188037qyk.19 for ; Mon, 30 Aug 2010 19:36:15 -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=h4bhMU+nXNRxlFe8i6dlooQrVeQJRExicnWKbifjdZXfTG7xymdvfpUl9gX8vg6VTL LqBcVdtyt2VVo8ul2cf3QMod8GJu1vQqO4nGiWmPEi6XV+GFC3oofqay7U70YEPal5zI uTax4K018le52X9CilhMs8V+qWwEjsqQm9+c0= 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=Vup2+5B/CF1AZzezgs2PAwjIOpJ/ao1Kg3P2l/5qnzDqpKKElCMdo01MNNn7QLwLzT wu3r/8A+9GdYWH9ITtBpze1RhFKoSv0nc77h52fuQ78GSmdiqCit07UAqycX2yulHsMF IvScKfhMy4Vf4a17QQPavSb7lDz42fnEo1pAY= Received: by 10.224.72.37 with SMTP id k37mr3458538qaj.398.1283222175394; Mon, 30 Aug 2010 19:36:15 -0700 (PDT) Received: from localhost.localdomain (pool-173-48-127-202.bstnma.fios.verizon.net [173.48.127.202]) by mx.google.com with ESMTPS id e6sm9145361qcr.41.2010.08.30.19.36.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 30 Aug 2010 19:36:14 -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 3/5] ARM: pxa168: added wake clear register support for APMU Date: Thu, 26 Aug 2010 05:18:57 -0400 Message-Id: <1282814339-10934-4-git-send-email-mark.brown314@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1282814339-10934-1-git-send-email-mark.brown314@gmail.com> References: <1282814339-10934-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]); Tue, 31 Aug 2010 02:37:05 +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 */