mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 11:44:01 +08:00
3832246ddd
Allow both device tree (preferred) and platform data-based driver instantiation. Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
19 lines
427 B
Plaintext
19 lines
427 B
Plaintext
max17042_battery
|
|
~~~~~~~~~~~~~~~~
|
|
|
|
Required properties :
|
|
- compatible : "maxim,max17042"
|
|
|
|
Optional properties :
|
|
- maxim,rsns-microohm : Resistance of rsns resistor in micro Ohms
|
|
(datasheet-recommended value is 10000).
|
|
Defining this property enables current-sense functionality.
|
|
|
|
Example:
|
|
|
|
battery-charger@36 {
|
|
compatible = "maxim,max17042";
|
|
reg = <0x36>;
|
|
maxim,rsns-microohm = <10000>;
|
|
};
|