<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/i2c/busses/i2c-nvidia-gpu.c, branch linus/master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/i2c/busses/i2c-nvidia-gpu.c?h=linus%2Fmaster</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/i2c/busses/i2c-nvidia-gpu.c?h=linus%2Fmaster'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-02-15T09:05:02Z</updated>
<entry>
<title>i2c: nvidia-gpu: Convert to use dev_err_probe()</title>
<updated>2022-02-15T09:05:02Z</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2022-01-05T14:19:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=c74a30ce137636d1a12abde357718e45524c2b71'/>
<id>urn:sha1:c74a30ce137636d1a12abde357718e45524c2b71</id>
<content type='text'>
It's fine to call dev_err_probe() in -&gt;probe() when error code is known.
Convert the driver to use dev_err_probe().

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@kernel.org&gt;
</content>
</entry>
<entry>
<title>i2c: nvidia-gpu: Use temporary variable for struct device</title>
<updated>2022-02-15T09:05:00Z</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2022-01-05T14:19:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=c2c25be6dc94132bca85f5b2c6ee9f6d7ab0173f'/>
<id>urn:sha1:c2c25be6dc94132bca85f5b2c6ee9f6d7ab0173f</id>
<content type='text'>
Use temporary variable for struct device to make code neater.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@kernel.org&gt;
</content>
</entry>
<entry>
<title>i2c: nvidia-gpu: Switch to use i2c_new_ccgx_ucsi()</title>
<updated>2022-02-15T09:04:57Z</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2022-01-05T14:19:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=2079563d6f60e63f7fc5d1b0b7a48dbb93c209d1'/>
<id>urn:sha1:2079563d6f60e63f7fc5d1b0b7a48dbb93c209d1</id>
<content type='text'>
Instead of open coded variant switch to use i2c_new_ccgx_ucsi().

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@kernel.org&gt;
</content>
</entry>
<entry>
<title>i2c: nvidia-gpu: Constify the software node</title>
<updated>2021-04-10T19:43:01Z</updated>
<author>
<name>Heikki Krogerus</name>
<email>heikki.krogerus@linux.intel.com</email>
</author>
<published>2021-03-29T10:50:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=239798f5fb5e87b7ed253df5c5de893aad57fc6b'/>
<id>urn:sha1:239798f5fb5e87b7ed253df5c5de893aad57fc6b</id>
<content type='text'>
Additional device properties are always just a part of a
software fwnode. If the device properties are constant, the
software node can also be constant.

Signed-off-by: Heikki Krogerus &lt;heikki.krogerus@linux.intel.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@kernel.org&gt;
</content>
</entry>
<entry>
<title>i2c: nvidia-gpu: drop empty stub for runtime pm</title>
<updated>2020-12-02T20:29:30Z</updated>
<author>
<name>Vaibhav Gupta</name>
<email>vaibhavgupta40@gmail.com</email>
</author>
<published>2020-11-07T08:21:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=b4ff421f123ebc16b4c8cb4474485be29812b5ed'/>
<id>urn:sha1:b4ff421f123ebc16b4c8cb4474485be29812b5ed</id>
<content type='text'>
After the commit c5eb1190074c ("PCI / PM: Allow runtime PM without callback
functions") we no more need empty stubs for runtime-pm to work.

The driver has no device specific task(s) for .suspend() . The stub was
placed just for runtime-pm, which can be dropped now.

Reported-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;
Signed-off-by: Vaibhav Gupta &lt;vaibhavgupta40@gmail.com&gt;
Reviewed-by: Jarkko Nikula &lt;jarkko.nikula@linux.intel.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@kernel.org&gt;
</content>
</entry>
<entry>
<title>i2c: nvidia-gpu: Use put_unaligned_be24()</title>
<updated>2020-09-21T10:05:40Z</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2020-07-16T14:53:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=9b65b020fff70bc070c4cb8fcf8ea8a1f70b111b'/>
<id>urn:sha1:9b65b020fff70bc070c4cb8fcf8ea8a1f70b111b</id>
<content type='text'>
This makes the driver code slightly easier to read.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Reviewed-by: Ajay Gupta &lt;ajayg@nvidia.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@kernel.org&gt;
</content>
</entry>
<entry>
<title>i2c: nvidia-gpu: Use PTR_ERR_OR_ZERO() to simplify code</title>
<updated>2020-05-27T10:07:34Z</updated>
<author>
<name>Aishwarya Ramakrishnan</name>
<email>aishwaryarj100@gmail.com</email>
</author>
<published>2020-05-05T14:52:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=ed2ac8116ff25d5b234f983ffbb0c3f5ec2930aa'/>
<id>urn:sha1:ed2ac8116ff25d5b234f983ffbb0c3f5ec2930aa</id>
<content type='text'>
PTR_ERR_OR_ZERO contains if(IS_ERR(...)) + PTR_ERR.

Generated by: scripts/coccinelle/api/ptr_ret.cocci

Signed-off-by: Aishwarya Ramakrishnan &lt;aishwaryarj100@gmail.com&gt;
Reviewed-by: Ajay Gupta &lt;ajayg@nvidia.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@kernel.org&gt;
</content>
</entry>
<entry>
<title>i2c: nvidia-gpu: Handle timeout correctly in gpu_i2c_check_status()</title>
<updated>2020-03-24T21:40:55Z</updated>
<author>
<name>Kai-Heng Feng</name>
<email>kai.heng.feng@canonical.com</email>
</author>
<published>2020-03-24T15:28:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=d944b27df121e2ee854a6c2fad13d6c6300792d4'/>
<id>urn:sha1:d944b27df121e2ee854a6c2fad13d6c6300792d4</id>
<content type='text'>
Nvidia card may come with a "phantom" UCSI device, and its driver gets
stuck in probe routine, prevents any system PM operations like suspend.

There's an unaccounted case that the target time can equal to jiffies in
gpu_i2c_check_status(), let's solve that by using readl_poll_timeout()
instead of jiffies comparison functions.

Fixes: c71bcdcb42a7 ("i2c: add i2c bus driver for NVIDIA GPU")
Suggested-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Kai-Heng Feng &lt;kai.heng.feng@canonical.com&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Reviewed-by: Ajay Gupta &lt;ajayg@nvidia.com&gt;
Tested-by: Ajay Gupta &lt;ajayg@nvidia.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>i2c: nvidia-gpu: convert to use i2c_new_client_device()</title>
<updated>2020-01-15T19:39:21Z</updated>
<author>
<name>Wolfram Sang</name>
<email>wsa+renesas@sang-engineering.com</email>
</author>
<published>2020-01-07T17:47:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=7fd0379f8696378128c73c29f7b69a9d3ee18fdc'/>
<id>urn:sha1:7fd0379f8696378128c73c29f7b69a9d3ee18fdc</id>
<content type='text'>
Move away from the deprecated API and return the shiny new ERRPTR where
useful.

Signed-off-by: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>docs: fix broken doc references due to renames</title>
<updated>2019-07-17T09:57:51Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab+samsung@kernel.org</email>
</author>
<published>2019-07-15T08:31:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=bff9e34c678552eb172916d9288913e8bd8cc9d1'/>
<id>urn:sha1:bff9e34c678552eb172916d9288913e8bd8cc9d1</id>
<content type='text'>
Some files got renamed but probably due to some merge conflicts,
a few references still point to the old locations.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+samsung@kernel.org&gt;
</content>
</entry>
</feed>
