<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/mfd/rts5249.c, branch v4.1</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: rtsx: Using pcr_dbg replace dev_dbg</title>
<updated>2015-03-03T16:41:21+00:00</updated>
<author>
<name>Micky Ching</name>
<email>micky_ching@realsil.com.cn</email>
</author>
<published>2015-02-25T05:50:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0523b8f41473c3d869adebeb029b5dc045ab35d8'/>
<id>0523b8f41473c3d869adebeb029b5dc045ab35d8</id>
<content type='text'>
pcr_dbg is a wrapper of dev_dbg, which can save some code,
and help to enable/disable debug message static.

Signed-off-by: Micky Ching &lt;micky_ching@realsil.com.cn&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>
pcr_dbg is a wrapper of dev_dbg, which can save some code,
and help to enable/disable debug message static.

Signed-off-by: Micky Ching &lt;micky_ching@realsil.com.cn&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: rtsx: Add support for rts525A</title>
<updated>2015-03-03T16:41:21+00:00</updated>
<author>
<name>Micky Ching</name>
<email>micky_ching@realsil.com.cn</email>
</author>
<published>2015-02-25T05:50:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=41bc2334737a32d3062a318dde5964590d0e24c9'/>
<id>41bc2334737a32d3062a318dde5964590d0e24c9</id>
<content type='text'>
Add support for new chip rts525A.

Signed-off-by: Micky Ching &lt;micky_ching@realsil.com.cn&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>
Add support for new chip rts525A.

Signed-off-by: Micky Ching &lt;micky_ching@realsil.com.cn&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: rtsx: Add support for rts524A</title>
<updated>2015-03-03T16:41:20+00:00</updated>
<author>
<name>Micky Ching</name>
<email>micky_ching@realsil.com.cn</email>
</author>
<published>2015-02-25T05:50:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=663c425f2c8d87a433629f09c5afd0af7e7e550c'/>
<id>663c425f2c8d87a433629f09c5afd0af7e7e550c</id>
<content type='text'>
add support for new chip rts524A.

Signed-off-by: Micky Ching &lt;micky_ching@realsil.com.cn&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>
add support for new chip rts524A.

Signed-off-by: Micky Ching &lt;micky_ching@realsil.com.cn&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: rtsx: Remove LCTLR defination</title>
<updated>2015-03-03T16:41:19+00:00</updated>
<author>
<name>Micky Ching</name>
<email>micky_ching@realsil.com.cn</email>
</author>
<published>2015-02-25T05:50:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=19f3bd548f2750a8a7e4e6d2f25fdc5f8e2c3ee9'/>
<id>19f3bd548f2750a8a7e4e6d2f25fdc5f8e2c3ee9</id>
<content type='text'>
To enable/disable ASPM we should find LINK CONTROL register
in PCI config space. All old chip use 0x80 address, but new
chip may use another address, so we using pci_find_capability()
to get LINK CONTROL address.

rtsx_gops.c was removed, we consider to put some common operations
to this file, but the actual thing is, only a group of chips
are in common ops1, and another group of chips in common ops2,
it is hard to decide put which ops into generic ops file.

Signed-off-by: Micky Ching &lt;micky_ching@realsil.com.cn&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>
To enable/disable ASPM we should find LINK CONTROL register
in PCI config space. All old chip use 0x80 address, but new
chip may use another address, so we using pci_find_capability()
to get LINK CONTROL address.

rtsx_gops.c was removed, we consider to put some common operations
to this file, but the actual thing is, only a group of chips
are in common ops1, and another group of chips in common ops2,
it is hard to decide put which ops into generic ops file.

Signed-off-by: Micky Ching &lt;micky_ching@realsil.com.cn&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: rtsx: Update phy register</title>
<updated>2015-03-03T16:41:19+00:00</updated>
<author>
<name>Micky Ching</name>
<email>micky_ching@realsil.com.cn</email>
</author>
<published>2015-02-25T05:50:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b038538104d5b033d3beaffba6d6efe01246930b'/>
<id>b038538104d5b033d3beaffba6d6efe01246930b</id>
<content type='text'>
Update some phy register name and value for rts5249,
the updated value makes chip more stable on some platform.

Signed-off-by: Micky Ching &lt;micky_ching@realsil.com.cn&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>
Update some phy register name and value for rts5249,
the updated value makes chip more stable on some platform.

Signed-off-by: Micky Ching &lt;micky_ching@realsil.com.cn&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: rtsx: Update driving settings</title>
<updated>2015-03-03T16:41:18+00:00</updated>
<author>
<name>Micky Ching</name>
<email>micky_ching@realsil.com.cn</email>
</author>
<published>2015-02-25T05:50:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e89f231826a773ea37dfa99ab619f3ee34c06522'/>
<id>e89f231826a773ea37dfa99ab619f3ee34c06522</id>
<content type='text'>
update card drive settings, This setting can be used for rts5249
rts524A and rts525A.

Signed-off-by: Micky Ching &lt;micky_ching@realsil.com.cn&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>
update card drive settings, This setting can be used for rts5249
rts524A and rts525A.

Signed-off-by: Micky Ching &lt;micky_ching@realsil.com.cn&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: rtsx: Update PETXCFG address</title>
<updated>2015-03-03T16:41:17+00:00</updated>
<author>
<name>Micky Ching</name>
<email>micky_ching@realsil.com.cn</email>
</author>
<published>2015-02-25T05:50:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9e33ce79f828eb5a1bb9dd4830c7fa719d4279dc'/>
<id>9e33ce79f828eb5a1bb9dd4830c7fa719d4279dc</id>
<content type='text'>
PETXCFG is defined at 0xFF03, the old 0xFE49 not used any more.

