<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/mfd/88pm800.c, branch v3.12-rc6</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: 88pm800: Fix potential NULL pdata dereference</title>
<updated>2013-09-02T08:59:57+00:00</updated>
<author>
<name>Chao Xie</name>
<email>chao.xie@marvell.com</email>
</author>
<published>2013-08-19T01:27:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b432fc25b5b0311a58772fefe8d07e143600e908'/>
<id>b432fc25b5b0311a58772fefe8d07e143600e908</id>
<content type='text'>
User pass platform data to device, and platform data may be
NULL. Add the check for pdata.

Signed-off-by: Chao Xie &lt;chao.xie@marvell.com&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>
User pass platform data to device, and platform data may be
NULL. Add the check for pdata.

Signed-off-by: Chao Xie &lt;chao.xie@marvell.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: Use dev_get_platdata()</title>
<updated>2013-07-31T12:01:29+00:00</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2013-07-30T08:10:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=334a41ce9b753ec615e8c6c50ee07d6197190610'/>
<id>334a41ce9b753ec615e8c6c50ee07d6197190610</id>
<content type='text'>
Use the wrapper function for retrieving the platform data instead of
accessing dev-&gt;platform_data directly.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.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>
Use the wrapper function for retrieving the platform data instead of
accessing dev-&gt;platform_data directly.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: 88pm800: Add regulator sub device</title>
<updated>2013-06-18T07:41:12+00:00</updated>
<author>
<name>Chao Xie</name>
<email>chao.xie@marvell.com</email>
</author>
<published>2013-06-14T05:21:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2d3aa0569cc111b7567cb082c2f8ab32e2245e49'/>
<id>2d3aa0569cc111b7567cb082c2f8ab32e2245e49</id>
<content type='text'>
Signed-off-by: Chao Xie &lt;chao.xie@marvell.com&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: Chao Xie &lt;chao.xie@marvell.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: 88pm800: Enhance sub devices initialization</title>
<updated>2013-06-18T07:41:11+00:00</updated>
<author>
<name>Chao Xie</name>
<email>chao.xie@marvell.com</email>
</author>
<published>2013-06-14T05:21:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3a3ece5415bd7a4bc7923906369525943332fc1a'/>
<id>3a3ece5415bd7a4bc7923906369525943332fc1a</id>
<content type='text'>
Separate the devices initialization into different functions.
It makes the probe function clearer.

Signed-off-by: Chao Xie &lt;chao.xie@marvell.com&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>
Separate the devices initialization into different functions.
It makes the probe function clearer.

Signed-off-by: Chao Xie &lt;chao.xie@marvell.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: 88pm80x: Change chip id definition and detection</title>
<updated>2013-06-18T07:41:10+00:00</updated>
<author>
<name>Chao Xie</name>
<email>chao.xie@marvell.com</email>
</author>
<published>2013-06-14T05:21:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=03dcc544bff9ff36b9ac5e2b992a7a4890e6edc4'/>
<id>03dcc544bff9ff36b9ac5e2b992a7a4890e6edc4</id>
<content type='text'>
Change the chip id definition and detection and then:

1. We no longer need to add PM800_CHIP_XXX for the coming revision.
2. We no longer need to pass driver_data in i2c_device_id as we
   can distinguish the chips from the CHIP_ID register.

Signed-off-by: Chao Xie &lt;chao.xie@marvell.com&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>
Change the chip id definition and detection and then:

1. We no longer need to add PM800_CHIP_XXX for the coming revision.
2. We no longer need to pass driver_data in i2c_device_id as we
   can distinguish the chips from the CHIP_ID register.

Signed-off-by: Chao Xie &lt;chao.xie@marvell.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: 88pm800: Enhance error handling for sub pages probe/remove</title>
<updated>2013-06-18T07:40:57+00:00</updated>
<author>
<name>Chao Xie</name>
<email>chao.xie@marvell.com</email>
</author>
<published>2013-06-14T05:21:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=52705344d00512f0bb48c66478582bd10eb1750f'/>
<id>52705344d00512f0bb48c66478582bd10eb1750f</id>
<content type='text'>
pm800_pages_init and pm800_pages_exit are called by pm800_probe.
Change the code to enhance error handling and remove unused code at
pm800_pages_init/exit and pm800_probe.

