From patchwork Thu Nov 19 11:51:22 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 7656631 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C434F9F443 for ; Thu, 19 Nov 2015 11:51:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 039F02069A for ; Thu, 19 Nov 2015 11:51:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B9330206A3 for ; Thu, 19 Nov 2015 11:51:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758497AbbKSLvl (ORCPT ); Thu, 19 Nov 2015 06:51:41 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:58200 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758492AbbKSLvk (ORCPT ); Thu, 19 Nov 2015 06:51:40 -0500 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NY2006IC8Y1ERB0@mailout3.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Thu, 19 Nov 2015 11:51:37 +0000 (GMT) X-AuditID: cbfec7f5-f79b16d000005389-a9-564db7c9989b Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 42.A1.21385.9C7BD465; Thu, 19 Nov 2015 11:51:37 +0000 (GMT) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NY2009XW8XYZP60@eusync3.samsung.com>; Thu, 19 Nov 2015 11:51:37 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Kukjin Kim , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH] ARM: dts: exynos5422-odroidxu3*: use peripheral mode for dwc3_1 Date: Thu, 19 Nov 2015 12:51:22 +0100 Message-id: <1447933882-3030-1-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrBJMWRmVeSWpSXmKPExsVy+t/xq7ont/uGGbyeq2axccZ6VovXLwwt +h+/ZraYcX4fk8XaI3fZHVg9Nq3qZPPo27KK0ePzJrkA5igum5TUnMyy1CJ9uwSujGM/u1kK nnJXbLtyhKmB8QdnFyMnh4SAicSjq5PYIWwxiQv31rN1MXJxCAksZZS4OuUUI4TTxCSxuO0z WBWbgKFE19suNhBbREBV4nPbAnaQImaB7YwSz7duYQJJCAsESOz5fYcFxGYBKpp/uYUVxOYV cJdYf7uRGWKdnMT/lyuYJjByL2BkWMUomlqaXFCclJ5rpFecmFtcmpeul5yfu4kR4v+vOxiX HrM6xCjAwajEw7vhlE+YEGtiWXFl7iFGCQ5mJRHep9N8w4R4UxIrq1KL8uOLSnNSiw8xSnOw KInzztz1PkRIID2xJDU7NbUgtQgmy8TBKdXAuPjFzk6tfOa2iqaSyeEyxq3MrhJuvd9+NpoH qDXs/Ln7vOX6J6YMDP9rzcVcmSbKZmufefBgSruxoMRV5brDLh0MiZFWOzS/1M1/xdjpXx51 9vjSh7oMUzx2yZRlpX8VlwqdIRTJOOH1lSn71jxd9V56TUPGi5jv/FpPivpFJi0Osd8cne+l xFKckWioxVxUnAgAbn7nVfsBAAA= Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP DWC3 device found on Exynos SoCs cannot work in OTG mode alone, because it lacks some OTG related control part. OTG mode operation is possible only with external hardware logic (usually GPIO-based) specific to the board. Right now, however, there is no driver for such logic and no bindings, so the OTG mode is disfunctional at all (this means that it doesn't work as a peripheral nor as a host). This patch sets the operation mode to peripheral to get DWC3_1 device at least somehow working. This can be later updated, when proper OTG driver and bindings get developed. Signed-off-by: Marek Szyprowski Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts | 2 +- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts b/arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts index b1b3608..2ae1cf4 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts +++ b/arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts @@ -67,5 +67,5 @@ }; &usbdrd_dwc3_1 { - dr_mode = "otg"; + dr_mode = "peripheral"; }; diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts index 0c0bbdb..432406d 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts +++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts @@ -98,5 +98,5 @@ }; &usbdrd_dwc3_1 { - dr_mode = "otg"; + dr_mode = "peripheral"; };