From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755269AbaHFBC7 (ORCPT ); Tue, 5 Aug 2014 21:02:59 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:57094 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753729AbaHFBC5 (ORCPT ); Tue, 5 Aug 2014 21:02:57 -0400 From: Kever Yang To: Paul Zimmerman Cc: dianders@chromium.org, Heiko Stuebner , addy.ke@rock-chips.com, cf@rock-chips.com, xjq@rock-chips.com, olof@lixom.net, sonnyrao@chromium.org, wulf@rock-chips.com, lyz@rock-chips.com, jg1.han@samsung.com, hj@rock-chips.com, huangtao@rock-chips.com, Kever Yang , devicetree@vger.kernel.org, Matt Porter , Paul Zimmerman , linux-usb@vger.kernel.org, Kumar Gala , Stephen Warren , linux-kernel@vger.kernel.org, Ian Campbell , Kishon Vijay Abraham I , Rob Herring , Pawel Moll , Greg Kroah-Hartman , Mark Rutland Subject: [PATCH v4 0/2] Patches to add dr_mode for dwc2 Date: Wed, 6 Aug 2014 09:01:48 +0800 Message-Id: <1407286910-30906-1-git-send-email-kever.yang@rock-chips.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These two patches enable the dr_mode for the dwc2 usb controller. These are split from the patch series adding rk3288 dwc2 support. Changes in v4: - From Doug's suggestion: -- remove dr_mode init from Kconfig code -- change the commit meesage Changes in v3: - fix the odd spacing in dwc2_hsotg struct - From Jingoo's suggestion: change the commit message - add dr_mode init from Kconfig Changes in v2: - Split out dr_mode and rk3288 bindings. - put spaces around '+' operator - expand the comment for dr_mode - handle dr_mode is USB_DR_MODE_OTG Kever Yang (2): Documentation: dt-bindings: add dt binding info for dwc2 dr_mode usb: dwc2: add 'mode' which based on Kconfig select or dts setting Documentation/devicetree/bindings/usb/dwc2.txt | 2 ++ drivers/usb/dwc2/core.c | 18 ++++++++++++++++++ drivers/usb/dwc2/core.h | 5 +++++ drivers/usb/dwc2/platform.c | 4 ++++ 4 files changed, 29 insertions(+) -- 1.9.1