Re: [PATCH v5 05/12] PM / devfreq: Add support for policy notifiers

2018-08-02 Thread Chanwoo Choi
Hi Matthias, On 2018년 08월 03일 08:48, Matthias Kaehlcke wrote: > On Thu, Aug 02, 2018 at 04:13:43PM -0700, Matthias Kaehlcke wrote: >> Hi Chanwoo, >> >> On Thu, Aug 02, 2018 at 10:58:59AM +0900, Chanwoo Choi wrote: >>> Hi Matthias, >>> >>> On 2018년

Re: [PATCH v5 03/12] PM / devfreq: Don't adjust to user limits in governors

2018-08-02 Thread Chanwoo Choi
Hi Matthias, On 2018년 08월 03일 09:24, Matthias Kaehlcke wrote: > On Fri, Aug 03, 2018 at 09:03:30AM +0900, Chanwoo Choi wrote: >> Hi Matthias, >> >> On 2018년 08월 03일 08:36, Matthias Kaehlcke wrote: >>> Hi Chanwoo, >>> >>> this patch and "PM / de

Re: [PATCH v5 05/12] PM / devfreq: Add support for policy notifiers

2018-08-06 Thread Chanwoo Choi
Hi Matthias, On 2018년 08월 07일 03:46, Matthias Kaehlcke wrote: > Hi Chanwoo, > > On Fri, Aug 03, 2018 at 08:56:57AM +0900, Chanwoo Choi wrote: >> Hi Matthias, >> >> On 2018년 08월 03일 08:13, Matthias Kaehlcke wrote: >>> Hi Chanwoo, >>> >>>

Re: [PATCH v5 05/12] PM / devfreq: Add support for policy notifiers

2018-08-06 Thread Chanwoo Choi
Hi Matthias, On 2018년 08월 07일 04:21, Matthias Kaehlcke wrote: > Hi Chanwoo, > > On Fri, Aug 03, 2018 at 09:14:46AM +0900, Chanwoo Choi wrote: >> Hi Matthias, >> >> On 2018년 08월 03일 08:48, Matthias Kaehlcke wrote: >>> On Thu, Aug 02, 2018 at 04:13:43PM -07

Re: [PATCH v5 05/12] PM / devfreq: Add support for policy notifiers

2018-08-06 Thread Chanwoo Choi
ble 500Mhz at this time such as cooling. I think that if OPP support the use of multiple device drivers, dev_pm_opp_enable() and dev_pm_opp_disable() should support the usage count such as regulator/clock. I would like your opinion. Regards, Chanwoo Choi On 2018년 08월 07일 07:31, Chanwoo Cho

Re: [PATCH v5 05/12] PM / devfreq: Add support for policy notifiers

2018-08-06 Thread Chanwoo Choi
Hi Matthias, On 2018년 08월 07일 09:23, Matthias Kaehlcke wrote: > Hi Chanwoo, > > On Tue, Aug 07, 2018 at 07:31:16AM +0900, Chanwoo Choi wrote: >> Hi Matthias, >> >> On 2018년 08월 07일 04:21, Matthias Kaehlcke wrote: >>> Hi Chanwoo, >>> >>>

Re: [PATCH] PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.

2018-06-21 Thread Chanwoo Choi
Hi Enric, On 2018년 06월 20일 19:32, Enric Balletbo i Serra wrote: > Hi Chanwoo, > > On 20/06/18 02:47, Chanwoo Choi wrote: >> Hi Enric, >> >> On 2018년 06월 19일 17:22, Enric Balletbo i Serra wrote: >>> Hi Chanwoo, >>> >>> On 18/06/18 11:02, Enri

Re: [PATCH] devfreq: Convert to using %pOFn instead of device_node.name

2018-08-27 Thread Chanwoo Choi
Dear Rob, On 2018년 08월 28일 10:52, Rob Herring wrote: > In preparation to remove the node name pointer from struct device_node, > convert printf users to use the %pOFn format specifier. > > Cc: Chanwoo Choi > Cc: MyungJoo Ham > Cc: Kyungmin Park > Cc: Kukjin Kim >

Re: [PATCH v1 1/7] extcon: Make static analyzer happy about union assignment

2018-08-29 Thread Chanwoo Choi
(!edev) > return -EINVAL; > Applied all patches of this series. Thanks. -- Best Regards, Chanwoo Choi Samsung Electronics

[PATCH] PM / devfreq: Add new name attribute for sysfs

2018-08-29 Thread Chanwoo Choi
. Cc: sta...@vger.kernel.org Fixes: 4585fbcb5331 ("PM / devfreq: Modify the device name as devfreq(X) for sysfs") Signed-off-by: Chanwoo Choi --- drivers/devfreq/devfreq.c | 11 +++ include/linux/devfreq.h | 3 +++ 2 files changed, 14 insertions(+) diff --git a/drivers/devfreq/devfreq

Re: [PATCH] PM / devfreq: Add new name attribute for sysfs

2018-08-29 Thread Chanwoo Choi
Dear Greg, On 2018년 08월 29일 19:57, Greg KH wrote: > On Wed, Aug 29, 2018 at 04:34:06PM +0900, Chanwoo Choi wrote: >> commit 4585fbcb5331 ("PM / devfreq: Modify the device name as devfreq(X) for >> sysfs") changed the node name to devfreq(x). After this commit, it is n

Re: [PATCH] PM / devfreq: Add new name attribute for sysfs

2018-08-29 Thread Chanwoo Choi
Hi Bartlomiej, On 2018년 08월 29일 21:50, Bartlomiej Zolnierkiewicz wrote: > > Hi Chanwoo, > > On Wednesday, August 29, 2018 04:34:06 PM Chanwoo Choi wrote: >> commit 4585fbcb5331 ("PM / devfreq: Modify the device name as devfreq(X) for >> sysfs") changed the n

Re: [PATCH] extcon: maxim: Add SPDX license identifiers

2018-08-08 Thread Chanwoo Choi
on-max77693.c | 22 ++ > drivers/extcon/extcon-max77843.c | 19 +++ > drivers/extcon/extcon-max8997.c | 22 ++ > 4 files changed, 26 insertions(+), 61 deletions(-) > Thanks. Applied it for v4.20. (snip) -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH] dt-bindings: clock: samsung: Add SPDX license identifiers

