Re: [PATCH v6 3/3] mfd: max14577: Add device tree bindings document

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

 




On 12/04/2013 08:03 PM, Krzysztof Kozlowski wrote:
> On Wed, 2013-12-04 at 20:01 +0900, Chanwoo Choi wrote:
>> On 12/04/2013 07:56 PM, Krzysztof Kozlowski wrote:
>>> On Wed, 2013-12-04 at 19:50 +0900, Chanwoo Choi wrote:
> (...)
>>>>
>>>> I prefer to add dt data about max14577-muic on following:
>>>> If extcon consumer driver need to use muic device, dts should provide following dt data.
>>>>
>>>> 		muic: max14577-muic {
>>>> 			compatible = "maxim, max14577-muic";
>>>> 		};
>>>>> +	};
>>>>>
>>>> For example,
>>>> If fuel-gauge want to use extcon subsystem, dt data of fuel-gauge add 'extcon' property as following:
>>>>
>>>> 	fuel-gague@ {
>>>> 		compatible = "...";
>>>> 		extcon = <&muic>;
>>>> 	}
>>>>
>>> Hi,
>>>
>>> The extcon driver itself does not use the binding. It is only needed for
>>> consumers. Is it a common practice to add to documentation such notice
>>> for consumers only?
>>
>> As you comment, It is only for extcon consumer.
>> But extcon provider driver always is operated with extcon consumer driver.
>> If dts file don't support upper dt data about extcon provider driver,
>> all of extcon consumer drivers could not use extcon subsystem.
>>
>> I thinks it is common dt data for muic device.
> 
> OK, I'll add it.
> 

Thanks,

Best Regards,
Chanwoo Choi

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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux