devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Fix a trivial typo and support rk3228/rk3399 SoCs for thermal driver.
@ 2015-11-25  7:59 Caesar Wang
  2015-11-25  7:59 ` [PATCH 3/5] dt-bindings: rockchip-thermal: Support the RK3228/RK3399 SoCs compatible Caesar Wang
  0 siblings, 1 reply; 5+ messages in thread
From: Caesar Wang @ 2015-11-25  7:59 UTC (permalink / raw)
  To: Eduardo Valentin
  Cc: linux-rockchip, Heiko Stuebner, Dan Carpenter, Caesar Wang,
	devicetree, linux-pm, linux-kernel, Kumar Gala, Ian Campbell,
	Jiri Kosina, Pawel Moll, Zhang Rui, Mark Rutland, Rob Herring,
	linux-arm-kernel

This series pacthes to support the next soc for this thermal driver.
I don't have add the dts thermal data since these SoCs have *_not_* land
in this mailline. I believe these SoCs dts will land in this mainline,
then add the thermal data for Heiko.

This series patches can apply into Eduardo branch.
git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal.git

Also, this series pacthes have build on github branch.
https://github.com/rockchip-linux/kernel/commits/develop4.4

PATCH[1/5]:
That's bit ugly typo, sorry for sending again :(.

PATCH[2/5]:
To fix a build warning came from Dan Carpenter report smatch check,
Thanks. :)

PATCH[3/5]:
Add the rk3228/rk339 SoCs compatible for dt-bindings.

PATCH[4/5]:
Add the rk3228 SoCs for thermal driver.

PATCH[5/5]:
Add the rk3399 SoCs for thermal driver.



Caesar Wang (5):
  thermal: rockchip: fix a trivial typo
  thermal: rockchip: fix a impossible condition caused by the warning
  dt-bindings: rockchip-thermal: Support the RK3228/RK3399 SoCs
    compatible
  thermal: rockchip: Support the RK3228 SoCs in thermal driver
  thermal: rockchip: Support the RK3399 SoCs in thermal driver

 .../bindings/thermal/rockchip-thermal.txt          |   2 +
 drivers/thermal/rockchip_thermal.c                 | 159 ++++++++++++++++++++-
 2 files changed, 155 insertions(+), 6 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 3/5] dt-bindings: rockchip-thermal: Support the RK3228/RK3399 SoCs compatible
  2015-11-25  7:59 [PATCH 0/5] Fix a trivial typo and support rk3228/rk3399 SoCs for thermal driver Caesar Wang
@ 2015-11-25  7:59 ` Caesar Wang
       [not found]   ` <1448438377-29203-4-git-send-email-wxt-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
  2015-11-25 20:05   ` Rob Herring
  0 siblings, 2 replies; 5+ messages in thread
From: Caesar Wang @ 2015-11-25  7:59 UTC (permalink / raw)
  To: Eduardo Valentin
  Cc: linux-rockchip, Heiko Stuebner, Dan Carpenter, Caesar Wang,
	devicetree, linux-pm, Kumar Gala, linux-kernel, Ian Campbell,
	Rob Herring, linux-arm-kernel, Pawel Moll, Zhang Rui,
	Mark Rutland

This patchset attempts to new compatible for thermal founding
on RK3228/RK3399 SoCs.

Signed-off-by: Caesar Wang <wxt@rock-chips.com>
---

 Documentation/devicetree/bindings/thermal/rockchip-thermal.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt b/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt
index 0dfa60d..af5f802 100644
--- a/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt
+++ b/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt
@@ -2,8 +2,10 @@
 
 Required properties:
 - compatible : should be "rockchip,<name>-tsadc"
+   "rockchip,rk3228-tsadc": found on RK3228 SoCs
    "rockchip,rk3288-tsadc": found on RK3288 SoCs
    "rockchip,rk3368-tsadc": found on RK3368 SoCs
+   "rockchip,rk3368-tsadc": found on RK3399 SoCs
 - reg : physical base address of the controller and length of memory mapped
 	region.
 - interrupts : The interrupt number to the cpu. The interrupt specifier format
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 3/5] dt-bindings: rockchip-thermal: Support the RK3228/RK3399 SoCs compatible
       [not found]   ` <1448438377-29203-4-git-send-email-wxt-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
@ 2015-11-25 14:56     ` Heiko Stübner
  2015-11-26  2:57       ` Caesar Wang
  0 siblings, 1 reply; 5+ messages in thread
From: Heiko Stübner @ 2015-11-25 14:56 UTC (permalink / raw)
  To: Caesar Wang
  Cc: Eduardo Valentin, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	Dan Carpenter, devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-pm-u79uwXL29TY76Z2rM5mHXA, Kumar Gala,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Ian Campbell, Rob Herring,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Pawel Moll,
	Zhang Rui, Mark Rutland

Am Mittwoch, 25. November 2015, 15:59:35 schrieb Caesar Wang:
> This patchset attempts to new compatible for thermal founding
> on RK3228/RK3399 SoCs.
> 
> Signed-off-by: Caesar Wang <wxt-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
> ---
> 
>  Documentation/devicetree/bindings/thermal/rockchip-thermal.txt | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt
> b/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt index
> 0dfa60d..af5f802 100644
> --- a/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt
> +++ b/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt
> @@ -2,8 +2,10 @@
> 
>  Required properties:
>  - compatible : should be "rockchip,<name>-tsadc"
> +   "rockchip,rk3228-tsadc": found on RK3228 SoCs
>     "rockchip,rk3288-tsadc": found on RK3288 SoCs
>     "rockchip,rk3368-tsadc": found on RK3368 SoCs
> +   "rockchip,rk3368-tsadc": found on RK3399 SoCs

copy'n'paste error, should proably be 
 "rockchip,rk3399-tsadc": found on RK3399 SoCs

>  - reg : physical base address of the controller and length of memory mapped
> region.
>  - interrupts : The interrupt number to the cpu. The interrupt specifier
> format

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 3/5] dt-bindings: rockchip-thermal: Support the RK3228/RK3399 SoCs compatible
  2015-11-25  7:59 ` [PATCH 3/5] dt-bindings: rockchip-thermal: Support the RK3228/RK3399 SoCs compatible Caesar Wang
       [not found]   ` <1448438377-29203-4-git-send-email-wxt-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
@ 2015-11-25 20:05   ` Rob Herring
  1 sibling, 0 replies; 5+ messages in thread
