Messages in this thread | | | Date | Mon, 10 Feb 2014 13:34:11 +0000 | Subject | Re: [PATCH v3] mfd: MAX6650/6651 support | From | Laszlo Papp <> |
| |
>>> +}; >>> +MODULE_DEVICE_TABLE(i2c, max665x_id); >>> + >>> +static struct i2c_driver max665x_driver = { >>> + .driver = { >>> + .name = "max665x", >>> + .owner = THIS_MODULE, >> >> All new drivers are required to support Device Tree. > > Do you have some recommendation for documentation, examples, etc? I am > new to this.
I see .of_match_table added in certain mfd drivers, but I am not sure what I should put into the name or even the compatible member, I see them boot neglected in various drivers. The structure here does not seem to be documented either: http://lxr.free-electrons.com/source/include/linux/mod_devicetable.h#L220
I do not know where to get the information for the .name and/or .compatible entry for, or if I need anything more.
| |