Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1809204ybi; Wed, 17 Jul 2019 22:23:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqxrGPLrfJBI1dB5OOXcjq+GQPUyK7qK9YLeocGVQPtZsnk6QSficj2BPOw6d9POY0AmUkxt X-Received: by 2002:a17:902:381:: with SMTP id d1mr46883692pld.331.1563427432880; Wed, 17 Jul 2019 22:23:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563427432; cv=none; d=google.com; s=arc-20160816; b=z+qwWido7IvGyrHshZwQrdjSC/yppWpP4JDrB8zAhmjQPHH7lT2LShvcwBtZxBmV1+ HR+D28OTgTT2IVSO5pY50HQvfCkbSzPVvEpW/dt1OLMkOhpXMy4PDIE8O5xBTe0RWBaq YJWQI0T59Q9TDNOqR0zt6qWHr3lNRbPS5KxBG01pO+VdfKq3ln7e6scYKyBYQPFOFzK3 0aRlUaLFAQDIslPdYD0GieiK9SmbpFWMfMtHrIUKG+IwVDtvVnYoQzuzkO1mWOUXd0WE wSPlgJAUVVAISurBNRUsy/Fc4n9e/dsoWZ/TR/kUNgPqnA3htMJa3Ch0mYXXcgV4P+NP f5mg== 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 :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:cc:to:subject:dkim-signature :dkim-filter; bh=MQTJaLsZa5Z66qa56b/K0ThCfRuud/sV++lFtcHn7bo=; b=ltulmp9uhfaNzuQQkVqJ4eU0fIrcLFA6INViTzpR7X7f3uJcef5JoE15RZjQVi3tBd F0b+/OH5V45IvsjffhLSNbSELfA5THrQYlp+WUREFg6n+DFzz1n70YOjHuDerGt/UPMJ 5E5yf1Y5D82co4BA/ePL4xycFnGRBZcZzw7nkR2XoaDveWXyO4xu+cj6F0R5liS+8X6s xHDRabY6COEWib30ftQMYYnNR1ScXEf/s1wZ5ubgyXNCNDTsA/OvNEVjpeMe3KS+SyYB IThAQW1SNzmabvoytmhzA6lgSHBN9jx5dygMqPoxgPU6D13L46Z/EA2imGPx8u6pfseI tuEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=MlWN+kyK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 200si503491pfy.101.2019.07.17.22.23.36; Wed, 17 Jul 2019 22:23:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=MlWN+kyK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1726572AbfGRFVW (ORCPT + 99 others); Thu, 18 Jul 2019 01:21:22 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:38035 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726304AbfGRFVV (ORCPT ); Thu, 18 Jul 2019 01:21:21 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190718052120euoutp02d42a3f0cb192c73824078149891a9091~yaNP0Jxtd2321123211euoutp02a for ; Thu, 18 Jul 2019 05:21:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190718052120euoutp02d42a3f0cb192c73824078149891a9091~yaNP0Jxtd2321123211euoutp02a DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563427280; bh=MQTJaLsZa5Z66qa56b/K0ThCfRuud/sV++lFtcHn7bo=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=MlWN+kyKvzlswni5jp/idLYT7ZkJegZoblk6lvPuqjyhRhSysZsegMeJV98DCNZHe CfeWEk09iD0RovdLNiK4pVHNwOkkQOmkNCQ4cUNhfML1MAaeLWdz2htVE+BUyOjbz2 jNxB+lJAGMchG1cj6jk6PmCgrYLMYr+NsVzKdhCU= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190718052119eucas1p271934bc88edfaa452cc04b4072bc434a~yaNPBnsLk0210602106eucas1p2S; Thu, 18 Jul 2019 05:21:19 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 5A.FE.04377.FC1003D5; Thu, 18 Jul 2019 06:21:19 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190718052118eucas1p1499dc82caad876ea9a565b37772298ab~yaNOQD0nU2247022470eucas1p1c; Thu, 18 Jul 2019 05:21:18 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190718052118eusmtrp2c76a9532ac52a829d0a52eb9812b3dd2~yaNOB7YKO1144111441eusmtrp2J; Thu, 18 Jul 2019 05:21:18 +0000 (GMT) X-AuditID: cbfec7f4-12dff70000001119-2c-5d3001cf3cc4 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 67.FC.04146.EC1003D5; Thu, 18 Jul 2019 06:21:18 +0100 (BST) Received: from [106.120.51.20] (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190718052117eusmtip20608f0bdd2d164fa2f4a0bca6c120207~yaNNKA1vF1072010720eusmtip2k; Thu, 18 Jul 2019 05:21:17 +0000 (GMT) Subject: Re: [PATCH v1 04/50] clk: samsung: add IDs to manage aclk400_mscl in Exynos5420 To: Chanwoo Choi , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org Cc: mturquette@baylibre.com, sboyd@kernel.org, b.zolnierkie@samsung.com, krzk@kernel.org, kgene@kernel.org, mark.rutland@arm.com, robh+dt@kernel.org, kyungmin.park@samsung.com, a.hajda@samsung.com, m.szyprowski@samsung.com, s.nawrocki@samsung.com, myungjoo.ham@samsung.com From: Lukasz Luba Message-ID: <00a88d56-92e6-3924-4e50-cb2871758b3e@partner.samsung.com> Date: Thu, 18 Jul 2019 07:21:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA01Sa0iTYRj13XfdcvU6Kx80KgaCBWpFP95KMqPLfghFQpQhtexDJZ21z9kV 2jJrDcuwMvtKzcq0ZZZLU2dWXmrZxSV2ESUxFKJUolzCMCznZ+S/85xz3vM8B16e0nxmgvkU Q4ZgNOhTtayKfvjc6w53oyUJS7znKNJd2c6QqoJ7DPno+cKQ4taJMbd/kCJu932OvDk+xBFH /weG/MjpZUin8ypLCtyPFeRu6yeOlH7sUJCOl+tJj6WcJdmNrRxpGTrFkPEPVfQaja6iqALp vndlczqH/TSre3DzmO5stR3pRhzzN7Pxqqg9QmpKpmCMXL1LlVz77A63bzTwoO1FG21GjdiG lDzg5TDa7kI+rMHlCLJ6t9iQagJ7ELxyNjGyMILAaVn870Feq1khm8oQ2EprKXkYRuBqOsH5 XIE4H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wCrhJLDy5lQnEZhFQldj5/wwLiC0qECHR1zabDaJGUOLkzCdg cU4Be4nlX68yQ8w3k5i3+SGULS5x68l8JghbXqJ562zmCYxCs5C0z0LSMgtJyywkLQsYWVYx iqSWFuem5xYb6hUn5haX5qXrJefnbmIExvq2Yz8372C8tDH4EKMAB6MSD+8NJf1YIdbEsuLK 3EOMEhzMSiK8t18ChXhTEiurUovy44tKc1KLDzGaAj03kVlKNDkfmIbySuINTQ3NLSwNzY3N jc0slMR5OwQOxggJpCeWpGanphakFsH0MXFwSjUwzpRUVVp01djzV/3xxNf/fnyYvlvOkXlt 3+6FZZK8SjOFRepY2g/ND3kq3TmTl+fsicMlK2Kbcl15uJIezuxpOPqtOUpxw4wanQiev2Gr 2jwevpB0PTbz1AW2kzsb+pavzX/8Pswrb5b63x1t17jkupT4/deF5OcxfT1S/fKNjedflZ25 p2ouKrEUZyQaajEXFScCAJCbXS0LAwAA X-CMS-MailID: 20190718052118eucas1p1499dc82caad876ea9a565b37772298ab X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190715124437eucas1p1827d7b5d7196f060799e5df6c27d29ad X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715124437eucas1p1827d7b5d7196f060799e5df6c27d29ad References: <20190715124417.4787-1-l.luba@partner.samsung.com> <20190715124417.4787-5-l.luba@partner.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Chanwoo, On 7/16/19 11:17 AM, Chanwoo Choi wrote: > Hi, > > The patch4~patch7 just add the ID to control the clock from DT. > You can squash them to one patch instead of splitting out according to > the type of clock. Thank you for the review. Yes, you are right it needs to be squashed. Regards, Lukasz > > On 19. 7. 15. 오후 9:43, Lukasz Luba wrote: >> Add needed IDs to MUXes which are used from DT to properly set clock >> hierarchy. >> >> Signed-off-by: Lukasz Luba >> --- >> drivers/clk/samsung/clk-exynos5420.c | 10 ++++++---- >> 1 file changed, 6 insertions(+), 4 deletions(-) >> >> diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c >> index 361ee53fc9fc..8f1d39cb2f1e 100644 >> --- a/drivers/clk/samsung/clk-exynos5420.c >> +++ b/drivers/clk/samsung/clk-exynos5420.c >> @@ -462,7 +462,8 @@ static const struct samsung_fixed_factor_clock >> >> static const struct samsung_mux_clock exynos5800_mux_clks[] __initconst = { >> MUX(0, "mout_aclk400_isp", mout_group3_5800_p, SRC_TOP0, 0, 3), >> - MUX(0, "mout_aclk400_mscl", mout_group3_5800_p, SRC_TOP0, 4, 3), >> + MUX(CLK_MOUT_ACLK400_MSCL, "mout_aclk400_mscl", mout_group3_5800_p, >> + SRC_TOP0, 4, 3), >> MUX(CLK_MOUT_ACLK400_WCORE, "mout_aclk400_wcore", mout_group2_5800_p, >> SRC_TOP0, 16, 3), >> MUX(0, "mout_aclk100_noc", mout_group1_5800_p, SRC_TOP0, 20, 2), >> @@ -548,7 +549,8 @@ static const struct samsung_mux_clock exynos5420_mux_clks[] __initconst = { >> TOP_SPARE2, 4, 1), >> >> MUX(0, "mout_aclk400_isp", mout_group1_p, SRC_TOP0, 0, 2), >> - MUX(0, "mout_aclk400_mscl", mout_group1_p, SRC_TOP0, 4, 2), >> + MUX(CLK_MOUT_ACLK400_MSCL, "mout_aclk400_mscl", mout_group1_p, >> + SRC_TOP0, 4, 2), >> MUX(CLK_MOUT_ACLK400_WCORE, "mout_aclk400_wcore", mout_group1_p, >> SRC_TOP0, 16, 2), >> MUX(0, "mout_aclk100_noc", mout_group1_p, SRC_TOP0, 20, 2), >> @@ -670,8 +672,8 @@ static const struct samsung_mux_clock exynos5x_mux_clks[] __initconst = { >> >> MUX(0, "mout_sw_aclk400_isp", mout_sw_aclk400_isp_p, >> SRC_TOP10, 0, 1), >> - MUX(0, "mout_sw_aclk400_mscl", mout_sw_aclk400_mscl_p, >> - SRC_TOP10, 4, 1), >> + MUX(CLK_MOUT_SW_ACLK400_MSCL, "mout_sw_aclk400_mscl", >> + mout_sw_aclk400_mscl_p, SRC_TOP10, 4, 1), >> MUX(CLK_MOUT_SW_ACLK200, "mout_sw_aclk200", mout_sw_aclk200_p, >> SRC_TOP10, 8, 1), >> MUX(0, "mout_sw_aclk200_fsys2", mout_sw_aclk200_fsys2_p, >> > >