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: 146881 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4736145ljw; Tue, 18 Sep 2018 01:17:29 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY5Q5jTd9AdttM5o5uY2IT4fMoy9pMRTPe24NP6KXDF0Obpm2GxbezNHb+YpkRdbZFnbq09 X-Received: by 2002:a17:902:42e2:: with SMTP id h89-v6mr27813978pld.69.1537258649310; Tue, 18 Sep 2018 01:17:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537258649; cv=none; d=google.com; s=arc-20160816; b=pI+LPkHvkAFu+o6xHLtb6o4CmT0ctZ7QFSyTL5814PhyEFiK8i+ViPChA2xl5++pij btYLd2nmefuoGS7HlGIk4cMpKxQ7yBHZy4vcu35OayVWH2pD3g6myKAefvTAaVLLHXvc KR0LYR7qV9iP/Bs5fjRLj8Pd8pRfeTLKQ+LeU22pc7en2p/8kwe5ThKInjz3aFyeRooN UGkAHEoL78T+Xk2dexX6lt0fidlmSAMNEiLSA336NyxL0lJfaljFmh4FcQHk5Ul8ag6e mxDQ4b7R6/q4GdtXzfD/sCJfsqho4RNYMMxxoYYaUC99cY7lISeO0VDHrievogoRDqkQ vjUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=m1GmPXjDNa4wsn2Zi0+wdX4bH6RuXMckvcmNXgYaZq4=; b=0T6yxoEwmn9pWsxZ61E9mrTn0Ue8mJIvjBk16zNgl3CF3/NUvw9tgugY9FIJf/rZJ7 a1nY8anqhFErcvJgTyfERHsWWXbgvoQc9yf+DDnK68gvXyGsaQOomoTAlDa6+UgtYYsb FAO+UTdYUkF6wLPOrXwgzQEg6c6k7Df0fezzHFyrRWJ/YqiXJRpYrWF9ZV8bMdVA9T2w L2KU5mlT5XBjU3vFMWHwU1wqvP+vcsGt1YfCVFiPTW9Z3fkDj9JuCOWcQCRWV1nU9eB6 1Yqucz8II9ceDLfW9UZcGZKjfHyObkXOjCEoRcOMcpsrPnKK5o9yjThGxCmdYt/rVIXs AHeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=dPZBFz0M; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y15-v6si18364541pff.117.2018.09.18.01.17.29; Tue, 18 Sep 2018 01:17:29 -0700 (PDT) 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; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=dPZBFz0M; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726433AbeIRNs6 (ORCPT + 3 others); 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-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org 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(-) -- 2.17.1 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>;