From patchwork Mon Apr 28 14:01:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 29246 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C493A20553 for ; Mon, 28 Apr 2014 14:02:14 +0000 (UTC) Received: by mail-lb0-f197.google.com with SMTP id s7sf3593363lbd.8 for ; Mon, 28 Apr 2014 07:02:13 -0700 (PDT) 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=19jkfcbYL+9ny4G70ggMM6gGenfsqF50//zzDCn9iZA=; b=jDM5Y+BhKWNJBJbYL4J6GmWOsViPMIjXd5Q7VrlRkP83x3w2aSmsQL9+4caGMEw0Ch CAI5FaJ2XkVrYFX5gxbD7l9lmKEijagSDiFmz068ErwCGY1I3meKv9+kxVb0IE0079AM OD2P3tb3sIjOH50PvLzC0fC5fLY8fIfuAIuvuR5/7Dk6Uup1DUUVwYW2uP9HFpbnaieL d0FbwY0kz7+Lt4PI5oVTkz2UuNEvV8qAyFJRjYogHS+W0aLYEpgUFVJAFZMZbYoiRNVr 947hWmeVpj45OsHxNPtvlaORwbHrgzKIU0FyO/SSK2ZSFJPrL5kGReSHQDul/lqk+iaM Xhlg== X-Gm-Message-State: ALoCoQlHhnWaf+xuvtzk1BFNgVKIF5FBKvRwG4k0BVNR959wdDi4R+rOFie+94cHrSeTMLp4iGka X-Received: by 10.14.225.6 with SMTP id y6mr2120110eep.2.1398693733090; Mon, 28 Apr 2014 07:02:13 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.23.232 with SMTP id 95ls2733088qgp.68.gmail; Mon, 28 Apr 2014 07:02:12 -0700 (PDT) X-Received: by 10.52.69.146 with SMTP id e18mr20391314vdu.15.1398693732525; Mon, 28 Apr 2014 07:02:12 -0700 (PDT) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id xv9si3648327vcb.80.2014.04.28.07.02.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Apr 2014 07:02:12 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.220.176; Received: by mail-vc0-f176.google.com with SMTP id lc6so7962894vcb.7 for ; Mon, 28 Apr 2014 07:02:12 -0700 (PDT) X-Received: by 10.220.4.132 with SMTP id 4mr24201271vcr.9.1398693732401; Mon, 28 Apr 2014 07:02:12 -0700 (PDT) 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.221.72 with SMTP id ib8csp119858vcb; Mon, 28 Apr 2014 07:02:11 -0700 (PDT) X-Received: by 10.68.241.68 with SMTP id wg4mr29189114pbc.66.1398693731566; Mon, 28 Apr 2014 07:02:11 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qf5si10536190pac.170.2014.04.28.07.02.11; Mon, 28 Apr 2014 07:02:11 -0700 (PDT) Received-SPF: none (google.com: linux-usb-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756173AbaD1OB7 (ORCPT + 3 others); Mon, 28 Apr 2014 10:01:59 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:45083 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755736AbaD1OBy (ORCPT ); Mon, 28 Apr 2014 10:01:54 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s3SE1riV010938; Mon, 28 Apr 2014 09:01:53 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s3SE1rXU031481; Mon, 28 Apr 2014 09:01:53 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Mon, 28 Apr 2014 09:01:52 -0500 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s3SE1iQm031842; Mon, 28 Apr 2014 09:01:51 -0500 From: Roger Quadros To: , , CC: , , , , Roger Quadros Subject: [PATCH v2 2/7] ARM: DRA7: hwmod: Add SYSCONFIG for usb_otg_ss Date: Mon, 28 Apr 2014 17:01:22 +0300 Message-ID: <1398693687-13967-3-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1398693687-13967-1-git-send-email-rogerq@ti.com> References: <1398693687-13967-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-usb@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: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) 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 810c205..067d322 100644 --- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c @@ -1731,8 +1731,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 */