From patchwork Fri Sep 3 22:28:08 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: 155141 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 o83MUEX8007979 for ; Fri, 3 Sep 2010 22:30:14 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753806Ab0ICW3r (ORCPT ); Fri, 3 Sep 2010 18:29:47 -0400 Received: from mail-qy0-f181.google.com ([209.85.216.181]:64111 "EHLO mail-qy0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753708Ab0ICW3q (ORCPT ); Fri, 3 Sep 2010 18:29:46 -0400 Received: by qyk33 with SMTP id 33so2422186qyk.19 for ; Fri, 03 Sep 2010 15:29:45 -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=b9hzetoHbCNnc5Mgn3+Hwd+W0Lt38Y2xJcK8wHpHFR8VnX+/lQZqHcAXBQ0KvcsRaU iSPev8Ri6OLdlmWrCMSVpEza2cESfNtKbq+X9wUYwAmSMqfiKKcVLq5GW4xDS4X47MXy BsKDT50lzd4QCCIf/B2E7b0U3fdZBNgPKoYow= 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=LPXUNVoXD5zkkt2LY6BN2kq1yf8c7uPMFYjawCuymg6QfG3Ur3YmVDbALuxsTiyNqk pu/ZaAHFoP0rhuMoi6p0tk/qHoRc9tll91/jSvY4ztP6yMBtZaUFIceFtxcptvVWShbm aVKti7ClqOErNrJXQbumKeSSVVuosxlTYK57s= Received: by 10.229.1.129 with SMTP id 1mr810321qcf.163.1283552952325; Fri, 03 Sep 2010 15:29:12 -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 l13sm2505227qck.19.2010.09.03.15.29.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 03 Sep 2010 15:29:11 -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 RESEND] ARM: pxa168: added wake clear register support for APMU Date: Fri, 3 Sep 2010 18:28:08 -0400 Message-Id: <1283552891-13966-4-git-send-email-mark.brown314@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1283552891-13966-1-git-send-email-mark.brown314@gmail.com> References: <1283552891-13966-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 22:30:15 +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 */