Signed-off-by: Yi Zhang &lt;yizhang@marvell.com&gt;
Signed-off-by: Chao Xie &lt;chao.xie@marvell.com&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>
pm800_pages_init and pm800_pages_exit are called by pm800_probe.
Change the code to enhance error handling and remove unused code at
pm800_pages_init/exit and pm800_probe.

Signed-off-by: Yi Zhang &lt;yizhang@marvell.com&gt;
Signed-off-by: Chao Xie &lt;chao.xie@marvell.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: 88pm800: Remove the power and gpadc page addr from platform data</title>
<updated>2013-06-17T23:06:28+00:00</updated>
<author>
<name>Chao Xie</name>
<email>chao.xie@marvell.com</email>
</author>
<published>2013-06-14T05:21:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c750d8e053c08ccb82d814d695e64d1eb602a91a'/>
<id>c750d8e053c08ccb82d814d695e64d1eb602a91a</id>
<content type='text'>
88pm800 has two addtional pages - power and gpadc.
The address of the pages depends on the address of 88pm800.
So do not need pass the address of the power and gpadc in
platform data.

Signed-off-by: Chao Xie &lt;chao.xie@marvell.com&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>
88pm800 has two addtional pages - power and gpadc.
The address of the pages depends on the address of 88pm800.
So do not need pass the address of the power and gpadc in
platform data.

Signed-off-by: Chao Xie &lt;chao.xie@marvell.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: 88pm800: 88pm805: Remove "IRQF_TRIGGER_FALLING" flag</title>
<updated>2013-06-17T23:06:21+00:00</updated>
<author>
<name>Yi Zhang</name>
<email>yizhang@marvell.com</email>
</author>
<published>2013-06-14T05:21:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=1ef5677e0e45c77ca05e697fb83d4f9b3fe96caf'/>
<id>1ef5677e0e45c77ca05e697fb83d4f9b3fe96caf</id>
<content type='text'>
88pm800/88pm805 interrupt is asserted low if the events happened.
So remove IRQF_TRIGGER_FALLING for irq request.
Also, the interrupt wiring is board dependent so do not set
IRQF_TRIGGER by default.

Signed-off-by: Yi Zhang &lt;yizhang@marvell.com&gt;
Signed-off-by: Chao Xie &lt;chao.xie@marvell.com&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>
88pm800/88pm805 interrupt is asserted low if the events happened.
So remove IRQF_TRIGGER_FALLING for irq request.
Also, the interrupt wiring is board dependent so do not set
IRQF_TRIGGER by default.

Signed-off-by: Yi Zhang &lt;yizhang@marvell.com&gt;
Signed-off-by: Chao Xie &lt;chao.xie@marvell.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: 88pm800: Initialize mask_invert</title>
<updated>2013-06-17T23:05:52+00:00</updated>
<author>
<name>Chao Xie</name>
<email>chao.xie@marvell.com</email>
</author>
<published>2013-06-14T05:21:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=cb5c5800933d483babed13d78a53fde8c47d93c5'/>
<id>cb5c5800933d483babed13d78a53fde8c47d93c5</id>
<content type='text'>
mask_invert must be set otherwise interrupts cannot be cleared.

Signed-off-by: Chao Xie &lt;chao.xie@marvell.com&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>
mask_invert must be set otherwise interrupts cannot be cleared.

Signed-off-by: Chao Xie &lt;chao.xie@marvell.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: 88pm80x: Fix driver name for 88pm800 and 88pm805</title>
<updated>2013-06-17T23:05:52+00:00</updated>
<author>
<name>Chao Xie</name>
<email>chao.xie@marvell.com</email>
</author>
<published>2013-06-14T05:21:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=46223a19ad566dee955969c9a2cea55ef59f21d8'/>
<id>46223a19ad566dee955969c9a2cea55ef59f21d8</id>
<content type='text'>
88pm800 and 88pm805 shouldnot have the same driver name.

Signed-off-by: Chao Xie &lt;chao.xie@marvell.com&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>
88pm800 and 88pm805 shouldnot have the same driver name.

Signed-off-by: Chao Xie &lt;chao.xie@marvell.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
