Re: [PATCH v2 4/4] ARM: dts: rockchip: Add internal timer support for rv1108

2018-12-11 Thread Heiko Stuebner
Am Montag, 26. November 2018, 18:35:06 CET schrieb Otavio Salvador:
> Add support for the internal timer peripheral on RV1108.
> 
> Signed-off-by: Otavio Salvador 

applied for 4.21

Thanks
Heiko




Re: [PATCH v2 4/4] ARM: dts: rockchip: Add internal timer support for rv1108

2018-11-26 Thread Otavio Salvador
Hello Heiko,

On Mon, Nov 26, 2018 at 10:29 PM Heiko Stuebner  wrote:
> Am Montag, 26. November 2018, 18:35:06 CET schrieb Otavio Salvador:
> > Add support for the internal timer peripheral on RV1108.
> >
> > Signed-off-by: Otavio Salvador 
> > ---
>
> looks good, but due to the newly added compatible
> I'll let this sit a bit longer to give Rob a chance to add a
> Review-tag or so.

Sure, it is fine. Thanks for your support.

-- 
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854  Mobile: +1 (347) 903-9750


Re: [PATCH v2 4/4] ARM: dts: rockchip: Add internal timer support for rv1108

2018-11-26 Thread Otavio Salvador
Hello Heiko,

On Mon, Nov 26, 2018 at 10:29 PM Heiko Stuebner  wrote:
> Am Montag, 26. November 2018, 18:35:06 CET schrieb Otavio Salvador:
> > Add support for the internal timer peripheral on RV1108.
> >
> > Signed-off-by: Otavio Salvador 
> > ---
>
> looks good, but due to the newly added compatible
> I'll let this sit a bit longer to give Rob a chance to add a
> Review-tag or so.

Sure, it is fine. Thanks for your support.

-- 
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854  Mobile: +1 (347) 903-9750


Re: [PATCH v2 4/4] ARM: dts: rockchip: Add internal timer support for rv1108

2018-11-26 Thread Heiko Stuebner
Am Montag, 26. November 2018, 18:35:06 CET schrieb Otavio Salvador:
> Add support for the internal timer peripheral on RV1108.
> 
> Signed-off-by: Otavio Salvador 
> ---

looks good, but due to the newly added compatible
I'll let this sit a bit longer to give Rob a chance to add a
Review-tag or so.


Heiko


> 
> Changes in v2:
> - add binding to doc
> - fixup commit log
> 
>  .../devicetree/bindings/timer/rockchip,rk-timer.txt   | 1 +
>  arch/arm/boot/dts/rv1108.dtsi | 8 
>  2 files changed, 9 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt 
> b/Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt
> index 16a5f4577a61..d65fdce7c7f0 100644
> --- a/Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt
> +++ b/Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt
> @@ -2,6 +2,7 @@ Rockchip rk timer
>  
>  Required properties:
>  - compatible: should be:
> +  "rockchip,rv1108-timer", "rockchip,rk3288-timer": for Rockchip RV1108
>"rockchip,rk3036-timer", "rockchip,rk3288-timer": for Rockchip RK3036
>"rockchip,rk3066-timer", "rockchip,rk3288-timer": for Rockchip RK3066
>"rockchip,rk3188-timer", "rockchip,rk3288-timer": for Rockchip RK3188
> diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi
> index 23ac4b10d690..9683f3b00d9d 100644
> --- a/arch/arm/boot/dts/rv1108.dtsi
> +++ b/arch/arm/boot/dts/rv1108.dtsi
> @@ -293,6 +293,14 @@
>   };
>   };
>  
> + timer: timer@1035 {
> + compatible = "rockchip,rv1108-timer", "rockchip,rk3288-timer";
> + reg = <0x1035 0x20>;
> + interrupts = ;
> + clocks = <>, < PCLK_TIMER>;
> + clock-names = "timer", "pclk";
> + };
> +
>   watchdog: wdt@1036 {
>   compatible = "snps,dw-wdt";
>   reg = <0x1036 0x100>;
> 






Re: [PATCH v2 4/4] ARM: dts: rockchip: Add internal timer support for rv1108

2018-11-26 Thread Heiko Stuebner
Am Montag, 26. November 2018, 18:35:06 CET schrieb Otavio Salvador:
> Add support for the internal timer peripheral on RV1108.
> 
> Signed-off-by: Otavio Salvador 
> ---

looks good, but due to the newly added compatible
I'll let this sit a bit longer to give Rob a chance to add a
Review-tag or so.


Heiko


> 
> Changes in v2:
> - add binding to doc
> - fixup commit log
> 
>  .../devicetree/bindings/timer/rockchip,rk-timer.txt   | 1 +
>  arch/arm/boot/dts/rv1108.dtsi | 8 
>  2 files changed, 9 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt 
> b/Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt
> index 16a5f4577a61..d65fdce7c7f0 100644
> --- a/Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt
> +++ b/Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt
> @@ -2,6 +2,7 @@ Rockchip rk timer
>  
>  Required properties:
>  - compatible: should be:
> +  "rockchip,rv1108-timer", "rockchip,rk3288-timer": for Rockchip RV1108
>"rockchip,rk3036-timer", "rockchip,rk3288-timer": for Rockchip RK3036
>"rockchip,rk3066-timer", "rockchip,rk3288-timer": for Rockchip RK3066
>"rockchip,rk3188-timer", "rockchip,rk3288-timer": for Rockchip RK3188
> diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi
> index 23ac4b10d690..9683f3b00d9d 100644
> --- a/arch/arm/boot/dts/rv1108.dtsi
> +++ b/arch/arm/boot/dts/rv1108.dtsi
> @@ -293,6 +293,14 @@
>   };
>   };
>  
> + timer: timer@1035 {
> + compatible = "rockchip,rv1108-timer", "rockchip,rk3288-timer";
> + reg = <0x1035 0x20>;
> + interrupts = ;
> + clocks = <>, < PCLK_TIMER>;
> + clock-names = "timer", "pclk";
> + };
> +
>   watchdog: wdt@1036 {
>   compatible = "snps,dw-wdt";
>   reg = <0x1036 0x100>;
> 






[PATCH v2 4/4] ARM: dts: rockchip: Add internal timer support for rv1108

2018-11-26 Thread Otavio Salvador
Add support for the internal timer peripheral on RV1108.

Signed-off-by: Otavio Salvador 
---

Changes in v2:
- add binding to doc
- fixup commit log

 .../devicetree/bindings/timer/rockchip,rk-timer.txt   | 1 +
 arch/arm/boot/dts/rv1108.dtsi | 8 
 2 files changed, 9 insertions(+)

diff --git a/Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt 
b/Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt
index 16a5f4577a61..d65fdce7c7f0 100644
--- a/Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt
+++ b/Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt
@@ -2,6 +2,7 @@ Rockchip rk timer
 
 Required properties:
 - compatible: should be:
+  "rockchip,rv1108-timer", "rockchip,rk3288-timer": for Rockchip RV1108
   "rockchip,rk3036-timer", "rockchip,rk3288-timer": for Rockchip RK3036
   "rockchip,rk3066-timer", "rockchip,rk3288-timer": for Rockchip RK3066
   "rockchip,rk3188-timer", "rockchip,rk3288-timer": for Rockchip RK3188
diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi
index 23ac4b10d690..9683f3b00d9d 100644
--- a/arch/arm/boot/dts/rv1108.dtsi
+++ b/arch/arm/boot/dts/rv1108.dtsi
@@ -293,6 +293,14 @@
};
};
 
