Re: [PATCH V3 02/20] OPP: Make dev_pm_opp_set_regulators() accept NULL terminated list

2022-07-07 Thread Chanwoo Choi
*opp_table; > - const char *vdd = "vdd"; > + const char *supplies[] = { "vdd", NULL }; > int i, ret, count, size; > > - opp_table = dev_pm_opp_set_regulators(dev, , 1); > + opp_table = dev_pm_opp_set_regulators(dev, supplies); > if (IS_ERR(opp_table)) { > ret = PTR_ERR(opp_table); > dev_err(dev, "failed to set regulators %d\n", ret); Reviewed-by: Chanwoo Choi (snip) -- Best Regards, Samsung Electronics Chanwoo Choi

Re: [PATCH 6/6] i2c: Make remove callback return void

2022-06-29 Thread Chanwoo Choi
b/drivers/gpio/gpio-adp5588.c > index e388e75103f4..acb673dc9005 100644 > --- a/drivers/gpio/gpio-adp5588.c > +++ b/drivers/gpio/gpio-adp5588.c > @@ -411,14 +411,12 @@ static int adp5588_gpio_probe(struct i2c_client *client) > return 0; > } Reviewed-by: Chanwoo Choi -- Best Regards, Samsung Electronics Chanwoo Choi

Re: [PATCH] devfreq: Register devfreq as a cooling device

2021-03-04 Thread Chanwoo Choi
103,6 +103,7 @@ struct devfreq_dev_profile { unsigned long initial_freq; unsigned int polling_ms; enum devfreq_timer timer; + bool is_cooling_device; int (*target)(struct device *dev, unsigned long *freq, u32 flags); int (*get_dev_status)(struct device

Re: [PATCH] dt-bindings: Add missing array size constraints

2021-01-05 Thread Chanwoo Choi
Cc: Thierry Reding > Cc: MyungJoo Ham > Cc: Chanwoo Choi > Cc: Linus Walleij > Cc: Bartosz Golaszewski > Cc: Jonathan Cameron > Cc: Dmitry Torokhov > Cc: Thomas Gleixner > Cc: Marc Zyngier > Cc: Mauro Carvalho Chehab > Cc: Chen-Yu Tsai > Cc: Ulf Hansson >

Re: [PATCH 28/31] PM / devfreq: imx8m-ddrc: convert to use devm_pm_opp_* API

2021-01-05 Thread Chanwoo Choi
Hi Yangtao, On Tue, Jan 5, 2021 at 1:13 PM Chanwoo Choi wrote: > > On Sun, Jan 3, 2021 at 12:58 PM Yangtao Li wrote: > > > > Use devm_pm_opp_* API to simplify code. > > > > Signed-off-by: Yangtao Li > > --- > > drivers/devfreq/imx8m-ddrc.c |

Re: [PATCH 31/31] PM / devfreq: convert to devm_pm_opp_register_notifier and remove unused API

2021-01-04 Thread Chanwoo Choi
evfreq *devfreq) > -{ > - WARN_ON(devres_release(dev, devm_devfreq_opp_release, > - devm_devfreq_dev_match, devfreq)); > -} > -EXPORT_SYMBOL(devm_devfreq_unregister_opp_notifier); Need to support devm_devfreq_unregister_opp_notifier() because sometimes, the user wants to release the resource by himself. (snip) Best Regards, Chanwoo Choi ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH 30/31] PM / devfreq: exynos: convert to use devm_pm_opp_* API

2021-01-04 Thread Chanwoo Choi
; > if (ret < 0) > - goto err_reg; > + return ret; > > if (passive) > ret = exynos_bus_profile_init_passive(bus, profile); > @@ -456,11 +436,7 @@ static int exynos_bus_probe(struct platform_device *pdev) > return 0; > > err: > - dev_pm_opp_of_remove_table(dev); > clk_disable_unprepare(bus->clk); > -err_reg: > - dev_pm_opp_put_regulators(bus->opp_table); > - bus->opp_table = NULL; > > return ret; > } > -- > 2.25.1 > -- Best Regards, Chanwoo Choi ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH 29/31] PM / devfreq: imx-bus: convert to use devm_pm_opp_* API

2021-01-04 Thread Chanwoo Choi
if (ret) > - goto err; > - > - return 0; > + return imx_bus_init_icc(dev); Remove the unneeded blank line under '.return imx_bus_init_icc(dev);". > -err: > - dev_pm_opp_of_remove_table(dev); > - return ret; > } > > s

Re: [PATCH 28/31] PM / devfreq: imx8m-ddrc: convert to use devm_pm_opp_* API

2021-01-04 Thread Chanwoo Choi
value is not the return value of devm_devfreq_add_device(). On this patch, 'ret' value of 'return ret' is from imx8m_ddrc_check_opps(). Surely, it is well working with this modification. But, it is not code for exception handling. So, we need to remain the following codes: return 0; err: return ret; > } > > -- > 2.25.1 > -- Best Regards, Chanwoo Choi ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH 27/31] PM / devfreq: rk3399_dmc: convert to use devm_pm_opp_* API

2021-01-04 Thread Chanwoo Choi
> { .compatible = "rockchip,rk3399-dmc" }, > { }, > @@ -502,7 +487,6 @@ MODULE_DEVICE_TABLE(of, rk3399dmc_devfreq_of_match); > > static struct platform_driver rk3399_dmcfreq_driver = { > .probe = rk3399_dmcfreq_probe, > - .remove

Re: [PATCH 26/31] PM / devfreq: tegra30: convert to use devm_pm_opp_* API

2021-01-04 Thread Chanwoo Choi
t; *pdev) > reset_control_reset(tegra->reset); > disable_clk: > clk_disable_unprepare(tegra->clock); > -remove_table: > - dev_pm_opp_of_remove_table(>dev); > -put_hw: > - dev_pm_opp_put_supported_hw(tegra->opp_table); You might remove the 'devm_pm_opp_remove_all_dynamic(>dev) under ' remove_opp' goto statement. (snip) -- Best Regards, Chanwoo Choi ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v11 10/10] PM / devfreq: tegra30: Separate configurations per-SoC generation

