<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/mfd/ab8500-debugfs.c, branch v3.11</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>mfd: ab8500-debug: Convert to managed resources for allocating memory</title>
<updated>2013-06-13T10:11:40+00:00</updated>
<author>
<name>Lee Jones</name>
<email>lee.jones@linaro.org</email>
</author>
<published>2013-05-23T15:25:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c18cf6d1b0d871745709e4273dc2dfa05376d13b'/>
<id>c18cf6d1b0d871745709e4273dc2dfa05376d13b</id>
<content type='text'>
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: Replace strict_strtoul() with kstrtoul() in ab* and att*</title>
<updated>2013-06-13T09:51:56+00:00</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2013-06-04T04:11:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8420a24138e4ad7a8351bef136139ecb27cb15c5'/>
<id>8420a24138e4ad7a8351bef136139ecb27cb15c5</id>
<content type='text'>
The usage of strict_strtoul() is not preferred, because
strict_strtoul() is obsolete. Thus, kstrtoul() should be
used.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The usage of strict_strtoul() is not preferred, because
strict_strtoul() is obsolete. Thus, kstrtoul() should be
used.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: ab8500: Pass AB8500 IRQ to debugfs code by resource</title>
<updated>2013-05-16T22:42:31+00:00</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2013-04-12T15:02:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6999181eecb11863b78030c68037a9f851522735'/>
<id>6999181eecb11863b78030c68037a9f851522735</id>
<content type='text'>
The AB8500 debug code which was merged in parallell with the
multiplatform work incidentally introduced a new instance using
the &lt;mach/irqs.h&gt; header which is now deleted, causing this
build regression:

drivers/mfd/ab8500-debugfs.c:95:23:
fatal error: mach/irqs.h: No such file or directory
compilation terminated.
make[4]: *** [drivers/mfd/ab8500-debugfs.o] Error 1

The code most certainly never worked with device tree either
since that does not rely on this kind of hard-coded interrupt
numbers.

Fix the problem at the root by passing it as a named resource
from the ab8500-core driver. Use an untyped resource to
stop the MFD core from remapping this IRQ relative to the
AB8500 irqdomain.

Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The AB8500 debug code which was merged in parallell with the
multiplatform work incidentally introduced a new instance using
the &lt;mach/irqs.h&gt; header which is now deleted, causing this
build regression:

drivers/mfd/ab8500-debugfs.c:95:23:
fatal error: mach/irqs.h: No such file or directory
compilation terminated.
make[4]: *** [drivers/mfd/ab8500-debugfs.o] Error 1

The code most certainly never worked with device tree either
since that does not rely on this kind of hard-coded interrupt
numbers.

Fix the problem at the root by passing it as a named resource
from the ab8500-core driver. Use an untyped resource to
stop the MFD core from remapping this IRQ relative to the
AB8500 irqdomain.

Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: ab8500-debugfs: Trivially beautify the debugfs driver</title>
<updated>2013-03-07T04:29:36+00:00</updated>
<author>
<name>Lee Jones</name>
<email>lee.jones@linaro.org</email>
</author>
<published>2013-02-26T12:05:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9f9ba15f74cec390ad4a58f9e73fed591e46ddab'/>
<id>9f9ba15f74cec390ad4a58f9e73fed591e46ddab</id>
<content type='text'>
Just lots of white space corrections, changing some of the 4 space
tabs to 8 and pulling back some of the double tabbing back into
singles, such as the remaining of the driver.

Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Acked-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Just lots of white space corrections, changing some of the 4 space
tabs to 8 and pulling back some of the double tabbing back into
singles, such as the remaining of the driver.

Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Acked-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: ab8500-debug: Convert to kstrtoul_from_user</title>
<updated>2013-03-07T04:29:26+00:00</updated>
<author>
<name>srinidhi kasagar</name>
<email>srinidhi.kasagar@stericsson.com</email>
</author>
<published>2012-11-23T09:41:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7b830ae4e538cf04d3b57432bb08f58b828dbafa'/>
<id>7b830ae4e538cf04d3b57432bb08f58b828dbafa</id>
<content type='text'>
Use kstrtoul_from_user for getting an unsigned long from userspace
which is less error prone.

Signed-off-by: srinidhi kasagar &lt;srinidhi.kasagar@stericsson.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@stericsson.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Reviewed-by: Jonas ABERG &lt;jonas.aberg@stericsson.com&gt;
Acked-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use kstrtoul_from_user for getting an unsigned long from userspace
which is less error prone.

Signed-off-by: srinidhi kasagar &lt;srinidhi.kasagar@stericsson.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@stericsson.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Reviewed-by: Jonas ABERG &lt;jonas.aberg@stericsson.com&gt;
Acked-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: ab8500-debug: Add explicit dependencies</title>
<updated>2013-03-07T04:29:20+00:00</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@stericsson.com</email>
</author>
<published>2012-11-22T17:50:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=eb1f95872a053c5aed3e3d13234f8f68e3b2a55a'/>
<id>eb1f95872a053c5aed3e3d13234f8f68e3b2a55a</id>
<content type='text'>
As I am working on SPARSE_IRQ a number of implicit resource
grabs in the kernel become evident. For example, some includes
like &lt;linux/irqs.h&gt; would implicitly include &lt;mach/irqs.h&gt;
and then from there &lt;mach/db8500-regs.h&gt;.

