From patchwork Tue Feb 25 21:36:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 25319 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f197.google.com (mail-ie0-f197.google.com [209.85.223.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9C81320543 for ; Tue, 25 Feb 2014 21:37:55 +0000 (UTC) Received: by mail-ie0-f197.google.com with SMTP id rd18sf3823468iec.4 for ; Tue, 25 Feb 2014 13:37:55 -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 :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=euH4De4x+ibNgcPhqYbZFvtIkVH3wJHbxLA9iyO6Y4o=; b=BSLeg1b1oEGBBTYuobliztbp0eZxTMYZ4cZyXZNeJ4Wlzy0srAlxDtEslBInDnkuq3 96TkLZzwIXM0r9JdMnF8YMLafHSsM7ny3tRH6HwfD1eHfdOcsTwxp7GlrAP04MkcKA7J R25ghaDLijBnR2wi4S4gkic2GpexA5QInIln2/wTaBNghU4CMevvtbXMNWPLaMqvuEKC eZZI5XwZyXe+2SAakfJIROu6ejeifwp1Af+N6s42pIeAP9comlZ67yJmMRCRLIcKSgTG taI1eF+4oMA5nTY8/oXF2PmT1dwjpRiky2APbVPhyN7ZCHOsXFpliQFJ2aPDcecIFAYF 0Eeg== X-Gm-Message-State: ALoCoQkxuNy4gGULHL+G2fi4SRcApELKzNooTOhKvleVnZe6xFR9UZllAaj4BI9P0kMAaA/e6Qxm X-Received: by 10.43.18.133 with SMTP id qg5mr808601icb.13.1393364275049; Tue, 25 Feb 2014 13:37:55 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.24.226 with SMTP id 89ls1383832qgr.14.gmail; Tue, 25 Feb 2014 13:37:54 -0800 (PST) X-Received: by 10.58.66.137 with SMTP id f9mr2789808vet.11.1393364274860; Tue, 25 Feb 2014 13:37:54 -0800 (PST) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) by mx.google.com with ESMTPS id l16si7171594vcl.51.2014.02.25.13.37.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Feb 2014 13:37:54 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.182 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.182; Received: by mail-ve0-f182.google.com with SMTP id jy13so1200728veb.13 for ; Tue, 25 Feb 2014 13:37:54 -0800 (PST) X-Received: by 10.58.200.229 with SMTP id jv5mr2758528vec.15.1393364274729; Tue, 25 Feb 2014 13:37:54 -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.174.196 with SMTP id u4csp169415vcz; Tue, 25 Feb 2014 13:37:54 -0800 (PST) X-Received: by 10.68.133.163 with SMTP id pd3mr2122891pbb.166.1393364273800; Tue, 25 Feb 2014 13:37:53 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ap6si21700946pad.26.2014.02.25.13.37.53; Tue, 25 Feb 2014 13:37:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-usb-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 S1752875AbaBYVhv (ORCPT + 3 others); Tue, 25 Feb 2014 16:37:51 -0500 Received: from comal.ext.ti.com ([198.47.26.152]:39271 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752456AbaBYVhv (ORCPT ); Tue, 25 Feb 2014 16:37:51 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s1PLboDv023605; Tue, 25 Feb 2014 15:37:50 -0600 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s1PLbowa012496; Tue, 25 Feb 2014 15:37:50 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Tue, 25 Feb 2014 15:37:49 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s1PLbmsx012499; Tue, 25 Feb 2014 15:37:49 -0600 From: Felipe Balbi To: Linux USB Mailing List CC: Paul Zimmerman , Felipe Balbi Subject: [PATCH 1/3] usb: dwc3: core: define bit 10 of GCTL register Date: Tue, 25 Feb 2014 15:36:18 -0600 Message-ID: <1393364180-15074-1-git-send-email-balbi@ti.com> X-Mailer: git-send-email 1.9.0 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: balbi@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.182 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: , This bit is necessary for implemeting workaround for known issue with some revisions of this core. Signed-off-by: Felipe Balbi --- drivers/usb/dwc3/core.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index 5539cf1..00b0578 100644 --- a/drivers/usb/dwc3/core.h +++ b/drivers/usb/dwc3/core.h @@ -158,6 +158,7 @@ #define DWC3_GCTL_PRTCAP_OTG 3 #define DWC3_GCTL_CORESOFTRESET (1 << 11) +#define DWC3_GCTL_SOFITPSYNC (1 << 10) #define DWC3_GCTL_SCALEDOWN(n) ((n) << 4) #define DWC3_GCTL_SCALEDOWN_MASK DWC3_GCTL_SCALEDOWN(3) #define DWC3_GCTL_DISSCRAMBLE (1 << 3)