sii8620_hw_off(ctx);
> + if (ctx->extcon) {
> + extcon_unregister_notifier(ctx->extcon, EXTCON_DISP_MHL,
> +>extcon_nb);
Don't need to unregister the notifier if using devm_extcon_register_notifier().
> + flush_work(>extcon_wq);
> + if (ctx->cable_state > 0)
> + sii8620_cable_out(ctx);
> + } else {
> + sii8620_cable_out(ctx);
> + }
> drm_bridge_remove(>bridge);
>
> return 0;
>
If you use the resource managed function (devm_extcon_register_notifier), Looks
good to me.
Reviewed-by: Chanwoo Choi
--
Best Regards,
Chanwoo Choi
Samsung Electronics
Hi,
On 2018년 02월 27일 16:11, Andrzej Hajda wrote:
> Since extcon property is not allowed in DT, extcon subsystem requires
> another way to get extcon device. Lets try the simplest approach - get
> edev by of_node.
>
> Signed-off-by: Andrzej Hajda <a.ha...@samsung.com>
>
Hi,
On 2018년 02월 27일 16:11, Andrzej Hajda wrote:
> Since extcon property is not allowed in DT, extcon subsystem requires
> another way to get extcon device. Lets try the simplest approach - get
> edev by of_node.
>
> Signed-off-by: Andrzej Hajda
> Acked-by: Chanwoo Choi
&g
PIOF_DIR_IN) {
> - dev_warn(dev, FW_BUG "USB ID GPIO not in input mode, fixing\n");
> - gpiod_direction_input(data->gpio_usb_id);
> }
>
> data->usb_id_irq = gpiod_to_irq(data->gpio_usb_id);
>
--
Best Regards,
Chanwoo Choi
Samsung Electronics
PIO not in input mode, fixing\n");
> - gpiod_direction_input(data->gpio_usb_id);
> }
>
> data->usb_id_irq = gpiod_to_irq(data->gpio_usb_id);
>
--
Best Regards,
Chanwoo Choi
Samsung Electronics
reg = <0x121B 0x1000>;
> + reg = <0x121b 0x1000>;
> interrupts = ;
> clocks = < CLK_PDMA1>;
> clock-names = "apb_pclk";
>
Reviewed-by: Chanwoo Choi <cw00.c...@samsung.com>
--
Best Regards,
Chanwoo Choi
Samsung Electronics
000>;
> + reg = <0x121b 0x1000>;
> interrupts = ;
> clocks = < CLK_PDMA1>;
> clock-names = "apb_pclk";
>
Reviewed-by: Chanwoo Choi
--
Best Regards,
Chanwoo Choi
Samsung Electronics
= <_g2d>;
> };
>
> + ppmu_acp: ppmu_acp@10ae {
> + compatible = "samsung,exynos-ppmu";
> + reg = <0x10ae 0x2000>;
> + status = "disabled";
> +
;_g2d>;
> };
>
> + ppmu_acp: ppmu_acp@10ae {
> + compatible = "samsung,exynos-ppmu";
> + reg = <0x10ae 0x2000>;
> + status = "disabled";
> + };
> +
> ppmu_lcd1: ppmu_lcd1@1224 {
> compatible = "samsung,exynos-ppmu";
> reg = <0x1224 0x2000>;
>
Reviewed-by: Chanwoo Choi
--
Best Regards,
Chanwoo Choi
Samsung Electronics
GPIO_CTLO,
> - CHT_WC_VBUS_GPIO_CTLO_OUTPUT, val);
> + val = CHT_WC_VBUS_GPIO_CTLO_DRV_OD | CHT_WC_VBUS_GPIO_CTLO_DIR_OUT;
> + if (enable)
> + val |= CHT_WC_VBUS_GPIO_CTLO_OUTPUT;
> +
> + ret = regmap_write(ext->regmap, CHT_WC_VBUS_GPIO_CT
_VBUS_GPIO_CTLO_OUTPUT, val);
> + val = CHT_WC_VBUS_GPIO_CTLO_DRV_OD | CHT_WC_VBUS_GPIO_CTLO_DIR_OUT;
> + if (enable)
> + val |= CHT_WC_VBUS_GPIO_CTLO_OUTPUT;
> +
> + ret = regmap_write(ext->regmap, CHT_WC_VBUS_GPIO_CTLO, val);
> if (ret)
> dev_err(ext->dev, "Error writing Vbus GPIO CTLO: %d\n", ret);
> }
>
Applied it to extcon-fixes branch.
--
Best Regards,
Chanwoo Choi
Samsung Electronics
Dear Greg,
This is extcon-fixes pull request for v4.16-rc3. 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 7928b2cbe55b2a410a0f5c1f154610059c57b1b2:
Linux 4.16-rc1 (2018-02-11
Dear Greg,
This is extcon-fixes pull request for v4.16-rc3. 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 7928b2cbe55b2a410a0f5c1f154610059c57b1b2:
Linux 4.16-rc1 (2018-02-11
ocessing of id-pin */
> + /* process id-pin so that we start with the right status */
> queue_delayed_work(system_wq, >work, 0);
> + flush_delayed_work(>work);
>
> platform_set_drvdata(pdev, data);
>
>
Applied it instead of v3.
--
Best Regards,
Chanwoo Choi
Samsung Electronics
process id-pin so that we start with the right status */
> queue_delayed_work(system_wq, >work, 0);
> + flush_delayed_work(>work);
>
> platform_set_drvdata(pdev, data);
>
>
Applied it instead of v3.
--
Best Regards,
Chanwoo Choi
Samsung Electronics
val |= CHT_WC_VBUS_GPIO_CTLO_OUTPUT;
> +
> + ret = regmap_write(ext->regmap, CHT_WC_VBUS_GPIO_CTLO, val);
> if (ret)
> dev_err(ext->dev, "Error writing Vbus GPIO CTLO: %d\n", ret);
> }
>
--
Best Regards,
Chanwoo Choi
Samsung Electronics
UT;
> +
> + ret = regmap_write(ext->regmap, CHT_WC_VBUS_GPIO_CTLO, val);
> if (ret)
> dev_err(ext->dev, "Error writing Vbus GPIO CTLO: %d\n", ret);
> }
>
--
Best Regards,
Chanwoo Choi
Samsung Electronics
return -ENOMEM;
> - }
> +
> edev = info->edev;
> platform_set_drvdata(pdev, info);
>
>
Acked-by: Chanwoo Choi <cw00.c...@samsung.com>
--
Best Regards,
Chanwoo Choi
Samsung Electronics
size, GFP_KERNEL);
> - if (!info->edev) {
> - dev_err(>dev,
> - "failed to allocate memory devfreq-event devices\n");
> + if (!info->edev)
> return -ENOMEM;
> - }
> +
> edev = info->edev;
> platform_set_drvdata(pdev, info);
>
>
Acked-by: Chanwoo Choi
--
Best Regards,
Chanwoo Choi
Samsung Electronics
++--
> 1 file changed, 2 insertions(+), 30 deletions(-)
Applied it.
[snip]
--
Best Regards,
Chanwoo Choi
Samsung Electronics
> 1 file changed, 2 insertions(+), 30 deletions(-)
Applied it.
[snip]
--
Best Regards,
Chanwoo Choi
Samsung Electronics
ter(dev, data->edev);
> if (ret < 0) {
> dev_err(dev, "can't register extcon device: %d\n", ret);
> @@ -153,9 +157,6 @@ static int int3496_probe(struct platform_device *pdev)
> return ret;
> }
>
> - /* queue ini
if (ret < 0) {
> dev_err(dev, "can't register extcon device: %d\n", ret);
> @@ -153,9 +157,6 @@ static int int3496_probe(struct platform_device *pdev)
> return ret;
> }
>
> - /* queue initial processing of id-pin */
> - queue_delayed_work(system_wq, >work, 0);
> -
> platform_set_drvdata(pdev, data);
>
> return 0;
>
Applied it.
--
Best Regards,
Chanwoo Choi
Samsung Electronics
xtcon_log_rsi(struct axp288_extcon_info *info)
> {
> - char **rsi;
> + const char * const *rsi;
> unsigned int val, i, clear_mask = 0;
> int ret;
>
>
Applied it.
--
Best Regards,
Chanwoo Choi
Samsung Electronics
88_extcon_info *info)
> {
> - char **rsi;
> + const char * const *rsi;
> unsigned int val, i, clear_mask = 0;
> int ret;
>
>
Applied it.
--
Best Regards,
Chanwoo Choi
Samsung Electronics
, 1, 3, 0),
> PLL_36XX_RATE(25200U, 84, 1, 3, 0),
> + PLL_36XX_RATE(196608001U, 197, 3, 3, -25690),
> { /* sentinel */ }
> };
Looks good to me.
Acked-by: Chanwoo Choi <cw00.c...@samsung.com>
--
Best Regards,
Chanwoo Choi
Samsung Electronics
),
> PLL_36XX_RATE(25200U, 84, 1, 3, 0),
> + PLL_36XX_RATE(196608001U, 197, 3, 3, -25690),
> { /* sentinel */ }
> };
Looks good to me.
Acked-by: Chanwoo Choi
--
Best Regards,
Chanwoo Choi
Samsung Electronics
Hi Sylwester,
On 2018년 02월 12일 20:45, Sylwester Nawrocki wrote:
> Hi Chanwoo,
>
> On 02/09/2018 08:36 AM, Chanwoo Choi wrote:
>> On 2018년 02월 08일 00:18, Sylwester Nawrocki wrote:
>>> On 02/06/2018 05:06 AM, Chanwoo Choi wrote:
>>>>> dr
Hi Sylwester,
On 2018년 02월 12일 20:45, Sylwester Nawrocki wrote:
> Hi Chanwoo,
>
> On 02/09/2018 08:36 AM, Chanwoo Choi wrote:
>> On 2018년 02월 08일 00:18, Sylwester Nawrocki wrote:
>>> On 02/06/2018 05:06 AM, Chanwoo Choi wrote:
>>>>> dr
On 2018년 02월 06일 17:14, Chanwoo Choi wrote:
> On 2018년 02월 06일 17:10, Hans de Goede wrote:
>> Some other drivers may be waiting for our extcon to show-up (exiting their
>> probe methods with -EPROBE_DEFER until we show up).
>>
>> These drivers will typically get the
On 2018년 02월 06일 17:14, Chanwoo Choi wrote:
> On 2018년 02월 06일 17:10, Hans de Goede wrote:
>> Some other drivers may be waiting for our extcon to show-up (exiting their
>> probe methods with -EPROBE_DEFER until we show up).
>>
>> These drivers will typically get the
>edev))
> - return -ENOMEM;
> -
> ret = devm_extcon_dev_register(dev, data->edev);
> if (ret < 0) {
> dev_err(dev, "can't register extcon device: %d\n", ret);
>
Instead, You better to send v3 after merging your patch[1] and this patch.
[1] extcon: int3496: process id-pin first so that we start with the right status
--
Best Regards,
Chanwoo Choi
Samsung Electronics
return -ENOMEM;
> -
> ret = devm_extcon_dev_register(dev, data->edev);
> if (ret < 0) {
> dev_err(dev, "can't register extcon device: %d\n", ret);
>
Instead, You better to send v3 after merging your patch[1] and this patch.
[1] extcon: int3496: process id-pin first so that we start with the right status
--
Best Regards,
Chanwoo Choi
Samsung Electronics
Hi Sylwester,
On 2018년 02월 08일 00:18, Sylwester Nawrocki wrote:
> Hi Chanwoo,
>
> On 02/06/2018 05:06 AM, Chanwoo Choi wrote:
>>> drivers/clk/samsung/clk-exynos5433.c | 22 +++---
>>> 1 file changed, 11 insertions(+), 11 deletions(-)
>>>
>
Hi Sylwester,
On 2018년 02월 08일 00:18, Sylwester Nawrocki wrote:
> Hi Chanwoo,
>
> On 02/06/2018 05:06 AM, Chanwoo Choi wrote:
>>> drivers/clk/samsung/clk-exynos5433.c | 22 +++---
>>> 1 file changed, 11 insertions(+), 11 deletions(-)
>>>
>
On 2018년 02월 07일 22:04, Sylwester Nawrocki wrote:
> On 02/07/2018 12:24 PM, Chanwoo Choi wrote:
>> Could you share your equation?
>> because your result is a little bit different of my result.
>> - my equation : ((mdiv + kdiv/65535) x 24MHz) / (pdiv x POWER(2,sdiv))
>
>
On 2018년 02월 07일 22:04, Sylwester Nawrocki wrote:
> On 02/07/2018 12:24 PM, Chanwoo Choi wrote:
>> Could you share your equation?
>> because your result is a little bit different of my result.
>> - my equation : ((mdiv + kdiv/65535) x 24MHz) / (pdiv x POWER(2,sdiv))
>
>
On 2018년 02월 07일 19:29, Sylwester Nawrocki wrote:
> On 02/06/2018 03:44 AM, Chanwoo Choi wrote:
>> When I developed the clk-exynos5433.c I referred to the following
>> description.
>> TRM specified that "Samsung recommends only the values
>> between 252MH ~
On 2018년 02월 07일 19:29, Sylwester Nawrocki wrote:
> On 02/06/2018 03:44 AM, Chanwoo Choi wrote:
>> When I developed the clk-exynos5433.c I referred to the following
>> description.
>> TRM specified that "Samsung recommends only the values
>> between 252MH ~
oede <hdego...@redhat.com>
> ---
> drivers/extcon/extcon-intel-int3496.c | 7 ---
> 1 file changed, 4 insertions(+), 3 deletions(-)
Applied it. Thanks.
--
Best Regards,
Chanwoo Choi
Samsung Electronics
Goede
> ---
> drivers/extcon/extcon-intel-int3496.c | 7 ---
> 1 file changed, 4 insertions(+), 3 deletions(-)
Applied it. Thanks.
--
Best Regards,
Chanwoo Choi
Samsung Electronics
K_SCLK_SPDIF, "sclk_spdif", "sclk_spdif_peric",
> ENABLE_SCLK_PERIC, 8, CLK_SET_RATE_PARENT, 0),
> GATE(CLK_SCLK_PCM1, "sclk_pcm1", "sclk_pcm1_peric",
>
If any device driver handles the sclk_ioclk_i2s1_bclk on later,
CLK_IGNORE_UNUSED will be ignored. Looks good to me.
Reviewed-by: Chanwoo Choi <cw00.c...@samsung.com>
--
Best Regards,
Chanwoo Choi
Samsung Electronics
", "sclk_spdif_peric",
> ENABLE_SCLK_PERIC, 8, CLK_SET_RATE_PARENT, 0),
> GATE(CLK_SCLK_PCM1, "sclk_pcm1", "sclk_pcm1_peric",
>
If any device driver handles the sclk_ioclk_i2s1_bclk on later,
CLK_IGNORE_UNUSED will be ignored. Looks good to me.
Reviewed-by: Chanwoo Choi
--
Best Regards,
Chanwoo Choi
Samsung Electronics
samsung_gate_clock top_gate_clks[]
> __initconst = {
> GATE(CLK_SCLK_SLIMBUS, "sclk_slimbus", "mout_sclk_slimbus",
> MUX_ENABLE_TOP_PERIC1, 16, 0, 0),
> GATE(CLK_SCLK_AUDIO1, "sclk_audio1", "div_sclk_audio1",
> - MUX_ENABLE_TOP_PERIC1, 4, 0, 0),
> + MUX_ENABLE_TOP_PERIC1, 4, CLK_SET_RATE_PARENT, 0),
> GATE(CLK_SCLK_AUDIO0, "sclk_audio0", "div_sclk_audio0",
> MUX_ENABLE_TOP_PERIC1, 0, 0, 0),
> };
>
--
Best Regards,
Chanwoo Choi
Samsung Electronics
g_gate_clock top_gate_clks[]
> __initconst = {
> GATE(CLK_SCLK_SLIMBUS, "sclk_slimbus", "mout_sclk_slimbus",
> MUX_ENABLE_TOP_PERIC1, 16, 0, 0),
> GATE(CLK_SCLK_AUDIO1, "sclk_audio1", "div_sclk_audio1",
> - MUX_ENABLE_TOP_PERIC1, 4, 0, 0),
> + MUX_ENABLE_TOP_PERIC1, 4, CLK_SET_RATE_PARENT, 0),
> GATE(CLK_SCLK_AUDIO0, "sclk_audio0", "div_sclk_audio0",
> MUX_ENABLE_TOP_PERIC1, 0, 0, 0),
> };
>
--
Best Regards,
Chanwoo Choi
Samsung Electronics
36XX_RATE(131072006U, 131, 3, 3, 4719),
> + PLL_36XX_RATE(1U, 200, 3, 4, 0),
> + PLL_36XX_RATE(65536003U, 131, 3, 4, 4719),
> + PLL_36XX_RATE(49152000U, 197, 3, 5, -25690),
> + PLL_36XX_RATE(32768001U, 131, 3, 5, 4719),
> { /* sentinel */ }
> };
>
> --
> 2.14.2
>
>
>
--
Best Regards,
Chanwoo Choi
Samsung Electronics
72006U, 131, 3, 3, 4719),
> + PLL_36XX_RATE(1U, 200, 3, 4, 0),
> + PLL_36XX_RATE(65536003U, 131, 3, 4, 4719),
> + PLL_36XX_RATE(49152000U, 197, 3, 5, -25690),
> + PLL_36XX_RATE(32768001U, 131, 3, 5, 4719),
> { /* sentinel */ }
> };
>
> --
> 2.14.2
>
>
>
--
Best Regards,
Chanwoo Choi
Samsung Electronics
NTAINERS b/MAINTAINERS
> index aa71ab52fd76..502442dc08eb 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -12001,6 +12001,7 @@ M:Tomasz Figa <tomasz.f...@gmail.com>
> M: Chanwoo Choi <cw00.c...@samsung.com>
> S: Supported
> L: linux-samsung-...@
ERS
> index aa71ab52fd76..502442dc08eb 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -12001,6 +12001,7 @@ M: Tomasz Figa
> M: Chanwoo Choi
> S: Supported
> L: linux-samsung-...@vger.kernel.org (moderated for non-subscribers)
> +T: git git://git.kernel.org/pub/scm/li
On 2018년 02월 02일 17:10, Hans de Goede wrote:
> Hi,
>
> On 02-02-18 01:32, Chanwoo Choi wrote:
>> On 2018년 01월 26일 04:39, Hans de Goede wrote:
>>> Some other drivers may be waiting for our extcon to show-up (exiting their
>>> probe methods wi
On 2018년 02월 02일 17:10, Hans de Goede wrote:
> Hi,
>
> On 02-02-18 01:32, Chanwoo Choi wrote:
>> On 2018년 01월 26일 04:39, Hans de Goede wrote:
>>> Some other drivers may be waiting for our extcon to show-up (exiting their
>>> probe methods wi
ev)
> return ret;
> }
>
> - /* queue initial processing of id-pin */
> - queue_delayed_work(system_wq, >work, 0);
> -
> platform_set_drvdata(pdev, data);
>
> return 0;
>
Looks good to me.
How about adding the 'Fixes' commit i
urn ret;
> }
>
> - /* queue initial processing of id-pin */
> - queue_delayed_work(system_wq, >work, 0);
> -
> platform_set_drvdata(pdev, data);
>
> return 0;
>
Looks good to me.
How about adding the 'Fixes' commit id on patch description?
I think that your revert patch of axp288 and this patch
should be included in extcon-fixes branch.
--
Best Regards,
Chanwoo Choi
Samsung Electronics
Hi,
On 2018년 02월 02일 08:48, Hans de Goede wrote:
> Hi,
>
> On 01-02-18 22:22, Chanwoo Choi wrote:
>> Hi Hans,
>>
>> Why don't modify the extcon-axp288.c after revert it?
>
> Fixing the axp288 extcon code properly requires usb-role-switch support
> which
Hi,
On 2018년 02월 02일 08:48, Hans de Goede wrote:
> Hi,
>
> On 01-02-18 22:22, Chanwoo Choi wrote:
>> Hi Hans,
>>
>> Why don't modify the extcon-axp288.c after revert it?
>
> Fixing the axp288 extcon code properly requires usb-role-switch support
> which
ev)
> return ret;
> }
>
> - /* queue initial processing of id-pin */
> - queue_delayed_work(system_wq, >work, 0);
> -
> platform_set_drvdata(pdev, data);
>
> return 0;
>
Applied it. Thanks.
--
Best Regards,
Chanwoo Choi
Samsung Electronics
urn ret;
> }
>
> - /* queue initial processing of id-pin */
> - queue_delayed_work(system_wq, >work, 0);
> -
> platform_set_drvdata(pdev, data);
>
> return 0;
>
Applied it. Thanks.
--
Best Regards,
Chanwoo Choi
Samsung Electronics
info->previous_cable = EXTCON_NONE;
> - INIT_DELAYED_WORK(>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, >det_work, 0);
> + axp288_extcon_enable(info);
>
> return 0;
> }
>
--
Best Regards,
Chanwoo Choi
Samsung Electronics
_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, >det_work, 0);
> + axp288_extcon_enable(info);
>
> return 0;
> }
>
--
Best Regards,
Chanwoo Choi
Samsung Electronics
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
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
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 Goe
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 Goe
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 w
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 w
*/
> static void axp288_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
_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
second 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
cause 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
,
Chanwoo Choi
Samsung Electronics
On 2018년 01월 09일 21:37, Krzysztof Kozlowski wrote:
> On Tue, Jan 9, 2018 at 8:59 AM, Chanwoo Choi <cw00.c...@samsung.com> wrote:
>> To enter suspend, Exynos SoC requires the some machine dependent procedures.
>> This patch introduces the generic po
,
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-management driver to s
On 2018년 01월 09일 21:45, Krzysztof Kozlowski wrote:
> On Tue, Jan 9, 2018 at 8:59 AM, Chanwoo Choi <cw00.c...@samsung.com> 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
>&
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_r
On 2018년 01월 09일 21:23, Krzysztof Kozlowski wrote:
> On Tue, Jan 9, 2018 at 8:59 AM, Chanwoo Choi <cw00.c...@samsung.com> 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
&
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
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
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
On 2018년 01월 09일 20:44, Krzysztof Kozlowski wrote:
> On Tue, Jan 9, 2018 at 8:58 AM, Chanwoo Choi <cw00.c...@samsung.com> 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.
>>
>
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
On 2018년 01월 09일 20:56, Krzysztof Kozlowski wrote:
> On Tue, Jan 9, 2018 at 8:58 AM, Chanwoo Choi <cw00.c...@samsung.com> 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
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
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
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
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 <cw00.c...@samsung.com>
Cc: Tomasz Figa <tomasz.f...@gmail.com>
Cc: Michael Turquette <mturque...@baylibre.com>
Cc
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
, 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 <cw00.c...@samsung.com>
---
arch/arm64/boot/dts/exynos/exynos5433.dt
, 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/exynos/exynos5433.dtsi | 1 +
1 file changed, 1
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 <cw00.c...@samsung.com>
---
drivers/soc/samsung/exynos-pmu.c | 8
drivers/soc/samsung/exynos-pmu.h | 1 +
include/linux/soc/s
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
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 <jonghwa3@samsung.com>
Signed-off-by: Chanwo
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
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 <cw00.c...@samsung.com>
---
arch/arm64/bo
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 <jonghwa3@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.c...@sa
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.dtsi | 32
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
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 <jonghwa3@samsung.com>
Signed-off-by: C
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
---
drivers/soc
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 <jonghwa3@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.c...@samsung.com>
---
arc
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
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):
clk: samsung: exynos5433: Add clock flag to support
901 - 1000 of 7212 matches
Mail list logo