Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp589947ybi; Tue, 16 Jul 2019 02:15:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqzRGmJqDFEu4hap/0E61hZE7eZX+98BBnRRSBjLgcg4dEPwKoIUB9P5hJAlGwtAEKs75578 X-Received: by 2002:a17:902:1e9:: with SMTP id b96mr34186421plb.277.1563268522549; Tue, 16 Jul 2019 02:15:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563268522; cv=none; d=google.com; s=arc-20160816; b=pElHeAmqQM6vXg3Vu5jabGrIMAFM7/RP6UofgChxOEOhtnta/dZiUqtJ7mMwKgZFIE lMwB7ifPfBPCF+POvmoKj1M+cjQ1Wy2rgjKYPtuThyHJOVYXxhs0FfL3DtwDUr6wuE1i EJs5ovlqRk/aC6hCYaUAzueitHmpBSKUPO4eqQIDqWPPrKoJM4j4vd92cGuDqYxh3Kzs VVvPuJCSKebXO1OhnHf4KvF/baj1i/FikdrFWfNssDeXXLgrWZSLxlr0PO0k8KJ3nXvt 5VTUjSM2rjwA1rj5Y3MWZ4U1mf7vWrEaCPdY0OyezfOdU4HnO3zS6sOokMp3P4ByYFba Ub9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:dlp-filter:cms-type :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:organization:from:cc:to:subject :dkim-signature:dkim-filter; bh=zBu4gOUZIJPkwABGufXzWlLGcekITc9MN5DsL/nJYAo=; b=imyUC0JF/xQtQo0XIH2YMVT40HsC0dsCrC33jFKVA36FvSZc5CGYmGcG52jV9188mc qnoVl4kMj5b/W/2dAvmAcs9CjmsRSOLgwpJIhsIxGC29SpwkdeOc1ongrorCuZB9m/xU lR4zSLX997VP3VQhasye8WhkdJsxYHrEpkItcY7t1C9oUxUcMiCjApM4PdP5TmO+5SkH xde5tIUXAYrK4aynthfaZm/QFMbOskz2wtvjChyWea8R4rpRVJNeF0o4FkKDMc2BoJMh FgWkuFy9Bz/2DNOJJglmNtNwB8LxvjNEZ3lEKO+rdgWkBvYPF04lnJdSNtJDZvmv96Pi EFQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="JprzL/3D"; 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 l6si17964958pgr.378.2019.07.16.02.15.06; Tue, 16 Jul 2019 02:15:22 -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="JprzL/3D"; 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 S1731391AbfGPJOr (ORCPT + 99 others); Tue, 16 Jul 2019 05:14:47 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:25075 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727889AbfGPJOr (ORCPT ); Tue, 16 Jul 2019 05:14:47 -0400 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20190716091445epoutp03b019e63f6b469dd808713b8c8ea0ce21~x2GeQ-8Zx0868008680epoutp03O for ; Tue, 16 Jul 2019 09:14:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20190716091445epoutp03b019e63f6b469dd808713b8c8ea0ce21~x2GeQ-8Zx0868008680epoutp03O DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563268485; bh=zBu4gOUZIJPkwABGufXzWlLGcekITc9MN5DsL/nJYAo=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=JprzL/3DcqjjQWfHeuAI+L6NvZz2Y2yQeIXh+kv1rwJfXNBsxmFlXeDr/Nl8tC3n5 G3riGPb/d4lTDxQXNb0XO3KOA87r1tAsxoCwqJ1PBCTK4kDOg2WvzdKbL0ztrNgPfR YFkXGCKvxjWTB1SN02Rbnc9nX3bgsn7ysxqyzbxY= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20190716091444epcas1p211c275ef689a959e57cc43c1894d9766~x2Gdvi2LI0536605366epcas1p2T; Tue, 16 Jul 2019 09:14:44 +0000 (GMT) Received: from epsmges1p3.samsung.com (unknown [182.195.40.157]) by epsnrtp4.localdomain (Postfix) with ESMTP id 45nvqP0cy3zMqYkb; Tue, 16 Jul 2019 09:14:41 +0000 (GMT) Received: from epcas1p3.samsung.com ( [182.195.41.47]) by epsmges1p3.samsung.com (Symantec Messaging Gateway) with SMTP id 26.B6.04066.1859D2D5; Tue, 16 Jul 2019 18:14:41 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p4.samsung.com (KnoxPortal) with ESMTPA id 20190716091440epcas1p4a076cdb435e969787951ff4a0135e07d~x2GaRNw3X2468124681epcas1p40; Tue, 16 Jul 2019 09:14:40 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190716091440epsmtrp16d05bb4d95ad6e876cd04be72ab3d772~x2GaP9UvY2700827008epsmtrp10; Tue, 16 Jul 2019 09:14:40 +0000 (GMT) X-AuditID: b6c32a37-e3fff70000000fe2-72-5d2d9580d31c Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id BE.05.03706.0859D2D5; Tue, 16 Jul 2019 18:14:40 +0900 (KST) Received: from [10.113.221.102] (unknown [10.113.221.102]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190716091440epsmtip29d2a42d1413a959f5c4c095a67fd3e8b~x2GZxgy7a2701527015epsmtip2s; Tue, 16 Jul 2019 09:14:40 +0000 (GMT) Subject: Re: [PATCH v1 04/50] clk: samsung: add IDs to manage aclk400_mscl in Exynos5420 To: Lukasz Luba , 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: Chanwoo Choi Organization: Samsung Electronics Message-ID: Date: Tue, 16 Jul 2019 18:17:46 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20190715124417.4787-5-l.luba@partner.samsung.com> Content-Language: en-US Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrEJsWRmVeSWpSXmKPExsWy7bCmvm7jVN1YgwO/mSxurTvHarFxxnpW i/lHgKz+x6+ZLc6f38BucbbpDbvFrQYZi02Pr7FafOy5x2pxedccNosZ5/cxWaw9cpfdYun1 i0wWF0+5WtxuXMFm0br3CLvF4TftrBb/rm1kcRDyWDNvDaPH+xut7B6bVnWyeWxeUu9x8N0e Jo++LasYPT5vkgtgj8q2yUhNTEktUkjNS85PycxLt1XyDo53jjc1MzDUNbS0MFdSyEvMTbVV cvEJ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txuXMFm0br3CLvF4TftrBb/rm1kcRDyWDNvDaPH+xut7B6bVnWyeWxeUu9x8N0e Jo++LasYPT5vkgtgj+KySUnNySxLLdK3S+DKWL3qOUvBKaGKHXfLGxgP8ncxcnJICJhIrDj7 mBHEFhLYzShx+oUnRFxSYtrFo8xdjBxAtrDE4cPFXYxcQCVvGSUO3XvHDFIjLBAlcWzdTXaQ hIjAOUaJvr9n2UESzALTmCROrGeG6DjOKPFu9SMWkASbgJbE/hc32EBsfgFFias/IDbzCthJ XHx8mhXEZhFQlZh2aQaYLSoQITHp2k4WiBpBiZMzn4DZnAL2EjeOr2SFWKYu8WfeJWYIW1zi 1pP5TBC2vETz1tnMExiFZyFpn4WkZRaSlllIWhYwsqxilEwtKM5Nzy02LDDMSy3XK07MLS7N S9dLzs/dxAiOZC3NHYyXl8QfYhTgYFTi4T2xRydWiDWxrLgy9xCjBAezkgiv7VftWCHelMTK qtSi/Pii0pzU4kOM0hwsSuK8T/OORQoJpCeWpGanphakFsFkmTg4pRoY5TRkeDkqrq0LzKzw lJPauP9ryrtjT9eZRrkITQub/vjhtYJfqV2s/Iv1vvWlnTOyPqwu2NDt8O+zuvPuWynmdSnP Mi4o7L4WfndJC7/Nk//vz9ff4++S/9we8c7y+b99n9YX/WouOLzxU6W4Jtu2E/eq5Bpmfdyj Plv02v/3n6N//tJkbxEOUWIpzkg01GIuKk4EAPoGYeTgAgAA X-CMS-MailID: 20190716091440epcas1p4a076cdb435e969787951ff4a0135e07d X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected 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, 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. 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, > -- Best Regards, Chanwoo Choi Samsung Electronics