2020-12-06 Thread Chanwoo Choi
proper > count-weight value for Tegra30 and MC_ALL device config needs a bit more > aggressive boosting. > > Add a separate ACTMON driver configuration that is specific to Tegra30. > > Tested-by: Peter Geis > Tested-by: Nicolas Chauvet > Acked-by: Chanwoo Choi > Si

Re: [PATCH v11 09/10] PM / devfreq: tegra30: Support interconnect and OPPs from device-tree

2020-12-06 Thread Chanwoo Choi
y. > > Tested-by: Peter Geis > Tested-by: Nicolas Chauvet > Acked-by: Chanwoo Choi > Signed-off-by: Dmitry Osipenko > --- > drivers/devfreq/tegra30-devfreq.c | 79 +++ > 1 file changed, 37 insertions(+), 42 deletions(-) > > diff

Re: [PATCH v10 00/19] Introduce memory interconnect for NVIDIA Tegra SoCs

2020-11-30 Thread Chanwoo Choi
On 11/30/20 5:36 PM, Krzysztof Kozlowski wrote: > On Mon, Nov 30, 2020 at 05:44:39PM +0900, Chanwoo Choi wrote: >> Hi Dmitry, >> >> The v5.10-rc6 was released from linus git tree. >> Generally, I will send the pull-quest about devfreq to linux-pm.git >> maintaine

Re: [PATCH v10 00/19] Introduce memory interconnect for NVIDIA Tegra SoCs

2020-11-30 Thread Chanwoo Choi
before v5.10-rc7, Maybe, I'll apply the devfreq patches for v5.12-rc1. Best Regards, Chanwoo Choi On 11/23/20 9:27 AM, Dmitry Osipenko wrote: > This series brings initial support for memory interconnect to Tegra20, > Tegra30 and Tegra124 SoCs. > > For the starter only display controllers

Re: [PATCH v10 11/19] PM / devfreq: tegra20: Deprecate in a favor of emc-stat based driver

2020-11-22 Thread Chanwoo Choi
his resolves complications imposed by > the removed driver since it was depending on both EMC and MC drivers > simultaneously. > > Acked-by: Chanwoo Choi > Signed-off-by: Dmitry Osipenko > --- > MAINTAINERS | 1 - > drivers/devfreq/Kconfig

Re: [PATCH v10 09/19] PM / devfreq: tegra30: Support interconnect and OPPs from device-tree

2020-11-22 Thread Chanwoo Choi
clock > rate directly. > > Tested-by: Peter Geis > Tested-by: Nicolas Chauvet > Acked-by: Chanwoo Choi > Signed-off-by: Dmitry Osipenko > --- > drivers/devfreq/tegra30-devfreq.c | 79 +++ > 1 file changed, 37 insertions(+), 42 deletions(-) >

Re: [PATCH v9 0/5] Exynos: Simple QoS for exynos-bus using interconnect

2020-11-22 Thread Chanwoo Choi
/samsung/Makefile | 4 + > drivers/interconnect/samsung/exynos.c | 199 > +++++++++ > 9 files changed, 450 insertions(+), 10 deletions(-) > create mode 100644 drivers/interconnect/samsung/Kconfig > create mode 100644 drivers/interconnect/samsung/Makefile > create mode 100644 drivers/interconnect/samsung/exynos.c > I checked that the icc patches were merged to icc.git. So, I applied patch1 and patch4 to devfreq.git. -- Best Regards, Chanwoo Choi Samsung Electronics ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v9 0/5] Exynos: Simple QoS for exynos-bus using interconnect

2020-11-13 Thread Chanwoo Choi
there is no build dependency between > patches. > Should i take just patches 2,3 or also patch 1? Chanwoo? Hi Georgi, If you take the patch 2,3, I'll apply patch 1,4 to devfreq.git. Hi Sylwester, First of all, thanks for your work to finish it for a long time. I'm very h

Re: [PATCH v8 04/26] memory: tegra20-emc: Add devfreq support

2020-11-10 Thread Chanwoo Choi
D, > + >ondemand_data); > + if (IS_ERR(devfreq)) { > + dev_err(emc->dev, "failed to initialize devfreq: %pe", devfreq); > + return PTR_ERR(devfreq); > + } > + > + return 0; > +} > + > sta

Re: [PATCH v7 36/47] memory: tegra20-emc: Add devfreq support

2020-11-04 Thread Chanwoo Choi
to call 'devfreq_remove_device' on exit. > + if (IS_ERR(emc->devfreq)) { > + err = PTR_ERR(emc->devfreq); > + dev_err(emc->dev, "failed to initialize devfreq: %d", err); > + return err; > + } > + > + return 0; > +} >

Re: [PATCH v7 47/47] PM / devfreq: tegra20: Deprecate in a favor of emc-stat based driver

2020-11-04 Thread Chanwoo Choi
: drivers/devfreq/tegra20-devfreq.c 11350 F: drivers/devfreq/tegra30-devfreq.c Except of missing the updating of MAINTAINERS, Acked-by: Chanwoo Choi Thanks, Chanwoo Choi On 11/5/20 1:49 AM, Dmitry Osipenko wrote: > Remove tegra20-devfreq in or

Re: [PATCH v7 46/47] PM / devfreq: tegra30: Separate configurations per-SoC generation

2020-11-04 Thread Chanwoo Choi
tegra124_soc = { > + .configs = tegra124_device_configs, > + > + /* > + * Activity counter is incremented every 256 memory transactions, > + * and each transaction takes 4 EMC clocks. > + */ > + .count_weight = 4 * 256, > +}; > + > +static co

Re: [PATCH v7 45/47] PM / devfreq: tegra30: Support interconnect and OPPs from device-tree

2020-11-04 Thread Chanwoo Choi
t;tegra_actmon", NULL); > @@ -902,6 +906,12 @@ static int tegra_devfreq_probe(struct platform_device > *pdev) > reset_control_reset(tegra->reset); > disable_clk: > clk_disable_unprepare(tegra->clock); > +remove_table: > + dev_pm_opp_of_remove_table(&g

Re: [PATCH v8 0/7] Exynos: Simple QoS for exynos-bus using interconnect

2020-11-04 Thread Chanwoo Choi
interconnect/Kconfig | 1 + > drivers/interconnect/Makefile | 1 + > drivers/interconnect/samsung/Kconfig | 13 ++ > drivers/interconnect/samsung/Makefile | 4 + > drivers/interconnect/samsung/exynos.c

