From patchwork Thu Mar 1 05:38:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 7027 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id DCC0023E48 for ; Thu, 1 Mar 2012 05:38:24 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 90FC5A182D9 for ; Thu, 1 Mar 2012 05:38:24 +0000 (UTC) Received: by iage36 with SMTP id e36so467895iag.11 for ; Wed, 29 Feb 2012 21:38:24 -0800 (PST) Received: from mr.google.com ([10.50.193.131]) by 10.50.193.131 with SMTP id ho3mr526503igc.55.1330580304064 (num_hops = 1); Wed, 29 Feb 2012 21:38:24 -0800 (PST) Received: by 10.50.193.131 with SMTP id ho3mr429979igc.55.1330580304008; Wed, 29 Feb 2012 21:38:24 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.53.18 with SMTP id k18csp8318ibg; Wed, 29 Feb 2012 21:38:23 -0800 (PST) Received: by 10.68.130.69 with SMTP id oc5mr13171237pbb.5.1330580302715; Wed, 29 Feb 2012 21:38:22 -0800 (PST) Received: from mailout2.samsung.com (mailout2.samsung.com. [203.254.224.25]) by mx.google.com with ESMTP id j9si1690437pbh.19.2012.02.29.21.38.22; Wed, 29 Feb 2012 21:38:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of jg1.han@samsung.com designates 203.254.224.25 as permitted sender) client-ip=203.254.224.25; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of jg1.han@samsung.com designates 203.254.224.25 as permitted sender) smtp.mail=jg1.han@samsung.com Received: from epcpsbgm2.samsung.com (mailout2.samsung.com [203.254.224.25]) by mailout2.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTP id <0M060056GYBXYGA0@mailout2.samsung.com>; Thu, 01 Mar 2012 14:38:21 +0900 (KST) X-AuditID: cbfee61b-b7c62ae000000989-d8-4f4f0b4d6547 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (MMPCPMTA) with SMTP id 2E.81.02441.D4B0F4F4; Thu, 01 Mar 2012 14:38:21 +0900 (KST) Received: from DOJG1HAN02 ([12.23.119.56]) by mmp1.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTPA id <0M0600FV1YBWU300@mmp1.samsung.com>; Thu, 01 Mar 2012 14:38:20 +0900 (KST) From: Jingoo Han To: linux-usb@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: 'Greg Kroah-Hartman' , 'Kukjin Kim' , linux-arm-kernel@lists.infradead.org, 'Sangwook Lee' , 'Alan Stern' , 'Joonyoung Shim' , patches@linaro.org, linaro-dev@lists.linaro.org, 'Thomas Abraham' , 'Jingoo Han' Subject: [PATCH v2 1/2] ARM: EXYNOS: Add USB HOST register definitions Date: Thu, 01 Mar 2012 14:38:20 +0900 Message-id: <000701ccf76d$8316b0a0$894411e0$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Acz3bYLUNXcEBcULRKezUwXY2eVsEQ== Content-language: ko X-Brightmail-Tracker: AAAAAA== X-Gm-Message-State: ALoCoQlIYSmpjzCLUqdY43lRdI7QAs8fwH1uD2AEMonPykIDIMn9Lo/7aC3MQkRlquHS0dyKtbms This patch adds USB HOST register definitions. The definition for EHCI INSNREG00 regiser and corresponding bit field definitions are added. Signed-off-by: Sangwook Lee Signed-off-by: Jingoo Han --- v2: change the definition name from EHCI_ENA_xxx to EHCI_INSNREG00_ENA_xxx. arch/arm/mach-exynos/include/mach/regs-usb-host.h | 24 +++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) create mode 100644 arch/arm/mach-exynos/include/mach/regs-usb-host.h diff --git a/arch/arm/mach-exynos/include/mach/regs-usb-host.h b/arch/arm/mach-exynos/include/mach/regs-usb-host.h new file mode 100644 index 0000000..572b7d4 --- /dev/null +++ b/arch/arm/mach-exynos/include/mach/regs-usb-host.h @@ -0,0 +1,24 @@ +/* + * Copyright (C) 2012 Samsung Electronics Co.Ltd + * http://www.samsung.com + * + * EXYNOS - USB HOST register definitions + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef __REGS_USB_HOST_H +#define __REGS_USB_HOST_H __FILE__ + +#define EHCI_INSNREG00(base) (base + 0x90) +#define EHCI_INSNREG00_ENA_INCR16 (0x1 << 25) +#define EHCI_INSNREG00_ENA_INCR8 (0x1 << 24) +#define EHCI_INSNREG00_ENA_INCR4 (0x1 << 23) +#define EHCI_INSNREG00_ENA_INCRX_ALIGN (0x1 << 22) +#define EHCI_INSNREG00_ENABLE_DMA_BURST \ + (EHCI_INSNREG00_ENA_INCR16 | EHCI_INSNREG00_ENA_INCR8 | \ + EHCI_INSNREG00_ENA_INCR4 | EHCI_INSNREG00_ENA_INCRX_ALIGN) + +#endif /* __REGS_USB_HOST_H */