From patchwork Tue Jun 20 07:12:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongwoo Lee X-Patchwork-Id: 9798671 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id F25C860328 for ; Tue, 20 Jun 2017 07:12:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E6CAC2844C for ; Tue, 20 Jun 2017 07:12:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DB61728453; Tue, 20 Jun 2017 07:12:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9AF812844C for ; Tue, 20 Jun 2017 07:12:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751135AbdFTHMh (ORCPT ); Tue, 20 Jun 2017 03:12:37 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:60189 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751104AbdFTHMe (ORCPT ); Tue, 20 Jun 2017 03:12:34 -0400 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20170620071232epoutp02f5fa46425b966d296d55bc2bde061edf~Jwv8zzpcU2807028070epoutp02Q; Tue, 20 Jun 2017 07:12:32 +0000 (GMT) Received: from epsmges5p1.samsung.com (unknown [182.195.40.68]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20170620071232epcas1p448e77e8c3728aac7b93f9037462fe776~Jwv8egvCa0177601776epcas1p4U; Tue, 20 Jun 2017 07:12:32 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p1.samsung.com (EPCPMTA) with SMTP id DE.29.04764.FDAC8495; Tue, 20 Jun 2017 16:12:32 +0900 (KST) Received: from epsmgms2p2.samsung.com (unknown [182.195.42.80]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20170620071230epcas5p497144c7ccd8485da9109b8905a5ea36e~Jwv7d3Gar2884728847epcas5p4s; Tue, 20 Jun 2017 07:12:30 +0000 (GMT) X-AuditID: b6c32a2c-f79e76d00000129c-36-5948cadfe972 Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p2.samsung.com (Symantec Messaging Gateway) with SMTP id 7E.31.05071.EDAC8495; Tue, 20 Jun 2017 16:12:30 +0900 (KST) Received: from dwlee08-Samsung-DeskTop-System.165.213.246.161 ([10.113.63.181]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0ORU00HEG40SVW60@mmp1.samsung.com>; Tue, 20 Jun 2017 16:12:30 +0900 (KST) From: Dongwoo Lee To: Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Kukjin Kim , Krzysztof Kozlowski , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:ARM64 PORT (AARCH64 ARCHITECTURE)), linux-samsung-soc@vger.kernel.org (moderated list:ARM/SAMSUNG EXYNOS ARM ARCHITECTURES), linux-kernel@vger.kernel.org (open list) Cc: cw00.choi@samsung.com, andi.shyti@samsung.com, Dongwoo Lee Subject: [PATCH 1/2] arm64: dts: exynos: Fix wrong label for USB 3.0 controller node Date: Tue, 20 Jun 2017 16:12:23 +0900 Message-id: <1497942745-8607-2-git-send-email-dwoo08.lee@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1497942745-8607-1-git-send-email-dwoo08.lee@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrNKsWRmVeSWpSXmKPExsWy7bCmpu6DUx6RBtvMLLYfecZq8X5ZD6PF 9S/PWS3mHznHatFy4AazRf/j18wW589vYLfY9Pgaq8XlXXPYLGac38dksfT6RSaL1r1H2C1e fjzB4sDrsWbeGkaPTas62Tw2L6n36NuyitHj8ya5ANaoVJuM1MSU1CKF1Lzk/JTMvHRbJe/g eOd4UzMDQ11DSwtzJYW8xNxUWyUXnwBdt8wcoBOVFMoSc0qBQgGJxcVK+nY2RfmlJakKGfnF JbZK0YaGRnqGBuZ6RkZGeibGsVZGpkAlCakZOw4eZil4zVfxqKWZsYFxFk8XIyeHhICJxNF1 E1kgbDGJC/fWs3UxcnEICSxllFg69TULhPOZUWLPx3lMMB2bXi9iBLGFBHYwSjT2+kMUTWSS 2DZ/F2sXIwcHm4CWxP5fxSA1IgILWCS+LRAECTMLREoc/MIOEhYWCJO4tO4W2EgWAVWJ1qb/ YCN5BVwlGruOsEKskpM4eWwymM0p4CZxtP8mK8gqCYFudok7/74xgcyUEJCV2HSAGaLeRaKt 6SmULSzx6vgWdghbSqK7YxY7RG87o8S9ea+gBnUwSszYuhhqm7HEqa5GsIuYBfgken8/gVrA K9HRJgRR4iGx6cJ+qKGOEkeu3IUG0ExGiavHOpkmMMosYGRYxSiWWlCcm55abFpgqFecmFtc mpeul5yfu4kRnLC0dHYw3lvgfYhRgINRiYf3BJ9HpBBrYllxZe4hRgkOZiURXp6TQCHelMTK qtSi/Pii0pzU4kOMpsCAmsgsJZqcD0ymeSXxhiaWBiamZsYGxoYWlkrivBorr0UICaQnlqRm p6YWpBbB9DFxcEo1MLKETvLSSl6/vPTK69OGV55YqyUuFr5hJV6/8d9h3QmchR+2/0w36rz2 foqUwLkr2lG70xkOWVSxPtR/UqfPHbi/OfexuUOeh3ryujfzP4U+8dv2hn2CyjG1tE1WxwO2 LzbKvsdSl1Z/9v7u6otNfL1GogEe+UI8q25Oiq75+Ufhi79K720bDSWW4oxEQy3mouJEALGH btVuAwAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrDLMWRmVeSWpSXmKPExsVy+t9jAd17pzwiDb72W1psP/KM1eL9sh5G i+tfnrNazD9yjtWi5cANZov+x6+ZLc6f38BusenxNVaLy7vmsFnMOL+PyWLp9YtMFq17j7Bb vPx4gsWB12PNvDWMHptWdbJ5bF5S79G3ZRWjx+dNcgGsUW42GamJKalFCql5yfkpmXnptkqh IW66FkoKeYm5qbZKEbq+IUFKCmWJOaVAnpEBGnBwDnAPVtK3S3DL2HHwMEvBa76KRy3NjA2M s3i6GDk5JARMJDa9XsQIYYtJXLi3nq2LkYtDSGAbo8T+GUugnMlMEje3fwZyODjYBLQk9v8q BomLCCxhkfh36xMzSDezQKTEmpcL2UFsYYEwiTW7ToHZLAKqEq1N/8E28Aq4SjR2HWGF2CYn cfLYZDCbU8BN4mj/TTBbCKjm65ZpbBMYeRcwMqxi5EotKM5Nzy02KjDaxAgM+W2HtQJ2MDad iz7EKMDBqMTDu+C1e6QQa2JZcWXuIUYJDmYlEV6ekx6RQrwpiZVVqUX58UWlOanFhxhNgU6Z yCwlmpwPjMe8knhDE0sjEwMzM0MjA2MzJXHeCYFfIoQE0hNLUrNTUwtSi2D6mDg4pRoY5zPf ThBjl/NSEdPvX6e5+d4uU6XGhTr7X9s8ju2deW+xnOItqdLsc8XlW2TmvU4pnnnAMurovEsq OR+2Kr7TeFkQftdow1rlm4mz5jtV1B5c3L26+KRHUF/gS7ZEl1NTGwQntb/OD5sjueLxracf O04KLD5eveDbv+X3nfUjRGQe/3kb6zS3VImlOCPRUIu5qDgRACth8SyPAgAA X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170620071230epcas5p497144c7ccd8485da9109b8905a5ea36e X-Msg-Generator: CA X-Sender-IP: 182.195.42.80 X-Local-Sender: =?UTF-8?B?7J2064+Z7JqwG1RpemVuIFBsYXRmb3JtIExhYihTL1fshLw=?= =?UTF-8?B?7YSwKRvsgrzshLHsoITsnpAbU2VuaW9yIEVuZ2luZWVy?= X-Global-Sender: =?UTF-8?B?TGVlIERvbmd3b28bVGl6ZW4gUGxhdGZvcm0gTGFiLhtTYW1z?= =?UTF-8?B?dW5nIEVsZWN0cm9uaWNzG1NlbmlvciBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG1RFTEUbQzEwVjgxMTE=?= CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20170620071230epcas5p497144c7ccd8485da9109b8905a5ea36e X-RootMTR: 20170620071230epcas5p497144c7ccd8485da9109b8905a5ea36e References: <1497942745-8607-1-git-send-email-dwoo08.lee@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Exynos5433 has two usb 3.0 controllers: usbhost and usbdrd. usbhost is host-only controller whereas usbdrd supports both peripheral and host mode. "drd" means dual-role device, so usbhost cannot be labeled with the name contains "drd". Howerver, the label usbdrd_dwc3_0 was used for usbhost's dwc3 node. It seems it obviously fault because TM2 and TM2E doesn't use usbhost but dr_mode property is assigned to it. This patch assigns the proper label for two dwc3 nodes, and apply changes to the related reference. Signed-off-by: Dongwoo Lee --- arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 2 +- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi index 804a270..477c3bc 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi @@ -1202,7 +1202,7 @@ status = "okay"; }; -&usbdrd_dwc3_0 { +&usbdrd_dwc3 { dr_mode = "otg"; }; diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index 727f36a..7fe994b 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -1367,7 +1367,7 @@ ranges; status = "disabled"; - dwc3@15400000 { + usbdrd_dwc3: dwc3@15400000 { compatible = "snps,dwc3"; reg = <0x15400000 0x10000>; interrupts = ; @@ -1414,7 +1414,7 @@ ranges; status = "disabled"; - usbdrd_dwc3_0: dwc3@15a00000 { + usbhost_dwc3: dwc3@15a00000 { compatible = "snps,dwc3"; reg = <0x15a00000 0x10000>; interrupts = ;