Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp761266ybi; Tue, 16 Jul 2019 04:57:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqxhqSNIkKba0qtDxawqhIcoefcMOl+rDRC+t+Sj4EYtqdHKyc/SzlaeTUVZ9Ds8QvtPgFly X-Received: by 2002:a17:902:102c:: with SMTP id b41mr34207415pla.204.1563278262797; Tue, 16 Jul 2019 04:57:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563278262; cv=none; d=google.com; s=arc-20160816; b=K0buoFZVkuYXyusNjwqqz3eYbhh6eaNGv4w3GmwHZv5f7VzkpC71KiKDAgw1M+hLE5 Cxr7cPlG9t6jFPlT1vwRJHtrMl2tCqA0VhpGVIQqfM7HwZNa0yZdS0TA2EsGQM3nrjf9 eqzXAGqmQkAq5CxgNJLMLeG1T60+63lfu17qExhXyUY4xX2iGYiOV3G/GD1KzmEOfglu 2wouMREOrcg4O1l2V9zzi6JFZ0HYV4LfCt2dWOpDQViQK83nvx1+OOGIrG8EzKDu6VV/ 5pDjmFAg4I3ngGuty57SIuy7iwIB/E+iVNJ6jy056kYwhGgArV0gsji/tEvlgj/lVbOW 7VdQ== 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:cc:to:from:subject:dkim-signature :dkim-filter; bh=Y3MANFjWTHlxjydAw2DLCdEv+GbkTiMm4tBgi0aarJY=; b=CmFtJIOZv+HFeIF2LWiWPS7PLBbAh4YhYoWge7R12U8/2Hq1MpDL1MmIrI3P1wlMCe JMXnTs/7klUfngleUE6K4peshGhchcCD69b/zpyNsNuxm7HHRIPlAOs+3M8KK7TioTNG 2RGN80n3sqXZHk0r2xG/LOu6HaBJXBI350APQPm8zpm37OVt0hzSokqUnUN1tW/g3H0C w+L2tunZHPA4Y8E+U9diudpEnSdQMmP7sE5SVpxhlm4SXTXLC01lwnwdwknBKyjZiBMX IDLzMM+usa8iwW+mL/NuIM2jnQOgI6ZjhFBJ8c+F34U3mNhRZKUwgfFh0Wju8xNcEIAi mKFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=c+hxmP48; 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 q19si18182065pjp.24.2019.07.16.04.57.26; Tue, 16 Jul 2019 04:57:42 -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=c+hxmP48; 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 S1731843AbfGPL4n (ORCPT + 99 others); Tue, 16 Jul 2019 07:56:43 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:38976 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731015AbfGPL4m (ORCPT ); Tue, 16 Jul 2019 07:56:42 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190716115640euoutp0245d1157ba69ccff88eb461a87d102c43~x4T2pT0vi2169021690euoutp02C for ; Tue, 16 Jul 2019 11:56:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190716115640euoutp0245d1157ba69ccff88eb461a87d102c43~x4T2pT0vi2169021690euoutp02C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1563278200; bh=Y3MANFjWTHlxjydAw2DLCdEv+GbkTiMm4tBgi0aarJY=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=c+hxmP48Yp5LvkGJBHxTlauVG/ULPZDG+5g0qfFlDpTog82+5FFNfYuvR5+wsEe71 D3AU4FNbJfdvsWYMdUIJtFhk2ZTGXjmrhPkjm/tT8mYrl6iRffSfEo3Erb7OLlL7ZU 8S9+SE+tWHTei6ZMEINRjGDlDwk88b51UGjumZTk= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190716115639eucas1p2252defebcb31c54f283170a0f744f54d~x4T15nIZZ1928219282eucas1p27; Tue, 16 Jul 2019 11:56:39 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 4A.76.04325.77BBD2D5; Tue, 16 Jul 2019 12:56:39 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190716115639eucas1p1e0758b5a7cb975371e4ffaee7df37810~x4T1MvjBX2004420044eucas1p14; Tue, 16 Jul 2019 11:56:39 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190716115638eusmtrp221979503b0434b170572313d87b5b1ec~x4T0_XZuD1854818548eusmtrp21; Tue, 16 Jul 2019 11:56:38 +0000 (GMT) X-AuditID: cbfec7f5-fbbf09c0000010e5-f3-5d2dbb772fe1 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 8E.97.04140.67BBD2D5; Tue, 16 Jul 2019 12:56:38 +0100 (BST) Received: from [106.120.51.71] (unknown [106.120.51.71]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190716115638eusmtip218f7812e10a373febd695656cb893464~x4T0UJkBj2456924569eusmtip2z; Tue, 16 Jul 2019 11:56:38 +0000 (GMT) Subject: Re: [PATCH v2 2/4] devfreq: exynos-bus: convert to use dev_pm_opp_set_rate() From: Bartlomiej Zolnierkiewicz To: Chanwoo Choi Cc: Kamil Konieczny , Marek Szyprowski , Krzysztof Kozlowski , Kukjin Kim , Kyungmin Park , Mark Rutland , MyungJoo Ham , Nishanth Menon , Rob Herring , Stephen Boyd , Viresh Kumar , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org Message-ID: Date: Tue, 16 Jul 2019 13:56:28 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <1a9e5752-bc2b-3b08-a36b-fc02ca51764c@samsung.com> Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrOKsWRmVeSWpSXmKPExsWy7djP87rlu3VjDb49VbC4/uU5q8X8I+dY Lfr2/We06H/8mtni/PkN7BZnm96wW2x6fI3V4vKuOWwWn3uPMFrMOL+PyWLtkbvsFkuvX2Sy uN24gs3izY+zTBate4+wW/y7tpHFYvODY2wOgh5r5q1h9Ni0qpPNY/OSeo+D7/YwefRtWcXo cfzGdiaPz5vkAtijuGxSUnMyy1KL9O0SuDI2t05mKpjBUfHn3nXGBsb7rF2MnBwSAiYSN6f1 MnUxcnEICaxglOj//Y0RwvnCKPGksYcFwvnMKNHc8oEJpqW5oxGqZTmjxMyej1BVbxklVjft BBssLBAu8ev+LkYQm03ASmJi+yowW0RAQ2Lm3ytgO5gFLrBIHFt9G6yBV8BO4sWUs2A2i4Cq xM9jR8FsUYEIifvHNkDVCEqcnPmEBcTmFL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VeLnsaNgtqhAhMSZ9ytYIGoEJU7OfAJm cwrYS9xddJcZYqi6xJ95l6BscYlbT+YzQdjyEtvfzmGewCg0C0n7LCQts5C0zELSsoCRZRWj SGppcW56brGRXnFibnFpXrpecn7uJkZgrG879nPLDsaud8GHGAU4GJV4eE/s0YkVYk0sK67M PcQowcGsJMJr+1U7Vog3JbGyKrUoP76oNCe1+BCjKdBzE5mlRJPzgWkoryTe0NTQ3MLS0NzY 3NjMQkmct0PgYIyQQHpiSWp2ampBahFMHxMHp1QD48rdEVGRXx6GbspZEJM2Z6FjZZFB/T+F iSaHtZm8rNj+6TTOSjTuOmfF8v+zwgvxWFvNH2/1zkpPVOfYpbO17u+9mrbuvyLm+XbTfh4r U1ta/0UgtG3xeu6yoht3Ar/n7b/uN/2Zn9RtjT0qh7x03flqBZhqPIWrt61K2PpU06zL905x 0Y7NSizFGYmGWsxFxYkAtqaVtgsDAAA= X-CMS-MailID: 20190716115639eucas1p1e0758b5a7cb975371e4ffaee7df37810 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190715120431eucas1p215eae81d0ca772d7e2a22a803669068a X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190715120431eucas1p215eae81d0ca772d7e2a22a803669068a References: <20190715120416.3561-1-k.konieczny@partner.samsung.com> <20190715120416.3561-3-k.konieczny@partner.samsung.com> <7f7cf551-005a-c647-d571-77eb5426478a@samsung.com> <3d1687b7-4825-ad82-2706-a712c30e530b@samsung.com> <5612547b-47c8-0dc4-cb3c-e972782d5a26@samsung.com> <3ba736fa-832c-a72c-e60b-f4328e54c524@samsung.com> <29cfafc4-ee22-6d38-4c67-776c48bfed8a@samsung.com> <1a9e5752-bc2b-3b08-a36b-fc02ca51764c@samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/16/19 1:39 PM, Bartlomiej Zolnierkiewicz wrote: > > On 7/16/19 1:26 PM, Chanwoo Choi wrote: [...] >>> Doesn't seem to be needed, care to explain it more? >> >> In order to fix the sequence problem between clock and regulator >> with dev_pm_opp_set_regualtor() and want to keep two functions >> (exynos_bus_parent_parse_of() and exynos_bus_parse_of()), >> have to change the call order as following and then modify >> the exception handling code when error happen. >> >> node = of_parse_phandle(dev->of_node, "devfreq", 0); >> if (node) { >> of_node_put(node); >> passive = true >> } >> >> if (!passive) >> exynos_bus_parent_parse_of() >> dev_pm_opp_set_regulator >> >> exynos_bus_parse_of() > > OK. This seems like a solution. PS Thanks for explaining this in detail. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics