<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rockbox/firmware/target/arm/imx233/kernel-imx233.c, branch master</title>
<subtitle>My Rockbox tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/'/>
<entry>
<title>imx233: simplify timrot API</title>
<updated>2016-05-28T15:18:32+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2016-05-02T20:37:38+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=643c0a1e0e80ee6010353201792ba6e2be7e1ced'/>
<id>643c0a1e0e80ee6010353201792ba6e2be7e1ced</id>
<content type='text'>
The old timrot setup API was very low-level and unfriendly. The new one
makes in easier to select the frequency source. Use to simplify timer
and kernel timer code.

Change-Id: Iffcdf11c00e925be9ec8d9a4efc74b197b6bd2aa
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The old timrot setup API was very low-level and unfriendly. The new one
makes in easier to select the frequency source. Use to simplify timer
and kernel timer code.

Change-Id: Iffcdf11c00e925be9ec8d9a4efc74b197b6bd2aa
</pre>
</div>
</content>
</entry>
<entry>
<title>imx233: generate register headers using headergen_v2 and update code for it</title>
<updated>2016-05-28T14:49:22+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2016-05-24T19:29:56+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=eac1ca22bd4a6c1849880d0f8b6764befb60bc21'/>
<id>eac1ca22bd4a6c1849880d0f8b6764befb60bc21</id>
<content type='text'>
NOTE: this commit does not introduce any change, ideally even the binary should
be almost the same. I checked the disassembly by hand and there are only a few
differences here and there, mostly the compiler decides to compile very close
expressions slightly differently. I tried to run the new code on several targets
to make sure and saw no difference.

The major syntax changes of the new headers are as follows:
- BF_{WR,SET,CLR} are now superpowerful and allows to set several fileds at once:
  BF_WR(reg, field1(value1), field2(value2), ...)
- BF_CS (use like BF_WR) does a write to reg_CLR and then reg_SET instead of RMW
- there is no more need for macros like BF_{WR_,SET,CLR}_V, since one can simply
  BF_WR with field_V(name)
- the old BF_SETV macro has no trivial equivalent and is replaced with its
  its equivalent for BF_WR(reg_SET, ...)

I also rename the register headers: "regs/regs-x.h" -&gt; "regs/x.h" to avoid the
redundant "regs".

Final note: the registers were generated using the following command:
./headergen_v2 -g imx -o ../../firmware/target/arm/imx233/regs/ desc/regs-stmp3{600,700,780}.xml

Change-Id: I7485e8b4315a0929a8edb63e7fa1edcaa54b1edc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
NOTE: this commit does not introduce any change, ideally even the binary should
be almost the same. I checked the disassembly by hand and there are only a few
differences here and there, mostly the compiler decides to compile very close
expressions slightly differently. I tried to run the new code on several targets
to make sure and saw no difference.

The major syntax changes of the new headers are as follows:
- BF_{WR,SET,CLR} are now superpowerful and allows to set several fileds at once:
  BF_WR(reg, field1(value1), field2(value2), ...)
- BF_CS (use like BF_WR) does a write to reg_CLR and then reg_SET instead of RMW
- there is no more need for macros like BF_{WR_,SET,CLR}_V, since one can simply
  BF_WR with field_V(name)
- the old BF_SETV macro has no trivial equivalent and is replaced with its
  its equivalent for BF_WR(reg_SET, ...)

I also rename the register headers: "regs/regs-x.h" -&gt; "regs/x.h" to avoid the
redundant "regs".

Final note: the registers were generated using the following command:
./headergen_v2 -g imx -o ../../firmware/target/arm/imx233/regs/ desc/regs-stmp3{600,700,780}.xml

Change-Id: I7485e8b4315a0929a8edb63e7fa1edcaa54b1edc
</pre>
</div>
</content>
</entry>
<entry>
<title>imx233: clean timrot a bit</title>
<updated>2014-02-10T22:14:23+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2014-02-02T03:15:27+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=4495913c289d34271197dce0dc5f6c45f5ea62e6'/>
<id>4495913c289d34271197dce0dc5f6c45f5ea62e6</id>
<content type='text'>
Change-Id: Ic803a6b5c93978cd3246e553579ac8a1ba35e191
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ic803a6b5c93978cd3246e553579ac8a1ba35e191
</pre>
</div>
</content>
</entry>
<entry>
<title>imx233: rework power management</title>
<updated>2013-07-07T15:36:21+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2013-07-07T15:29:41+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=3afcb53fb94b7bb937147236f338dd89afb781d0'/>
<id>3afcb53fb94b7bb937147236f338dd89afb781d0</id>
<content type='text'>
The current code was spreaded over power and powermgmt which made
it behave strangely, especially since there are relationships
between power management and frequency scaling. The new code makes
sure power management is initialised before frequency scaling
starts. It also makes sure to start from a known state, thus
fixing potential issue when the bootloader stops in a trickle
state where DCDC is improperly configured.