Signed-off-by: Micky Ching &lt;micky_ching@realsil.com.cn&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>
PETXCFG is defined at 0xFF03, the old 0xFE49 not used any more.

Signed-off-by: Micky Ching &lt;micky_ching@realsil.com.cn&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: rtsx: Fix PM suspend for 5227 &amp; 5249</title>
<updated>2014-11-25T16:18:48+00:00</updated>
<author>
<name>Micky Ching</name>
<email>micky_ching@realsil.com.cn</email>
</author>
<published>2014-10-10T05:58:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5cb5d9616a47d5383a85379afa4429382ef46b38'/>
<id>5cb5d9616a47d5383a85379afa4429382ef46b38</id>
<content type='text'>
Fix rts5227&amp;5249 failed send buffer cmd after suspend,
PM_CTRL3 should reset before send any buffer cmd after suspend.
Otherwise, buffer cmd will failed, this will lead resume fail.

Signed-off-by: Micky Ching &lt;micky_ching@realsil.com.cn&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>
Fix rts5227&amp;5249 failed send buffer cmd after suspend,
PM_CTRL3 should reset before send any buffer cmd after suspend.
Otherwise, buffer cmd will failed, this will lead resume fail.

Signed-off-by: Micky Ching &lt;micky_ching@realsil.com.cn&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: rtsx: Modify rts5249_optimize_phy</title>
<updated>2013-10-23T15:20:59+00:00</updated>
<author>
<name>Wei WANG</name>
<email>wei_wang@realsil.com.cn</email>
</author>
<published>2013-09-13T09:45:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=26b818511c6562ce372566c219a2ef1afea35fe6'/>
<id>26b818511c6562ce372566c219a2ef1afea35fe6</id>
<content type='text'>
In some platforms, specially Thinkpad series, rts5249 won't be
initialized properly. So we need adjust some phy parameters to
improve the compatibility issue.

It is a little different between simulation and real chip. We have
no idea about which configuration is better before tape-out. We set
default settings according to simulation, but need to tune these
parameters after getting the real chip.

I can't explain every change in detail here. The below information is
just a rough description:

PHY_REG_REV: Disable internal clkreq_tx, enable rx_pwst
PHY_BPCR: No change, just turn the magic number to macro definitions
PHY_PCR: Change OOBS sensitivity, from 60mV to 90mV
PHY_RCR2: Control charge-pump current automatically
PHY_FLD4: Use TX cmu reference clock
PHY_RDR: Change RXDSEL from 30nF to 1.9nF
PHY_RCR1: Change the duration between adp_st and asserting cp_en from
0.32 us to 0.64us
PHY_FLD3: Adjust internal timers
PHY_TUNE: Fine tune the regulator12 output voltage

Signed-off-by: Wei WANG &lt;wei_wang@realsil.com.cn&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>
In some platforms, specially Thinkpad series, rts5249 won't be
initialized properly. So we need adjust some phy parameters to
improve the compatibility issue.

It is a little different between simulation and real chip. We have
no idea about which configuration is better before tape-out. We set
default settings according to simulation, but need to tune these
parameters after getting the real chip.

I can't explain every change in detail here. The below information is
just a rough description:

PHY_REG_REV: Disable internal clkreq_tx, enable rx_pwst
PHY_BPCR: No change, just turn the magic number to macro definitions
PHY_PCR: Change OOBS sensitivity, from 60mV to 90mV
PHY_RCR2: Control charge-pump current automatically
PHY_FLD4: Use TX cmu reference clock
PHY_RDR: Change RXDSEL from 30nF to 1.9nF
PHY_RCR1: Change the duration between adp_st and asserting cp_en from
0.32 us to 0.64us
PHY_FLD3: Adjust internal timers
PHY_TUNE: Fine tune the regulator12 output voltage

Signed-off-by: Wei WANG &lt;wei_wang@realsil.com.cn&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mfd: mmc: rtsx: Change default tx phase</title>
<updated>2013-08-30T12:24:07+00:00</updated>
<author>
<name>Wei WANG</name>
<email>wei_wang@realsil.com.cn</email>
</author>
<published>2013-08-21T01:46:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=84d72f9cc21d6e41c620dd34b8248734cd02d995'/>
<id>84d72f9cc21d6e41c620dd34b8248734cd02d995</id>
<content type='text'>
The default phase can meet most cards' requirement, but it is not the
optimal one. In some extreme situation, the rx phase point produced by
the following tuning process will drift quite a distance.
Before tuning UHS card, this patch will set a more proper initial tx
phase point, which is calculated from statistic data, and can achieve
a much better tx signal quality.

Signed-off-by: Wei WANG &lt;wei_wang@realsil.com.cn&gt;
Acked-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Acked-by: Chris Ball &lt;cjb@laptop.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 default phase can meet most cards' requirement, but it is not the
optimal one. In some extreme situation, the rx phase point produced by
the following tuning process will drift quite a distance.
Before tuning UHS card, this patch will set a more proper initial tx
phase point, which is calculated from statistic data, and can achieve
a much better tx signal quality.

Signed-off-by: Wei WANG &lt;wei_wang@realsil.com.cn&gt;
Acked-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Acked-by: Chris Ball &lt;cjb@laptop.org&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
