From patchwork Fri Mar 7 13:09:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 25887 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f200.google.com (mail-vc0-f200.google.com [209.85.220.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E9C72203C3 for ; Fri, 7 Mar 2014 13:11:52 +0000 (UTC) Received: by mail-vc0-f200.google.com with SMTP id le5sf9532512vcb.11 for ; Fri, 07 Mar 2014 05:11:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=Mz1WNK/p4t8zaUuYwS0kfEs+I2aGSIpSlFKrL6RBAUg=; b=RD+asRM57mcvHM7ZiTRr3GZWNkhedeZQ2uWzXSWcXavmUrevZNGOVoTDW45mVBNBMo 5o3NfB/Bv/+2v7Ko2Dq3Rbxv5T6wXiJb/9TK8ryZM9/D9m7aA5nBja+I4rSwxfxKyyUF HYJukE8pglDAJ62oRb8//lxiHhGKLmBkUCx/EY9MYUUoNQtAq3PshZYGSc7ZeNs1PD6w Lr5XY6YlRCCrpsctN5ijgelu+pJQo1qg9M4rV7pa029x/RxtNxdLD6+ck6gy1UpcWZmV /BV+Q2KZXHqAwMlr3IfbNykg9IPLjxr/0uoUru7OG7SBWNTs7PJWajklm2jcOvR1/Ds1 tfMw== X-Gm-Message-State: ALoCoQk+4LbrLoy5AbBCeFlAw3MLXJ8y7IoxWKOU95bPlCRsHd0o5OyY0vCa9v89995pLz6ipsLD X-Received: by 10.58.46.172 with SMTP id w12mr5168061vem.24.1394197912709; Fri, 07 Mar 2014 05:11:52 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.108.246 with SMTP id j109ls1068182qgf.13.gmail; Fri, 07 Mar 2014 05:11:52 -0800 (PST) X-Received: by 10.220.188.10 with SMTP id cy10mr567990vcb.36.1394197912519; Fri, 07 Mar 2014 05:11:52 -0800 (PST) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id w5si2063292vcn.26.2014.03.07.05.11.52 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Mar 2014 05:11:52 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.181; Received: by mail-ve0-f181.google.com with SMTP id oy12so4102807veb.26 for ; Fri, 07 Mar 2014 05:11:52 -0800 (PST) X-Received: by 10.220.191.134 with SMTP id dm6mr10207229vcb.16.1394197912454; Fri, 07 Mar 2014 05:11:52 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.78.9 with SMTP id i9csp113761vck; Fri, 7 Mar 2014 05:11:52 -0800 (PST) X-Received: by 10.68.254.103 with SMTP id ah7mr21434322pbd.159.1394197911525; Fri, 07 Mar 2014 05:11:51 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e7si1830327pbd.277.2014.03.07.05.11.50; Fri, 07 Mar 2014 05:11:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753496AbaCGNLo (ORCPT + 26 others); Fri, 7 Mar 2014 08:11:44 -0500 Received: from arroyo.ext.ti.com ([192.94.94.40]:40481 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753080AbaCGNJw (ORCPT ); Fri, 7 Mar 2014 08:09:52 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s27D9QZr001172; Fri, 7 Mar 2014 07:09:26 -0600 Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s27D9Qua005427; Fri, 7 Mar 2014 07:09:26 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.174.1; Fri, 7 Mar 2014 07:09:26 -0600 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s27D9Eep003003; Fri, 7 Mar 2014 07:09:24 -0600 From: Roger Quadros To: , CC: , , , , , , , Subject: [PATCH 3/8] ARM: DRA7: hwmod: Add SYSCONFIG for usb_otg_ss Date: Fri, 7 Mar 2014 15:09:06 +0200 Message-ID: <1394197751-28984-4-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1394197751-28984-1-git-send-email-rogerq@ti.com> References: <1394197751-28984-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: rogerq@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add the sysconfig class bits for the Super Speed USB controllers Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c index 3c9a430..cca24ad 100644 --- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c @@ -1752,8 +1752,20 @@ static struct omap_hwmod dra7xx_uart6_hwmod = { * */ +static struct omap_hwmod_class_sysconfig dra7xx_usb_otg_ss_sysc = { + .rev_offs = 0x0000, + .sysc_offs = 0x0010, + .sysc_flags = (SYSC_HAS_DMADISABLE | SYSC_HAS_MIDLEMODE | + SYSC_HAS_SIDLEMODE), + .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART | + SIDLE_SMART_WKUP | MSTANDBY_FORCE | MSTANDBY_NO | + MSTANDBY_SMART | MSTANDBY_SMART_WKUP), + .sysc_fields = &omap_hwmod_sysc_type2, +}; + static struct omap_hwmod_class dra7xx_usb_otg_ss_hwmod_class = { .name = "usb_otg_ss", + .sysc = &dra7xx_usb_otg_ss_sysc, }; /* usb_otg_ss1 */