<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/soc/mediatek, branch linux-5.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-5.1.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-5.1.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2019-06-15T09:53:01Z</updated>
<entry>
<title>soc: mediatek: pwrap: Zero initialize rdata in pwrap_init_cipher</title>
<updated>2019-06-15T09:53:01Z</updated>
<author>
<name>Nathan Chancellor</name>
<email>natechancellor@gmail.com</email>
</author>
<published>2019-03-07T22:56:51Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=bd9704bcc578785c7b1ce0639279eabef312fc79'/>
<id>urn:sha1:bd9704bcc578785c7b1ce0639279eabef312fc79</id>
<content type='text'>
[ Upstream commit 89e28da82836530f1ac7a3a32fecc31f22d79b3e ]

When building with -Wsometimes-uninitialized, Clang warns:

drivers/soc/mediatek/mtk-pmic-wrap.c:1358:6: error: variable 'rdata' is
used uninitialized whenever '||' condition is true
[-Werror,-Wsometimes-uninitialized]

If pwrap_write returns non-zero, pwrap_read will not be called to
initialize rdata, meaning that we will use some random uninitialized
stack value in our print statement. Zero initialize rdata in case this
happens.

Link: https://github.com/ClangBuiltLinux/linux/issues/401
Signed-off-by: Nathan Chancellor &lt;natechancellor@gmail.com&gt;
Reviewed-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Reviewed-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Matthias Brugger &lt;matthias.bgg@gmail.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>soc: mediatek: Add Mediatek CMDQ helper</title>
<updated>2018-12-02T19:46:10Z</updated>
<author>
<name>Houlong Wei</name>
<email>houlong.wei@mediatek.com</email>
</author>
<published>2018-11-29T03:37:09Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=576f1b4bc80220e1f88f1de5ecb25d99a6e9fa04'/>
<id>urn:sha1:576f1b4bc80220e1f88f1de5ecb25d99a6e9fa04</id>
<content type='text'>
Add Mediatek CMDQ helper to create CMDQ packet and assemble GCE op code.

Signed-off-by: Houlong Wei &lt;houlong.wei@mediatek.com&gt;
Signed-off-by: HS Liao &lt;hs.liao@mediatek.com&gt;
Signed-off-by: Matthias Brugger &lt;matthias.bgg@gmail.com&gt;
</content>
</entry>
<entry>
<title>soc: mediatek: pwrap: add mt6357 driver for mt6765 SoCs</title>
<updated>2018-09-25T15:36:38Z</updated>
<author>
<name>Argus Lin</name>
<email>argus.lin@mediatek.com</email>
</author>
<published>2018-09-04T12:31:54Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=3013b410a8f50cf251e09da00b8241fd43bb41fa'/>
<id>urn:sha1:3013b410a8f50cf251e09da00b8241fd43bb41fa</id>
<content type='text'>
MT6357 is a new power management IC and it is used for mt6765 SoCs.
To define mt6357_regs for pmic register mapping and pmic_mt6357
for accessing register.

Signed-off-by: Argus Lin &lt;argus.lin@mediatek.com&gt;
Signed-off-by: Matthias Brugger &lt;matthias.bgg@gmail.com&gt;
</content>
</entry>
<entry>
<title>soc: mediatek: pwrap: add pwrap driver for mt6765 SoCs</title>
<updated>2018-09-25T15:28:37Z</updated>
<author>
<name>Argus Lin</name>
<email>argus.lin@mediatek.com</email>
</author>
<published>2018-09-04T12:31:53Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=12b079b0fe8b87229939f64f66f1c9545a91535f'/>
<id>urn:sha1:12b079b0fe8b87229939f64f66f1c9545a91535f</id>
<content type='text'>
mt6765 is a highly integrated SoCs, it uses mt6357 for power management.
This patch adds pwrap driver to access mt6357. Pwrap of mt6765 support
dynamic priority meichanism, sequence monitor and starvation mechanism
to make transaction more reliable.

Signed-off-by: Argus Lin &lt;argus.lin@mediatek.com&gt;
[mb: change has_bridge to capabilities]
Signed-off-by: Matthias Brugger &lt;matthias.bgg@gmail.com&gt;
</content>
</entry>
<entry>
<title>soc: mediatek: pwrap: use true and false for boolean values</title>
<updated>2018-09-25T14:35:47Z</updated>
<author>
<name>Gustavo A. R. Silva</name>
<email>gustavo@embeddedor.com</email>
</author>
<published>2018-08-05T01:02:01Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=2462080fe9417717a0594e082f50fce048d5a09b'/>
<id>urn:sha1:2462080fe9417717a0594e082f50fce048d5a09b</id>
<content type='text'>
Return statements in functions returning bool should use true or false
instead of an integer value.

This issue was detected with the help of Coccinelle.

