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. On 10/7/2016 3:08 PM, Matt Spinler wrote: > > 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 > > > > On 10/6/2016 7:24 PM, Milton Miller II wrote: >> >> On 10/06/2016 about 06:43PM somewhere, Joel Stanley > > wrote: >> > >> >On Fri, Oct 7, 2016 at 7:14 AM, Matt Spinler >> >> >> wrote: >> >> 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. >> >> Unique to the i2c subsystem, i2c devices will also match when >> the vendor is different but the chip name portion matches. >> >> > >> >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. >> > >> >> >> >> PMBus Power supplies: ? >> >> >> >> MAX31785 fan controller: max,max31785 >> >> Maxim for the vendor? see >> Documentation/devicetree/bindings/vendor-prefixes.txt >> >> > >> >Doesn't appear to be an upstream driver. Please open a ticket. >> > >> >> >> >> BMP280: bosch,bmp280 >> > >> >Supported by the iio bmp280 driver. >> > >> >> >> >> TMP4523A temp sensor: ti,tmp423 >> > >> >Supported by the tmp421 hwmon driver. >> > >> >> >> >> TMP275 temp sensor: ti,tmp275 >> > >> >Documentation/devicetree/bindings/i2c/trivial-devices.txt >> > >> >Supported by the lm75 hwmon driver. >> > >> >> 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. >> >> > >> >> >> >> UCD90160 power sequencer: ti,ucd90160 >> > >> >A kernel driver called ucd9000 appears to support similar chips. >> >Please open a ticket. >> > >> >> >> >> RX8900CE RTC: epson,rx8900ce >> > >> >No upstream driver. Please open a ticket. >> > >> >> >> >> 24c64 EEPROM: atmel,24c64 >> > >> >LGTM. >> > >> >Cheers, >> > >> >Joel >> > >> >> >> >> There are also a handful of regulators, but so far I haven't heard >> >of any >> >> requirements to access them. >> >> >> >> Thanks. >> >> >> > > > > _______________________________________________ > openbmc mailing list > openbmc@lists.ozlabs.org > https://lists.ozlabs.org/listinfo/openbmc