From: Rob Herring @ 2015-11-25 20:05 UTC (permalink / raw)
  To: Caesar Wang
  Cc: Eduardo Valentin, linux-rockchip, Heiko Stuebner, Dan Carpenter,
	devicetree, linux-pm, Kumar Gala, linux-kernel, Ian Campbell,
	linux-arm-kernel, Pawel Moll, Zhang Rui, Mark Rutland

On Wed, Nov 25, 2015 at 03:59:35PM +0800, Caesar Wang wrote:
> This patchset attempts to new compatible for thermal founding
> on RK3228/RK3399 SoCs.
> 
> Signed-off-by: Caesar Wang <wxt@rock-chips.com>

Acked-by: Rob Herring <robh@kernel.org>

> ---
> 
>  Documentation/devicetree/bindings/thermal/rockchip-thermal.txt | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt b/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt
> index 0dfa60d..af5f802 100644
> --- a/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt
> +++ b/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt
> @@ -2,8 +2,10 @@
>  
>  Required properties:
>  - compatible : should be "rockchip,<name>-tsadc"
> +   "rockchip,rk3228-tsadc": found on RK3228 SoCs
>     "rockchip,rk3288-tsadc": found on RK3288 SoCs
>     "rockchip,rk3368-tsadc": found on RK3368 SoCs
> +   "rockchip,rk3368-tsadc": found on RK3399 SoCs
>  - reg : physical base address of the controller and length of memory mapped
>  	region.
>  - interrupts : The interrupt number to the cpu. The interrupt specifier format
> -- 
> 1.9.1
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 3/5] dt-bindings: rockchip-thermal: Support the RK3228/RK3399 SoCs compatible
  2015-11-25 14:56     ` Heiko Stübner
@ 2015-11-26  2:57       ` Caesar Wang
  0 siblings, 0 replies; 5+ messages in thread
From: Caesar Wang @ 2015-11-26  2:57 UTC (permalink / raw)
  To: Heiko Stübner
  Cc: Eduardo Valentin, linux-rockchip, Dan Carpenter, devicetree,
	linux-pm, Kumar Gala, linux-kernel, Ian Campbell, Rob Herring,
	linux-arm-kernel, Pawel Moll, Zhang Rui, Mark Rutland



在 2015年11月25日 22:56, Heiko Stübner 写道:
> Am Mittwoch, 25. November 2015, 15:59:35 schrieb Caesar Wang:
>> This patchset attempts to new compatible for thermal founding
>> on RK3228/RK3399 SoCs.
>>
>> Signed-off-by: Caesar Wang <wxt@rock-chips.com>
>> ---
>>
>>   Documentation/devicetree/bindings/thermal/rockchip-thermal.txt | 2 ++
>>   1 file changed, 2 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt
>> b/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt index
>> 0dfa60d..af5f802 100644
>> --- a/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt
>> +++ b/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt
>> @@ -2,8 +2,10 @@
>>
>>   Required properties:
>>   - compatible : should be "rockchip,<name>-tsadc"
>> +   "rockchip,rk3228-tsadc": found on RK3228 SoCs
>>      "rockchip,rk3288-tsadc": found on RK3288 SoCs
>>      "rockchip,rk3368-tsadc": found on RK3368 SoCs
>> +   "rockchip,rk3368-tsadc": found on RK3399 SoCs
> copy'n'paste error, should proably be
>   "rockchip,rk3399-tsadc": found on RK3399 SoCs

Fixed in next version, thanks!
>>   - reg : physical base address of the controller and length of memory mapped
>> region.
>>   - interrupts : The interrupt number to the cpu. The interrupt specifier
>> format
>
>
>

-- 
caesar wang | software engineer | wxt@rock-chip.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-11-26  2:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-25  7:59 [PATCH 0/5] Fix a trivial typo and support rk3228/rk3399 SoCs for thermal driver Caesar Wang
2015-11-25  7:59 ` [PATCH 3/5] dt-bindings: rockchip-thermal: Support the RK3228/RK3399 SoCs compatible Caesar Wang
     [not found]   ` <1448438377-29203-4-git-send-email-wxt-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2015-11-25 14:56     ` Heiko Stübner
2015-11-26  2:57       ` Caesar Wang
2015-11-25 20:05   ` Rob Herring

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).