Re: [PATCH v8 7/7] drm: exynos: mixer: Add interconnect support

2020-11-04 Thread Chanwoo Choi
t; + ctx->icc_path = path; > > if (drv->is_vp_enabled) > __set_bit(MXR_BIT_VP_ENABLED, >flags); > @@ -1247,17 +1368,26 @@ static int mixer_probe(struct platform_device *pdev) > pm_runtime_enable(dev); > > ret = component_add(

Re: [PATCH v8 5/7] ARM: dts: exynos: Add interconnect properties to Exynos4412 bus nodes

2020-11-04 Thread Chanwoo Choi
interconnects = <_leftbus _dmc>; > + #interconnect-cells = <0>; > status = "disabled"; > }; > > -- > 2.7.4 > > ___ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel Reviewed-by: Chanwoo Choi -- Best Regards, Chanwoo Choi ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v8 3/7] MAINTAINERS: Add entry for Samsung interconnect drivers

2020-11-04 Thread Chanwoo Choi
; INVENSENSE ICM-426xx IMU DRIVER > M: Jean-Baptiste Maneyrol > L: linux-...@vger.kernel.org > -- > 2.7.4 > > ___ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https

Re: [PATCH v8 2/7] interconnect: Add generic interconnect driver for Exynos SoCs

2020-11-04 Thread Chanwoo Choi
icc_node_add(icc_node, provider); > + > + icc_parent_node = exynos_icc_get_parent(bus_dev->of_node); > + if (IS_ERR(icc_parent_node)) { > + ret = PTR_ERR(icc_parent_node); > + goto err_pmqos_del; > + } > + if (icc_parent_node)

Re: [PATCH v8 1/7] dt-bindings: devfreq: Add documentation for the interconnect properties

2020-11-04 Thread Chanwoo Choi
le3 { > + compatible = "operating-points-v2"; > + /* ... */ > + }; > + > + bus_display_opp_table: opp_table4 { > + compatible = "operating-points-v2"; > + /* .. */ > +

Re: [PATCH v7 2/6] interconnect: Add generic interconnect driver for Exynos SoCs

2020-11-03 Thread Chanwoo Choi
Hi Sylwester, On Tue, Nov 3, 2020 at 8:32 PM Sylwester Nawrocki wrote: > > On 03.11.2020 10:37, Chanwoo Choi wrote: > > On 10/30/20 9:51 PM, Sylwester Nawrocki wrote: > >> This patch adds a generic interconnect driver for Exynos SoCs in order > >> to provide inter

Re: [PATCH v7 3/6] PM / devfreq: exynos-bus: Add registration of interconnect child device

2020-11-03 Thread Chanwoo Choi
Hi Sylwester, On Tue, Nov 3, 2020 at 9:32 PM Sylwester Nawrocki wrote: > > Hi Chanwoo, > > On 03.11.2020 11:45, Chanwoo Choi wrote: > > On 10/30/20 9:51 PM, Sylwester Nawrocki wrote: > >> This patch adds registration of a child platform device for the exyn

Re: [PATCH v7 3/6] PM / devfreq: exynos-bus: Add registration of interconnect child device

2020-11-03 Thread Chanwoo Choi
+ PLATFORM_DEVID_AUTO, NULL, 0); > + > + if (IS_ERR(bus->icc_pdev)) { > + ret = PTR_ERR(bus->icc_pdev); > + goto err; > + } > + } > + &

Re: [PATCH v7 0/6] Exynos: Simple QoS for exynos-bus using interconnect

2020-11-03 Thread Chanwoo Choi
Hi Sylwester, On 11/3/20 7:12 PM, Sylwester Nawrocki wrote: > Hi Chanwoo, Georgi > > On 03.11.2020 09:53, Chanwoo Choi wrote: >> On 11/3/20 5:29 PM, Georgi Djakov wrote: >>> On 11/3/20 09:54, Chanwoo Choi wrote: > >>>> When I tested this patchset

Re: [PATCH v7 1/6] dt-bindings: devfreq: Add documentation for the interconnect properties

2020-11-03 Thread Chanwoo Choi
atch2. > + }; > + > + bus_dmc_opp_table: opp_table1 { > + compatible = "operating-points-v2"; > + /* ... */ > + } > + > + bus_leftbus_opp_table: opp_table3 { > + compatible

Re: [PATCH v7 2/6] interconnect: Add generic interconnect driver for Exynos SoCs

2020-11-03 Thread Chanwoo Choi
DEV_PM_QOS_MIN_FREQUENCY, 0); > + if (ret < 0) > + goto err_node_del; > + > + icc_node->data = priv; > + icc_node_add(icc_node, provider); > + > + icc_parent_node = exynos_icc_get_parent(bus_dev->of_node); > + if (IS_ERR(icc_parent_node)) { > + ret = PTR_ERR(icc_parent_node); > + goto err_pmqos_del; > + } > + if (icc_parent_node) { > + ret = icc_link_create(icc_node, icc_parent_node->id); > + if (ret < 0) > + goto err_pmqos_del; > + } > + > + return 0; > + > +err_pmqos_del: > + dev_pm_qos_remove_request(>qos_req); > +err_node_del: > + icc_nodes_remove(provider); > +err_prov_del: > + icc_provider_del(provider); > + return ret; > +} > + > +static struct platform_driver exynos_generic_icc_driver = { > + .driver = { > + .name = "exynos-generic-icc", > + }, > + .probe = exynos_generic_icc_probe, > + .remove = exynos_generic_icc_remove, > +}; > +module_platform_driver(exynos_generic_icc_driver); > + > +MODULE_DESCRIPTION("Exynos generic interconnect driver"); > +MODULE_AUTHOR("Artur Świgoń "); > +MODULE_AUTHOR("Sylwester Nawrocki "); > +MODULE_LICENSE("GPL v2"); > +MODULE_ALIAS("platform:exynos-generic-icc"); > -- Best Regards, Chanwoo Choi Samsung Electronics ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v7 0/6] Exynos: Simple QoS for exynos-bus using interconnect

2020-11-03 Thread Chanwoo Choi
Hi Georgi, On 11/3/20 5:29 PM, Georgi Djakov wrote: > Hi Chanwoo and Sylwester, > > On 11/3/20 09:54, Chanwoo Choi wrote: >> Hi Sylwester, >> >> When I tested this patchset on Odroid-U3, >> After setting 0 bps by interconnect[1][2], >> the frequency of