2018-07-18 Thread Chanwoo Choi
dt-bindings/clock/s3c2443.h | 5 + > include/dt-bindings/clock/samsung,s2mps11.h | 5 + > include/dt-bindings/clock/samsung,s3c64xx-clock.h | 7 ++- > 13 files changed, 20 insertions(+), 59 deletions(-) > Looks good to me. Acked-by: Chanwoo Choi (snip) -- Best Regards, Chanwoo Choi Samsung Electronics

[GIT PULL] extcon next for v4.19

2018-07-18 Thread Chanwoo Choi
Dear Greg, This is extcon-next pull request for v4.19. I add detailed description of this pull request on below. Please pull extcon with following updates. Best Regards, Chanwoo Choi The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40: Linux 4.18-rc1 (2018-06-17 08

Re: [PATCH v5 05/12] PM / devfreq: Add support for policy notifiers

2018-07-31 Thread Chanwoo Choi
On 2018년 08월 01일 04:39, Matthias Kaehlcke wrote: > On Mon, Jul 16, 2018 at 10:50:50AM -0700, Matthias Kaehlcke wrote: >> On Thu, Jul 12, 2018 at 05:44:33PM +0900, Chanwoo Choi wrote: >>> Hi Matthias, >>> >>> On 2018년 07월 07일 02:53, Matthias Kaehlcke wrote: >&

Re: [PATCH v5 07/12] PM / devfreq: export devfreq_class

2018-08-01 Thread Chanwoo Choi
Hi Matthias, On 2018년 08월 01일 04:29, Matthias Kaehlcke wrote: > On Mon, Jul 16, 2018 at 12:41:14PM -0700, Matthias Kaehlcke wrote: >> Hi Chanwoo, >> >> On Thu, Jul 12, 2018 at 06:08:36PM +0900, Chanwoo Choi wrote: >>> Hi Matthias, >>> >>> On 2018년

Re: [PATCH v5 09/12] dt-bindings: misc: add bindings for throttler

2018-08-01 Thread Chanwoo Choi
; phandle. cpu0_opp03 indicates the only one specific OPP entry among set of OPP entries of CPU0 cpufreq? or cpu0_opp03 indicates the set of OPP entries for CPU0 cpufreq ? -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH v5 06/12] PM / devfreq: Make update_devfreq() public

2018-08-01 Thread Chanwoo Choi
int update_devfreq(struct devfreq *devfreq); > + > /* Helper functions for devfreq user device driver with OPP. */ > extern struct dev_pm_opp *devfreq_recommended_opp(struct device *dev, > unsigned long *freq, u32 flags); > Reviewed-by: Chanwoo Choi -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH v5 05/12] PM / devfreq: Add support for policy notifiers

2018-08-01 Thread Chanwoo Choi
Hi Matthias, On 2018년 08월 02일 02:08, Matthias Kaehlcke wrote: > Hi Chanwoo, > > On Wed, Aug 01, 2018 at 10:22:16AM +0900, Chanwoo Choi wrote: >> On 2018년 08월 01일 04:39, Matthias Kaehlcke wrote: >>> On Mon, Jul 16, 2018 at 10:50:50AM -0700, Matthias Kaehlcke wrote: >>

Re: [PATCH] extcon: max3355: include mod_devicetable.h

2018-07-11 Thread Chanwoo Choi
extcon/extcon-max3355.c > +++ b/drivers/extcon/extcon-max3355.c > @@ -14,6 +14,7 @@ > #include > #include > #include > +#include > #include > > struct max3355_data { > Applied it. Thanks. -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH] extcon: max3355: include mod_devicetable.h

2018-07-11 Thread Chanwoo Choi
On 2018년 07월 12일 10:30, Chanwoo Choi wrote: > On 2018년 07월 12일 00:50, Arnd Bergmann wrote: >> Another driver turned up that is missing linux/mod_devicetable.h after >> the device IDs are split out from linux/platform_device.h: >> >> drivers/extcon/extcon-max3355.c:12

Re: [PATCH v5 02/12] PM / devfreq: Fix handling of min/max_freq == 0

2018-07-12 Thread Chanwoo Choi
Hi Matthias, On 2018년 07월 07일 01:36, Matthias Kaehlcke wrote: > Hi Chanwoo, > > On Wed, Jul 04, 2018 at 11:20:31AM +0900, Chanwoo Choi wrote: >> Hi Matthias, >> >> On 2018년 07월 04일 08:46, Matthias Kaehlcke wrote: >>> Commit ab8f58ad72c4 ("PM /

Re: [PATCH v5 04/12] PM / devfreq: Add struct devfreq_policy

2018-07-12 Thread Chanwoo Choi
Hi Matthias, On 2018년 07월 07일 02:07, Matthias Kaehlcke wrote: > Hi, > > On Wed, Jul 04, 2018 at 11:51:30AM +0900, Chanwoo Choi wrote: >> Hi, >> >> On 2018년 07월 04일 08:46, Matthias Kaehlcke wrote: >>> Move variables related with devfreq policy changes from

Re: [PATCH v5 05/12] PM / devfreq: Add support for policy notifiers

2018-07-12 Thread Chanwoo Choi
Hi Matthias, On 2018년 07월 07일 02:53, Matthias Kaehlcke wrote: > Hi Chanwoo, > > On Wed, Jul 04, 2018 at 03:41:46PM +0900, Chanwoo Choi wrote: > >> Firstly, >> I'm not sure why devfreq needs the devfreq_verify_within_limits() function. >> >> devfreq alre

Re: [PATCH v5 07/12] PM / devfreq: export devfreq_class

2018-07-12 Thread Chanwoo Choi
Hi Matthias, On 2018년 07월 07일 03:09, Matthias Kaehlcke wrote: > Hi, > > On Wed, Jul 04, 2018 at 02:30:32PM +0900, Chanwoo Choi wrote: > >> I didn't see any framework which exporting the class instance. >> It is very dangerous. Unknown device drivers is able t

Re: [PATCH 3/9] soc: samsung: pmu: Add the PMU data of exynos5433 to support low-power state

2018-01-10 Thread Chanwoo Choi
On 2018년 01월 10일 19:53, Sudeep Holla wrote: > > > On 10/01/18 01:46, Chanwoo Choi wrote: >> On 2018년 01월 09일 23:11, Sudeep Holla wrote: >>> >>> >>> On 09/01/18 07:59, Chanwoo Choi wrote: >>>> This patch adds the PMU (Power Management Uni

Re: [PATCH 3/9] soc: samsung: pmu: Add the PMU data of exynos5433 to support low-power state

2018-01-10 Thread Chanwoo Choi
On 2018년 01월 09일 21:23, Krzysztof Kozlowski wrote: > On Tue, Jan 9, 2018 at 8:59 AM, Chanwoo Choi wrote: >> This patch adds the PMU (Power Management Unit) data of exynos5433 SoC >> in order to support the various power modes. Each power mode has >> the different value f

Re: [RFC PATCH 5/9] soc: samsung: pm: Add support for suspend-to-ram of Exynos5433

2018-01-10 Thread Chanwoo Choi
On 2018년 01월 09일 21:45, Krzysztof Kozlowski wrote: > On Tue, Jan 9, 2018 at 8:59 AM, Chanwoo Choi wrote: >> This patch adds the specific exynos_pm_data instance for Exynos5433 >> in order to support the suspend-to-ram. Exynos5433 SoC need to write >> the 'cpu_resu

Re: [RFC PATCH 4/9] soc: samsung: Add generic power-management driver for Exynos

2018-01-10 Thread Chanwoo Choi
ry it. Best Regards, Chanwoo Choi Samsung Electronics On 2018년 01월 09일 21:37, Krzysztof Kozlowski wrote: > On Tue, Jan 9, 2018 at 8:59 AM, Chanwoo Choi wrote: >> To enter suspend, Exynos SoC requires the some machine dependent procedures. >> This patch introduces the generic power-ma

Re: [PATCH] Revert "extcon: axp288: Redo charger type detection a couple of seconds after probe()"

2018-02-01 Thread Chanwoo Choi
;info->det_work, axp288_extcon_det_work); > > platform_set_drvdata(pdev, info); > > @@ -315,7 +287,7 @@ static int axp288_extcon_probe(struct platform_device > *pdev) > } > > /* Start charger cable type detection */ > - queue_delayed_work(system_wq, &info->det_work, 0); > + axp288_extcon_enable(info); > > return 0; > } > -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH] extcon: int3496: process id-pin first so that we start with the right status