+   timer: timer@1035 {
+   compatible = "rockchip,rv1108-timer", "rockchip,rk3288-timer";
+   reg = <0x1035 0x20>;
+   interrupts = ;
+   clocks = <>, < PCLK_TIMER>;
+   clock-names = "timer", "pclk";
+   };
+
watchdog: wdt@1036 {
compatible = "snps,dw-wdt";
reg = <0x1036 0x100>;
-- 
2.19.2



[PATCH v2 4/4] ARM: dts: rockchip: Add internal timer support for rv1108

2018-11-26 Thread Otavio Salvador
Add support for the internal timer peripheral on RV1108.

Signed-off-by: Otavio Salvador 
---

Changes in v2:
- add binding to doc
- fixup commit log

 .../devicetree/bindings/timer/rockchip,rk-timer.txt   | 1 +
 arch/arm/boot/dts/rv1108.dtsi | 8 
 2 files changed, 9 insertions(+)

diff --git a/Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt 
b/Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt
index 16a5f4577a61..d65fdce7c7f0 100644
--- a/Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt
+++ b/Documentation/devicetree/bindings/timer/rockchip,rk-timer.txt
@@ -2,6 +2,7 @@ Rockchip rk timer
 
 Required properties:
 - compatible: should be:
+  "rockchip,rv1108-timer", "rockchip,rk3288-timer": for Rockchip RV1108
   "rockchip,rk3036-timer", "rockchip,rk3288-timer": for Rockchip RK3036
   "rockchip,rk3066-timer", "rockchip,rk3288-timer": for Rockchip RK3066
   "rockchip,rk3188-timer", "rockchip,rk3288-timer": for Rockchip RK3188
diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi
index 23ac4b10d690..9683f3b00d9d 100644
--- a/arch/arm/boot/dts/rv1108.dtsi
+++ b/arch/arm/boot/dts/rv1108.dtsi
@@ -293,6 +293,14 @@
};
};
 
+   timer: timer@1035 {
+   compatible = "rockchip,rv1108-timer", "rockchip,rk3288-timer";
+   reg = <0x1035 0x20>;
+   interrupts = ;
+   clocks = <>, < PCLK_TIMER>;
+   clock-names = "timer", "pclk";
+   };
+
watchdog: wdt@1036 {
compatible = "snps,dw-wdt";
reg = <0x1036 0x100>;
-- 
2.19.2