<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/sound/soc/codecs/rt9120.c, branch linus/master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/sound/soc/codecs/rt9120.c?h=linus%2Fmaster</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/sound/soc/codecs/rt9120.c?h=linus%2Fmaster'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-05-19T15:47:12Z</updated>
<entry>
<title>ASoC: rt9120: Use pm_runtime and regcache to optimize 'pwdnn' logic</title>
<updated>2022-05-19T15:47:12Z</updated>
<author>
<name>ChiYuan Huang</name>
<email>cy_huang@richtek.com</email>
</author>
<published>2022-05-19T02:13:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=80b949f332e331b67c3ae4f323daf2cb91e743e5'/>
<id>urn:sha1:80b949f332e331b67c3ae4f323daf2cb91e743e5</id>
<content type='text'>
From the datasheet, the only way to meet the lowest power consumption is
to pull low the 'pwdnn' gpio. But if it is low, IC will keep in
reset state, all registers reset to default.

And the power consumption is listed below
1. amp off and 'pwdnn' high =&gt; idle state, PVDD = 1mA, DVDD = 7mA
2. amp off and 'pwdnn' low  =&gt; shutdown state, PVDD &lt; 20uA, DVDD &lt; 15uA

It's the large difference for the consumption current

This fix is to use pm_runtime and regcache to handle 'pwdnn' gpio
control.

Signed-off-by: ChiYuan Huang &lt;cy_huang@richtek.com&gt;
Link: https://lore.kernel.org/r/1652926418-8519-3-git-send-email-u0084500@gmail.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: rt9120: Fix 3byte read, valule offset typo</title>
<updated>2022-05-19T15:47:11Z</updated>
<author>
<name>ChiYuan Huang</name>
<email>cy_huang@richtek.com</email>
</author>
<published>2022-05-19T02:13:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=57f68f2168988e574133fb5abcd73949bf1d1df2'/>
<id>urn:sha1:57f68f2168988e574133fb5abcd73949bf1d1df2</id>
<content type='text'>
For RG 3byte read, the value order is  offset [0], [1], and [2].

Signed-off-by: ChiYuan Huang &lt;cy_huang@richtek.com&gt;
Link: https://lore.kernel.org/r/1652926418-8519-2-git-send-email-u0084500@gmail.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: rt9120: Add endianness flag in snd_soc_component_driver</title>
<updated>2022-05-09T11:46:37Z</updated>
<author>
<name>Charles Keepax</name>
<email>ckeepax@opensource.cirrus.com</email>
</author>
<published>2022-05-04T17:08:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=80827c123f2a5f5e0fbcc6cb33b102666acec08e'/>
<id>urn:sha1:80827c123f2a5f5e0fbcc6cb33b102666acec08e</id>
<content type='text'>
The endianness flag is used on the CODEC side to specify an
ambivalence to endian, typically because it is lost over the hardware
link. This device receives audio over an I2S DAI and as such should
have endianness applied.

Signed-off-by: Charles Keepax &lt;ckeepax@opensource.cirrus.com&gt;
Link: https://lore.kernel.org/r/20220504170905.332415-24-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: rt9120: Correct the reg 0x09 size to one byte</title>
<updated>2022-04-22T11:37:20Z</updated>
<author>
<name>ChiYuan Huang</name>
<email>cy_huang@richtek.com</email>
</author>
<published>2022-04-22T06:26:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=87c18514bb8477563a61f50b4285da156296edc4'/>
<id>urn:sha1:87c18514bb8477563a61f50b4285da156296edc4</id>
<content type='text'>
Correct the reg 0x09 size to one byte.

Signed-off-by: ChiYuan Huang &lt;cy_huang@richtek.com&gt;
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/1650608810-3829-1-git-send-email-u0084500@gmail.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: rt9120: Add the compatibility with rt9120s</title>
<updated>2021-11-12T18:16:39Z</updated>
<author>
<name>ChiYuan Huang</name>
<email>cy_huang@richtek.com</email>
</author>
<published>2021-11-10T03:45:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=dbe638f71eaed5c7b5fbbf03fb044e429c4a2d48'/>
<id>urn:sha1:dbe638f71eaed5c7b5fbbf03fb044e429c4a2d48</id>
<content type='text'>
Use device id reg to be compatible with rt9120 and rt9120s.