In many cases it is masking the fact that drivers do not
properly use resources to pass their dependencies, base
addresses etc. So write explicit #include statements with
TODO items to have this fixed the proper way to all drivers
doing this.

Signed-off-by: Linus Walleij &lt;linus.walleij@stericsson.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Reviewed-by: Philippe LANGLAIS &lt;philippe.langlais@stericsson.com&gt;
Acked-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As I am working on SPARSE_IRQ a number of implicit resource
grabs in the kernel become evident. For example, some includes
like &lt;linux/irqs.h&gt; would implicitly include &lt;mach/irqs.h&gt;
and then from there &lt;mach/db8500-regs.h&gt;.

In many cases it is masking the fact that drivers do not
properly use resources to pass their dependencies, base
addresses etc. So write explicit #include statements with
TODO items to have this fixed the proper way to all drivers
doing this.

Signed-off-by: Linus Walleij &lt;linus.walleij@stericsson.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Reviewed-by: Philippe LANGLAIS &lt;philippe.langlais@stericsson.com&gt;
Acked-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: ab8500-debug: Add register map for ab8540.</title>
<updated>2013-03-07T04:29:10+00:00</updated>
<author>
<name>Lee Jones</name>
<email>lee.jones@linaro.org</email>
</author>
<published>2012-11-19T11:20:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=971480f520a5ed9e54443a9b2b5711eedf51c77a'/>
<id>971480f520a5ed9e54443a9b2b5711eedf51c77a</id>
<content type='text'>
Required to read out correct debug information from the AB chip.

Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Acked-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Required to read out correct debug information from the AB chip.

Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Acked-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: ab8500-debugfs: Change AB8500 debug permissions</title>
<updated>2013-03-07T04:29:05+00:00</updated>
<author>
<name>Lee Jones</name>
<email>lee.jones@linaro.org</email>
</author>
<published>2013-02-26T14:09:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f38487f22dee6eaca8d06cac99377693803cda8f'/>
<id>f38487f22dee6eaca8d06cac99377693803cda8f</id>
<content type='text'>
Enable group write permissions for ab8500 debug MFD driver.

Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Acked-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enable group write permissions for ab8500 debug MFD driver.

Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Acked-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: ab8500-debug: Add ADC input channel usb_id in debugfs</title>
<updated>2013-03-07T04:28:55+00:00</updated>
<author>
<name>Lee Jones</name>
<email>lee.jones@linaro.org</email>
</author>
<published>2013-02-26T14:04:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=127629d74efff202372fbd6097e607fcb2c8a7af'/>
<id>127629d74efff202372fbd6097e607fcb2c8a7af</id>
<content type='text'>
Signed-off-by: Yang QU &lt;yang.qu@stericsson.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Reviewed-by: Alexandre BOURDIOL &lt;alexandre.bourdiol@stericsson.com&gt;
Reviewed-by: Philippe LANGLAIS &lt;philippe.langlais@stericsson.com&gt;
Reviewed-by: Mattias WALLIN &lt;mattias.wallin@stericsson.com&gt;
Acked-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Yang QU &lt;yang.qu@stericsson.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Reviewed-by: Alexandre BOURDIOL &lt;alexandre.bourdiol@stericsson.com&gt;
Reviewed-by: Philippe LANGLAIS &lt;philippe.langlais@stericsson.com&gt;
Reviewed-by: Mattias WALLIN &lt;mattias.wallin@stericsson.com&gt;
Acked-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: ab8500-debugfs: Dump sim registers</title>
<updated>2013-03-07T04:28:50+00:00</updated>
<author>
<name>Lee Jones</name>
<email>lee.jones@linaro.org</email>
</author>
<published>2013-02-26T14:03:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c7ebaee292fb0f935752d50ef9bad1db74efde6e'/>
<id>c7ebaee292fb0f935752d50ef9bad1db74efde6e</id>
<content type='text'>
This patch allows to dump the SIM registers from debugfs. It will
temporary change the config to allow APE side to read the SIM registers.
Note that this read can cause problem on modem side since the modem
can't read these registers while the operation is ongoing.

Signed-off-by: Mattias Wallin &lt;mattias.wallin@stericsson.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Reviewed-by: Marcus COOPER &lt;marcus.xm.cooper@stericsson.com&gt;
Reviewed-by: Jonas ABERG &lt;jonas.aberg@stericsson.com&gt;
Acked-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch allows to dump the SIM registers from debugfs. It will
temporary change the config to allow APE side to read the SIM registers.
Note that this read can cause problem on modem side since the modem
can't read these registers while the operation is ongoing.

Signed-off-by: Mattias Wallin &lt;mattias.wallin@stericsson.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Reviewed-by: Marcus COOPER &lt;marcus.xm.cooper@stericsson.com&gt;
Reviewed-by: Jonas ABERG &lt;jonas.aberg@stericsson.com&gt;
Acked-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