Re: [PATCH v7 0/6] Exynos: Simple QoS for exynos-bus using interconnect

2020-11-02 Thread Chanwoo Choi
onnect/Makefile | 1 + > drivers/interconnect/exynos/Kconfig| 6 + > drivers/interconnect/exynos/Makefile | 4 + > drivers/interconnect/exynos/exynos.c | 198 > + > 9 files changed, 438 insertions(+), 10 deletions(-) > create mode 100644 drivers/interconnect/exynos/Kconfig > create mode 100644 drivers/interconnect/exynos/Makefile > create mode 100644 drivers/interconnect/exynos/exynos.c > > -- > 2.7.4 > > > -- Best Regards, Chanwoo Choi Samsung Electronics ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v6 49/52] PM / devfreq: tegra20: Convert to EMC_STAT driver, support interconnect and device-tree

2020-11-02 Thread Chanwoo Choi
ary concern is the initial performance lag in a case of > multimedia applications. But this will be resolved by hooking up > performance voting to all drivers, once we will get around to it. OK. You can choice the type of timer on both probe and via sysfs file on the runtime. -- Best Regards, Cha

Re: [PATCH v7 3/6] PM / devfreq: exynos-bus: Add registration of interconnect child device

2020-11-01 Thread Chanwoo Choi
ret = PTR_ERR(bus->icc_pdev); > + goto err; > + } > + } > + > max_state = bus->devfreq->profile->max_state; > min_freq = (bus->devfreq->profile->freq_table[0] / 1000); > max_freq =

Re: [PATCH v6 51/52] PM / devfreq: tegra30: Support interconnect and OPPs from device-tree

2020-11-01 Thread Chanwoo Choi
On Mon, Nov 2, 2020 at 12:49 AM Dmitry Osipenko wrote: > > 01.11.2020 18:44, Chanwoo Choi пишет: > >> OPP core will try to grab the clock reference for the table and it may > >> cause EPROBE_DEFER. Although, it shouldn't happen here because we have > >> devm_c

Re: [PATCH v6 51/52] PM / devfreq: tegra30: Support interconnect and OPPs from device-tree

2020-11-01 Thread Chanwoo Choi
Hi Dmitry, On Mon, Nov 2, 2020 at 12:24 AM Dmitry Osipenko wrote: > > 01.11.2020 17:44, Chanwoo Choi пишет: > > Hi Dmitry, > > > > On Mon, Oct 26, 2020 at 7:22 AM Dmitry Osipenko wrote: > >> > >> This patch moves ACTMON driver away from generati

Re: [PATCH v6 51/52] PM / devfreq: tegra30: Support interconnect and OPPs from device-tree

2020-11-01 Thread Chanwoo Choi
Hi Dmitry, On Mon, Nov 2, 2020 at 12:23 AM Dmitry Osipenko wrote: > > 01.11.2020 17:39, Chanwoo Choi пишет: > > Hi Dmitry, > > > > On Mon, Oct 26, 2020 at 7:22 AM Dmitry Osipenko wrote: > >> > >> This patch moves ACTMON driver away from generati

Re: [PATCH v6 52/52] PM / devfreq: tegra30: Separate configurations per-SoC generation

2020-11-01 Thread Chanwoo Choi
d every 256 memory transactions, > +* and each transaction takes 4 EMC clocks. > +*/ > + .count_weight = 4 * 256, > +}; > + > +static const struct tegra_devfreq_soc_data tegra30_soc = { > + .configs = tegra30_device_configs, > + .count_weight = 2 * 256, > +}; > + > static const struct of_device_id tegra_devfreq_of_match[] = { > - { .compatible = "nvidia,tegra30-actmon" }, > - { .compatible = "nvidia,tegra124-actmon" }, > + { .compatible = "nvidia,tegra30-actmon", .data = _soc, }, > + { .compatible = "nvidia,tegra124-actmon", .data = _soc, }, > { }, > }; > > -- > 2.27.0 > -- Best Regards, Chanwoo Choi ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v6 51/52] PM / devfreq: tegra30: Support interconnect and OPPs from device-tree

2020-11-01 Thread Chanwoo Choi
> - unsigned long rate; > - int err; > + int ret; > > opp = devfreq_recommended_opp(dev, freq, flags); > if (IS_ERR(opp)) { > - dev_err(dev, "Failed to find opp for %lu Hz\n", *freq); > +

Re: [PATCH v6 51/52] PM / devfreq: tegra30: Support interconnect and OPPs from device-tree

2020-11-01 Thread Chanwoo Choi
q_add_device(>dev, _devfreq_profile, > "tegra_actmon", NULL); > @@ -901,6 +898,12 @@ static int tegra_devfreq_probe(struct platform_device > *pdev) > reset_control_reset(tegra->reset); > disable_clk: >

Re: [PATCH v6 49/52] PM / devfreq: tegra20: Convert to EMC_STAT driver, support interconnect and device-tree

2020-11-01 Thread Chanwoo Choi
, Chanwoo Choi On Mon, Oct 26, 2020 at 7:21 AM Dmitry Osipenko wrote: > > External (EMC) and Internal Memory Controllers (IMC) have a nearly > identical statistics gathering module. This patch switches driver to use > EMC_STAT instead of IMC_STAT and adds device-tree support which brings I

Re: [PATCH v6 48/52] PM / devfreq: tegra20: Relax Kconfig dependency

2020-10-25 Thread Chanwoo Choi
d dependency could be relaxed since devfreq driver > checks MC/EMC presence on probe, allowing kernel configuration where > devfreq is a built-in driver and EMC driver is a loadable module. > This change puts Tegra20 devfreq Kconfig entry on a par with the Tegra30 > devfreq entry. >

Re: [PATCH v6 50/52] PM / devfreq: tegra30: Silence deferred probe error

2020-10-25 Thread Chanwoo Choi
s silence the deferred probe error. > > Acked-by: Chanwoo Choi > Signed-off-by: Dmitry Osipenko > --- > drivers/devfreq/tegra30-devfreq.c | 7 +++ > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git a/drivers/devfreq/tegra30-devfreq.c > b/drive

Re: [PATCH v6 47/52] PM / devfreq: tegra20: Silence deferred probe error

2020-10-25 Thread Chanwoo Choi
s silence the deferred probe error. > > Acked-by: Chanwoo Choi > Signed-off-by: Dmitry Osipenko > --- > drivers/devfreq/tegra20-devfreq.c | 8 +++- > 1 file changed, 3 insertions(+), 5 deletions(-) > > diff --git a/drivers/devfreq/tegra20-devfreq.c > b/drive

Re: [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas

2020-10-05 Thread Chanwoo Choi
; > Signed-off-by: Rob Herring > --- (snip) > Documentation/devicetree/bindings/extcon/wlf,arizona.yaml| 2 ++ (snip) For the extcon part, Acked-by: Chanwoo Choi -- Best Regards, Chanwoo Choi Samsung Electronics ___ dri-deve

Re: [PATCH v4 62/78] drm/vc4: hdmi: Adjust HSM clock rate depending on pixel rate

2020-09-01 Thread Chanwoo Choi
Hi Maxime, On 9/1/20 6:45 PM, Maxime Ripard wrote: > Hi Chanwoo, > > On Tue, Sep 01, 2020 at 01:36:17PM +0900, Chanwoo Choi wrote: >> On 7/9/20 2:42 AM, Maxime Ripard wrote: >>> The HSM clock needs to be setup at around 101% of the pixel rate. This >>> was don

Re: [PATCH v4 03/78] drm/vc4: hvs: Boost the core clock during modeset

2020-09-01 Thread Chanwoo Choi
On 9/1/20 8:21 PM, Chanwoo Choi wrote: > Hi Maxime, > > On 7/9/20 2:41 AM, Maxime Ripard wrote: >> In order to prevent timeouts and stalls in the pipeline, the core clock >> needs to be maxed at 500MHz during a modeset on the BCM2711. >> >> Reviewed-by: Eric

Re: [PATCH v4 03/78] drm/vc4: hvs: Boost the core clock during modeset

2020-09-01 Thread Chanwoo Choi
s->core_clk); } + + ret = clk_prepare_enable(hvs->core_clk); + if (ret) { + dev_err(>dev, "Couldn't enable core clock\n"); + return ret; + } } if (!hvs->hvs5) @@ -681,6 +687,8

Re: [PATCH v4 62/78] drm/vc4: hdmi: Adjust HSM clock rate depending on pixel rate

2020-09-01 Thread Chanwoo Choi
regs", > + .max_pixel_clock = 16200, > .cec_available = true, > .registers = vc4_hdmi_fields, > .num_registers = ARRAY_SIZE(vc4_hdmi_fields), > diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.h b/drivers/gpu/drm/vc4/vc4_hdmi.h > index 3f07aebe89f1..342f6e0227a2 100644 > --- a/drivers/gpu/drm/vc4/vc4_hdmi.h > +++ b/drivers/gpu/drm/vc4/vc4_hdmi.h > @@ -36,6 +36,9 @@ struct vc4_hdmi_variant { > /* Set to true when the CEC support is available */ > bool cec_available; > > + /* Maximum pixel clock supported by the controller (in Hz) */ > + unsigned long long max_pixel_clock; > + > /* List of the registers available on that variant */ > const struct vc4_hdmi_register *registers; > > -- Best Regards, Chanwoo Choi Samsung Electronics ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v4 75/78] dt-bindings: display: vc4: hdmi: Add BCM2711 HDMI controllers bindings

2020-09-01 Thread Chanwoo Choi
es = "hdmi", > +"dvp", > +"phy", > +"rm", > + "packet", > +"metadata", > +"csc",

Re: [PATCH v2 2/4] drm/vc4: hdmi: Add pixel bvb clock control

2020-09-01 Thread Chanwoo Choi
drm/vc4/vc4_hdmi.h b/drivers/gpu/drm/vc4/vc4_hdmi.h > index 0806c6d9f24e..63c6f8bddf1d 100644 > --- a/drivers/gpu/drm/vc4/vc4_hdmi.h > +++ b/drivers/gpu/drm/vc4/vc4_hdmi.h > @@ -147,6 +147,7 @@ struct vc4_hdmi { > struct clk *pixel_clock; > struct clk *hsm_clock; > struct clk *audio_clock; > + struct clk *pixel_bvb_clock; > > struct reset_control *reset; > > -- Best Regards, Chanwoo Choi Samsung Electronics ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v4 00/78] drm/vc4: Support BCM2711 Display Pipeline

2020-08-31 Thread Chanwoo Choi
> drivers/gpu/drm/vc4/vc4_regs.h | > 177 +++- > drivers/gpu/drm/vc4/vc4_txp.c | > 4 +- > 19 files changed, 3331 insertions(+), 1008 deletions(-) > create mode 100644 > Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml > create mode 100644 drivers/gpu/drm/vc4/vc4_hdmi.h > create mode 100644 drivers/gpu/drm/vc4/vc4_hdmi_phy.c > create mode 100644 drivers/gpu/drm/vc4/vc4_hdmi_regs.h > > base-commit: 5bdd2824d705fb8d339d6f96e464b907c9a1553d > I tested it for stress test with reboot command repetitively for verifying this patchset. It is well working. Tested-by: Chanwoo Choi -- Best Regards, Chanwoo Choi Samsung Electronics ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v5 13/36] PM / devfreq: tegra30: Use MC timings for building OPP table

2020-08-28 Thread Chanwoo Choi
Hi, On 8/15/20 1:47 AM, Dmitry Osipenko wrote: > 14.08.2020 05:02, Chanwoo Choi пишет: >> Hi Dmitry, >> >> I add the minor comment. Except of some comments, it looks good to me. > > Hello, Chanwoo! Thank you for the review! > > ... >>> +struct t

Re: [PATCH v5 13/36] PM / devfreq: tegra30: Use MC timings for building OPP table

