* [PATCH 0/3] thermal: exynos: Fixes for vtmu-supply regulator handling
@ 2016-02-18 18:19 Javier Martinez Canillas
2016-02-18 18:19 ` [PATCH 1/3] thermal: exynos: List vtmu-supply as optional property in DT binding Javier Martinez Canillas
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Javier Martinez Canillas @ 2016-02-18 18:19 UTC (permalink / raw)
To: linux-kernel
Cc: Javier Martinez Canillas, devicetree, Kukjin Kim,
Krzysztof Kozlowski, linux-pm, Kumar Gala, Ian Campbell,
linux-samsung-soc, Rob Herring, linux-arm-kernel, Pawel Moll,
Zhang Rui, Mark Rutland, Eduardo Valentin, Lukasz Majewski
Hello,
On a recent patch series to build a PMIC chip as a module [0], Krzysztof
asked me to check if all the consumer drivers, using the resources that
this PMIC provides, already support probe deferral.
While investigating that, I noticed that the Exynos TMU didn't do it so
this series fix that bug and other two minor issues that I noticed while
reviewing the driver and its DT binding.
The series are on top of Krzysztof's patches [1,2,3] not because there's
a dependency but to avoid merge conflicts with in-flight patches. Please
let me know if you prefer to use a different base instead.
[0]: https://lkml.org/lkml/2016/2/11/857
[1]: https://patchwork.kernel.org/patch/8345791/
[2]: https://patchwork.kernel.org/patch/8345741/
[3]: https://patchwork.kernel.org/patch/8345701/
Best regards,
Javier
Javier Martinez Canillas (3):
thermal: exynos: List vtmu-supply as optional property in DT binding
thermal: exynos: Use devm_regulator_get_optional() for vtmu
thermal: exynos: Defer probe if vtmu is present but not registered
Documentation/devicetree/bindings/thermal/exynos-thermal.txt | 9 ++++++---
drivers/thermal/samsung/exynos_tmu.c | 4 +++-
2 files changed, 9 insertions(+), 4 deletions(-)
--
2.5.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/3] thermal: exynos: List vtmu-supply as optional property in DT binding
2016-02-18 18:19 [PATCH 0/3] thermal: exynos: Fixes for vtmu-supply regulator handling Javier Martinez Canillas
@ 2016-02-18 18:19 ` Javier Martinez Canillas
2016-02-19 0:26 ` Krzysztof Kozlowski
` (2 more replies)
2016-02-19 4:29 ` [PATCH 0/3] thermal: exynos: Fixes for vtmu-supply regulator handling Andi Shyti
2016-03-08 13:30 ` Javier Martinez Canillas
2 siblings, 3 replies; 9+ messages in thread
From: Javier Martinez Canillas @ 2016-02-18 18:19 UTC (permalink / raw)
To: linux-kernel
Cc: Javier Martinez Canillas, devicetree, Kukjin Kim,
Krzysztof Kozlowski, linux-pm, Kumar Gala, Ian Campbell,
linux-samsung-soc, Rob Herring, linux-arm-kernel, Pawel Moll,
Zhang Rui, Mark Rutland, Eduardo Valentin
The Exynos Thermal Management Unit binding says that the vtmu-supply
is optional but is listed in the required properties section. Add an
optional properties section and move the regulator property there.
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---
Documentation/devicetree/bindings/thermal/exynos-thermal.txt | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/thermal/exynos-thermal.txt b/Documentation/devicetree/bindings/thermal/exynos-thermal.txt
index faa62059b5c5..70b4c16c7ed8 100644
--- a/Documentation/devicetree/bindings/thermal/exynos-thermal.txt
+++ b/Documentation/devicetree/bindings/thermal/exynos-thermal.txt
@@ -41,9 +41,6 @@
for current TMU channel
-- "tmu_sclk" clock for functional operation of the current TMU
channel
-- vtmu-supply: This entry is optional and provides the regulator node supplying
- voltage to TMU. If needed this entry can be placed inside
- board/platform specific dts file.
The Exynos TMU supports generating interrupts when reaching given
temperature thresholds. Number of supported thermal trip points depends
@@ -65,6 +62,12 @@ Following properties are mandatory (depending on SoC):
- samsung,tmu_default_temp_offset: Default temperature offset
- samsung,tmu_cal_type: Callibration type
+** Optional properties:
+
+- vtmu-supply: This entry is optional and provides the regulator node supplying
+ voltage to TMU. If needed this entry can be placed inside
+ board/platform specific dts file.
+
Example 1):
tmu@100C0000 {
--
2.5.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 1/3] thermal: exynos: List vtmu-supply as optional property in DT binding
2016-02-18 18:19 ` [PATCH 1/3] thermal: exynos: List vtmu-supply as optional property in DT binding Javier Martinez Canillas
@ 2016-02-19 0:26 ` Krzysztof Kozlowski
2016-02-23 20:26 ` Rob Herring
2016-03-08 21:07 ` Eduardo Valentin
2 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2016-02-19 0:26 UTC (permalink / raw)
To: Javier Martinez Canillas, linux-kernel
Cc: devicetree, Kukjin Kim, linux-pm, Kumar Gala, Ian Campbell,
linux-samsung-soc, Rob Herring, linux-arm-kernel, Pawel Moll,
Zhang Rui, Mark Rutland, Eduardo Valentin
On 19.02.2016 03:19, Javier Martinez Canillas wrote:
> The Exynos Thermal Management Unit binding says that the vtmu-supply
> is optional but is listed in the required properties section. Add an
> optional properties section and move the regulator property there.
>
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
> ---
>
> Documentation/devicetree/bindings/thermal/exynos-thermal.txt | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/3] thermal: exynos: List vtmu-supply as optional property in DT binding
2016-02-18 18:19 ` [PATCH 1/3] thermal: exynos: List vtmu-supply as optional property in DT binding Javier Martinez Canillas
2016-02-19 0:26 ` Krzysztof Kozlowski
@ 2016-02-23 20:26 ` Rob Herring
2016-03-08 21:07 ` Eduardo Valentin
2 siblings, 0 replies; 9+ messages in thread
From: Rob Herring @ 2016-02-23 20:26 UTC (permalink / raw)
To: Javier Martinez Canillas
Cc: linux-kernel, devicetree, Kukjin Kim, Krzysztof Kozlowski,
linux-pm, Kumar Gala, Ian Campbell, linux-samsung-soc,
linux-arm-kernel, Pawel Moll, Zhang Rui, Mark Rutland,
Eduardo Valentin
On Thu, Feb 18, 2016 at 03:19:09PM -0300, Javier Martinez Canillas wrote:
> The Exynos Thermal Management Unit binding says that the vtmu-supply
> is optional but is listed in the required properties section. Add an
> optional properties section and move the regulator property there.
>
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
> ---
>
> Documentation/devicetree/bindings/thermal/exynos-thermal.txt | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/3] thermal: exynos: List vtmu-supply as optional property in DT binding
2016-02-18 18:19 ` [PATCH 1/3] thermal: exynos: List vtmu-supply as optional property in DT binding Javier Martinez Canillas
2016-02-19 0:26 ` Krzysztof Kozlowski
2016-02-23 20:26 ` Rob Herring
@ 2016-03-08 21:07 ` Eduardo Valentin
2016-03-08 21:30 ` Javier Martinez Canillas
2 siblings, 1 reply; 9+ messages in thread
From: Eduardo Valentin @ 2016-03-08 21:07 UTC (permalink / raw)
To: Javier Martinez Canillas
Cc: linux-kernel, devicetree, Kukjin Kim, Krzysztof Kozlowski,
linux-pm, Kumar Gala, Ian Campbell, linux-samsung-soc,
Rob Herring, linux-arm-kernel, Pawel Moll, Zhang Rui,
Mark Rutland
On Thu, Feb 18, 2016 at 03:19:09PM -0300, Javier Martinez Canillas wrote:
> The Exynos Thermal Management Unit binding says that the vtmu-supply
> is optional but is listed in the required properties section. Add an
> optional properties section and move the regulator property there.
>
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
> ---
>
> Documentation/devicetree/bindings/thermal/exynos-thermal.txt | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/thermal/exynos-thermal.txt b/Documentation/devicetree/bindings/thermal/exynos-thermal.txt
> index faa62059b5c5..70b4c16c7ed8 100644
> --- a/Documentation/devicetree/bindings/thermal/exynos-thermal.txt
> +++ b/Documentation/devicetree/bindings/thermal/exynos-thermal.txt
> @@ -41,9 +41,6 @@
> for current TMU channel
> -- "tmu_sclk" clock for functional operation of the current TMU
> channel
> -- vtmu-supply: This entry is optional and provides the regulator node supplying
> - voltage to TMU. If needed this entry can be placed inside
> - board/platform specific dts file.
>
> The Exynos TMU supports generating interrupts when reaching given
> temperature thresholds. Number of supported thermal trip points depends
Where is this patch based on? I checked it on my fixes and linus
branches, also on linux-next 0308 branch, and none of those apply clean.
Can you please send this based on upstream kernel?
> @@ -65,6 +62,12 @@ Following properties are mandatory (depending on SoC):
> - samsung,tmu_default_temp_offset: Default temperature offset
> - samsung,tmu_cal_type: Callibration type
>
> +** Optional properties:
> +
> +- vtmu-supply: This entry is optional and provides the regulator node supplying
> + voltage to TMU. If needed this entry can be placed inside
> + board/platform specific dts file.
> +
> Example 1):
>
> tmu@100C0000 {
> --
> 2.5.0
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/3] thermal: exynos: List vtmu-supply as optional property in DT binding
2016-03-08 21:07 ` Eduardo Valentin
@ 2016-03-08 21:30 ` Javier Martinez Canillas
2016-03-08 21:51 ` Eduardo Valentin
0 siblings, 1 reply; 9+ messages in thread
From: Javier Martinez Canillas @ 2016-03-08 21:30 UTC (permalink / raw)
To: Eduardo Valentin
Cc: linux-kernel, devicetree, Kukjin Kim, Krzysztof Kozlowski,
linux-pm, Kumar Gala, Ian Campbell, linux-samsung-soc,
Rob Herring, linux-arm-kernel, Pawel Moll, Zhang Rui,
Mark Rutland
Hello Eduardo,
On 03/08/2016 06:07 PM, Eduardo Valentin wrote:
> On Thu, Feb 18, 2016 at 03:19:09PM -0300, Javier Martinez Canillas wrote:
>> The Exynos Thermal Management Unit binding says that the vtmu-supply
>> is optional but is listed in the required properties section. Add an
>> optional properties section and move the regulator property there.
>>
>> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
>> ---
>>
>> Documentation/devicetree/bindings/thermal/exynos-thermal.txt | 9 ++++++---
>> 1 file changed, 6 insertions(+), 3 deletions(-)
>>
>> diff --git a/Documentation/devicetree/bindings/thermal/exynos-thermal.txt b/Documentation/devicetree/bindings/thermal/exynos-thermal.txt
>> index faa62059b5c5..70b4c16c7ed8 100644
>> --- a/Documentation/devicetree/bindings/thermal/exynos-thermal.txt
>> +++ b/Documentation/devicetree/bindings/thermal/exynos-thermal.txt
>> @@ -41,9 +41,6 @@
>> for current TMU channel
>> -- "tmu_sclk" clock for functional operation of the current TMU
>> channel
>> -- vtmu-supply: This entry is optional and provides the regulator node supplying
>> - voltage to TMU. If needed this entry can be placed inside
>> - board/platform specific dts file.
>>
>> The Exynos TMU supports generating interrupts when reaching given
>> temperature thresholds. Number of supported thermal trip points depends
>
> Where is this patch based on? I checked it on my fixes and linus
> branches, also on linux-next 0308 branch, and none of those apply clean.
>
I mentioned in the cover letter [0] that this series were based on top
of in-flight patches from Krzysztof Kozlowski to avoid merge conflicts.
Those have not landed yet either so maybe you could look at those first?
> Can you please send this based on upstream kernel?
>
Ok, my intention was to make picking both patch series easier but if
this is inconvenient to you, I can base on top of current mainline
and let you handle the merge conflicts (or ask Krzysztof to resend
on top of my patches).
[0]: https://lkml.org/lkml/2016/2/18/591
Best regards,
--
Javier Martinez Canillas
Open Source Group
Samsung Research America
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/3] thermal: exynos: List vtmu-supply as optional property in DT binding
2016-03-08 21:30 ` Javier Martinez Canillas
@ 2016-03-08 21:51 ` Eduardo Valentin
0 siblings, 0 replies; 9+ messages in thread
From: Eduardo Valentin @ 2016-03-08 21:51 UTC (permalink / raw)
To: Javier Martinez Canillas
Cc: linux-kernel, devicetree, Kukjin Kim, Krzysztof Kozlowski,
linux-pm, Kumar Gala, Ian Campbell, linux-samsung-soc,
Rob Herring, linux-arm-kernel, Pawel Moll, Zhang Rui,
Mark Rutland
On Tue, Mar 08, 2016 at 06:30:17PM -0300, Javier Martinez Canillas wrote:
> Hello Eduardo,
>
> On 03/08/2016 06:07 PM, Eduardo Valentin wrote:
> > On Thu, Feb 18, 2016 at 03:19:09PM -0300, Javier Martinez Canillas wrote:
> >> The Exynos Thermal Management Unit binding says that the vtmu-supply
> >> is optional but is listed in the required properties section. Add an
> >> optional properties section and move the regulator property there.
> >>
> >> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
> >> ---
> >>
> >> Documentation/devicetree/bindings/thermal/exynos-thermal.txt | 9 ++++++---
> >> 1 file changed, 6 insertions(+), 3 deletions(-)
> >>
> >> diff --git a/Documentation/devicetree/bindings/thermal/exynos-thermal.txt b/Documentation/devicetree/bindings/thermal/exynos-thermal.txt
> >> index faa62059b5c5..70b4c16c7ed8 100644
> >> --- a/Documentation/devicetree/bindings/thermal/exynos-thermal.txt
> >> +++ b/Documentation/devicetree/bindings/thermal/exynos-thermal.txt
> >> @@ -41,9 +41,6 @@
> >> for current TMU channel
> >> -- "tmu_sclk" clock for functional operation of the current TMU
> >> channel
> >> -- vtmu-supply: This entry is optional and provides the regulator node supplying
> >> - voltage to TMU. If needed this entry can be placed inside
> >> - board/platform specific dts file.
> >>
> >> The Exynos TMU supports generating interrupts when reaching given
> >> temperature thresholds. Number of supported thermal trip points depends
> >
> > Where is this patch based on? I checked it on my fixes and linus
> > branches, also on linux-next 0308 branch, and none of those apply clean.
> >
>
> I mentioned in the cover letter [0] that this series were based on top
> of in-flight patches from Krzysztof Kozlowski to avoid merge conflicts.
>
> Those have not landed yet either so maybe you could look at those first?
>
> > Can you please send this based on upstream kernel?
> >
>
> Ok, my intention was to make picking both patch series easier but if
> this is inconvenient to you, I can base on top of current mainline
> and let you handle the merge conflicts (or ask Krzysztof to resend
> on top of my patches).
>
> [0]: https://lkml.org/lkml/2016/2/18/591
Got it. I am checking his patches first then.
>
> Best regards,
> --
> Javier Martinez Canillas
> Open Source Group
> Samsung Research America
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 0/3] thermal: exynos: Fixes for vtmu-supply regulator handling
2016-02-18 18:19 [PATCH 0/3] thermal: exynos: Fixes for vtmu-supply regulator handling Javier Martinez Canillas
2016-02-18 18:19 ` [PATCH 1/3] thermal: exynos: List vtmu-supply as optional property in DT binding Javier Martinez Canillas
@ 2016-02-19 4:29 ` Andi Shyti
2016-03-08 13:30 ` Javier Martinez Canillas
2 siblings, 0 replies; 9+ messages in thread
From: Andi Shyti @ 2016-02-19 4:29 UTC (permalink / raw)
To: Javier Martinez Canillas
Cc: linux-kernel, devicetree, Kukjin Kim, Krzysztof Kozlowski,
linux-pm, Kumar Gala, Ian Campbell, linux-samsung-soc,
Rob Herring, linux-arm-kernel, Pawel Moll, Zhang Rui,
Mark Rutland, Eduardo Valentin, Lukasz Majewski
Hi Javier,
> Javier Martinez Canillas (3):
> thermal: exynos: List vtmu-supply as optional property in DT binding
> thermal: exynos: Use devm_regulator_get_optional() for vtmu
> thermal: exynos: Defer probe if vtmu is present but not registered
>
> Documentation/devicetree/bindings/thermal/exynos-thermal.txt | 9 ++++++---
> drivers/thermal/samsung/exynos_tmu.c | 4 +++-
> 2 files changed, 9 insertions(+), 4 deletions(-)
for all of them:
Reviewed-by: Andi Shyti <andi.shyti@samsung.com>
Andi
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 0/3] thermal: exynos: Fixes for vtmu-supply regulator handling
2016-02-18 18:19 [PATCH 0/3] thermal: exynos: Fixes for vtmu-supply regulator handling Javier Martinez Canillas
2016-02-18 18:19 ` [PATCH 1/3] thermal: exynos: List vtmu-supply as optional property in DT binding Javier Martinez Canillas
2016-02-19 4:29 ` [PATCH 0/3] thermal: exynos: Fixes for vtmu-supply regulator handling Andi Shyti
@ 2016-03-08 13:30 ` Javier Martinez Canillas
2 siblings, 0 replies; 9+ messages in thread
From: Javier Martinez Canillas @ 2016-03-08 13:30 UTC (permalink / raw)
To: linux-kernel
Cc: devicetree, Kukjin Kim, Krzysztof Kozlowski, linux-pm, Kumar Gala,
Ian Campbell, linux-samsung-soc, Rob Herring, linux-arm-kernel,
Pawel Moll, Zhang Rui, Mark Rutland, Eduardo Valentin,
Lukasz Majewski
Hello Lukasz, Eduardo,
On 02/18/2016 03:19 PM, Javier Martinez Canillas wrote:
> Hello,
>
> On a recent patch series to build a PMIC chip as a module [0], Krzysztof
> asked me to check if all the consumer drivers, using the resources that
> this PMIC provides, already support probe deferral.
>
> While investigating that, I noticed that the Exynos TMU didn't do it so
> this series fix that bug and other two minor issues that I noticed while
> reviewing the driver and its DT binding.
>
> The series are on top of Krzysztof's patches [1,2,3] not because there's
> a dependency but to avoid merge conflicts with in-flight patches. Please
> let me know if you prefer to use a different base instead.
>
> [0]: https://lkml.org/lkml/2016/2/11/857
> [1]: https://patchwork.kernel.org/patch/8345791/
> [2]: https://patchwork.kernel.org/patch/8345741/
> [3]: https://patchwork.kernel.org/patch/8345701/
>
> Best regards,
> Javier
>
Any comments about this series?
Best regards,
--
Javier Martinez Canillas
Open Source Group
Samsung Research America
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2016-03-08 21:51 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-18 18:19 [PATCH 0/3] thermal: exynos: Fixes for vtmu-supply regulator handling Javier Martinez Canillas
2016-02-18 18:19 ` [PATCH 1/3] thermal: exynos: List vtmu-supply as optional property in DT binding Javier Martinez Canillas
2016-02-19 0:26 ` Krzysztof Kozlowski
2016-02-23 20:26 ` Rob Herring
2016-03-08 21:07 ` Eduardo Valentin
2016-03-08 21:30 ` Javier Martinez Canillas
2016-03-08 21:51 ` Eduardo Valentin
2016-02-19 4:29 ` [PATCH 0/3] thermal: exynos: Fixes for vtmu-supply regulator handling Andi Shyti
2016-03-08 13:30 ` Javier Martinez Canillas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).