Hi All, I'm working on an ADC chip (MCP3021) driver under Linux 2.6.27. We used these two chips to monitor the CPU core current and platform current individually, which is converted to voltage as the ADC chip's input. As you know, the driver shouldn't contain the board specific info, such as, the chip's work voltage, the ratio of voltage and current. So how to pass these info to the driver module? Here is the way I can think of: 1. to use dts file to pass the info to the module. This way make the driver is bound to OF implement. 2. to use the module parameter. For different chips, the work voltage and the ratio may be different, but the chip uses the same driver. Any other idea? Please give me some advice. Thanks a lot. Best Regards, Vincent -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20081027/777f7286/attachment.html