2020-08-17 Thread Chanwoo Choi
t; - err = dev_pm_opp_add(>dev, rate / KHZ, 0); > - if (err) { > - dev_err(>dev, "Failed to add OPP: %d\n", err); > - goto remove_opps; > - } > - } > - > platform_set_drvdata(

Re: [PATCH v5 12/36] PM / devfreq: tegra20: Use MC timings for building OPP table

2020-08-17 Thread Chanwoo Choi
= max_rate; rate++) { > - rate = clk_round_rate(tegra->emc_clock, rate); > - > - err = dev_pm_opp_add(>dev, rate, 0); > + for (i = 0; i < mc->num_timings; i++) { > + err = dev_pm_opp_add(>dev, mc->timings[i].rate, 0); >

Re: [PATCH RFC v6 1/6] dt-bindings: exynos-bus: Add documentation for interconnect properties

2020-07-03 Thread Chanwoo Choi
ed new bus-width property. > > Changes for v5: > - exynos,interconnect-parent-node renamed to samsung,interconnect-parent > --- > .../devicetree/bindings/devfreq/exynos-bus.txt | 68 > +- > 1 file changed, 66 insertions(+), 2 deletions(-) Acked-by: Ch

Re: [PATCH v4 16/37] PM / devfreq: tegra20: Adjust clocks conversion ratio and polling interval

2020-07-02 Thread Chanwoo Choi
ile tegra_devfreq_profile = { > - .polling_ms = 500, > + .polling_ms = 30, > .target = tegra_devfreq_target, > .get_dev_status = tegra_devfreq_get_dev_status, > }; > Ackded-by: Chanwoo Choi -- Best Regards, Chanwoo Choi Samsung Electronics ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v4 10/37] PM / devfreq: tegra20: Silence deferred probe error

2020-07-02 Thread Chanwoo Choi
k); > + if (err) { > + if (err != -EPROBE_DEFER) > + dev_err(>dev, "failed to get emc clock: %d\n", > + err); > return err; > } > > -- Best Regards, Chanwoo Choi Samsung Electronics ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v4 10/37] PM / devfreq: tegra20: Silence deferred probe error

2020-07-02 Thread Chanwoo Choi
On 7/2/20 9:56 AM, Chanwoo Choi wrote: > Hi Dmitry, > > On 6/9/20 10:13 PM, Dmitry Osipenko wrote: >> Tegra EMC driver was turned into a regular kernel driver, it also could >> be compiled as a loadable kernel module now. Hence EMC clock isn't > > Looks good to

Re: [PATCH v4 11/37] PM / devfreq: tegra30: Silence deferred probe error

2020-07-02 Thread Chanwoo Choi
On 7/2/20 10:20 AM, Dmitry Osipenko wrote: > 02.07.2020 03:59, Chanwoo Choi пишет: >> Hi, >> >> On 6/9/20 10:13 PM, Dmitry Osipenko wrote: >>> Tegra EMC driver was turned into a regular kernel driver, it also could >>> be compiled as a loadable k

Re: [PATCH v4 11/37] PM / devfreq: tegra30: Silence deferred probe error

2020-07-02 Thread Chanwoo Choi
t; err = platform_get_irq(pdev, 0); > As I commented on patch10, I recommend that you add the Tegra EMC driver commit information into patch description and Looks good to me. -- Best Regards, Chanwoo Choi Samsung Electronics ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v4 15/37] PM / devfreq: tegra30: Add error messages to tegra_devfreq_target()

2020-07-02 Thread Chanwoo Choi
{ > + dev_err(dev, "Failed to set min rate: %d\n", err); > return err; > + } > > err = clk_set_rate(tegra->emc_clock, 0); > - if (err) > + if (err) { > + dev_err(dev, "Failed to set rate: %d\n", err); >

Re: [PATCH v4 17/37] PM / devfreq: tegra20: Relax Kconfig dependency

2020-07-02 Thread Chanwoo Choi
TEST > depends on COMMON_CLK > select DEVFREQ_GOV_SIMPLE_ONDEMAND > help > Acked-by: Chanwoo Choi -- Best Regards, Chanwoo Choi Samsung Electronics ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v4 14/37] PM / devfreq: tegra20: Add error messages to tegra_devfreq_target()

2020-07-02 Thread Chanwoo Choi
+ if (err) { > + dev_err(dev, "failed to set min rate: %d\n", err); > return err; > + } > > err = clk_set_rate(tegra->emc_clock, 0); > - if (err) > + if (err) { > + dev_err(dev, "failed to set rate:

Re: [PATCH v4 12/37] PM / devfreq: tegra20: Use MC timings for building OPP table

2020-07-02 Thread Chanwoo Choi
failed to add OPP: %d\n", err); > + return err; > + } > + } > > - err = dev_pm_opp_add(>dev, rate, 0); > + for (i = 0; i < mc->num_timings; i++) { > + err = dev_pm_opp_add(>dev, mc->timings[

Re: [PATCH v4 12/37] PM / devfreq: tegra20: Use MC timings for building OPP table

2020-07-02 Thread Chanwoo Choi
On 7/2/20 2:07 PM, Dmitry Osipenko wrote: > 02.07.2020 07:18, Chanwoo Choi пишет: >> Hi Dmitry, >> >> On 6/9/20 10:13 PM, Dmitry Osipenko wrote: >>> The clk_round_rate() won't be usable for building OPP table once >>> interconnect support will be added

Re: [RFC PATCH v5 3/6] PM / devfreq: exynos-bus: Add registration of interconnect child device

2020-06-03 Thread Chanwoo Choi
Hi Sylwester, On 6/1/20 7:04 PM, Sylwester Nawrocki wrote: > Cc: Rob, devicetree ML > > On 31.05.2020 01:57, Chanwoo Choi wrote: >> On Sat, May 30, 2020 at 1:33 AM Sylwester Nawrocki >> wrote: >>> >>> This patch adds registration of a child platform device

Re: [RFC PATCH v5 6/6] drm: exynos: mixer: Add interconnect support

2020-06-02 Thread Chanwoo Choi
bandwidth += format->cpp[j] * bw / sub; First of all, I agree this approach. Could you please add more detailed comments for understadning about this calculation? As you commented, it seems that the final bandwidth contains the width/height/refresh rate and pixel format. If you add one real example, it will be very helpful. (snip) -- Best Regards, Chanwoo Choi Samsung Electronics ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [RFC PATCH v5 2/6] interconnect: Add generic interconnect driver for Exynos SoCs

2020-05-30 Thread Chanwoo Choi
QoS request for the bus device for which also devfreq > +* functionality is registered. > +*/ > + ret = dev_pm_qos_add_request(bus_dev, >qos_req, > +DEV_PM_QOS_MIN_FREQUENCY, 0); > + if (ret < 0) > +

Re: [RFC PATCH v5 5/6] ARM: dts: exynos: Add interconnects to Exynos4412 mixer

2020-05-30 Thread Chanwoo Choi
is not needed when there is only one path in > 'interconnects', in which case calling of_icc_get() with a NULL name simply > returns the right path. > > Signed-off-by: Artur Świgoń > Reviewed-by: Chanwoo Choi > --- > Changes for v5: > - none. > --- > arch/arm/boo

Re: [RFC PATCH v5 4/6] ARM: dts: exynos: Add interconnect properties to Exynos4412 bus nodes

2020-05-30 Thread Chanwoo Choi
> operating-points-v2 = <_display_opp_table>; > + samsung,interconnect-parent = <_leftbus>; > + #interconnect-cells = <0>; > status = "disabled"; > }; > > -- > 2.7.4 > Reviewed-by: Chanwoo Choi -- Best Regards, Chanwoo Choi Samsung Electronics ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [RFC PATCH v5 1/6] dt-bindings: exynos-bus: Add documentation for interconnect properties

2020-05-30 Thread Chanwoo Choi
"; > }; > > @@ -392,6 +401,8 @@ Example2 : > > _lcd0 { > devfreq = <_leftbus>; > + samsung,interconnect-parent = <_leftbus>; > + #interconnect-cells = <0&g

Re: [RFC PATCH v5 3/6] PM / devfreq: exynos-bus: Add registration of interconnect child device

2020-05-30 Thread Chanwoo Choi
ret = PTR_ERR(bus->icc_pdev); > + goto err; > + } > + } > + > max_state = bus->devfreq->profile->max_state; > min_freq = (bus->devfreq->profile->freq_table[0] / 1000); >