Signed-off-by: ChiYuan Huang &lt;cy_huang@richtek.com&gt;
Link: https://lore.kernel.org/r/1636515921-31694-4-git-send-email-u0084500@gmail.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: rt9120: Fix clock auto sync issue when fs is the multiple of 48</title>
<updated>2021-11-12T18:16:37Z</updated>
<author>
<name>ChiYuan Huang</name>
<email>cy_huang@richtek.com</email>
</author>
<published>2021-11-10T03:45:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8f1f1846d78a318c7cdb8268b47a964a3dbc0075'/>
<id>urn:sha1:8f1f1846d78a318c7cdb8268b47a964a3dbc0075</id>
<content type='text'>
If fs is divided by 48, to make audio clock sync rate correct, internal
sync function have be disabled.

Signed-off-by: ChiYuan Huang &lt;cy_huang@richtek.com&gt;
Link: https://lore.kernel.org/r/1636515921-31694-3-git-send-email-u0084500@gmail.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: rt9120: Update internal ocp level to the correct value</title>
<updated>2021-11-12T18:16:35Z</updated>
<author>
<name>ChiYuan Huang</name>
<email>cy_huang@richtek.com</email>
</author>
<published>2021-11-10T03:45:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=9bb4e4bae5a19ca68527392e85ad5ee88fc4b786'/>
<id>urn:sha1:9bb4e4bae5a19ca68527392e85ad5ee88fc4b786</id>
<content type='text'>
Update internal ocp level to correct value.

Even the wrong ocp setting can also make the sound output, but the power
cannot match the IC capability.

Signed-off-by: ChiYuan Huang &lt;cy_huang@richtek.com&gt;
Link: https://lore.kernel.org/r/1636515921-31694-2-git-send-email-u0084500@gmail.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: rt9120: Add rt9210 audio amplifier support</title>
<updated>2021-10-13T11:59:41Z</updated>
<author>
<name>ChiYuan Huang</name>
<email>cy_huang@richtek.com</email>
</author>
<published>2021-10-13T01:28:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=7228d83531fcd801aeac97db99a028a386a2e828'/>
<id>urn:sha1:7228d83531fcd801aeac97db99a028a386a2e828</id>
<content type='text'>
Add Richtek rt9120 audio amplifier support.

Signed-off-by: ChiYuan Huang &lt;cy_huang@richtek.com&gt;
Link: https://lore.kernel.org/r/1634088519-995-3-git-send-email-u0084500@gmail.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: rt9120: Drop rt9210 audio amplifier support</title>
<updated>2021-10-13T11:58:31Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2021-10-13T11:58:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=916f2ce39d48fc52a8ef1d82c62d7d42e2562603'/>
<id>urn:sha1:916f2ce39d48fc52a8ef1d82c62d7d42e2562603</id>
<content type='text'>
This drops the rt9210 support due to a race with a new version being
sent out for some incremental changes.

Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: rt9120: Add rt9210 audio amplifier support</title>
<updated>2021-10-08T12:50:37Z</updated>
<author>
<name>ChiYuan Huang</name>
<email>cy_huang@richtek.com</email>
</author>
<published>2021-10-08T04:50:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=f218b5e2662c261c6acce5036ad4067669e51eac'/>
<id>urn:sha1:f218b5e2662c261c6acce5036ad4067669e51eac</id>
<content type='text'>
Add Richtek rt9120 audio amplifier support.

Signed-off-by: ChiYuan Huang &lt;cy_huang@richtek.com&gt;
[Fix a Gain-&gt;Volume -- broonie]
Message-Id: &lt;1633668612-25524-3-git-send-email-u0084500@gmail.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
</feed>
