Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4808264imb; Thu, 7 Mar 2019 00:41:51 -0800 (PST) X-Google-Smtp-Source: APXvYqz29Fj3hvojjQfQFjaY+QQ1mldDCzPq9Q8y4NJS0sXU04qXfOXl9xylJtmEv7rVjDH0rNG6 X-Received: by 2002:a63:5318:: with SMTP id h24mr10380372pgb.76.1551948111766; Thu, 07 Mar 2019 00:41:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551948111; cv=none; d=google.com; s=arc-20160816; b=zANc9qna0V1SuaCPC+6+gKeVaXtF2pKf+yOkKLFzaEZtv9gpgl/J8ir6hdELolPry6 KIpYwHZPI3pxemjZaLpGZnJ1gAkO/OIfJYOAKjzIGAMF3jntVKV1k1XW6i9u2myGTx1m SfLam0kmxlByJhHtmWb4wrCA/Mm4ygop/6J0GTVW+ozYG8S5dri8dVxrlRgPV8etYyy3 z6RtzdrArxRjy0Zne85ag7R6nedNF3yVtDksQz57vhqOMqUAUlKP+NkemDj8CMmrIKcE 0FipZ7G4F0HPKIvEVdY97K1NHH3HhtoXSlHt67DDJi74E+fA9GZakBlcF1j2w/oxy6Rw 5qSQ== 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=tNCPZ/U2qH3g/U1ivb0DsWR77u64LmUQw7nx0kFq41E=; b=Q3GWnBuVH44a/D893XiDfMkD+wPAziqc4S60c+KwPaxh5bHxLVGIz/ZtDGFTowV1yz x6x569laqEYvPSNzG/IhmHaZTNIgJOXR4R/WOXKBxkZeHpg8dDM3fPuOIH7oa94LfDbt WDSos50KBXNciMZLiOthqbjd8XQYWza7RbTn+I+jei1TF5TGyHk1qaCJ463wddWgEnmG iiTYaZfTeWFFTmTj/WqAPUY0NEmjih6iPo8y+VNF9JI2HPq/9r3X8iEf5uEvbnLAH3wp Str6WS8ds3NRslIOqDe1H3kaNaY9VyLh3e6KqJBOouNtoezPNpYV6pfHh85y8Pc6IX5t kMpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=IfVearek; 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 a16si3765306pls.330.2019.03.07.00.41.36; Thu, 07 Mar 2019 00:41:51 -0800 (PST) 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=IfVearek; 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 S1726203AbfCGIlN (ORCPT + 99 others); Thu, 7 Mar 2019 03:41:13 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:52561 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726057AbfCGIlM (ORCPT ); Thu, 7 Mar 2019 03:41:12 -0500 Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20190307084108epoutp0284944b6bb1039ecd94a1c5acab708018~JoIuk0S4M0553805538epoutp02l; Thu, 7 Mar 2019 08:41:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20190307084108epoutp0284944b6bb1039ecd94a1c5acab708018~JoIuk0S4M0553805538epoutp02l DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1551948068; bh=tNCPZ/U2qH3g/U1ivb0DsWR77u64LmUQw7nx0kFq41E=; h=Subject:To:Cc:From:Date:In-reply-to:References:From; b=IfVearekEr8Vo8O36kotgAckXEsm7xfe8wn6RO2dcBhdptVXlsk5ITJ/gx0SQ0IZE WLdhR2eh5KZDn4IIqqkEAo001/UO5RUUPtssj0Pfy2gpoy5YnvW40/Hk+6qKd/FWtd nm6YRaTYymkpuVjq57o6Qc31rPVRtmx7VAq6SU+k= Received: from epsmges1p3.samsung.com (unknown [182.195.42.55]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20190307084107epcas1p4408e05a224f906528286548b6d21f9cf~JoItfkVWF1986719867epcas1p4z; Thu, 7 Mar 2019 08:41:07 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p3.samsung.com (Symantec Messaging Gateway) with SMTP id 1F.28.04069.229D08C5; Thu, 7 Mar 2019 17:41:07 +0900 (KST) Received: from epsmgms2p1new.samsung.com (unknown [182.195.42.142]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20190307084106epcas1p355e4c9b3150f395f0a58f4f1ab052513~JoItG9PMA0113001130epcas1p3s; Thu, 7 Mar 2019 08:41:06 +0000 (GMT) X-AuditID: b6c32a37-971ff70000000fe5-94-5c80d922c0b6 Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p1new.samsung.com (Symantec Messaging Gateway) with SMTP id F2.5D.04015.229D08C5; Thu, 7 Mar 2019 17:41:06 +0900 (KST) Received: from [106.116.147.40] by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PNZ00AECMSDW070@mmp1.samsung.com>; Thu, 07 Mar 2019 17:41:06 +0900 (KST) Subject: Re: [PATCH v4 4/8] drivers: devfreq: add DMC driver for Exynos5422 To: Chanwoo Choi Cc: cwchoi00@gmail.com, Lukasz Luba , devicetree , linux-kernel , Linux PM list , linux-samsung-soc , Bartlomiej Zolnierkiewicz , Krzysztof Kozlowski , Kukjin Kim , Kyungmin Park , Marek Szyprowski , MyungJoo Ham , linux-arm-kernel From: Sylwester Nawrocki Message-id: <84c06add-8375-55a6-01d6-ebbc6af011a9@samsung.com> Date: Thu, 07 Mar 2019 09:41:00 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-version: 1.0 In-reply-to: <4bbc0f61-952e-bcdb-4645-2644a122ac99@samsung.com> Content-type: text/plain; charset="utf-8" Content-language: en-GB Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrIKsWRmVeSWpSXmKPExsWy7bCmga7yzYYYg41HmCw2zljPanH9y3NW i2dHtS3mHznHatH/+DWzxfnzG9gtzja9Ybe41SBjsenxNVaLy7vmsFl87j3CaDHj/D4mi7VH 7rJb3G5cwebA57Fz1l12j02rOtk8Ni+p9zj4bg+TR9+WVYwenzfJBbBFcdmkpOZklqUW6dsl cGVsXf6ZsaCDreJ07y/2BsYPLF2MnBwSAiYSnw/vALK5OIQEdjBKPJ3/hhXC+c4o8bXrKlzV j6WLoKp2M0qsXv6aGcK5zyhxctJmNpAqYQFvibUdy5lBbBEBDYmZf68wghQxC+xlkTg4aR9Y EZuAoUTv0T5GEJtXwE5i2aybrCA2i4CqxOVbPWDNogIREu+f7maBqBGU+DH5HpjNKWAv8WnT O7B6ZgFNiRdfJrFA2OISx+7fZISw5SU2r3kLdp2EQDu7xP2/a9khfnCReLBtN5DNAWRLS1w6 agsRrpbYtb0bqr6DUaLlwnZmiIS1xOHjF6GW8Um8+9rDCtHLK9HRJgRhekic2psCCYgJzBIf 5/9imcAoMwvJ2bOQnDoLyamzkJy6gJFlFaNYakFxbnpqsWGBsV5xYm5xaV66XnJ+7iZGcMLR Mt/BuOGczyFGAQ5GJR7eiNP1MUKsiWXFl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2ZW4io0HFi222ba5vtYopeTtnhlCTpwt/nbG z9q3qJhJ/DZoW36N9e6Piq8FVmxMSizFGYmGWsxFxYkAXHb2PKQCAAA= X-CMS-MailID: 20190307084106epcas1p355e4c9b3150f395f0a58f4f1ab052513 CMS-TYPE: 101P X-CMS-RootMailID: 20190201164720eucas1p13aac6550399d240b261a2cbe489d3dfc References: <1549039612-28905-1-git-send-email-l.luba@partner.samsung.com> <1549039612-28905-5-git-send-email-l.luba@partner.samsung.com> <94e169cf-4dc2-82ec-1385-852bc7853931@samsung.com> <4bbc0f61-952e-bcdb-4645-2644a122ac99@samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Chanwoo, On 3/7/19 02:10, Chanwoo Choi wrote: > This patch has the another quetion about the clocks in > exynos5_dmc_init_clks(). This functions used 'clk_set_parent' > to make the hierarchy between clocks. I think it is possible to make > the relation of clocks in DT by using the 'assigned-clocks'. I'm fine either way, AFAICS it is a matter of setting parent of just one clock - "mout_mx_mspll_ccore". The driver needs to get that clock anyway to enable/disable it as required. So we will not gain much from using assigned-clocks I'd say. I don't really have a strong opinion here as I don't know detailed requirements of the DMC clock configuration sequence. I'm inclined to keep it in driver as it would be more flexible. -- Regards, Sylwester