linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Linux driver for IRPS5401 - status reg not found
@ 2020-03-30 11:33 Michal Simek
  2020-03-30 15:24 ` Guenter Roeck
  0 siblings, 1 reply; 14+ messages in thread
From: Michal Simek @ 2020-03-30 11:33 UTC (permalink / raw)
  To: Robert Hancock, Guenter Roeck; +Cc: linux-hwmon

Hi Robert and Guenter,

Xilinx boards are using IRPS5401 chips and I have tried to use your driver.
I have checked that u-boot can detect that devices and read it.

ZynqMP> i2c probe
Valid chip addresses: 0C 13 14 20 43 44 74
ZynqMP> i2c md 13 0 10
0000: 00 08 00 08 00 08 00 08 00 08 00 08 00 08 00 08    ................
ZynqMP> i2c md 14 0 10
0000: 00 08 00 08 00 08 00 08 00 08 00 08 00 08 00 08    ................
ZynqMP> i2c md 43 0 10
0000: 00 98 ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
ZynqMP> i2c md 44 0 10
0000: 00 8a ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
ZynqMP>

Here is DT fragment which I use (it is under i2c mux)

185                         irps5401_43: irps5401@43 {
186                                 compatible = "infineon,irps5401";
187                                 reg = <0x43>; /* pmbus / i2c 0x13 */
188                         };
189                         irps5401_4d: irps5401@44 {
190                                 compatible = "infineon,irps5401";
191                                 reg = <0x44>; /* pmbus / i2c 0x14 */
192                         };

I see that driver is used but with error.

[   37.553740] irps5401 3-0043: PMBus status register not found
[   37.559815] irps5401 3-0044: PMBus status register not found


That's why I want to check with you what could be the problem.

Also I would like to know if there is a way to disable it via any API.
One of this regulator is connected to another device which doesn't have
access to it. It means before powering up this device there is a need to
enable this power regulator. The best via any dedicated API.

Thanks,
Michal

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-04-10  7:19 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-30 11:33 Linux driver for IRPS5401 - status reg not found Michal Simek
2020-03-30 15:24 ` Guenter Roeck
2020-03-30 15:42   ` Robert Hancock
2020-03-30 18:48     ` Guenter Roeck
2020-03-30 19:09       ` Robert Hancock
2020-03-30 19:48         ` Guenter Roeck
2020-03-31 12:38           ` Michal Simek
2020-04-09 14:29             ` Michal Simek
2020-04-09 15:16               ` Guenter Roeck
2020-04-09 15:30                 ` Robert Hancock
2020-04-09 21:23                   ` Guenter Roeck
2020-04-10  7:19                     ` Michal Simek
2020-03-30 15:46   ` Michal Simek
2020-03-30 16:52     ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).