<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/i3c/master, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/i3c/master?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/i3c/master?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-05-17T20:34:42Z</updated>
<entry>
<title>i3c: master: svc: fix returnvar.cocci warning</title>
<updated>2022-05-17T20:34:42Z</updated>
<author>
<name>Guo Zhengkui</name>
<email>guozhengkui@vivo.com</email>
</author>
<published>2022-05-04T16:49:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=227fab1ee7ca70c9b4b0915898e81327aeb70414'/>
<id>urn:sha1:227fab1ee7ca70c9b4b0915898e81327aeb70414</id>
<content type='text'>
Fix the following coccicheck warning:

drivers/i3c/master/svc-i3c-master.c:1600:5-8:
Unneeded variable: "ret". Return "0" on line 1605.

Signed-off-by: Guo Zhengkui &lt;guozhengkui@vivo.com&gt;
Reviewed-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/20220504164901.9622-1-guozhengkui@vivo.com
</content>
</entry>
<entry>
<title>i3c/master: simplify the return expression of i3c_hci_remove()</title>
<updated>2022-05-17T20:33:43Z</updated>
<author>
<name>Minghao Chi</name>
<email>chi.minghao@zte.com.cn</email>
</author>
<published>2022-05-05T02:19:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=c157a606e7525409208a51bd6663d6da3757d69e'/>
<id>urn:sha1:c157a606e7525409208a51bd6663d6da3757d69e</id>
<content type='text'>
Simplify the return expression.

Reported-by: Zeal Robot &lt;zealci@zte.com.cn&gt;
Signed-off-by: Minghao Chi &lt;chi.minghao@zte.com.cn&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/20220505021954.54524-1-chi.minghao@zte.com.cn
</content>
</entry>
<entry>
<title>i3c: master: dw: check return of dw_i3c_master_get_free_pos()</title>
<updated>2022-01-13T01:05:50Z</updated>
<author>
<name>Tom Rix</name>
<email>trix@redhat.com</email>
</author>
<published>2022-01-08T15:09:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=13462ba1815db5a96891293a9cfaa2451f7bd623'/>
<id>urn:sha1:13462ba1815db5a96891293a9cfaa2451f7bd623</id>
<content type='text'>
Clang static analysis reports this problem
dw-i3c-master.c:799:9: warning: The result of the left shift is
  undefined because the left operand is negative
                      COMMAND_PORT_DEV_INDEX(pos) |
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~

pos can be negative because dw_i3c_master_get_free_pos() can return an
error.  So check for an error.

Fixes: 1dd728f5d4d4 ("i3c: master: Add driver for Synopsys DesignWare IP")
Signed-off-by: Tom Rix &lt;trix@redhat.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/20220108150948.3988790-1-trix@redhat.com
</content>
</entry>
<entry>
<title>i3c: master: mipi-i3c-hci: correct the config reference for endianness</title>
<updated>2022-01-05T08:54:54Z</updated>
<author>
<name>Lukas Bulwahn</name>
<email>lukas.bulwahn@gmail.com</email>
</author>
<published>2022-01-03T09:45:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=7a2bccd1a27f0c8fc87e4ed56abd6ea9fa7314a6'/>
<id>urn:sha1:7a2bccd1a27f0c8fc87e4ed56abd6ea9fa7314a6</id>
<content type='text'>
The referred config BIG_ENDIAN does not exist. The config for the
endianness of the CPU architecture is called CPU_BIG_ENDIAN.

Correct the config name to the existing config for the endianness.

Signed-off-by: Lukas Bulwahn &lt;lukas.bulwahn@gmail.com&gt;
Acked-by: Nicolas Pitre &lt;npitre@baylibre.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/20220103094504.3602-1-lukas.bulwahn@gmail.com
</content>
</entry>
<entry>
<title>i3c: master: svc: enable the interrupt in the enable ibi function</title>
<updated>2022-01-05T08:53:44Z</updated>
<author>
<name>Clark Wang</name>
<email>xiaoning.wang@nxp.com</email>
</author>
<published>2021-12-27T07:45:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=7ff730ca458e841dbcdc87f264d7afe3eaed525e'/>
<id>urn:sha1:7ff730ca458e841dbcdc87f264d7afe3eaed525e</id>
<content type='text'>
If enable interrupt in the svc_i3c_master_bus_init() but do not call
enable ibi in the device driver, it will cause a kernel dump in the
svc_i3c_master_handle_ibi() when a slave start occurs on the i3c bus,
because the data-&gt;ibi_pool is not initialized.
So only enable the interrupt in svc_i3c_master_enable_ibi() function.

