Re: [Patch v2] MPC Adapter: read class attribute from device tree

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

 



Jon Smirl wrote:
> On Wed, Apr 22, 2009 at 3:19 AM, Michael Lawnick <ml.lawnick@xxxxxx> wrote:
>> For MPC adapter there is no class assigned as it is done in other
>> adapters. This way no new-style client will ever be instantiated, if not
>> noted in device tree or forced. With this patch class assignment is read
>> from device tree.
>> If class assignment is not set in device tree .class stays default (0)
>>
>> Necessary device tree entry:
>> linux,i2c-class = <1>; /* I2C_CLASS_HWMON (iic.h) */
> 
> When this patch makes it over to the device tree police they are going
> to reject it. They will never allow OS specific entries into the cross
> platform device tree standard.

But sometimes the device tree police turns a blind eye :-).

Wolfgang.
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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