[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOMwXhMriMiS9Pvm210BB0ScRJUw-whC2rnN+Ka383ztuSvOJQ@mail.gmail.com>
Date: Mon, 10 Feb 2014 13:34:11 +0000
From: Laszlo Papp <lpapp@....org>
To: Lee Jones <lee.jones@...aro.org>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Krzysztof Kozlowski <k.kozlowski@...sung.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3] mfd: MAX6650/6651 support
>>> +};
>>> +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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists