Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1478969
| From | Maxime Ripard <maxime.ripard@free-electrons.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 6/7] clk: sunxi-ng: Add A23 CCU |
| Date | 2016-09-08 11:30 +0200 |
| Message-ID | <sf3OF-3Y8-11@gated-at.bofh.it> (permalink) |
| References | <senw5-1UN-5@gated-at.bofh.it> <senw5-1UN-3@gated-at.bofh.it> <seFsZ-56C-1@gated-at.bofh.it> <sf32h-3sy-9@gated-at.bofh.it> <sf32h-3sy-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Thu, Sep 08, 2016 at 04:32:25PM +0800, Chen-Yu Tsai wrote:
> On Thu, Sep 8, 2016 at 4:29 PM, Maxime Ripard
> <maxime.ripard@free-electrons.com> wrote:
> > On Wed, Sep 07, 2016 at 03:24:11PM +0800, Chen-Yu Tsai wrote:
> >> > + [CLK_BUS_MSGBOX] = &bus_msgbox_clk.common.hw,
> >>
> >> A23 manual and Allwinner sources say there is a bus gate for SPINLOCK.
> >> Tested it myself, and it indeed exists.
> >
> > Yes, sorry. It was supposed to be spinlock instead of msgbox.
> >
> >> > + [RST_BUS_SPINLOCK] = { 0x2c4, BIT(22) },
> >>
> >> Allwinner sources say there is a reset control for MSGBOX.
> >> Tested it myself, and it indeed exists.
> >
> > However, the msgbox is mentionned nowhere in the datasheet.
> >
> > I'd prefer to be able to test that it actually works before adding it
> > to the clock driver.
>
> I did in fact test it. With reset asserted, writes get ignored,
> and reads produce all 0s. With the reset deasserted and clock
> enabled, reads give the default value and writes stick. Afterwards
> when I toggle the reset, the values revert to the default.
Ok.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 6/7] clk: sunxi-ng: Add A23 CCU Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-09-06 14:20 +0200
Re: [PATCH v2 6/7] clk: sunxi-ng: Add A23 CCU Chen-Yu Tsai <wens@csie.org> - 2016-09-07 09:30 +0200
Re: [PATCH v2 6/7] clk: sunxi-ng: Add A23 CCU Chen-Yu Tsai <wens@csie.org> - 2016-09-08 10:40 +0200
Re: [PATCH v2 6/7] clk: sunxi-ng: Add A23 CCU Chen-Yu Tsai <wens@csie.org> - 2016-09-08 10:40 +0200
Re: [PATCH v2 6/7] clk: sunxi-ng: Add A23 CCU Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-09-08 11:30 +0200
Re: [PATCH v2 6/7] clk: sunxi-ng: Add A23 CCU Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-09-08 10:40 +0200
csiph-web