Signed-off-by: Gustavo A. R. Silva &lt;gustavo@embeddedor.com&gt;
Acked-by: Sean Wang &lt;sean.wang@mediatek.com&gt;
Signed-off-by: Matthias Brugger &lt;matthias.bgg@gmail.com&gt;
</content>
</entry>
<entry>
<title>soc: mediatek: add mt8183 pwrap support</title>
<updated>2018-09-25T13:50:17Z</updated>
<author>
<name>Hsin-Hsiung Wang</name>
<email>hsin-hsiung.wang@mediatek.com</email>
</author>
<published>2018-09-19T07:26:00Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=919049f6d44b7303794e6da7e3f6b91a41d2cf04'/>
<id>urn:sha1:919049f6d44b7303794e6da7e3f6b91a41d2cf04</id>
<content type='text'>
MT6358 is a new power management IC and it is used for
mt8183 SoCs. To define mt6358_regs for pmic register
mapping and pmic_mt6358 for accessing register.
Adding one more interrupt and wdt source.

Signed-off-by: Hsin-Hsiung Wang &lt;hsin-hsiung.wang@mediatek.com&gt;
Signed-off-by: Matthias Brugger &lt;matthias.bgg@gmail.com&gt;
</content>
</entry>
<entry>
<title>soc: mediatek: pwrap: use group of bits for pwrap capability</title>
<updated>2018-09-25T13:49:38Z</updated>
<author>
<name>Hsin-Hsiung Wang</name>
<email>hsin-hsiung.wang@mediatek.com</email>
</author>
<published>2018-09-25T13:48:39Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=0bd3134d446bed25ee2034cfc72be5401836cffd'/>
<id>urn:sha1:0bd3134d446bed25ee2034cfc72be5401836cffd</id>
<content type='text'>
Use group of bits for pwrap capability instead of
elements of structure.
This patch is preparing for adding mt8183 pwrap support.

Signed-off-by: Hsin-Hsiung Wang &lt;hsin-hsiung.wang@mediatek.com&gt;
Signed-off-by: Matthias Brugger &lt;matthias.bgg@gmail.com&gt;
</content>
</entry>
<entry>
<title>soc: mediatek: pwrap: order SoCs and PMICs ascending</title>
<updated>2018-09-25T13:46:59Z</updated>
<author>
<name>Matthias Brugger</name>
<email>matthias.bgg@gmail.com</email>
</author>
<published>2018-09-25T13:46:59Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=bd69e7e9d5e74c9d40856c5805f8cbf2a13165d3'/>
<id>urn:sha1:bd69e7e9d5e74c9d40856c5805f8cbf2a13165d3</id>
<content type='text'>
Order SoC and PMIC numbers ascending to make the code more
readable.

Signed-off-by: Hsin-Hsiung Wang &lt;hsin-hsiung.wang@mediatek.com&gt;
Signed-off-by: Matthias Brugger &lt;matthias.bgg@gmail.com&gt;
</content>
</entry>
<entry>
<title>soc: mediatek: pwrap: add mt6351 driver for mt6797 SoCs</title>
<updated>2018-07-16T13:50:17Z</updated>
<author>
<name>Argus Lin</name>
<email>argus.lin@mediatek.com</email>
</author>
<published>2018-06-11T10:50:00Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=00673189b8b971c00417632ffe4c90ba9b4f2568'/>
<id>urn:sha1:00673189b8b971c00417632ffe4c90ba9b4f2568</id>
<content type='text'>
MT6351 is a new power management IC and it is used for mt6797 SoCs. To define
mt6351_regs for pmic register mapping and pmic_mt6351 for
accessing register.

Signed-off-by: Argus Lin &lt;argus.lin@mediatek.com&gt;
Signed-off-by: Matthias Brugger &lt;matthias.bgg@gmail.com&gt;
</content>
</entry>
<entry>
<title>soc: mediatek: pwrap: add pwrap driver for mt6797 SoCs</title>
<updated>2018-07-16T13:50:17Z</updated>
<author>
<name>Argus Lin</name>
<email>argus.lin@mediatek.com</email>
</author>
<published>2018-06-11T10:49:59Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=8e62ac4bad3956536fc08e351454abc90dda1e9f'/>
<id>urn:sha1:8e62ac4bad3956536fc08e351454abc90dda1e9f</id>
<content type='text'>
mt6797 is a highly integrated SoCs, it uses mt6351 for power management.
This patch adds pwrap driver to access mt6351. Pwrap of mt6797 support
dynamic priority meichanism, sequence monitor and starvation mechanism
to make transaction more reliable.

A big change from V4 to V5 is we remove INT1 interrupt declaration since
it is only for debug purpose. The PWRAP_RDDMY, RESET and DCM can use legacy
setting, it is backwards compatible. The new caps flag declaration is not
needed, just remove it.

Signed-off-by: Argus Lin &lt;argus.lin@mediatek.com&gt;
Signed-off-by: Matthias Brugger &lt;matthias.bgg@gmail.com&gt;
</content>
</entry>
</feed>
