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


Groups > linux.kernel > #1565104

Re: [PATCH v4 2/9] ARM: dts: rockchip: update compatible property for rk3228 timer

From Alexander Kochetkov <al.kochet@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v4 2/9] ARM: dts: rockchip: update compatible property for rk3228 timer
Date 2017-01-23 17:20 +0100
Message-ID <t2PvA-cN-41@gated-at.bofh.it> (permalink)
References <sIvg5-3iM-5@gated-at.bofh.it> <sITip-2kT-3@gated-at.bofh.it> <sITip-2kT-19@gated-at.bofh.it> <t2P2z-8f3-51@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello Daniel!

:
> +
> +&timer {
> +	compatible = "rockchip,rk3228-timer", "rockchip,rk3288-timer";
> +};

> 23 янв. 2017 г., в 18:40, Daniel Lezcano <daniel.lezcano@linaro.org> написал(а):
> 
> I'm not sure this is correct, to which timer &timer will refer ?
> 
>        timer {
>                compatible = "arm,armv7-timer";
> 		...
> 	}
> 
>        timer: timer@110c0000 {
>                compatible = "rockchip,rk3288-timer";
> 		...
> 	}

The block '&timer { …}' change compatible string for 'timer: timer@110c0000’ timer'. It refers to it using ’timer:’ label.
'arm,armv7-timer’ has ’timer’ node name without label and cannot be addressed in underline dts files.

> Why not change the compatible string in the timer definition in rk322x.dtsi ?

Initially my patch series was for rk3188 only. I declared rk3188 timer using rk3228 compatible string[1].
Heiko reviewed the series and suggest[2] to use another ‘compatible=‘ binding for rk3188. And
suggest[3] to update rockchip,rk-timer.txt bindings, like mmc/rockchip-dw-mshc.txt does.
So I updated rockchip,rk-timer.txt. rk322x family has has two parts rk3228 and rk3229. So I replaced
rk322x to rk3228 and rk3229 and updated dts file to match bindings.

[1] http://lists.infradead.org/pipermail/linux-rockchip/2016-November/013152.html
[2] http://lists.infradead.org/pipermail/linux-rockchip/2016-November/013174.html
[3] http://lists.infradead.org/pipermail/linux-rockchip/2016-November/013174.html

> Same comment for the other patches doing these changes.
> 
>  -- Daniel

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


Thread

Re: [PATCH v4 2/9] ARM: dts: rockchip: update compatible property  for rk3228 timer Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-01-23 16:50 +0100
  Re: [PATCH v4 2/9] ARM: dts: rockchip: update compatible property for rk3228 timer Heiko Stübner <heiko@sntech.de> - 2017-01-23 17:20 +0100
  Re: [PATCH v4 2/9] ARM: dts: rockchip: update compatible property for rk3228 timer Alexander Kochetkov <al.kochet@gmail.com> - 2017-01-23 17:20 +0100

csiph-web