Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1412862
| From | Heiko Stübner <heiko@sntech.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] clk: rockchip: remove ROCKCHIP_SOFTRST_HIWORD_MASK for rockchip platform |
| Date | 2016-06-03 09:30 +0200 |
| Message-ID | <rFRIl-cH-1@gated-at.bofh.it> (permalink) |
| References | <rFLCV-4Ha-9@gated-at.bofh.it> <rFM5X-55O-1@gated-at.bofh.it> <rFO7L-6nc-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Shawn, Am Freitag, 3. Juni 2016, 11:35:32 schrieb Shawn Lin: > 在 2016/6/3 9:25, Xing Zheng 写道: > > On 2016年06月03日 08:54, Shawn Lin wrote: > >> I check all the Socs including RK2928/3000/3066/3028X/316X/312X/ > >> 3190/3188/3228/3368/3399/3036, and find all of them use high 16-bit > >> as write mask. Obviously we don't need ROCKCHIP_SOFTRST_HIWORD_MASK > >> any more(actually I don't know why we need it before). This patch > >> removes it to simplify the code and save a little cpu cycle when calling > >> assert or deassert callback. > > > > In my opinion, this flag can be used for compatibility, we can not > > ensure that our SoCs will not use the 32bit SOFTRST_CONs in future. > > > > Thanks. > > Thanks for sharing your thought. > > I'm not 100% sure, but I'm 99% sure about we won't let > it happened. You have to consider the backward compatibility > rather than the future ones. If you got a chip with 10 bit, or > 8bit for SOFTRST_CONX, so how do you wanna deal with it? > Should we now add ROCKCHIP_SOFTRST_X_BIT_MASK? :) older SoCs like the rk2818 (ARM9-based) do actually use 32bit softrst registers. And if I ever get my hands on one of those, I'd actually try to support it :-) . So I'd really like to keep the flag. Heiko
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 2/2] clk: rockchip: remove ROCKCHIP_SOFTRST_HIWORD_MASK for rockchip platform Shawn Lin <shawn.lin@rock-chips.com> - 2016-06-03 03:00 +0200
Re: [PATCH 2/2] clk: rockchip: remove ROCKCHIP_SOFTRST_HIWORD_MASK for rockchip platform Xing Zheng <zhengxing@rock-chips.com> - 2016-06-03 03:30 +0200
Re: [PATCH 2/2] clk: rockchip: remove ROCKCHIP_SOFTRST_HIWORD_MASK for rockchip platform Shawn Lin <shawn.lin@kernel-upstream.org> - 2016-06-03 05:40 +0200
Re: [PATCH 2/2] clk: rockchip: remove ROCKCHIP_SOFTRST_HIWORD_MASK for rockchip platform Heiko Stübner <heiko@sntech.de> - 2016-06-03 09:30 +0200
Re: [PATCH 2/2] clk: rockchip: remove ROCKCHIP_SOFTRST_HIWORD_MASK for rockchip platform Shawn Lin <shawn.lin@rock-chips.com> - 2016-06-03 09:40 +0200
csiph-web