From patchwork Wed Feb 29 14:39:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 7004 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 2E84623E4A for ; Wed, 29 Feb 2012 14:39:39 +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 E4F4BA18153 for ; Wed, 29 Feb 2012 14:39:38 +0000 (UTC) Received: by iage36 with SMTP id e36so3367618iag.11 for ; Wed, 29 Feb 2012 06:39:38 -0800 (PST) Received: from mr.google.com ([10.50.187.168]) by 10.50.187.168 with SMTP id ft8mr508441igc.55.1330526378454 (num_hops = 1); Wed, 29 Feb 2012 06:39:38 -0800 (PST) Received: by 10.50.187.168 with SMTP id ft8mr426444igc.55.1330526378397; Wed, 29 Feb 2012 06:39:38 -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 k18csp4437ibg; Wed, 29 Feb 2012 06:39:37 -0800 (PST) Received: by 10.68.134.228 with SMTP id pn4mr6334778pbb.52.1330526377207; Wed, 29 Feb 2012 06:39:37 -0800 (PST) Received: from mailout2.samsung.com (mailout2.samsung.com. [203.254.224.25]) by mx.google.com with ESMTP id o5si18036611pbd.268.2012.02.29.06.39.36; Wed, 29 Feb 2012 06:39:37 -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 <0M05004YSSPTU0N0@mailout2.samsung.com>; Wed, 29 Feb 2012 23:39:35 +0900 (KST) X-AuditID: cbfee61b-b7c62ae000000989-07-4f4e38a7eb75 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (MMPCPMTA) with SMTP id 6F.D7.02441.7A83E4F4; Wed, 29 Feb 2012 23:39:35 +0900 (KST) Received: from DOJG1HAN02 ([12.23.119.56]) by mmp2.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTPA id <0M05008PESPZJ040@mmp2.samsung.com>; Wed, 29 Feb 2012 23:39:35 +0900 (KST) From: Jingoo Han To: linux-usb@vger.kernel.org, 'Greg Kroah-Hartman' Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, 'Sangwook Lee' , 'Alan Stern' , 'Joonyoung Shim' , 'Kukjin Kim' , patches@linaro.org, linaro-dev@lists.linaro.org, 'Thomas Abraham' , 'Jingoo Han' Subject: [PATCH 1/2] ARM: EXYNOS: Add USB HOST register definitions Date: Wed, 29 Feb 2012 23:39:35 +0900 Message-id: <000101ccf6ef$f4efbab0$decf3010$%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: Acz27/TF8ztPyTxDSv6bCqWnDIMngg== Content-language: ko X-Brightmail-Tracker: AAAAAA== X-Gm-Message-State: ALoCoQkZup8EkUQRfh7XOA08+u/HJt2JKltYXuJNDKJetWpmoUFVQqH6hzi5fr5sSrZm66ogFfq7 This patch adds USB HOST register definitions. The definition for EHCI INSNREG00 regiser and corresponding bit field definitions are added. Signed-off-by: Jingoo Han --- arch/arm/mach-exynos/include/mach/regs-usb-host.h | 23 +++++++++++++++++++++ 1 files changed, 23 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..1a60f27 --- /dev/null +++ b/arch/arm/mach-exynos/include/mach/regs-usb-host.h @@ -0,0 +1,23 @@ +/* + * 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_ENA_INCR16 (0x1 << 25) +#define EHCI_ENA_INCR8 (0x1 << 24) +#define EHCI_ENA_INCR4 (0x1 << 23) +#define EHCI_ENA_INCRX_ALIGN (0x1 << 22) +#define EHCI_ENABLE_DMA_INCR (EHCI_ENA_INCR16 | EHCI_ENA_INCR8| \ + EHCI_ENA_INCR4 | EHCI_ENA_INCRX_ALIGN) + +#endif /* __REGS_USB_HOST_H */