Re: [RFC PATCH v3 3/7] interconnect: Allow inter-provider pairs to be configured

2019-12-22 Thread Chanwoo Choi
> struct icc_provider { > @@ -53,6 +54,7 @@ struct icc_provider { > struct icc_node* (*xlate)(struct of_phandle_args *spec, void *data); > struct device *dev; > int users; > + boolinter_set; > void*data; > }; > > -- > 2.17.1 > -- Best Regards, Chanwoo Choi ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [RFC PATCH v3 7/7] drm: exynos: mixer: Add interconnect support

2019-12-21 Thread Chanwoo Choi
; > + > +err: > + icc_put(path); > > return ret; > } > > static int mixer_remove(struct platform_device *pdev) > { > - pm_runtime_disable(>dev); > + struct device *dev = >dev; > + struct mixer_context *ctx = dev_get_drvdat

Re: [RFC PATCH v3 6/7] arm: dts: exynos: Add interconnects to Exynos4412 mixer

2019-12-21 Thread Chanwoo Choi
uot;; > clocks = < CLK_MIXER>, < CLK_HDMI>, > < CLK_SCLK_HDMI>, < CLK_VP>; > + interconnects = <_display _dmc>; > }; > > { > -- > 2.17.1 > Reviewed-by: Chanwoo Choi -- Best Regards, Chanwoo Choi ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [RFC PATCH v3 4/7] arm: dts: exynos: Add interconnect bindings for Exynos4412

2019-12-21 Thread Chanwoo Choi
splay { > exynos,parent-bus = <_leftbus>; > + exynos,interconnect-parent-node = <_leftbus>; > + #interconnect-cells = <0>; > status = "okay"; > }; > > -- > 2.17.1 > Reviewed-by: Chanwoo Choi I has not yet tested on targe

Re: [RFC PATCH v3 0/7] PM / devfreq: Simple QoS for exynos-bus using interconnect

2019-12-21 Thread Chanwoo Choi
os4412.dtsi | 1 + > drivers/devfreq/exynos-bus.c | 144 ++ > drivers/gpu/drm/exynos/exynos_mixer.c | 71 - > drivers/interconnect/core.c | 16 +- > include/linux/interconnect-provider.h | 8 + > 6 files changed, 232 insertions(+), 13 deletions(-) > > -- > 2.17.1 > -- Best Regards, Chanwoo Choi ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [RFC PATCH v3 5/7] devfreq: exynos-bus: Add interconnect functionality to exynos-bus

2019-12-21 Thread Chanwoo Choi
On Sun, Dec 22, 2019 at 4:53 AM Chanwoo Choi wrote: > > Hi, > > On Fri, Dec 20, 2019 at 9:02 PM Artur Świgoń wrote: > > > > This patch adds interconnect functionality to the exynos-bus devfreq > > driver. > > > > The SoC topology is a graph (or, mo

Re: [RFC PATCH v3 5/7] devfreq: exynos-bus: Add interconnect functionality to exynos-bus

2019-12-21 Thread Chanwoo Choi
y(id); > +err_node: > + ida_free(, id); > +err_id: > + icc_provider_del(provider); > + > + return ret; > +} > + > static int exynos_bus_probe(struct platform_device *pdev) > { > struct device *dev = >dev; > @@ -468,6 +602,1

Re: [RFC PATCH v3 2/7] interconnect: Relax requirement in of_icc_get_from_provider()

2019-12-21 Thread Chanwoo Choi
dle_args *spec) > struct icc_node *node = ERR_PTR(-EPROBE_DEFER); > struct icc_provider *provider; > > - if (!spec || spec->args_count != 1) > + if (!spec) > return ERR_PTR(-EINVAL); > > mutex_lock(_lock); > -- > 2.17.1 &g

Re: [RFC PATCH v2 09/11] devfreq: exynos-bus: Add interconnect functionality to exynos-bus

2019-12-18 Thread Chanwoo Choi
Hi, If possible, I'd like to apply these patches to v5.6-rc1. It is very useful feature to support the QoS for user device using memory bus. 2019년 12월 18일 (수) 오후 7:48, Artur Świgoń 님이 작성: > > On Wed, 2019-12-18 at 19:39 +0900, Chanwoo Choi wrote: > > Hi, > > > > 2019년 12

Re: [RFC PATCH v2 09/11] devfreq: exynos-bus: Add interconnect functionality to exynos-bus

2019-12-18 Thread Chanwoo Choi
Hi, 2019년 12월 18일 (수) 오후 7:19, Artur Świgoń 님이 작성: > > Hi, > > Thank you for the review. > > On Mon, 2019-12-16 at 09:44 +0900, Chanwoo Choi wrote: > > Hi, > > > > On 9/19/19 11:22 PM, Artur Świgoń wrote: > > > From: Artur Świgoń > >

Re: [RFC PATCH v2 08/11] arm: dts: exynos: Add parents and #interconnect-cells to Exynos4412

2019-12-18 Thread Chanwoo Choi
Hi 2019년 12월 18일 (수) 오후 7:18, Artur Świgoń 님이 작성: > > Hi, > > On Mon, 2019-12-16 at 11:59 +0900, Chanwoo Choi wrote: > > Hi, > > > > On 12/16/19 9:51 AM, Chanwoo Choi wrote: > > > On 9/19/19 11:22 PM, Artur Świgoń wrote: > > > > From: Artur

Re: [RFC PATCH v2 08/11] arm: dts: exynos: Add parents and #interconnect-cells to Exynos4412

2019-12-16 Thread Chanwoo Choi
operating-points-v2 = <_fsys_opp_table>; > + #interconnect-cells = <0>; > status = "disabled"; > }; > > @@ -491,6 +498,7 @@ > clocks = < CLK_ACLK100>;

Re: [RFC PATCH v2 08/11] arm: dts: exynos: Add parents and #interconnect-cells to Exynos4412

2019-12-16 Thread Chanwoo Choi
operating-points-v2 = <_fsys_opp_table>; > + #interconnect-cells = <0>; > status = "disabled"; > }; > > @@ -491,6 +498,7 @@ > clocks = < CLK_ACLK100>;

Re: [RFC PATCH v2 08/11] arm: dts: exynos: Add parents and #interconnect-cells to Exynos4412

2019-12-16 Thread Chanwoo Choi
Hi, Please ignore second reply. It is my mistake to send the duplicate message because of my company firewall issue. Regards, Chanwoo Choi On 12/16/19 9:55 AM, Chanwoo Choi wrote: > Hi, > > On 9/19/19 11:22 PM, Artur Świgoń wrote: >> From: Artur Świgoń >> >>

Re: [RFC PATCH v2 08/11] arm: dts: exynos: Add parents and #interconnect-cells to Exynos4412

2019-12-16 Thread Chanwoo Choi
Hi, On 12/16/19 9:51 AM, Chanwoo Choi wrote: > On 9/19/19 11:22 PM, Artur Świgoń wrote: >> From: Artur Świgoń >> >> This patch adds two fields to the Exynos4412 DTS: >> - parent: to declare connections between nodes that are not in a >>

Re: [RFC PATCH v2 09/11] devfreq: exynos-bus: Add interconnect functionality to exynos-bus

2019-12-16 Thread Chanwoo Choi
turn 0; > + > +err_connect: > + icc_node_del(node); > + icc_node_destroy(id); > +err_node: > + icc_provider_del(provider); > + > + return ret; > +} > + > static int exynos_bus_probe(struct platform_device *pdev) > { > struct device

Re: [RFC PATCH v2 05/11] interconnect: Export of_icc_get_from_provider()

2019-12-16 Thread Chanwoo Choi
rn -ENOTSUPP; > } > > +struct icc_node *of_icc_get_from_provider(struct of_phandle_args *spec) > +{ > + return ERR_PTR(-ENOTSUPP); > +} > + > #endif /* CONFIG_INTERCONNECT */ > > #endif /* __LINUX_INTERCONNECT_PROVIDER_H */ > Reviewed-by: Chanwoo Choi --

Re: [RFC PATCH v2 09/11] devfreq: exynos-bus: Add interconnect functionality to exynos-bus

2019-12-04 Thread Chanwoo Choi
Hi Artur, On 12/3/19 2:05 AM, Artur Świgoń wrote: > Hi Chanwoo, > > On Wed, 2019-09-25 at 16:03 +0900, Chanwoo Choi wrote: >> Hi, >> >> I need the time to dig the ICC framework >> to understand them detailed. After that, I'll review this. > > Any updates

Re: [RFC PATCH v2 09/11] devfreq: exynos-bus: Add interconnect functionality to exynos-bus

2019-09-25 Thread Chanwoo Choi
return ret; > + > +err_connect: > + icc_node_del(node); > + icc_node_destroy(id); > +err_node: > + icc_provider_del(provider); > + > + return ret; > +} > + > static int exynos_bus_probe(struct platform_device *pdev) > { > struct device *dev = >dev; > @@ -415,6 +560,14 @@ static int exynos_bus_probe(struct platform_device *pdev) > if (ret < 0) > goto err; > > + /* > + * Initialize interconnect provider. A return value of -ENOTSUPP means > + * that CONFIG_INTERCONNECT is disabled. > + */ > + ret = exynos_bus_icc_init(bus); > + if (ret < 0 && ret != -ENOTSUPP) > + goto err; > + > max_state = bus->devfreq->profile->max_state; > min_freq = (bus->devfreq->profile->freq_table[0] / 1000); > max_freq = (bus->devfreq->profile->freq_table[max_state - 1] / 1000); > -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [RFC PATCH v2 00/11] Simple QoS for exynos-bus driver using interconnect

2019-09-25 Thread Chanwoo Choi
Hi, On 19. 9. 25. 오후 3:37, Artur Świgoń wrote: > On Wed, 2019-09-25 at 15:12 +0900, Chanwoo Choi wrote: >> Hi, >> >> On 19. 9. 25. 오후 2:47, Artur Świgoń wrote: >>> Hi, >>> >>> On Fri, 2019-09-20 at 11:14 +0900, Chanwoo Choi wrote: >>&

Re: [RFC PATCH v2 01/11] devfreq: exynos-bus: Extract exynos_bus_profile_init()

2019-09-25 Thread Chanwoo Choi
Hi, On 19. 9. 25. 오후 2:44, Artur Świgoń wrote: > Hi, > > On Fri, 2019-09-20 at 11:15 +0900, Chanwoo Choi wrote: >> Hi, >> >> As I already replied on v1, patch1/2/3 clean-up code >> for readability without any behavior changes. >> >> I think tha

  1   2   >