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


Groups > linux.kernel > #1382189

Re: [PATCH] ARM: dts: exynos: Remove unsupported s2mps11 regulator bindings from Exynos5420 boards

From Krzysztof Kozlowski <k.kozlowski@samsung.com>
Newsgroups linux.kernel
Subject Re: [PATCH] ARM: dts: exynos: Remove unsupported s2mps11 regulator bindings from Exynos5420 boards
Date 2016-04-19 07:50 +0200
Message-ID <rpwHT-1JO-1@gated-at.bofh.it> (permalink)
References <rpc6u-1G3-29@gated-at.bofh.it> <rpkGK-q2-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 04/18/2016 06:52 PM, Javier Martinez Canillas wrote:
> Hello Krzysztof,
> 
> On 04/18/2016 03:44 AM, Krzysztof Kozlowski wrote:
>> The bindings like s2mps11,buck6-ramp-enable or s2mps11,buck2-ramp-delay
>> where ignored. They were never parse by s2mps11 regulator driver. Also
>> the values used in these bindings were equal to default reset values of
>> S2MPS11 device. It is safe to remove them.
>>
>> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
>> ---
> 
> The patch looks good to me.
> 
> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>

Thanks.

> 
> On a related note, the s5m8767 regulator driver parses similar DT properties
> ("s5m8767,pmic-buck-ramp-delay", "s5m8767,pmic-buck2-ramp-enable", etc) that
> are not in Documentation/devicetree/bindings/regulator/samsung,s5m8767.txt.
> 
> So those should either be added to the binding doc or removed from the driver
> if are not correct (I don't have documentation for the s5m8767 PMIC but the
> DT properties are not use by any DTS in mainline using the s5m8767 PMIC).

That's the grey area. :) I mean that instead of making these implemented
bindings an interface, they should rather be converted to standard
regulator bindings. However the device is quite old, not used on newer
boards, so there is no interest in improving this. In the same time
removal of this code is not strictly necessary. Its existence does not hurt.

Best regards,
Krzysztof

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


Thread

[PATCH] ARM: dts: exynos: Remove unsupported s2mps11 regulator  bindings from Exynos5420 boards Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-04-18 09:50 +0200
  Re: [PATCH] ARM: dts: exynos: Remove unsupported s2mps11 regulator  bindings from Exynos5420 boards Javier Martinez Canillas <javier@osg.samsung.com> - 2016-04-18 19:00 +0200
    Re: [PATCH] ARM: dts: exynos: Remove unsupported s2mps11 regulator  bindings from Exynos5420 boards Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-04-19 07:50 +0200
      Re: [PATCH] ARM: dts: exynos: Remove unsupported s2mps11 regulator  bindings from Exynos5420 boards Javier Martinez Canillas <javier@osg.samsung.com> - 2016-04-19 22:20 +0200

csiph-web