I2C device driver names
Hi,
As part of my work to generate a device tree from the machine readable workbook XML, I need to create I2C device entries, which have the compatible properties that need to be filled in.
The following parts are present in the system I'm trying to build, with firmware requirements to access them. I took a stab at the names. Could someone doublecheck them and maybe comment on if a driver is missing, or maybe if some upcoming work is known that will include it? I didn't have much luck finding a lot of these in the Documentation/devicetree/bindings directories.
PMBus Power supplies: ?
MAX31785 fan controller: max,max31785
BMP280: bosch,bmp280
TMP4523A temp sensor: ti,tmp423
TMP275 temp sensor: ti,tmp275
pca9552 IO expander: nxp,pca9552
UCD90160 power sequencer: ti,ucd90160
RX8900CE RTC: epson,rx8900ce
24c64 EEPROM: atmel,24c64
There are also a handful of regulators, but so far I haven't heard of any requirements to access them.
Thanks.
Quoted 6 lines · Matt Spinler
Hi,
As part of my work to generate a device tree from the machine readable workbook XML, I need to create I2C device entries, which have the compatible properties that need to be filled in.
Quoted 6 lines
The following parts are present in the system I'm trying to build, with firmware requirements to access them. I took a stab at the names. Could someone doublecheck them and maybe comment on if a driver is missing, or maybe if some upcoming work is known that will include it? I didn't have much luck finding a lot of these in the
Documentation/devicetree/bindingsdirectories.
If they're not in the kernel tree it could mean there is not a driver for them, or that they are supported as part of the trivial device bindings.
Quoted 4 lines
PMBus Power supplies: ?
MAX31785 fan controller: max,max31785
Doesn't appear to be an upstream driver. Please open a ticket.
Quoted 2 lines
BMP280: bosch,bmp280
Supported by the iio bmp280 driver.
Quoted 2 lines
TMP4523A temp sensor: ti,tmp423
Supported by the tmp421 hwmon driver.
Quoted 2 lines
TMP275 temp sensor: ti,tmp275
Documentation/devicetree/bindings/i2c/trivial-devices.txt
Supported by the lm75 hwmon driver.
Quoted 1 line
pca9552 IO expander: nxp,pca9552
This appears to be a LED driver?
There's a LED device driver called leds-pca955x.
Quoted 2 lines
UCD90160 power sequencer: ti,ucd90160
A kernel driver called ucd9000 appears to support similar chips. Please open a ticket.
Quoted 2 lines
RX8900CE RTC: epson,rx8900ce
No upstream driver. Please open a ticket.
Quoted 2 lines
24c64 EEPROM: atmel,24c64
LGTM.
Cheers,
Joel
Quoted 10 lines
There are also a handful of regulators, but so far I haven't heard of any requirements to access them.
Thanks.
_______________________________________________
openbmc mailing list
[email protected]
https://lists.ozlabs.org/listinfo/openbmc
Quoted 13 lines · Joel Stanley
Quoted 3 lines · Matt Spinler
Hi,
As part of my work to generate a device tree from the machine
readable
Quoted 1 line
workbook XML, I need to create I2C device entries, which have the
compatible
Quoted 3 lines
properties that need to be filled in.
The following parts are present in the system I'm trying to build,
with
Quoted 9 lines
Quoted 1 line
firmware requirements to access them. I took a stab at the names.
Could
Quoted 1 line
someone doublecheck them and maybe comment on if a driver is
missing, or
Quoted 1 line
maybe if some upcoming work is known that will include it? I
didn't have
Quoted 1 line
much luck finding a lot of these in the
Documentation/devicetree/bindingsQuoted 1 line
directories.
Unique to the i2c subsystem, i2c devices will also match when the vendor is different but the chip name portion matches.
Quoted 9 lines
If they're not in the kernel tree it could mean there is not a driver for them, or that they are supported as part of the trivial device bindings.
Quoted 4 lines
PMBus Power supplies: ?
MAX31785 fan controller: max,max31785
Maxim for the vendor? see Documentation/devicetree/bindings/vendor-prefixes.txt
Quoted 18 lines
Doesn't appear to be an upstream driver. Please open a ticket.
Quoted 2 lines
BMP280: bosch,bmp280
Supported by the iio bmp280 driver.
Quoted 2 lines
TMP4523A temp sensor: ti,tmp423
Supported by the tmp421 hwmon driver.
Quoted 2 lines
TMP275 temp sensor: ti,tmp275
Documentation/devicetree/bindings/i2c/trivial-devices.txt
Quoted 7 lines
Supported by the lm75 hwmon driver.
Quoted 1 line
pca9552 IO expander: nxp,pca9552
This appears to be a LED driver?
There's a LED device driver called leds-pca955x.
There is also a gpio driver for pca955[4567] in pca953x.c.
Quoted 27 lines
Quoted 3 lines
UCD90160 power sequencer: ti,ucd90160
A kernel driver called ucd9000 appears to support similar chips. Please open a ticket.
Quoted 2 lines
RX8900CE RTC: epson,rx8900ce
No upstream driver. Please open a ticket.
Quoted 2 lines
24c64 EEPROM: atmel,24c64
LGTM.
Cheers,
Joel
Quoted 2 lines
There are also a handful of regulators, but so far I haven't heard
of any
Quoted 3 lines
requirements to access them.
Thanks.
Quoted 5 lines · Joel Stanley
Quoted 3 lines
PMBus Power supplies: ?
MAX31785 fan controller: max,max31785
Doesn't appear to be an upstream driver. Please open a ticket.
Timothy @ Raptor wrote a driver for this recently, didn't he? Joel, I thought you were going to merge it in for the time being. Timothy mentioned that there was some upstream work going on in that subsystem that was preventing it from be merged in the current state but that the subsystem owner was likely going to take it on.
https://patchwork.ozlabs.org/patch/672045/
Signature · 1 line
Patrick Williams
Thanks. I opened the following issues:
Power supply: https://github.com/openbmc/openbmc/issues/651
MAX31785: https://github.com/openbmc/openbmc/issues/652
UCD90160: https://github.com/openbmc/openbmc/issues/653
RX8900CE: https://github.com/openbmc/openbmc/issues/654
Quoted 99 lines · Milton Miller II
Quoted 13 lines · On 10/06/2016 about 06:43PM somewhere, Joel Stanley <[email protected]…
Quoted 3 lines · On Fri, Oct 7, 2016 at 7:14 AM, Matt Spinler <[email protected]…
Hi,
As part of my work to generate a device tree from the machine
readable
Quoted 1 line
workbook XML, I need to create I2C device entries, which have the
compatible
Quoted 3 lines
properties that need to be filled in.
The following parts are present in the system I'm trying to build,
with
Quoted 9 lines
Quoted 1 line
firmware requirements to access them. I took a stab at the names.
Could
Quoted 1 line
someone doublecheck them and maybe comment on if a driver is
missing, or
Quoted 1 line
maybe if some upcoming work is known that will include it? I
didn't have
Quoted 1 line
much luck finding a lot of these in the
Documentation/devicetree/bindingsQuoted 1 line
directories.
Unique to the i2c subsystem, i2c devices will also match when the vendor is different but the chip name portion matches.
Quoted 9 lines
If they're not in the kernel tree it could mean there is not a driver for them, or that they are supported as part of the trivial device bindings.
Quoted 4 lines
PMBus Power supplies: ?
MAX31785 fan controller: max,max31785
Maxim for the vendor? see
Documentation/devicetree/bindings/vendor-prefixes.txtQuoted 18 lines
Doesn't appear to be an upstream driver. Please open a ticket.
Quoted 2 lines
BMP280: bosch,bmp280
Supported by the iio bmp280 driver.
Quoted 2 lines
TMP4523A temp sensor: ti,tmp423
Supported by the tmp421 hwmon driver.
Quoted 2 lines
TMP275 temp sensor: ti,tmp275
Documentation/devicetree/bindings/i2c/trivial-devices.txtQuoted 7 lines
Supported by the lm75 hwmon driver.
Quoted 1 line
pca9552 IO expander: nxp,pca9552
This appears to be a LED driver?
There's a LED device driver called leds-pca955x.
There is also a gpio driver for pca955[4567] in
pca953x.c.Quoted 27 lines
Quoted 3 lines
UCD90160 power sequencer: ti,ucd90160
A kernel driver called ucd9000 appears to support similar chips. Please open a ticket.
Quoted 2 lines
RX8900CE RTC: epson,rx8900ce
No upstream driver. Please open a ticket.
Quoted 2 lines
24c64 EEPROM: atmel,24c64
LGTM.
Cheers,
Joel
Quoted 2 lines
There are also a handful of regulators, but so far I haven't heard
of any
Quoted 3 lines
requirements to access them.
Thanks.
Quoted 9 lines · Patrick Williams
Quoted 5 lines · Joel Stanley
Quoted 3 lines
PMBus Power supplies: ?
MAX31785 fan controller: max,max31785
Doesn't appear to be an upstream driver. Please open a ticket.
Timothy @ Raptor wrote a driver for this recently, didn't he? Joel, I thought you were going to merge it in for the time being. Timothy
Yeah. I did ask that he spit out the maintainers part of that patch before we applied it.
Timothy, are you able to make that change?
Quoted 3 lines
mentioned that there was some upstream work going on in that subsystem that was preventing it from be merged in the current state but that the subsystem owner was likely going to take it on.
Timothy, do you have any update on the rewrite?
Cheers,
Joel
Quoted 5 lines
https://patchwork.ozlabs.org/patch/672045/
--
Patrick Williams
Quoted 8 lines · Joel Stanley
Quoted 7 lines · Patrick Williams
Quoted 5 lines · Joel Stanley
Quoted 3 lines
PMBus Power supplies: ?
MAX31785 fan controller: max,max31785
Doesn't appear to be an upstream driver. Please open a ticket.
Quoted 7 lines
Quoted 2 lines
Timothy @ Raptor wrote a driver for this recently, didn't he? Joel, I thought you were going to merge it in for the time being. Timothy
Yeah. I did ask that he spit out the maintainers part of that patch before we applied it.
Timothy, are you able to make that change?
No problem. Updated version sent to the OpenBMC mailing list.
Quoted 6 lines
Quoted 4 lines
mentioned that there was some upstream work going on in that subsystem that was preventing it from be merged in the current state but that the subsystem owner was likely going to take it on.
Timothy, do you have any update on the rewrite?
Not at this time. I've requested a status update from the hwmon maintainer that was working on it.
Thanks!
Signature · 5 lines
Timothy Pearson Raptor Engineering +1 (415) 727-8645 (direct line) +1 (512) 690-0200 (switchboard) https://www.raptorengineering.com
Quoted 6 lines · Timothy Pearson
Quoted 4 lines
Yeah. I did ask that he spit out the maintainers part of that patch before we applied it.
Timothy, are you able to make that change?
No problem. Updated version sent to the OpenBMC mailing list.
Thanks. I'll take a close look and add it to our tree today.
Quoted 4 lines
Quoted 1 line
Timothy, do you have any update on the rewrite?
Not at this time. I've requested a status update from the hwmon maintainer that was working on it.
Cool. If you could, please me on future correspondence. I'd like to keep a track of how it goes, and we might be able to offer some help if the hwmon guys don't have time.
Cheers,
Joel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 10 lines · Joel Stanley
Quoted 6 lines · Timothy Pearson
Quoted 4 lines
Yeah. I did ask that he spit out the maintainers part of that patch before we applied it.
Timothy, are you able to make that change?
No problem. Updated version sent to the OpenBMC mailing list.
Thanks. I'll take a close look and add it to our tree today.
Sounds good, thanks!
Quoted 9 lines
Quoted 5 lines
Quoted 2 lines
Timothy, do you have any update on the rewrite?
Not at this time. I've requested a status update from the hwmon maintainer that was working on it.
Cool. If you could, please me on future correspondence. I'd like to keep a track of how it goes, and we might be able to offer some help if the hwmon guys don't have time.
I don't follow hwmon too closely, but if I hear anything I'll let you know!
- --
Timothy Pearson
Raptor Engineering
+1 (415) 727-8645 (direct line)
+1 (512) 690-0200 (switchboard)
https://www.raptorengineering.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJX/ldEAAoJEK+E3vEXDOFbVJkH/iUBsjkWPw4GZGfFU/6+b8Mx qOquV1/kRXsbV3O/hjJSAbXBjRlfv7S/jCFMmnsxoMoAYzhG0rRANXBMycE9jkSi raD2VZs48vgbUGwihrB4FlmuUHcKg8i1QkRNe70hYF0dusasKmNYeDJbt+mKRT4C KbHAbjh9TOj52SsDz+uFmEa+iSmuOvZn4nGkMXmXRT9TuPwj4Wu/TsUeRo0CbubJ uQCisOyqGQhdZowbJWxgWemr32u9lpXxa3b8OpMI7z3hPT2iB0E6/B28gpg9Hd3u 8XeY6co7ei+rMS89JqooXGZbV0V1A9E74e/vXAe9MLkICFfTw1Mo45nyXrBtCsw= =CDeR
-----END PGP SIGNATURE-----
Hello,
I am taking a closer look at how to model the pca9552 LED driver in the machine readable workbook and device tree. In the system, it will be used both for LEDs and for general purpose GPIOs.
I see there is both a pca955x driver and a pca963x driver. The 955x one has no documentation in the bindings directory. The 963x one has documentation, but doesn't mention anything about how to handle GPIOs, nor am I sure that a 9552 is register compatible with the 16 LED 963x chip anyway.
Does anyone here have any experience describing this chip in the device tree?
Thanks.
Quoted 121 lines · Matt Spinler
Thanks. I opened the following issues:
Power supply: https://github.com/openbmc/openbmc/issues/651
MAX31785: https://github.com/openbmc/openbmc/issues/652
UCD90160: https://github.com/openbmc/openbmc/issues/653
RX8900CE: https://github.com/openbmc/openbmc/issues/654
Quoted 62 lines · Milton Miller II
Quoted 3 lines · On 10/06/2016 about 06:43PM somewhere, Joel Stanley <[email protected]…
On Fri, Oct 7, 2016 at 7:14 AM, Matt Spinler <[email protected] <mailto:[email protected]>>
Quoted 10 lines · wrote:
Quoted 3 lines
Hi,
As part of my work to generate a device tree from the machine
readable
Quoted 1 line
workbook XML, I need to create I2C device entries, which have the
compatible
Quoted 3 lines
properties that need to be filled in.
The following parts are present in the system I'm trying to build,
with
Quoted 9 lines
Quoted 1 line
firmware requirements to access them. I took a stab at the names.
Could
Quoted 1 line
someone doublecheck them and maybe comment on if a driver is
missing, or
Quoted 1 line
maybe if some upcoming work is known that will include it? I
didn't have
Quoted 1 line
much luck finding a lot of these in the
Documentation/devicetree/bindingsQuoted 1 line
directories.
Unique to the i2c subsystem, i2c devices will also match when the vendor is different but the chip name portion matches.
Quoted 9 lines
If they're not in the kernel tree it could mean there is not a driver for them, or that they are supported as part of the trivial device bindings.
Quoted 4 lines
PMBus Power supplies: ?
MAX31785 fan controller: max,max31785
Maxim for the vendor? see
Documentation/devicetree/bindings/vendor-prefixes.txtQuoted 20 lines
Doesn't appear to be an upstream driver. Please open a ticket.
Quoted 2 lines
BMP280: bosch,bmp280
Supported by the iio bmp280 driver.
Quoted 2 lines
TMP4523A temp sensor: ti,tmp423
Supported by the tmp421 hwmon driver.
Quoted 2 lines
TMP275 temp sensor: ti,tmp275
Documentation/devicetree/bindings/i2c/trivial-devices.txtSupported by the lm75 hwmon driver.
Quoted 38 lines
Quoted 5 lines
Quoted 1 line
pca9552 IO expander: nxp,pca9552
This appears to be a LED driver?
There's a LED device driver called leds-pca955x.
There is also a gpio driver for pca955[4567] in
pca953x.c.Quoted 27 lines
Quoted 3 lines
UCD90160 power sequencer: ti,ucd90160
A kernel driver called ucd9000 appears to support similar chips. Please open a ticket.
Quoted 2 lines
RX8900CE RTC: epson,rx8900ce
No upstream driver. Please open a ticket.
Quoted 2 lines
24c64 EEPROM: atmel,24c64
LGTM.
Cheers,
Joel
Quoted 2 lines
There are also a handful of regulators, but so far I haven't heard
of any
Quoted 3 lines
requirements to access them.
Thanks.
_______________________________________________
openbmc mailing list
[email protected]
https://lists.ozlabs.org/listinfo/openbmc