2018-02-01 Thread Chanwoo Choi
> return ret; > } > > - /* queue initial processing of id-pin */ > - queue_delayed_work(system_wq, &data->work, 0); > - > platform_set_drvdata(pdev, data); > > return 0; > Applied it. Thanks. -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH 2/2] extcon: axp288: Only reschedule charger-detection at boot when a SDP is detected

2018-01-16 Thread Chanwoo Choi
On 2018년 01월 16일 18:33, Hans de Goede wrote: > Hi, > > On 16-01-18 00:43, Chanwoo Choi wrote: >> On 2018년 01월 15일 20:32, Hans de Goede wrote: >>> HI, >>> >>> On 15-01-18 10:08, Chanwoo Choi wrote: >>>> On 2018년 01월 15일 17:36, Hans de Goede w

[PATCH 7/9] arm64: dts: exynos: Use power key as a wakeup source on TM2/TM2E board

2018-01-08 Thread Chanwoo Choi
This patch uses the power-key as a wakeup source from suspend/freeze state. Signed-off-by: Chanwoo Choi --- arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi b/arch/arm64/boot/dts

[RFC PATCH 0/9] soc: samsung: Add support of suspend-to-RAM on Exynos5433

2018-01-08 Thread Chanwoo Choi
RAM of cpu is successful. - Exynos5433 SoC has two EXYNOS5433_EINT_WAKEUP_MASKx registers. The pinctr-exynos.c need to handle the extra EINT_WAKEUP_MASKx for Exynos5433. The suspend-to-ram test is failed on first time and then next tryout is ok. I'm developing it. Chanwoo Choi (9)

[PATCH 6/9] arm64: dts: exynos: Add iRAM device-tree node for Exynos5433

2018-01-09 Thread Chanwoo Choi
This patch adds the iRAM device-tree node of Exynos5433 which defines the memory map of iRAM as following and it is used for suspend. - address: 0x0202_ ~ 0x3000_ Signed-off-by: Jonghwa Lee Signed-off-by: Chanwoo Choi --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 14

[RFC PATCH 5/9] soc: samsung: pm: Add support for suspend-to-ram of Exynos5433

2018-01-09 Thread Chanwoo Choi
This patch adds the specific exynos_pm_data instance for Exynos5433 in order to support the suspend-to-ram. Exynos5433 SoC need to write the 'cpu_resume' poiter address and the specific magic number for suspend mode. Signed-off-by: Jonghwa Lee Signed-off-by: Chanwoo Choi --- d

[PATCH 9/9] arm64: dts: exynos: Add cpu topology information for Exynos5433 SoC

2018-01-09 Thread Chanwoo Choi
This patch adds the 'cpu-map' for the cpu topology information of Exynos5433 which has the following two clusters. - cluster0 contains the four LITTLE cores (cpu0-3). - cluster1 contains the four big cores (cpu4-7). Signed-off-by: Chanwoo Choi --- arch/arm64/boot/dts/exynos/exynos5433

[RFC PATCH 4/9] soc: samsung: Add generic power-management driver for Exynos

2018-01-09 Thread Chanwoo Choi
To enter suspend, Exynos SoC requires the some machine dependent procedures. This patch introduces the generic power-management driver to support those requirements and generic interface for power state management. Signed-off-by: Jonghwa Lee Signed-off-by: Chanwoo Choi --- arch/arm/mach-exynos

[PATCH 3/9] soc: samsung: pmu: Add the PMU data of exynos5433 to support low-power state

2018-01-09 Thread Chanwoo Choi
This patch adds the PMU (Power Management Unit) data of exynos5433 SoC in order to support the various power modes. Each power mode has the different value for reducing the power-consumption. Signed-off-by: Jonghwa Lee Signed-off-by: Chanwoo Choi --- arch/arm/mach-exynos/common.h

[PATCH 2/9] soc: samsung: pmu: Add powerup_conf callback

2018-01-09 Thread Chanwoo Choi
This patch adds the powerup_conf callback which is used to re-initialize the PMU registers during the resume state. Signed-off-by: Chanwoo Choi --- drivers/soc/samsung/exynos-pmu.c | 8 drivers/soc/samsung/exynos-pmu.h | 1 + include/linux/soc/samsung/exynos-pmu.h | 1 + 3

[PATCH 8/9] arm64: dts: exynos: Add cpu_suspend property of PSCI for exynos5433

2018-01-09 Thread Chanwoo Choi
uspend' on PSCI v1.0. So, the 'cpu_suspend' of PSCI v0.1 on Exynos5433 is used for both cpuidle and suspend-to-RAM. [1] http://infocenter.arm.com/help/topic/com.arm.doc.den0022d/Power_State_Coordination_Interface_PDD_v1_1_DEN0022D.pdf Signed-off-by: Chanwoo Choi --- arch/arm64/boot/dts/ex

