From patchwork Wed Dec 2 12:20:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 335987 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp875319ejs; Wed, 2 Dec 2020 04:22:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJwog2JBxo/Rs7s25s7Kg+XggS3ZZ6x9lej8PSXfxLmHBU+BzOY2Jnk8UlpDq7txzscON6jh X-Received: by 2002:aa7:cdc1:: with SMTP id h1mr2303767edw.156.1606911763975; Wed, 02 Dec 2020 04:22:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606911763; cv=none; d=google.com; s=arc-20160816; b=wlzwbnz1GqVP5cqJl9dWPUEBEHjyhghkoe0RsJ39zdRgVB3tP61voYE400C/4pNy39 uMTWy7d0efZTqeN/J6gk1ouin2j1meEIndLgJu5shiHU6d63zE4J/NpTUs2QED6AGzyR 4wswEG1EbfIJC0BvJEm81Nl3Ofdw3VyLjk3aUK1Y56WBldpT9gRzObx1JbjvB1rHcMmo kRdmlqj0q1E4bJvKBy+If49ECIUnsJtB258r+AQfaUlAZMNYPPiGEWlyrXaxvqVuWrFa 2yNTR+rXUicPH2zhha7F0YZiYS8xprKzpR3EyQB2euS8EoTa4vQMOwrpXK4vXLGX4g37 ssWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:message-id:date:subject:cc :to:from:dkim-signature:dkim-filter; bh=cwr6jiAWB9z4EkqE3xXGB892zMrtfoIRY7BlljECCNA=; b=q+GSuV94BTL3jglLVA72hr0Iay+2yQb4oPzSP6sbC51QC4s1Wmp2OD0vUrt/n1LgXN L7mbcle4rSH1qfuEzZll8SOzHxsjWW0NpwNUd0Z5ufzs6XBJPNRUsGaiBK8FSpMdtnhc hchuxmjKDSlL5iLOaDJ3nk5JQJFSK2KFkBBLbWLer3KKlK2dL8G8oPOb6dJUV0acxCZp RUuq/jpn6OEQ1cnzHMISziY9YEk0ef0GLcv5tkvWt89/aMCIVydmCk3ckHCSn1JimuSz n+BlNi7BQYMmWzVhPdUOt+s78KyUrI5LtyhBcfMeeEeDVDaa1y9eYDIzFrhJA0ibPwO6 fA1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=ELy6IHqA; spf=pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id v14si936365edq.304.2020.12.02.04.22.43; Wed, 02 Dec 2020 04:22:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=ELy6IHqA; spf=pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 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 S1729549AbgLBMV2 (ORCPT + 4 others); Wed, 2 Dec 2020 07:21:28 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:40698 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729538AbgLBMV2 (ORCPT ); Wed, 2 Dec 2020 07:21:28 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20201202122036euoutp0231d7a2cdaacbe62c82ad19127e941076~M5Z6p3DZn2313423134euoutp024 for ; Wed, 2 Dec 2020 12:20:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20201202122036euoutp0231d7a2cdaacbe62c82ad19127e941076~M5Z6p3DZn2313423134euoutp024 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1606911636; bh=cwr6jiAWB9z4EkqE3xXGB892zMrtfoIRY7BlljECCNA=; h=From:To:Cc:Subject:Date:References:From; b=ELy6IHqAHkFuzqaToibWiQhuvUd1c7AG5AAKDdv/UaKPO1YLFxw8qNRPXXiHxWJ/B 0dsOj4CPFn/XiH1ueyF0jE37pMUHSgcHVKXCV/ATzYzVBYYOF4LYS4TNHZDKN0olBo aMCbwzKJ4PiITHox7GOzDcntW1JuSXDEnG7i6e5Y= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20201202122036eucas1p28b39fd8f094057deb240cd2450ab2de0~M5Z6REtrD1671916719eucas1p2B; Wed, 2 Dec 2020 12:20:36 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id DD.D1.27958.49687CF5; Wed, 2 Dec 2020 12:20:36 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20201202122035eucas1p175944617fd50292f7dccc775823ed038~M5Z508SgN1591115911eucas1p1b; Wed, 2 Dec 2020 12:20:35 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20201202122035eusmtrp26586d54f1f9c99544ada03e55d4003da~M5Z50SHnj0479804798eusmtrp2Q; Wed, 2 Dec 2020 12:20:35 +0000 (GMT) X-AuditID: cbfec7f2-efdff70000006d36-74-5fc786949721 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id B7.E6.16282.39687CF5; Wed, 2 Dec 2020 12:20:35 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20201202122035eusmtip245c23506ef1805c1a6edb9fbd4d6748c~M5Z5XzZRC0349703497eusmtip2K; Wed, 2 Dec 2020 12:20:35 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Lukasz Stelmach , Bartlomiej Zolnierkiewicz , Chanwoo Choi Subject: [PATCH] ARM: dts: exynos: Reduce assigned-clocks entries for SPI0 on Artik5 board Date: Wed, 2 Dec 2020 13:20:29 +0100 Message-Id: <20201202122029.22198-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrKIsWRmVeSWpSXmKPExsWy7djP87pT2o7HG3yeyWOxccZ6VovrX56z Wpw/v4Hd4uahFYwWM87vY7JYe+QuuwObx6ZVnWwefVtWMXp83iQXwBzFZZOSmpNZllqkb5fA lTH3yj+Wgm6+il3vPzI3MF7j7mLk5JAQMJHYMXcHYxcjF4eQwApGiUe9z9ghnC+MErcO9TFB OJ8ZJToaJ7LAtOxffhoqsZxR4uT3DaxwLZu6NoJVsQkYSnS97WIDsUUEVCU+ty0Am8ss8IhR 4u3EVewgCWGBGIk9kyaB2SxARce3bwRr4BWwlWh99YwJYp28xOoNB5hBmiUE3rJLHG04zAyR cJH4dfwTlC0s8er4FnYIW0bi/875TBANzYwSD8+tZYdwehglLjfNYISospa4c+4X0DoOoJs0 Jdbv0ocIO0pMWLmNBSQsIcAnceOtIEiYGcictG06M0SYV6KjTQiiWk1i1vF1cGsPXrgEdY6H xPmfV8F+ERKIlZj66TXbBEa5WQi7FjAyrmIUTy0tzk1PLTbMSy3XK07MLS7NS9dLzs/dxAiM +dP/jn/awTj31Ue9Q4xMHIyHGCU4mJVEeFn+HYk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nn4pcvXndpHMT76f9Bbn1iZ89mTS NJtzoW5v47KIQywPVVdf+vp0oV3t5uzty0yDS3a/y/+wiCFU3mjd8eMXa3xfGHTJ/Cw5Fhbf 32xyofh8bZTmSRHnG6s7T/99L7VcbVqPvsypt7eNp7SELfvZ8uvRh8x5Ks+u1u/kUV2zPOX4 GXbtZZubI7atTZrx5d5v8QU3/OY1s/+euyB5o8lrebaE1xf3rH69/k+ViI5pSM69Pwc5G18r 72mrfHzZ7XAmg1dc8swUWcPVldcrD8yOz2Wwu/7+6ZWXXlL1cS+VWIozEg21mIuKEwGzROgq vQIAAA== X-CMS-MailID: 20201202122035eucas1p175944617fd50292f7dccc775823ed038 X-Msg-Generator: CA X-RootMTR: 20201202122035eucas1p175944617fd50292f7dccc775823ed038 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20201202122035eucas1p175944617fd50292f7dccc775823ed038 References: Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Commit 2024b130b0c8 ("ARM: dts: exynos: Add Ethernet to Artik 5 board") added ethernet chip on SPI0 bus and the whole bunch of assigned clock entries to ensure proper clock rates and topology. Limit the assigned clock parents only to the direct clocks of the SPI0 device and assume that MPLL clock is already properly configured. The applied clock topology was incorrect as some clocks between were missing, what resulted in the following warning: clk: failed to reparent div_mpll_pre to mout_mpll: -22 Fixes: 2024b130b0c8 ("ARM: dts: exynos: Add Ethernet to Artik 5 board") Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos3250-artik5-eval.dts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) -- 2.17.1 diff --git a/arch/arm/boot/dts/exynos3250-artik5-eval.dts b/arch/arm/boot/dts/exynos3250-artik5-eval.dts index 5461949d833e..a1e22f630638 100644 --- a/arch/arm/boot/dts/exynos3250-artik5-eval.dts +++ b/arch/arm/boot/dts/exynos3250-artik5-eval.dts @@ -42,12 +42,9 @@ status = "okay"; cs-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>, <0>; - assigned-clocks = <&cmu CLK_MOUT_MPLL>, <&cmu CLK_DIV_MPLL_PRE>, - <&cmu CLK_MOUT_SPI0>, <&cmu CLK_DIV_SPI0>, + assigned-clocks = <&cmu CLK_MOUT_SPI0>, <&cmu CLK_DIV_SPI0>, <&cmu CLK_DIV_SPI0_PRE>, <&cmu CLK_SCLK_SPI0>; - assigned-clock-parents = <&cmu CLK_FOUT_MPLL>, /* for: CLK_MOUT_MPLL */ - <&cmu CLK_MOUT_MPLL>, /* for: CLK_DIV_MPLL_PRE */ - <&cmu CLK_DIV_MPLL_PRE>, /* for: CLK_MOUT_SPI0 */ + assigned-clock-parents = <&cmu CLK_DIV_MPLL_PRE>, /* for: CLK_MOUT_SPI0 */ <&cmu CLK_MOUT_SPI0>, /* for: CLK_DIV_SPI0 */ <&cmu CLK_DIV_SPI0>, /* for: CLK_DIV_SPI0_PRE */ <&cmu CLK_DIV_SPI0_PRE>; /* for: CLK_SCLK_SPI0 */