From patchwork Mon May 5 09:54:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 29639 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f199.google.com (mail-vc0-f199.google.com [209.85.220.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8331520CB3 for ; Mon, 5 May 2014 09:55:30 +0000 (UTC) Received: by mail-vc0-f199.google.com with SMTP id hq16sf25751537vcb.6 for ; Mon, 05 May 2014 02:55:30 -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=0jZoGOLc76+eD9yBKcr46SsdAh0p+Gk3fcNTCzeL/8M=; b=Xr6Qt88/AywvZ3NRlyAvI4syIXxMpW8E8KJosYiIOZUVRmnSb7r0mrFoQ7Mf7oU/JJ KQgAMH+44EMzFhl5VL8nxq2oHlZBZE7m2qAOANnkVLH9jovSdT1ofHVJBpE3nv6hSPrI I7HC+884Qcm52hdA9wg4FA3GMW/a71fIYHFBoEKvvIxYRhwSQx9+AELfZeoo+zoD41BH /43akO0o9MkxrE5lDsrSvJ3saEdizygfIgxPeynqkOQHuStXSuGJRPzISviryH8UzEes 6MwAAXBQNFETW97UpdkL9mZrLPR3xKY0oXXQbM5U497H8aEBRRllKtJKtNEG2PnH2bFq GwLw== X-Gm-Message-State: ALoCoQkQQjDPK/rKNlIh0JYkZLA17CQAsvfqcNGsX2E21WLMICVk05mSLIG0SL8Og0pePcEiLAvb X-Received: by 10.58.210.2 with SMTP id mq2mr15974764vec.3.1399283730297; Mon, 05 May 2014 02:55:30 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.93.11 with SMTP id c11ls2157351qge.55.gmail; Mon, 05 May 2014 02:55:30 -0700 (PDT) X-Received: by 10.53.1.69 with SMTP id be5mr1981400vdd.27.1399283730204; Mon, 05 May 2014 02:55:30 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id ya4si1444421vec.55.2014.05.05.02.55.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 05 May 2014 02:55:30 -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.172; Received: by mail-vc0-f172.google.com with SMTP id id10so8432790vcb.31 for ; Mon, 05 May 2014 02:55:30 -0700 (PDT) X-Received: by 10.221.42.135 with SMTP id ty7mr10023766vcb.14.1399283730098; Mon, 05 May 2014 02:55:30 -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 ib8csp127036vcb; Mon, 5 May 2014 02:55:29 -0700 (PDT) X-Received: by 10.67.4.138 with SMTP id ce10mr69861061pad.12.1399283729425; Mon, 05 May 2014 02:55:29 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ic8si7953046pad.218.2014.05.05.02.55.28; Mon, 05 May 2014 02:55:28 -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 S1756173AbaEEJzN (ORCPT + 3 others); Mon, 5 May 2014 05:55:13 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:49967 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756156AbaEEJzK (ORCPT ); Mon, 5 May 2014 05:55:10 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s459t8wg008697; Mon, 5 May 2014 04:55:08 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s459t85G015411; Mon, 5 May 2014 04:55:08 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.174.1; Mon, 5 May 2014 04:55:07 -0500 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s459smBk007282; Mon, 5 May 2014 04:55:04 -0500 From: Roger Quadros To: , , , CC: , , , , , , Roger Quadros , Paul Walmsley Subject: [PATCH v3 5/7] ARM: DRA7: hwmod: Add SYSCONFIG for usb_otg_ss Date: Mon, 5 May 2014 12:54:44 +0300 Message-ID: <1399283686-6127-6-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1399283686-6127-1-git-send-email-rogerq@ti.com> References: <1399283686-6127-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 CC: Paul Walmsley Signed-off-by: Roger Quadros Reviewed-by: Rajendra Nayak Tested-by: Roger Quadros Tested-by: Sekhar Nori --- 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 */