[PATCH 1/9] clk: samsung: exynos5433: Add clock flag to support suspend-to-ram

2018-01-09 Thread Chanwoo Choi
This patch adds the CLK_IS_CRITICAL and CLK_IGNORE_UNUSED flag to some clocks in order to avoid the hang-out in the suspend mode. Signed-off-by: Chanwoo Choi Cc: Tomasz Figa Cc: Michael Turquette Cc: Stephen Boyd Cc: linux-...@vger.kernel.org --- drivers/clk/samsung/clk-exynos5433.c | 22

Re: [PATCH 3/9] soc: samsung: pmu: Add the PMU data of exynos5433 to support low-power state

2018-01-09 Thread Chanwoo Choi
On 2018년 01월 09일 23:11, Sudeep Holla wrote: > > > On 09/01/18 07:59, Chanwoo Choi wrote: >> This patch adds the PMU (Power Management Unit) data of exynos5433 SoC >> in order to support the various power modes. Each power mode has >> the different value for red

Re: [RFC PATCH 0/9] soc: samsung: Add support of suspend-to-RAM on Exynos5433

2018-01-10 Thread Chanwoo Choi
On 2018년 01월 09일 20:56, Krzysztof Kozlowski wrote: > On Tue, Jan 9, 2018 at 8:58 AM, Chanwoo Choi wrote: >> In the mainline, there is no case to support the suspend-to-RAM for Samsung >> Exynos SoC. This patchset support the suspend-to-RAM for 64bit Exynos SoC. >> >&g

Re: [PATCH 1/9] clk: samsung: exynos5433: Add clock flag to support suspend-to-ram

2018-01-10 Thread Chanwoo Choi
On 2018년 01월 09일 20:44, Krzysztof Kozlowski wrote: > On Tue, Jan 9, 2018 at 8:58 AM, Chanwoo Choi wrote: >> This patch adds the CLK_IS_CRITICAL and CLK_IGNORE_UNUSED flag >> to some clocks in order to avoid the hang-out in the suspend mode. >> >> Signed-off-by: Chanw

Re: [PATCH 2/2] extcon: axp288: Only reschedule charger-detection at boot when a SDP is detected

2018-01-14 Thread Chanwoo Choi
cond delayed_work because of dependency of other consumer driver. But, this patch is not proper method. It looks like the workaround. We need to consider the fundamental solution such as using OF graph or sending the pending notification when consumer driver is probed. I don't know what is best solution right now. I'll consider the appropriate method for all extcon provider drivers. -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH 1/2] extcon: axp288: Constify the axp288_pwr_up_down_info array

2018-01-14 Thread Chanwoo Choi
_extcon_log_rsi(struct axp288_extcon_info *info) > { > - char **rsi; > + const char * const *rsi; > unsigned int val, i, clear_mask = 0; > int ret; > > Applied it to v4.17 because I had finished the extcon pull request for v4.16. -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH 2/2] extcon: axp288: Only reschedule charger-detection at boot when a SDP is detected

2018-01-15 Thread Chanwoo Choi
On 2018년 01월 15일 17:36, Hans de Goede wrote: > Hi, > > On 15-01-18 06:22, Chanwoo Choi wrote: >> On 2018년 01월 15일 00:10, Hans de Goede wrote: >>> The only misdetection which can happen at boot due to data-lines mux issues >>> is detecting a non SDP as SDP, so we

Re: [PATCH 2/2] extcon: axp288: Only reschedule charger-detection at boot when a SDP is detected

2018-01-15 Thread Chanwoo Choi
On 2018년 01월 15일 20:32, Hans de Goede wrote: > HI, > > On 15-01-18 10:08, Chanwoo Choi wrote: >> On 2018년 01월 15일 17:36, Hans de Goede wrote: >>> Hi, >>> >>> On 15-01-18 06:22, Chanwoo Choi wrote: >>>> On 2018년 01월 15일 00:10, Hans de Goede

Re: [PATCH v5 0/6] dt-bindings: add bindings for USB physical connector

2018-03-11 Thread Chanwoo Choi
Hi Andrzej and Rob, On 2018년 03월 09일 18:20, Andrzej Hajda wrote: > Hi Chanwoo, > > On 08.03.2018 02:52, Chanwoo Choi wrote: >> Hi Andrzej, Archit, >> >> On 2018년 03월 07일 20:13, Andrzej Hajda wrote: >>> Hi Chanwoo, Archit, >>> >>> On 07.03.20

Re: [PATCH v5 0/6] dt-bindings: add bindings for USB physical connector

2018-03-06 Thread Chanwoo Choi
sztof will merge dts via > samsung-soc tree. > > Is it OK, for all? Better ideas? Krzysztof picked the dts patches. I'll make the immutable branch based on v4.16-rc1 and apply them except for dts patchs. And I'll send the immutable branch to Rob and Andrzej. -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH v5 0/6] dt-bindings: add bindings for USB physical connector

2018-03-06 Thread Chanwoo Choi
On 2018년 03월 07일 11:12, Chanwoo Choi wrote: > Hi Rob and Andrzej, > > On 2018년 03월 06일 21:53, Andrzej Hajda wrote: >> Hi Rob, Chanwoo, Krzysztof, >> >> >> On 27.02.2018 08:11, Andrzej Hajda wrote: >>> Hi, >>> >>> Thanks for reviews

