Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1336647

Re: [PATCH 2/4] mfd: max77686: Use module_i2c_driver() instead of subsys initcall

From Javier Martinez Canillas <javier@osg.samsung.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/4] mfd: max77686: Use module_i2c_driver() instead of subsys initcall
Date 2016-02-17 19:40 +0100
Message-ID <r3fb5-1S3-43@gated-at.bofh.it> (permalink)
References (2 earlier) <r2liy-5Ku-1@gated-at.bofh.it> <r2tg6-2PB-27@gated-at.bofh.it> <r2AKC-7Tu-1@gated-at.bofh.it> <r2UJj-4va-19@gated-at.bofh.it> <r3522-3dd-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello Krzysztof,

On 02/17/2016 04:49 AM, Krzysztof Kozlowski wrote:
> On 17.02.2016 05:45, Javier Martinez Canillas wrote:

[snip]

>>>
>>> By "please check" in this case I mean - look if every regulator/clock
>>> consumer using stuff exposed by PMIC, supports properly deferred probing.
>>>
>>
>> Got it, I checked and all but one consumer driver that use resources
>> provided by the max77686 defer probe when this is not found AFAICT.
>>
>> Clocks:
>>
>> drivers/mmc/core/pwrseq_simple.c
>> drivers/rtc/rtc-s3c.c
>>
>> Regulators:
>>
>> drivers/cpufreq/cpufreq-dt.c
>> drivers/gpu/drm/exynos/exynos_drm_dsi.c
>> drivers/gpu/drm/exynos/exynos_hdmi.c
>> drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c
>> drivers/iio/adc/exynos_adc.c
>> drivers/input/misc/max77693-haptic.c
>> drivers/input/touchscreen/mms114.c
>> drivers/media/i2c/s5c73m3/s5c73m3-core.c
>> drivers/media/i2c/s5k6a3.c
>> drivers/media/platform/exynos4-is/mipi-csis.c
>> drivers/mfd/wm8994-core.c
>> drivers/mmc/host/dw_mmc.c
>> drivers/mmc/host/sdhci.c
>> drivers/usb/dwc2/platform.c
>>
>> The only driver that does not defer probe when an input supply
>> isn't found is drivers/thermal/samsung/exynos_tmu.c (vtmu-supply).
>>
>> So that should be handled before this series are merged.
>
> Thanks for the analysis. Indeed the exynos_tmu does not support probe
> deferral. Instead it just ignores the error and skips the regulator. It
> would be good to fix this before applying this patch.
>

Ok. I'll take care of that, probably tomorrow.
  
> Rest looks indeed good so I don't have objections (beside tmu case).
>

Thanks a lot for your feedback and suggestions.

> Best regards,
> Krzysztof
> --

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 2/4] mfd: max77686: Use module_i2c_driver() instead of subsys initcall Javier Martinez Canillas <javier@osg.samsung.com> - 2016-02-12 05:40 +0100
  Re: [PATCH 2/4] mfd: max77686: Use module_i2c_driver() instead of  subsys initcall Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-02-15 08:00 +0100
    Re: [PATCH 2/4] mfd: max77686: Use module_i2c_driver() instead of  subsys initcall Lee Jones <lee.jones@linaro.org> - 2016-02-15 09:30 +0100
    Re: [PATCH 2/4] mfd: max77686: Use module_i2c_driver() instead of  subsys initcall Javier Martinez Canillas <javier@osg.samsung.com> - 2016-02-15 16:30 +0100
      Re: [PATCH 2/4] mfd: max77686: Use module_i2c_driver() instead of  subsys initcall Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-02-16 00:30 +0100
        Re: [PATCH 2/4] mfd: max77686: Use module_i2c_driver() instead of  subsys initcall Javier Martinez Canillas <javier@osg.samsung.com> - 2016-02-16 21:50 +0100
          Re: [PATCH 2/4] mfd: max77686: Use module_i2c_driver() instead of  subsys initcall Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-02-17 08:50 +0100
            Re: [PATCH 2/4] mfd: max77686: Use module_i2c_driver() instead of  subsys initcall Javier Martinez Canillas <javier@osg.samsung.com> - 2016-02-17 19:40 +0100
        Re: [PATCH 2/4] mfd: max77686: Use module_i2c_driver() instead of  subsys initcall Marek Szyprowski <m.szyprowski@samsung.com> - 2016-02-17 10:30 +0100
          Re: [PATCH 2/4] mfd: max77686: Use module_i2c_driver() instead of  subsys initcall Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-02-17 10:40 +0100

csiph-web