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: 56983 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp3130312lbb; Thu, 19 Nov 2015 03:51:44 -0800 (PST) X-Received: by 10.68.238.41 with SMTP id vh9mr9976741pbc.147.1447933903494; Thu, 19 Nov 2015 03:51:43 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gl10si11802527pbc.104.2015.11.19.03.51.43; Thu, 19 Nov 2015 03:51:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758497AbbKSLvl (ORCPT + 4 others); 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 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 --- arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts | 2 +- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 1.9.2 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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"; };