Signed-off-by: Clark Wang &lt;xiaoning.wang@nxp.com&gt;
Reviewed-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/20211227074529.1660398-9-xiaoning.wang@nxp.com
</content>
</entry>
<entry>
<title>i3c: master: svc: add the missing module device table</title>
<updated>2022-01-05T08:53:44Z</updated>
<author>
<name>Clark Wang</name>
<email>xiaoning.wang@nxp.com</email>
</author>
<published>2021-12-27T07:45:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=c5d4587bb9a9a03b30bbc928b4a007fcd1f8c279'/>
<id>urn:sha1:c5d4587bb9a9a03b30bbc928b4a007fcd1f8c279</id>
<content type='text'>
The missing MODULE_DEVICE_TABLE() will cause the svc-i3c-master cannot
be auto probed when it is built in moudle.
So add it.

Signed-off-by: Clark Wang &lt;xiaoning.wang@nxp.com&gt;
Reviewed-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Reviewed-by: Jun Li &lt;jun.li@nxp.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/20211227074529.1660398-8-xiaoning.wang@nxp.com
</content>
</entry>
<entry>
<title>i3c: master: svc: add runtime pm support</title>
<updated>2022-01-05T08:53:44Z</updated>
<author>
<name>Clark Wang</name>
<email>xiaoning.wang@nxp.com</email>
</author>
<published>2021-12-27T07:45:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=05be23ef78f76a741d529226a8764d81c719a1e3'/>
<id>urn:sha1:05be23ef78f76a741d529226a8764d81c719a1e3</id>
<content type='text'>
Add runtime pm support to dynamically manage the clock.

Signed-off-by: Clark Wang &lt;xiaoning.wang@nxp.com&gt;
Reviewed-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Reviewed-by: Jun Li &lt;jun.li@nxp.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/20211227074529.1660398-7-xiaoning.wang@nxp.com
</content>
</entry>
<entry>
<title>i3c: master: svc: set ODSTOP to let I2C device see the STOP signal</title>
<updated>2022-01-05T08:53:44Z</updated>
<author>
<name>Clark Wang</name>
<email>xiaoning.wang@nxp.com</email>
</author>
<published>2021-12-27T07:45:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=173fcb27210b18b38f1080f1c8f806e02cf8a53b'/>
<id>urn:sha1:173fcb27210b18b38f1080f1c8f806e02cf8a53b</id>
<content type='text'>
If using I2C/I3C mixed mode, need to set ODSTOP. Otherwise, the I2C
devices cannot see the stop signal. It may cause message sending errors.

Signed-off-by: Clark Wang &lt;xiaoning.wang@nxp.com&gt;
Reviewed-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Reviewed-by: Jun Li &lt;jun.li@nxp.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/20211227074529.1660398-6-xiaoning.wang@nxp.com
</content>
</entry>
<entry>
<title>i3c: master: svc: add support for slave to stop returning data</title>
<updated>2022-01-05T08:53:44Z</updated>
<author>
<name>Clark Wang</name>
<email>xiaoning.wang@nxp.com</email>
</author>
<published>2021-12-27T07:45:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=d5e512574dd2eb06ace859b27cafb0de41743bb5'/>
<id>urn:sha1:d5e512574dd2eb06ace859b27cafb0de41743bb5</id>
<content type='text'>
When i3c controller reads data from slave device, slave device can stop
returning data with an ACK after any byte.
Add this support for svc i3c controller. Otherwise, it will timeout
when the slave device ends the read operation early.

Signed-off-by: Clark Wang &lt;xiaoning.wang@nxp.com&gt;
Reviewed-by: Jun Li &lt;jun.li@nxp.com&gt;
Reviewed-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/20211227074529.1660398-5-xiaoning.wang@nxp.com
</content>
</entry>
<entry>
<title>i3c: master: svc: separate err, fifo and disable interrupt of reset function</title>
<updated>2022-01-05T08:53:44Z</updated>
<author>
<name>Clark Wang</name>
<email>xiaoning.wang@nxp.com</email>
</author>
<published>2021-12-27T07:45:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=9fd6b5ce8523460b024361a802f5e5738d2da543'/>
<id>urn:sha1:9fd6b5ce8523460b024361a802f5e5738d2da543</id>
<content type='text'>
Sometimes only need to reset err and fifo regs, so split the origin
reset function to three functions.
Put them at the top of the file, to let more functions can call them.

Signed-off-by: Clark Wang &lt;xiaoning.wang@nxp.com&gt;
Reviewed-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Reviewed-by: Jun Li &lt;jun.li@nxp.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/20211227074529.1660398-4-xiaoning.wang@nxp.com
</content>
</entry>
</feed>
