<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/include/linux/mfd/sta2x11-mfd.h, branch linux-3.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-3.17.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-3.17.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2012-11-20T11:21:16Z</updated>
<entry>
<title>mfd: sta2x11-mfd: Add defines for some sta2x11 sctl registers</title>
<updated>2012-11-20T11:21:16Z</updated>
<author>
<name>Davide Ciminaghi</name>
<email>ciminaghi@gnudd.com</email>
</author>
<published>2012-11-09T14:20:00Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=818b5c2528b9e31101bb39018fd211dcf159a696'/>
<id>urn:sha1:818b5c2528b9e31101bb39018fd211dcf159a696</id>
<content type='text'>
These are required for the clock infrastructure code to properly configure
and control the sta2x11 PLLs.

Signed-off-by: Davide Ciminaghi &lt;ciminaghi@gnudd.com&gt;
Acked-by: Alessandro Rubini &lt;rubini@gnudd.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mfd: sta2x11-mfd: Add scr (otp registers) platform driver</title>
<updated>2012-11-20T11:21:16Z</updated>
<author>
<name>Davide Ciminaghi</name>
<email>ciminaghi@gnudd.com</email>
</author>
<published>2012-11-09T14:19:59Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=dba6c1aeea4dd0e251e41c3f585abf4a06a4f057'/>
<id>urn:sha1:dba6c1aeea4dd0e251e41c3f585abf4a06a4f057</id>
<content type='text'>
Signed-off-by: Davide Ciminaghi &lt;ciminaghi@gnudd.com&gt;
Acked-by: Alessandro Rubini &lt;rubini@gnudd.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mfd: sta2x11-mfd: Use defines for platform devices' names</title>
<updated>2012-11-20T11:21:15Z</updated>
<author>
<name>Davide Ciminaghi</name>
<email>ciminaghi@gnudd.com</email>
</author>
<published>2012-11-09T14:19:55Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=b18adafccd497245a6bc5b867bf9cba7e01f8729'/>
<id>urn:sha1:b18adafccd497245a6bc5b867bf9cba7e01f8729</id>
<content type='text'>
Since there are now many sta2x11-mfd platform devices, using defines
for their names looks like a better solution.

Signed-off-by: Davide Ciminaghi &lt;ciminaghi@gnudd.com&gt;
Acked-by: Alessandro Rubini &lt;rubini@gnudd.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mfd: sta2x11-mfd: Add sta2x11_mfd_get_regs_data() function</title>
<updated>2012-11-20T11:21:14Z</updated>
<author>
<name>Davide Ciminaghi</name>
<email>ciminaghi@gnudd.com</email>
</author>
<published>2012-11-09T14:19:54Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=29f5b5a326b44c55e81b15308255ba695fecb323'/>
<id>urn:sha1:29f5b5a326b44c55e81b15308255ba695fecb323</id>
<content type='text'>
A couple of predefined clocks (mux and gated) need to be
initialized with the virtual address of the clock's controlling
register and the address of a spinlock used to protect against
races.

This function exports such data for all the mfd cells.

Signed-off-by: Davide Ciminaghi &lt;ciminaghi@gnudd.com&gt;
Acked-by: Alessandro Rubini &lt;rubini@gnudd.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mfd: sta2x11-mfd: Add regmap support</title>
<updated>2012-11-20T11:21:14Z</updated>
<author>
<name>Davide Ciminaghi</name>
<email>ciminaghi@gnudd.com</email>
</author>
<published>2012-11-09T14:19:53Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d94e25535a7979a6c81922496f475a5dd0e006b4'/>
<id>urn:sha1:d94e25535a7979a6c81922496f475a5dd0e006b4</id>
<content type='text'>
Signed-off-by: Davide Ciminaghi &lt;ciminaghi@gnudd.com&gt;
Acked-by: Alessandro Rubini &lt;rubini@gnudd.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mfd: sta2x11-mfd: Add apb-soc regs driver and factor out common code</title>
<updated>2012-11-20T11:21:14Z</updated>
<author>
<name>Davide Ciminaghi</name>
<email>ciminaghi@gnudd.com</email>
</author>
<published>2012-11-09T14:19:52Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=1950c7164646bfeeb82c34bc299d82119706afb5'/>
<id>urn:sha1:1950c7164646bfeeb82c34bc299d82119706afb5</id>
<content type='text'>
A driver for the apb-soc registers is needed by the clock
infrastructure code to configure and control clocks on the sta2x11
chip.

Since some of the functions in sta2x11-mfd.c were almost identical
for the two existing platform devices, the following changes
have been performed to avoid further code duplication while
adding the apb-soc-regs driver:

* The sctl_regs and apbreg_regs fields in struct sta2x11_mfd
have been turned into just one array of pointers accessed by
device index.
* Platform probe methods have become one-liners invoking a
common probe with the device's index as second parameter.
* For loops have been inserted where the same operations
were performed for each of the two bars of a pci device.
* The apbreg_mask and sctl_mask functions were almost identical,
so they were turned into inline functions invoking a common
__sta2x11_mfd_mask() with the platform device's index as last
parameter. To do this, enum sta2x11_mfd_plat_dev has been declared in
sta2x11-mfd.h and more device types have been added to it.

Reviewed-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Davide Ciminaghi &lt;ciminaghi@gnudd.com&gt;
Acked-by: Alessandro Rubini &lt;rubini@gnudd.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>mfd: Add driver for STA2X11 MFD block</title>
<updated>2012-05-09T13:34:28Z</updated>
<author>
<name>Alessandro Rubini</name>
<email>rubini@gnudd.com</email>
</author>
<published>2012-04-12T08:48:44Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=35bdd29095ad614c5fb4a934bfd4f57a94dfd395'/>
<id>urn:sha1:35bdd29095ad614c5fb4a934bfd4f57a94dfd395</id>
<content type='text'>
This also introduces &lt;asm/sta2x11.h&gt; to export a function that is in
the base sta2x11 support patches. The header will increase with other
prototypes and constants over time.

Signed-off-by: Alessandro Rubini &lt;rubini@gnudd.com&gt;
Acked-by: Giancarlo Asnaghi &lt;giancarlo.asnaghi@st.com&gt;
Cc: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
</feed>