Change-Id: Ibded2e590e108f6c98daa52d2cf1bd28763c8923
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current code was spreaded over power and powermgmt which made
it behave strangely, especially since there are relationships
between power management and frequency scaling. The new code makes
sure power management is initialised before frequency scaling
starts. It also makes sure to start from a known state, thus
fixing potential issue when the bootloader stops in a trickle
state where DCDC is improperly configured.

Change-Id: Ibded2e590e108f6c98daa52d2cf1bd28763c8923
</pre>
</div>
</content>
</entry>
<entry>
<title>imx233: rewrite timrot using new register headers</title>
<updated>2013-06-16T16:21:49+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2013-06-16T16:03:10+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=852a82b90a5b718538642ebcffa25a168c98b329'/>
<id>852a82b90a5b718538642ebcffa25a168c98b329</id>
<content type='text'>
Change-Id: Ia6dc7ac7e1fdf471a518111f5593bd96bc3acfac
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ia6dc7ac7e1fdf471a518111f5593bd96bc3acfac
</pre>
</div>
</content>
</entry>
<entry>
<title>imx233: use tick insteaf of msec to collect statistics</title>
<updated>2012-12-26T20:26:33+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2012-12-26T20:23:59+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=8ecbcad3d13d41ef9cff6d20149df1645f63aae0'/>
<id>8ecbcad3d13d41ef9cff6d20149df1645f63aae0</id>
<content type='text'>
The current code uses the msec irq to collect statistics and
detect irq storms (debug). But this irq is triggered 1000 times
per sec and we don't need that accuracy. This commit removes the
msec irq and use the tick timer instead which is triggered only
100 times per second.

Change-Id: If14b9503c89a3af370ef322678f10e35fafb4b8a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current code uses the msec irq to collect statistics and
detect irq storms (debug). But this irq is triggered 1000 times
per sec and we don't need that accuracy. This commit removes the
msec irq and use the tick timer instead which is triggered only
100 times per second.

Change-Id: If14b9503c89a3af370ef322678f10e35fafb4b8a
</pre>
</div>
</content>
</entry>
<entry>
<title>imx233: move away timer defines from imx233.h</title>
<updated>2012-05-19T14:10:52+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2012-05-19T11:28:41+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=068443caaf101bccfa5ff44b44e6f98e6612b27f'/>
<id>068443caaf101bccfa5ff44b44e6f98e6612b27f</id>
<content type='text'>
Change-Id: I9f721ae12a3ddf72c4e90ad0754a5c2b819847bb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I9f721ae12a3ddf72c4e90ad0754a5c2b819847bb
</pre>
</div>
</content>
</entry>
<entry>
<title>imx233: update arbiter to get more debug information, update debug screen accordingly</title>
<updated>2012-01-27T19:08:33+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2012-01-27T18:50:06+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=05ba5c19712250b27cc78e8316b93690fd948a03'/>
<id>05ba5c19712250b27cc78e8316b93690fd948a03</id>
<content type='text'>
Change-Id: Ia229e5303692712295f1dbd37a76f865a3eef4ea
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ia229e5303692712295f1dbd37a76f865a3eef4ea
</pre>
</div>
</content>
</entry>
<entry>
<title>imx233: add DCP driver (only memcpy implemented), move channel arbiter to kernel-imx233</title>
<updated>2012-01-15T01:29:30+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2012-01-15T00:38:41+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=35ba39e57f3e1af32f4b3fd24ef633243b36d30e'/>
<id>35ba39e57f3e1af32f4b3fd24ef633243b36d30e</id>
<content type='text'>
Change-Id: I2bc5a49459c354027fc67a880bbf3b87c942bdd0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I2bc5a49459c354027fc67a880bbf3b87c942bdd0
</pre>
</div>
</content>
</entry>
<entry>
<title>imx233/fuze+: implement user time api, implement a stub function, protect timrot against irq</title>
<updated>2011-09-06T00:27:38+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>pamaury@rockbox.org</email>
</author>
<published>2011-09-06T00:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=2ac668e44cec12616a4d675f8eade8049ed10af9'/>
<id>2ac668e44cec12616a4d675f8eade8049ed10af9</id>
<content type='text'>
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30437 a1c6a512-1295-4272-9138-f99709370657
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30437 a1c6a512-1295-4272-9138-f99709370657
</pre>
</div>
</content>
</entry>
</feed>