Re: drivers/gpu/drm/bridge/sil-sii8620.c:2405: undefined reference to `extcon_unregister_notifier'

2018-04-06 Thread Chanwoo Choi
1].supply = "iovcc18"; >> 2378 ret = devm_regulator_bulk_get(dev, 2, ctx->supplies); >> 2379 if (ret) >> 2380 return ret; >> 2381 >> 2382 ret = sii8620_extcon_init(ctx); >> 2383 if (ret < 0) { >> 2384 dev_err(ctx->dev, "failed to initialize >> EXTCON\n"); >> 2385 return ret; >> 2386 } >> 2387 >> 2388 i2c_set_clientdata(client, ctx); >> 2389 >> 2390 ctx->bridge.funcs = &sii8620_bridge_funcs; >> 2391 ctx->bridge.of_node = dev->of_node; >> 2392 drm_bridge_add(&ctx->bridge); >> 2393 >> 2394 if (!ctx->extcon) >> 2395 sii8620_cable_in(ctx); >> 2396 >> 2397 return 0; >> 2398 } >> 2399 >> 2400 static int sii8620_remove(struct i2c_client *client) >> 2401 { >> 2402 struct sii8620 *ctx = i2c_get_clientdata(client); >> 2403 >> 2404 if (ctx->extcon) { >>> 2405extcon_unregister_notifier(ctx->extcon, >>> EXTCON_DISP_MHL, >> 2406 &ctx->extcon_nb); >> 2407 flush_work(&ctx->extcon_wq); >> 2408 if (ctx->cable_state > 0) >> 2409 sii8620_cable_out(ctx); >> 2410 } else { >> 2411 sii8620_cable_out(ctx); >> 2412 } >> 2413 drm_bridge_remove(&ctx->bridge); >> 2414 >> 2415 return 0; >> 2416 } >> 2417 >> >> --- >> 0-DAY kernel test infrastructureOpen Source Technology Center >> https://lists.01.org/pipermail/kbuild-all Intel Corporation > > > > -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH] extcon: int3496: use proper GPIO include

2018-04-12 Thread Chanwoo Choi
20,7 @@ > > #include > #include > -#include > +#include > #include > #include > #include > -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH] PM / devfreq: use put_device() instead of kfree()

2018-04-12 Thread Chanwoo Choi
ce(struct device *dev, > mutex_unlock(&devfreq_list_lock); > > device_unregister(&devfreq->dev); > + devfreq = NULL; It is wrong. If you initialize the devfreq as NULL, never free the 'devfreq' instance. > err_dev: > if (devfreq) > kfree(devfreq); > -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH] PM / devfreq: use put_device() instead of kfree()

2018-04-12 Thread Chanwoo Choi
On 2018년 04월 13일 10:03, Chanwoo Choi wrote: > Hi, > > I'm sorry for the late reply. > > On 2018년 03월 30일 20:44, Arvind Yadav wrote: >> Never directly free @dev after calling device_register() or >> device_unregister(), even if device_register() returned an erro

Re: [PATCH] extcon: int3496: use proper GPIO include

2018-04-12 Thread Chanwoo Choi
On 2018년 04월 13일 10:09, Chanwoo Choi wrote: > Hi, > > On 2018년 04월 10일 21:43, Wolfram Sang wrote: >> Since commit eca0f13c836a ("extcon: int3496: Ignore incorrect >> IoRestriction for ID pin"), the driver doesn't use GPIOF_* flags >> anymore. We can thu

Re: [PATCH] PM / devfreq: use put_device() instead of kfree()

2018-04-12 Thread Chanwoo Choi
On 2018년 04월 13일 11:15, arvindY wrote: > Hi Chanwoo, > > On Friday 13 April 2018 06:43 AM, Chanwoo Choi wrote: >> On 2018년 04월 13일 10:03, Chanwoo Choi wrote: >>> Hi, >>> >>> I'm sorry for the late reply. >>> >>> On 2018년 03월 3

Re: [PATCH] PM / devfreq: use put_device() instead of kfree()

2018-04-12 Thread Chanwoo Choi
On 2018년 04월 13일 11:37, arvindY wrote: > > > On Friday 13 April 2018 07:59 AM, Chanwoo Choi wrote: >> On 2018년 04월 13일 11:15, arvindY wrote: >>> Hi Chanwoo, >>> >>> On Friday 13 April 2018 06:43 AM, Chanwoo Choi wrote: >>>> On 2018년 04월 13

[GIT PULL] extcon next for v4.17

2018-03-20 Thread Chanwoo Choi
Dear Greg, This is extcon-next pull request for v4.17. I add detailed description of this pull request on below. Please pull extcon with following updates. Best Regards, Chanwoo Choi The following changes since commit 4a3928c6f8a53fa1aed28ccba227742486e8ddcb: Linux 4.16-rc3 (2018-02-25 18

Re: [PATCH v9 12/12] extcon: axp288: Set USB role where necessary

2018-03-22 Thread Chanwoo Choi
C is only used on X86) > -Use new acpi_dev_get_first_match_name() helper to get the INT3496 device-name > -Add Heikki's Reviewed-by > --- > drivers/extcon/Kconfig | 3 +- > drivers/extcon/extcon-axp288.c | 176 > +++++++-- > 2 files changed, 170 insertions(+), 9 deletions(-) Acked-by: Chanwoo Choi [snip] -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH v5 0/6] dt-bindings: add bindings for USB physical connector

2018-03-07 Thread Chanwoo Choi
Hi Andrzej, Archit, On 2018년 03월 07일 20:13, Andrzej Hajda wrote: > Hi Chanwoo, Archit, > > On 07.03.2018 05:48, Chanwoo Choi wrote: >> On 2018년 03월 07일 11:12, Chanwoo Choi wrote: >>> Hi Rob and Andrzej, >>> >>> On 2018년 03월 06일 21:53, Andrzej Ha

Re: [PATCH 2/6] devfreq: refactor set_target frequency function

2018-11-22 Thread Chanwoo Choi
Hi Lukasz, On 2018년 11월 22일 19:40, Lukasz Luba wrote: > Hi Chanwoo Choi > > On 11/22/18 3:52 AM, Chanwoo Choi wrote: >> On 2018년 11월 22일 03:01, Lukasz Luba wrote: >>> The refactoring is needed for the new client in devfreq: suspend. >>> To avoid code dupl

Re: [PATCH 3/6] devfreq: add support for suspend/resume of a devfreq device

2018-11-22 Thread Chanwoo Choi
Hi Lukasz, I add one more comment about devfreq_resume_device(). On 2018년 11월 22일 20:00, Lukasz Luba wrote: > > > On 11/22/18 3:58 AM, Chanwoo Choi wrote: >> On 2018년 11월 22일 03:01, Lukasz Luba wrote: >>> The patch adds support for handling suspend/resume process. >

Re: [PATCH 3/6] devfreq: add support for suspend/resume of a devfreq device

2018-11-25 Thread Chanwoo Choi
Hi Lukasz, I add the one more comment for devfreq_resume_device() On 2018년 11월 23일 19:01, Lukasz Luba wrote: > Hi Chanwoo Choi, > > On 11/23/18 12:54 AM, Chanwoo Choi wrote: >> Hi Lukasz, >> >> I add one more comment about devfreq_resume_device(). >> >> On

Re: [PATCH 3/3] ARM: dts: Add g3d bus nodes using VDD_INT for Exynos542x SoC

2018-11-25 Thread Chanwoo Choi
g3d bus node using VDD_INI > for Exynos542x SoC. > > - CLK_DOUT_ACLK_G3D for G3D's AXI > > Cc: Chanwoo Choi > Signed-off-by: Anand Moon > --- > arch/arm/boot/dts/exynos5420.dtsi | 57 +-- > arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 5 ++ > 2

Re: [PATCH 1/3] clk: samsung: exynos5420: add VPLL rate table for g3d clock

2018-11-25 Thread Chanwoo Choi
Hi, On 2018년 11월 23일 18:44, Anand Moon wrote: > From: Marian Mihailescu > > A specific clock rate table is added for VPLL so it is possible > to set frequency of the VPLL output clock that used by the g3d clock. > > Cc: Andrzej Hajda > Cc: Chanwoo Choi > Signed-o

Re: [PATCH 4/4] clk: samsung: exynos5433: add imem clock

2018-11-21 Thread Chanwoo Choi
RBG_TX21 > +#define CLK_ACLK_GIC 22 > +#define CLK_ACLK_INT_MEM 23 > +#define CLK_ACLK_XIU_PIMEMX 24 > +#define CLK_ACLK_AXI2APB_IMEM0P 25 > +#define CLK_ACLK_AXI2APB_IMEM1P 26 > +#define CLK_ACLK_ASYNCAXIS_MIF_PIMEMX27 > +#define CLK_ACLK_AXIDS_PIMEMX_GIC28 > +#define CLK_ACLK_AXIDS_PIMEMX_IMEM0P 29 > +#define CLK_ACLK_AXIDS_PIMEMX_IMEM1P 30 > +#define CLK_ACLK_SROMC 31 > +#define CLK_ACLK_AXIDS_SROMC 32 > +#define CLK_ACLK_AXI2AHB_IMEMH 33 > +#define CLK_PCLK_SSS 34 > +#define CLK_PCLK_SLIMSSS 35 > +#define CLK_PCLK_RTIC36 > +#define CLK_PCLK_SYSREG_IMEM 37 > +#define CLK_PCLK_PMU_IMEM38 > +#define CLK_PCLK_ALB_IMEM39 > +#define CLK_PCLK_BTS_SSS_CCI 40 > +#define CLK_PCLK_BTS_SSS_DRAM41 > +#define CLK_PCLK_BTS_SLIMSSS 42 > +#define CLK_PCLK_SMMU_SSS_CCI43 > +#define CLK_PCLK_SMMU_SSS_DRAM 44 > +#define CLK_PCLK_SMMU_SLIMSSS45 > +#define CLK_PCLK_SMMU_RTIC 46 > +#define CLK_PCLK_ASYNCAPB_ARBG_TX47 > +#define CLK_PCLK_BTS_ARBG_TX 48 > +#define CLK_PCLK_SMMU_ARBG_TX49 > +#define CLK_PCLK_ASYNCAXI_IMEMX 50 > +#define CLK_PCLK_GPIO_IMEM 51 > + > +#define IMEM_NR_CLK 52 > + > /* CMU_G2D */ > #define CLK_MUX_ACLK_G2D_266_USER1 > #define CLK_MUX_ACLK_G2D_400_USER2 > -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH 1/6] devfreq: add basic fileds supporting suspend functionality

2018-11-21 Thread Chanwoo Choi
is patch address them keeping in mind suggestions > from Chanwoo Choi. You already explain the patch history on cover letter. It is enough. Please remove the duplicate history description from all patches except for cover letter. > > Suggested-by: Tobias Jakobi > Suggested-by: Chanwoo Cho

Re: [PATCH 2/6] devfreq: refactor set_target frequency function

2018-11-21 Thread Chanwoo Choi
o > solve issue with devfreq device's frequency during suspend/resume. > During the discussion on LKML some corner cases and comments appeared > related to the design. This patch address them keeping in mind suggestions > from Chanwoo Choi. As I commented on patch1, please remove

Re: [PATCH 2/6] devfreq: refactor set_target frequency function

2018-11-21 Thread Chanwoo Choi
On 2018년 11월 22일 11:52, Chanwoo Choi wrote: > On 2018년 11월 22일 03:01, Lukasz Luba wrote: >> The refactoring is needed for the new client in devfreq: suspend. >> To avoid code duplication, move it to the new local function >> devfreq_set_target. >> >> The patch dra

Re: [PATCH 3/6] devfreq: add support for suspend/resume of a devfreq device

2018-11-21 Thread Chanwoo Choi
olve issue with devfreq device's frequency during suspend/resume. > During the discussion on LKML some corner cases and comments appeared > related to the design. This patch address them keeping in mind suggestions > from Chanwoo Choi. Please remove the duplicate information about patc

Re: [PATCH 4/6] devfreq: add devfreq_suspend/resume() functions

2018-11-21 Thread Chanwoo Choi
ith devfreq device's frequency during suspend/resume. > During the discussion on LKML some corner cases and comments appeared > related to the design. This patch address them keeping in mind suggestions > from Chanwoo Choi. Please remove the duplicate information about patch history.

Re: [PATCH 6/6] arm: dts: exynos4: set opp-suspend for DMC and leftbus

2018-11-21 Thread Chanwoo Choi
During the discussion on LKML some corner cases and comments appeared > related to the design. This patch address them keeping in mind suggestions > from Chanwoo Choi. > > Suggested-by: Tobias Jakobi > Suggested-by: Chanwoo Choi > Signed-off-by: Lukasz Luba > --- > arc

Re: [PATCH 5/6] drivers: power: suspend: call devfreq suspend/resume

2018-11-21 Thread Chanwoo Choi
rs ago, who tried to > solve issue with devfreq device's frequency during suspend/resume. > During the discussion on LKML some corner cases and comments appeared > related to the design. This patch address them keeping in mind suggestions > from Chanwoo Choi. Please remove the dupl

Re: [PATCH v2 5/5] clk: samsung: exynos5433: add imem clock

2018-11-29 Thread Chanwoo Choi
10 > +#define CLK_ACLK_SMMU_SSS_DRAM 11 > +#define CLK_ACLK_SMMU_SLIMSSS12 > +#define CLK_ACLK_SMMU_RTIC 13 > +#define CLK_ACLK_IMEMND_266 14 > +#define CLK_ACLK_ALB_IMEM15 > +#define CLK_ACLK_XIU_IMEMX 16 > +#define CLK_ACLK_AXIUS_IMEMX 17 > +#define CLK_ACLK_ASYNCAXI_IMEMX 18 > +#define CLK_ACLK_ARBG_TX 19 > +#define CLK_ACLK_BTS_ARBG_TX 20 > +#define CLK_ACLK_SMMU_ARBG_TX21 > +#define CLK_ACLK_GIC 22 > +#define CLK_ACLK_INT_MEM 23 > +#define CLK_ACLK_XIU_PIMEMX 24 > +#define CLK_ACLK_AXI2APB_IMEM0P 25 > +#define CLK_ACLK_AXI2APB_IMEM1P 26 > +#define CLK_ACLK_ASYNCAXIS_MIF_PIMEMX27 > +#define CLK_ACLK_AXIDS_PIMEMX_GIC28 > +#define CLK_ACLK_AXIDS_PIMEMX_IMEM0P 29 > +#define CLK_ACLK_AXIDS_PIMEMX_IMEM1P 30 > +#define CLK_ACLK_SROMC 31 > +#define CLK_ACLK_AXIDS_SROMC 32 > +#define CLK_ACLK_AXI2AHB_IMEMH 33 > +#define CLK_PCLK_SSS 34 > +#define CLK_PCLK_SLIMSSS 35 > +#define CLK_PCLK_RTIC36 > +#define CLK_PCLK_SYSREG_IMEM 37 > +#define CLK_PCLK_PMU_IMEM38 > +#define CLK_PCLK_ALB_IMEM39 > +#define CLK_PCLK_BTS_SSS_CCI 40 > +#define CLK_PCLK_BTS_SSS_DRAM41 > +#define CLK_PCLK_BTS_SLIMSSS 42 > +#define CLK_PCLK_SMMU_SSS_CCI43 > +#define CLK_PCLK_SMMU_SSS_DRAM 44 > +#define CLK_PCLK_SMMU_SLIMSSS45 > +#define CLK_PCLK_SMMU_RTIC 46 > +#define CLK_PCLK_ASYNCAPB_ARBG_TX47 > +#define CLK_PCLK_BTS_ARBG_TX 48 > +#define CLK_PCLK_SMMU_ARBG_TX49 > +#define CLK_PCLK_ASYNCAXI_IMEMX 50 > +#define CLK_PCLK_GPIO_IMEM 51 > + > +#define IMEM_NR_CLK 52 > + > /* CMU_G2D */ > #define CLK_MUX_ACLK_G2D_266_USER1 > #define CLK_MUX_ACLK_G2D_400_USER2 > -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH 0/4] Fix common issue in MAX* extcon drivers

2018-11-11 Thread Chanwoo Choi
843.c | 18 +++--- > drivers/extcon/extcon-max8997.c | 15 +++++++++-- > 4 files changed, 55 insertions(+), 9 deletions(-) > Applied them. Thanks. -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH] extcon: max8997: Fix lack of path setting in USB device mode

2018-11-13 Thread Chanwoo Choi
= max8997_muic_set_path(info, info->path_usb, attached); > + if (ret < 0) { > + dev_err(info->dev, "failed to update muic register\n"); > + return ret; > } > > switch (usb_type) { > Applied it. Thanks. -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH] rtc: max77686: Fix the returned value in case of error in 'max77686_rtc_read_time()'

2018-11-13 Thread Chanwoo Choi
t: > mutex_unlock(&info->lock); > - return 0; > + return ret; > } > > static int max77686_rtc_set_time(struct device *dev, struct rtc_time *tm) > Reviewed-by: Chanwoo Choi -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH v2 2/5] devfreq: add support for suspend/resume of a devfreq device

2018-12-04 Thread Chanwoo Choi
Hi Lukasz, On 2018년 12월 04일 18:53, Lukasz Luba wrote: > Hi Chanwoo, > > On 12/4/18 7:10 AM, Chanwoo Choi wrote: >> Hi Lukasz, >> >> I add the comment about 'suspend_count'. >> >> On 2018년 12월 04일 14:43, Chanwoo Choi wrote: >>> Hi, &

Re: [PATCH v3 2/5] devfreq: add support for suspend/resume of a devfreq device

2018-12-05 Thread Chanwoo Choi
tions in the drivers code. It uses atomic variables to > make sure no race condition affects the process. > > Suggested-by: Tobias Jakobi > Suggested-by: Chanwoo Choi > Signed-off-by: Lukasz Luba > --- > drivers/devfreq/devfreq.c | 47 >

Re: [PATCH v3 3/5] devfreq: add devfreq_suspend/resume() functions

2018-12-05 Thread Chanwoo Choi
Hi Lukasz, On 2018년 12월 05일 20:05, Lukasz Luba wrote: > This patch adds implementation for global suspend/resume for > devfreq framework. System suspend will next use these functions. > > Suggested-by: Tobias Jakobi > Suggested-by: Chanwoo Choi > Signed-off-by: Lukasz Luba

Re: [PATCH v2 1/5] devfreq: refactor set_target frequency function

2018-12-03 Thread Chanwoo Choi
mmented, Please remove it. You already mentioned it on cover-letter. If you want to contain the contribution history of Tobias, you might better to add 'Signed-off-by' or others. > > Suggested-by: Tobias Jakobi > Suggested-by: Chanwoo Choi > Signed-off-by: Lukasz Luba &g

Re: [PATCH v2 2/5] devfreq: add support for suspend/resume of a devfreq device

2018-12-03 Thread Chanwoo Choi
Hi Lukasz, Looks good to me. But, I add the some comments. If you will fix it, feel free to add my tag: Reviewed-by: Chanwoo choi On 2018년 12월 03일 23:31, Lukasz Luba wrote: > The patch prepares devfreq device for handling suspend/resume > functionality. The new fields will store

Re: [PATCH v2 1/5] devfreq: refactor set_target frequency function

2018-12-03 Thread Chanwoo Choi
Hi, On 2018년 12월 04일 13:39, Chanwoo Choi wrote: > Hi Lukasz, > > On 2018년 12월 03일 23:31, Lukasz Luba wrote: >> The refactoring is needed for the new client in devfreq: suspend. >> To avoid code duplication, move it to the new local function >> devfreq_set_target.

Re: [PATCH v2 2/5] devfreq: add support for suspend/resume of a devfreq device

2018-12-03 Thread Chanwoo Choi
Hi, On 2018년 12월 04일 14:36, Chanwoo Choi wrote: > Hi Lukasz, > > Looks good to me. But, I add the some comments. > If you will fix it, feel free to add my tag: > Reviewed-by: Chanwoo choi Sorry. Fix typo 'choi' to 'Choi' as following. Reviewed-by: Chanwoo

Re: [PATCH v2 2/5] devfreq: add support for suspend/resume of a devfreq device

2018-12-03 Thread Chanwoo Choi
Hi Lukasz, I add the comment about 'suspend_count'. On 2018년 12월 04일 14:43, Chanwoo Choi wrote: > Hi, > > On 2018년 12월 04일 14:36, Chanwoo Choi wrote: >> Hi Lukasz, >> >> Looks good to me. But, I add the some comments. >> If you will fix it, feel free

Re: [PATCH v2 3/5] devfreq: add devfreq_suspend/resume() functions

2018-12-03 Thread Chanwoo Choi
description. > > Suggested-by: Tobias Jakobi > Suggested-by: Chanwoo Choi > Signed-off-by: Lukasz Luba > --- > drivers/devfreq/devfreq.c | 42 ++ > include/linux/devfreq.h | 6 ++ > 2 files changed, 48 insertions(+) > >

Re: [PATCH 01/11] PM / devfreq: Init user limits from OPP limits, not viceversa

2018-05-27 Thread Chanwoo Choi
devfreq->scaling_max_freq) { > mutex_unlock(&devfreq->lock); > err = -EINVAL; > goto err_dev; > } > - devfreq->scaling_max_freq = devfreq->max_freq; > + devfreq->max_freq = devfreq->scaling_max_freq; >

Re: [PATCH 03/11] PM / devfreq: Remove check for df->max_freq == 0 from governors

2018-05-27 Thread Chanwoo Choi
df->max_freq; > return 0; > } > > /* Set MAX if we do not know the initial frequency */ > if (stat->current_frequency == 0) { > - *freq = max; > + *freq = df->max_freq; > return 0; > } > > Reviewed-by: Chanwoo Choi -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH 04/11] PM / devfreq: Remove redundant frequency adjustment from governors

2018-05-27 Thread Chanwoo Choi
&& adjusted_freq < df->min_freq) > - adjusted_freq = df->min_freq; > - > - *freq = adjusted_freq; > - } else { > + if (data->valid) > + *freq = data->user_frequency; > + else > *freq = df->previous_freq; /* No user freq specified yet */ > - } > + > return 0; > } > > Reviewed-by: Chanwoo Choi -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH 02/11] PM / devfreq: Fix handling of min/max_freq == 0

2018-05-27 Thread Chanwoo Choi
goto unlock; > + } > } > > df->max_freq = value; > Actually, min_freq_store() and max_freq_store() are very similar. But, this patch changed the order of conditional statement as following: If there is no special reason, you better to keep the same format for the readability. min_freq_store() if (value) { ... } else { value = df->profile->freq_table[df->profile->max_state - 1]; } max_freq_store() if (!value) { value = df->profile->freq_table[0]; } else { ... -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH 05/11] PM / devfreq: governors: Return device frequency limits instead of user limits

2018-05-27 Thread Chanwoo Choi
->max_freq; > + *freq = df->scaling_max_freq; > return 0; > } > > /* Set MAX if we do not know the initial frequency */ > if (stat->current_frequency == 0) { > - *freq = df->max_freq; > + *freq = df->scaling_max_freq; > return 0; > } > > -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH 09/11] misc: throttler: Add core support for non-thermal throttling

2018-05-28 Thread Chanwoo Choi
evfreq patches separately. Regards, Chanwoo Choi On 2018년 05월 26일 05:30, Matthias Kaehlcke wrote: > The purpose of the throttler is to provide support for non-thermal > throttling. Throttling is triggered by external event, e.g. the > detection of a high battery discharge current, close to t

Re: [RFC PATCH 01/10] devfreq: rockchip-dfi: Move GRF definitions to a common place.

2018-05-14 Thread Chanwoo Choi
9_GRF_H > +#define __SOC_RK3399_GRF_H > + > +/* PMU GRF Registers */ > +#define RK3399_PMUGRF_OS_REG20x308 > +#define RK3399_PMUGRF_DDRTYPE_SHIFT 13 > +#define RK3399_PMUGRF_DDRTYPE_MASK 7 > +#define RK3399_PMUGRF_DDRTYPE_DDR3 3 > +#define RK3399_PMUGRF_DDRTYPE_LPDDR2 5 > +#define RK3399_PMUGRF_DDRTYPE_LPDDR3 6 > +#define RK3399_PMUGRF_DDRTYPE_LPDDR4 7 > + > +#endif > Looks good to me. Acked-by: Chanwoo Choi -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH v4 6/6] devfreq: rk3399_dmc: fix spelling mistakes.

2018-05-14 Thread Chanwoo Choi
t; >> Changes in v3: None >> Changes in v2: None >> >> drivers/devfreq/rk3399_dmc.c | 12 ++-- >> 1 file changed, 6 insertions(+), 6 deletions(-) > > Acked-by: MyungJoo Ham Maybe, when you apply this patch on devfreq.git, you are missing the my reviewed-by tag. -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH] extcon: Release locking when sending the notification of connector state

2018-06-16 Thread Chanwoo Choi
Hi, 2018-06-14 20:33 GMT+09:00 H. Nikolaus Schaller : > >> Am 14.06.2018 um 12:39 schrieb H. Nikolaus Schaller : >> >> Hi Roger and Chanwoo, >> >>> Am 14.06.2018 um 12:18 schrieb Chanwoo Choi : >>> >>> + H. Nikolaus Schaller >>>

Re: [PATCH] devfreq: rk3399_dmc: Fix duplicated opp table on reload.

2018-06-16 Thread Chanwoo Choi
goto err_free_opp; > + } > + > devm_devfreq_register_opp_notifier(dev, data->devfreq); > > data->dev = dev; > platform_set_drvdata(pdev, data); > > + return 0; It looks strange. Because rk3399_dmcfreq_probe() already include 'return 0' when success. What is the base commit of this patch? [snip] Anyway, if probe fail, device driver have to remove registered OPP table. Looks good to me. Reviewed-by: Chanwoo Choi -- Best Regards, Chanwoo Choi Samsung Electronics

Re: [PATCH] PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.

2018-06-16 Thread Chanwoo Choi
ble to find governor for the > device\n", > + __func__); > + err = PTR_ERR(governor); > + goto err_init; > + } > } > > devfreq->governor = governor; > @@ -669

<    1   2   3   4   5   6   7   8   9   10   >