[RFC] i2c: whether need create *-common.{c,h} for i801 piix4 viapro driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andi, Wolfram,

Recently I plan to submit one SMBus driver for Zhaoxin platform.
I studied the existing SMBus drivers, including i2c-viapro.c,
i2c-i801.c, and i2c-piix4.c. These driver's register layout looks
similar, and the implementation of their .smbus_xfer callback
functions is similar too.

Zhaoxin SMBus also uses some of the same design scheme
(follow VIA's design IP). Then, should I create *-common.{c,h}
for these dirvers? Or keep the register layout and .smbus_xfer's
implementation in my own driver? Or any other suggestion?

Look forward to your suggestions!

Hans,
Thankyou

(I sent this email again because it was rejected by
linux-i2c@xxxxxxxxxxxxxxx the first time I sent it.
Please forgive me for being unfamiliar. :)




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux