From patchwork Tue Sep 18 08:16:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 10603845 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B0FCD112B for ; Tue, 18 Sep 2018 08:17:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A3D9B2A4ED for ; Tue, 18 Sep 2018 08:17:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 985A02A500; Tue, 18 Sep 2018 08:17:33 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable 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 494252A4ED for ; Tue, 18 Sep 2018 08:17:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729071AbeIRNs6 (ORCPT ); Tue, 18 Sep 2018 09:48:58 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:36656 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729017AbeIRNsk (ORCPT ); Tue, 18 Sep 2018 09:48:40 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180918081709euoutp02a5933f558acf8ae42853e18ecd1073ba~VcJQ6Q1nF2950829508euoutp02S; Tue, 18 Sep 2018 08:17:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180918081709euoutp02a5933f558acf8ae42853e18ecd1073ba~VcJQ6Q1nF2950829508euoutp02S DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1537258629; bh=m1GmPXjDNa4wsn2Zi0+wdX4bH6RuXMckvcmNXgYaZq4=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=dPZBFz0MKN57hi3rBR0WmH08g4PonFFGctWYGrVzY0rohwfHxwATOMmHmfTtktMjE GlddzJULSpjj+RQznTACPuhYYW2xGdl/dRYMObGBV9hMqY7kB1nLoS/Kh8VuWcsVcx FjJffzN24UV1CRVqTRcZlnAM1FRFT+BXV5t0kJt8= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180918081709eucas1p18c6c7b34863d6057b59eb8e0b7b0e0a8~VcJQRqGkc2691226912eucas1p1Q; Tue, 18 Sep 2018 08:17:09 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id A8.B4.04441.484B0AB5; Tue, 18 Sep 2018 09:17:08 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180918081708eucas1p174dfe9569034de05f04b6045cc906ab3~VcJPaWi9x1321813218eucas1p1C; Tue, 18 Sep 2018 08:17:08 +0000 (GMT) X-AuditID: cbfec7f2-5c9ff70000001159-4f-5ba0b4849c36 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id ED.6E.04284.484B0AB5; Tue, 18 Sep 2018 09:17:08 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PF800C5KSCD4H70@eusync4.samsung.com>; Tue, 18 Sep 2018 09:17:08 +0100 (BST) From: Marek Szyprowski To: linux-usb@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Greg Kroah-Hartman , Felipe Balbi , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH 4/4] arm64: dts: exynos: Update DWC3 modules on Exynos5433 SoCs Date: Tue, 18 Sep 2018 10:16:53 +0200 Message-id: <20180918081653.314-5-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-reply-to: <20180918081653.314-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrCIsWRmVeSWpSXmKPExsWy7djPc7otWxZEG7Qu1LXYOGM9q8Wxtifs Fs2L17NZnD+/gd1ixvl9TBaLlrUyW6w9cpfdgd1j06pONo/9c9ewe/RtWcXo8XmTXABLFJdN SmpOZllqkb5dAlfGjJaCgt/CFe9u/mRtYJwu0MXIySEhYCLx/O1n1i5GLg4hgRWMEr/6VjND OJ8ZJX4sus0IU7V+0hUwW0hgGaPEsj+1EEUNTBJPW5tYQBJsAoYSXW+72EBsEQEHiSVL77CB FDELPGGU2L35C1i3sECgxIG1M8CKWARUJd79uAC0m4ODV8BaYtchbYhl8hKrNxxgBrE5BWwk dm58xAIyR0LgL6vE2plTmSCKXCTOf3rNDGELS7w6voUdwpaR6Ow4yATR0Mwo0T5jFjuE08Mo sXXODjaIKmuJw8cvsoLYzAJ8EpO2TWcGuUJCgFeio00IosRD4v3Fm9CA6WeUWLpnFcsERskF jAyrGMVTS4tz01OLDfNSy/WKE3OLS/PS9ZLzczcxAuPu9L/jn3Ywfr2UdIhRgINRiYd3wYL5 0UKsiWXFlbmHGCU4mJVEeDlzFkQL8aYkVlalFuXHF5XmpBYfYpTmYFES5+XTSosWEkhPLEnN Tk0tSC2CyTJxcEo1MOYsvra8IVudWdZBVyt76+pb5pcPxf8QPr83YWm6UVnhQ31v+XQrvUjH vAkdMT+Uq98+E/6ia86l0hA4q96svr5q3vEJcmlWf265l26fYBE75TNT95yvRzfnzYuprCnI mX9Y2MesTeK4HvsvlplZDJsyUhQUv/1pFzJ3zhVTPvjtZqBqhvAVJZbijERDLeai4kQAqTYr yLcCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpgluLIzCtJLcpLzFFi42I5/e/4Nd2WLQuiDX51s1psnLGe1eJY2xN2 i+bF69kszp/fwG4x4/w+JotFy1qZLdYeucvuwO6xaVUnm8f+uWvYPfq2rGL0+LxJLoAlissm JTUnsyy1SN8ugStjRktBwW/hinc3f7I2ME4X6GLk5JAQMJFYP+kKYxcjF4eQwBJGiZsT21hA EkICTUwSJ3dbgNhsAoYSXW+72EBsEQEHiSVL77CBNDALPGGUuHFlPlhCWMBf4mVDOxOIzSKg KvHuxwXWLkYODl4Ba4ldh7QhlslLrN5wgBnE5hSwkdi58RHULmuJZW2XWScw8ixgZFjFKJJa WpybnltsqFecmFtcmpeul5yfu4kRGC7bjv3cvIPx0sbgQ4wCHIxKPLwLFsyPFmJNLCuuzD3E KMHBrCTCy5mzIFqINyWxsiq1KD++qDQntfgQozQHi5I473mDyighgfTEktTs1NSC1CKYLBMH p1QDo8DmL7lGN60tt7o+mdyqem6m/cY5z669eOzzf2e1yO18w23Xu+2bmET+beqbkMos3hPA qy+4rcTaa+vUqe+Whs0OYljhn7nzgr4rc5n+Ka9+Jt/lrlmMWkmefD926nzYlxFc7LHxq/jj t0nP/8yx2PjXOk7xkMW5w9Ou/rM5O6P0m/1RtyWLuJVYijMSDbWYi4oTAfjYr9cTAgAA X-CMS-MailID: 20180918081708eucas1p174dfe9569034de05f04b6045cc906ab3 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180918081708eucas1p174dfe9569034de05f04b6045cc906ab3 References: <20180918081653.314-1-m.szyprowski@samsung.com> Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Update DWC3 hardware modules to Exynos5433 specific variant: change compatible name and add all required clocks (both to the glue node and DWC3 core node). Signed-off-by: Marek Szyprowski --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 24 ++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index 162653b538bc..77297d66642c 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -1608,10 +1608,12 @@ }; usbdrd30: usbdrd { - compatible = "samsung,exynos5250-dwusb3"; + compatible = "samsung,exynos5433-dwusb3"; clocks = <&cmu_fsys CLK_ACLK_USBDRD30>, - <&cmu_fsys CLK_SCLK_USBDRD30>; - clock-names = "usbdrd30", "usbdrd30_susp_clk"; + <&cmu_fsys CLK_SCLK_USBDRD30>, + <&cmu_fsys CLK_PHYCLK_USBDRD30_UDRD30_PHYCLOCK>, + <&cmu_fsys CLK_PHYCLK_USBDRD30_UDRD30_PIPE_PCLK>; + clock-names = "aclk", "susp_clk", "phyclk", "pipe_pclk"; #address-cells = <1>; #size-cells = <1>; ranges; @@ -1619,6 +1621,10 @@ usbdrd_dwc3: dwc3@15400000 { compatible = "snps,dwc3"; + clocks = <&cmu_fsys CLK_SCLK_USBDRD30>, + <&cmu_fsys CLK_ACLK_USBDRD30>, + <&cmu_fsys CLK_SCLK_USBDRD30>; + clock-names = "ref", "bus_early", "suspend"; reg = <0x15400000 0x10000>; interrupts = ; phys = <&usbdrd30_phy 0>, <&usbdrd30_phy 1>; @@ -1655,10 +1661,12 @@ }; usbhost30: usbhost { - compatible = "samsung,exynos5250-dwusb3"; + compatible = "samsung,exynos5433-dwusb3"; clocks = <&cmu_fsys CLK_ACLK_USBHOST30>, - <&cmu_fsys CLK_SCLK_USBHOST30>; - clock-names = "usbdrd30", "usbdrd30_susp_clk"; + <&cmu_fsys CLK_SCLK_USBHOST30>, + <&cmu_fsys CLK_PHYCLK_USBHOST30_UHOST30_PHYCLOCK>, + <&cmu_fsys CLK_PHYCLK_USBHOST30_UHOST30_PIPE_PCLK>; + clock-names = "aclk", "susp_clk", "phyclk", "pipe_pclk"; #address-cells = <1>; #size-cells = <1>; ranges; @@ -1666,6 +1674,10 @@ usbhost_dwc3: dwc3@15a00000 { compatible = "snps,dwc3"; + clocks = <&cmu_fsys CLK_SCLK_USBHOST30>, + <&cmu_fsys CLK_ACLK_USBHOST30>, + <&cmu_fsys CLK_SCLK_USBHOST30>; + clock-names = "ref", "bus_early", "suspend"; reg = <0x15a00000 0x10000>; interrupts = ; phys = <&usbhost30_phy 0>, <&usbhost30_phy 1>;