From patchwork Tue Jul 15 17:00:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: sam-the-6 X-Patchwork-Id: 33682 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f198.google.com (mail-ob0-f198.google.com [209.85.214.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DC5ED201F1 for ; Tue, 15 Jul 2014 17:15:33 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id wp18sf32073119obc.1 for ; Tue, 15 Jul 2014 10:15:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=Opxwc5TFlMXhDWXf1wl3hA3vJ4XQyxXVo7pns6knKVo=; b=HR6TwTbC05qXpWhLHJqHlcX8NVppqlRbQ4mfgCcK1WqIS21vFJ+ycaOsFejnqmpgzd N+IaWvV/OcpFut4U9E+XRivKn16wfFJ3qtDEZuoq5qvnGK8nHc7jdTWcLa3yA+1j7Jn6 nCCIQfkkVcFPae5yS7YeWLaYchXBYp0dld11F9Z4OyP0zADFQmZ72oPbqFslEuqSDMZc RCOZINNF7QYg0u4AtKSK1VkX7JSMutbuq9OXZktKUlayp3cCakWdePa8xacSWrEqH/oj tq3Lv9d1I1tCiaqqCg98EMf8ncyDJtGjGL33cjjAlVMwsN0XgLrGuEgZyCYTvPYSDOuQ 1DZw== X-Gm-Message-State: ALoCoQmkLrEuFYeOAfKTq4U0Bb0E4OQl/+mW+07hrlYvCxUGmSMMTG6Z9nSw9hlou1I8g4OtBjE/ X-Received: by 10.182.102.34 with SMTP id fl2mr12083101obb.16.1405444533375; Tue, 15 Jul 2014 10:15:33 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.94.236 with SMTP id g99ls159892qge.17.gmail; Tue, 15 Jul 2014 10:15:33 -0700 (PDT) X-Received: by 10.221.25.210 with SMTP id rj18mr23488384vcb.5.1405444533286; Tue, 15 Jul 2014 10:15:33 -0700 (PDT) Received: from mail-vc0-x231.google.com (mail-vc0-x231.google.com [2607:f8b0:400c:c03::231]) by mx.google.com with ESMTPS id s10si7079452vcx.51.2014.07.15.10.15.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Jul 2014 10:15:33 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c03::231 as permitted sender) client-ip=2607:f8b0:400c:c03::231; Received: by mail-vc0-f177.google.com with SMTP id hy4so4144847vcb.36 for ; Tue, 15 Jul 2014 10:15:33 -0700 (PDT) X-Received: by 10.221.26.10 with SMTP id rk10mr23955944vcb.0.1405444533214; Tue, 15 Jul 2014 10:15:33 -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 tc5csp231395vcb; Tue, 15 Jul 2014 10:15:32 -0700 (PDT) X-Received: by 10.68.215.68 with SMTP id og4mr15204874pbc.112.1405444531296; Tue, 15 Jul 2014 10:15:31 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ty10si7267742pac.81.2014.07.15.10.15.30; Tue, 15 Jul 2014 10:15:30 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-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 S1758364AbaGORPD (ORCPT + 28 others); Tue, 15 Jul 2014 13:15:03 -0400 Received: from mail-we0-f174.google.com ([74.125.82.174]:45936 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755687AbaGORCM (ORCPT ); Tue, 15 Jul 2014 13:02:12 -0400 Received: by mail-we0-f174.google.com with SMTP id x48so4169969wes.33 for ; Tue, 15 Jul 2014 10:02:11 -0700 (PDT) X-Received: by 10.194.7.167 with SMTP id k7mr28392467wja.11.1405443731547; Tue, 15 Jul 2014 10:02:11 -0700 (PDT) Received: from Debian ([94.54.73.8]) by mx.google.com with ESMTPSA id 20sm33784007wjt.42.2014.07.15.10.02.08 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 15 Jul 2014 10:02:10 -0700 (PDT) Received: from sam by Debian with local (Exim 4.80) (envelope-from ) id 1X767C-000420-AS; Tue, 15 Jul 2014 20:02:06 +0300 From: Sam Asadi To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Roger Quadros , Paul Walmsley , sam-the-6 Subject: [PATCH 37/94] ARM: DRA7: hwmod: Add SYSCONFIG for usb_otg_ss Date: Tue, 15 Jul 2014 20:00:52 +0300 Message-Id: <1405443709-15288-37-git-send-email-asadi.samuel@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1405443709-15288-1-git-send-email-asadi.samuel@gmail.com> References: <1405443709-15288-1-git-send-email-asadi.samuel@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Original-Sender: asadi.samuel@gmail.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c03::231 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=neutral (body hash did not verify) header.i=@; dmarc=fail (p=NONE dis=NONE) header.from=gmail.com 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: , From: Roger Quadros Add the sysconfig class bits for the Super Speed USB controllers Signed-off-by: Roger Quadros Reviewed-by: Rajendra Nayak Tested-by: Sekhar Nori Signed-off-by: Paul Walmsley Signed-off-by: sam-the-6 --- 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 1209266..284324f 100644 --- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c @@ -1727,8 +1727,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 */