From patchwork Thu Jul 3 11:01:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 33020 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f72.google.com (mail-oa0-f72.google.com [209.85.219.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1620F20560 for ; Thu, 3 Jul 2014 11:02:00 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id eb12sf153418oac.11 for ; Thu, 03 Jul 2014 04:01:59 -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=3ck6VO9/F8RxzsmAtaHCpbfv2PiCjpZvdvvE3PwTkcE=; b=de87YfGDApnlg1lFx5Hs3QIYc5zXFzviu+ac6J/1du28gKi62lYZJZYi4mgLm3ROe+ VeeBT/kCXb2Jpt1nvt/KGDzS7UKBQWHoUMj7Ti5i8kHcgu6DqFtHzYpNcL/fNhdVF9/D n9OPS5Kblqus7RlBV+SncplH7uBkmJMQInJ/K6edK9kAxmW+t6r9FSPuSR92o6gSYZbc /+oK7zcojtmRtATCs62gGTlk7MqGcaiIWYx34A3xMjrqEWGHYAoIBQjtHL1hovMZph1r JJDNoxnwizWOq9jSRyveS3/TE3Ndz4b7tOuqIawmWKQWK/98x13dwfkSqedV51wK/Lbf i6EA== X-Gm-Message-State: ALoCoQkJn+e7vx5YPc9qmEyV0FRX4C6wciv50914QuKvd5Py+N/MYtKot2s65TuU5/h979+fF+oP X-Received: by 10.182.134.133 with SMTP id pk5mr2012389obb.31.1404385319704; Thu, 03 Jul 2014 04:01:59 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.93.101 with SMTP id c92ls366265qge.90.gmail; Thu, 03 Jul 2014 04:01:59 -0700 (PDT) X-Received: by 10.52.232.133 with SMTP id to5mr2630855vdc.16.1404385319616; Thu, 03 Jul 2014 04:01:59 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id xw5si14056248vcb.11.2014.07.03.04.01.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 03 Jul 2014 04:01:59 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id lf12so31108vcb.4 for ; Thu, 03 Jul 2014 04:01:59 -0700 (PDT) X-Received: by 10.58.188.199 with SMTP id gc7mr3133111vec.4.1404385319532; Thu, 03 Jul 2014 04:01:59 -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.221.37.5 with SMTP id tc5csp363682vcb; Thu, 3 Jul 2014 04:01:59 -0700 (PDT) X-Received: by 10.68.203.132 with SMTP id kq4mr3998104pbc.12.1404385318704; Thu, 03 Jul 2014 04:01:58 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c17si726475pdm.405.2014.07.03.04.01.58; Thu, 03 Jul 2014 04:01:58 -0700 (PDT) Received-SPF: none (google.com: linux-omap-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 S1754330AbaGCLBl (ORCPT + 6 others); Thu, 3 Jul 2014 07:01:41 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:33490 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752379AbaGCLBj (ORCPT ); Thu, 3 Jul 2014 07:01:39 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s63B1Zs2008649; Thu, 3 Jul 2014 06:01:35 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s63B1Zo8025582; Thu, 3 Jul 2014 06:01:35 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Thu, 3 Jul 2014 06:01:34 -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 s63B1LSP018213; Thu, 3 Jul 2014 06:01:31 -0500 From: Roger Quadros To: , CC: , , , , , , , , Roger Quadros Subject: [PATCH v2 3/3] ARM: DRA7: hwmod: Add SYSCONFIG for usb_otg_ss Date: Thu, 3 Jul 2014 14:01:14 +0300 Message-ID: <1404385274-5093-4-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1404385274-5093-1-git-send-email-rogerq@ti.com> References: <1404385274-5093-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-omap@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=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) 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 Reviewed-by: Rajendra Nayak 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 5ea094a..c87d10e 100644 --- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c @@ -1742,8 +1742,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 */