Commit c67c372c authored by Javier Martinez Canillas's avatar Javier Martinez Canillas Committed by Sebastian Reichel

power: supply: ltc2941-battery-gauge: Add vendor to compatibles in binding

The DT binding document for LTC2941 and LTC2943 battery gauges did not use
a vendor prefix in the listed compatible strings. The driver says that the
manufacturer is Linear Technology which is "lltc" in vendor-prefixes.txt.

There isn't an upstream Device Tree source file that has nodes defined for
these devices, so there's no need to keep the old compatible strings.
Signed-off-by: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent dc6ea7d4
...@@ -6,8 +6,8 @@ temperature monitoring, and uses a slightly different conversion ...@@ -6,8 +6,8 @@ temperature monitoring, and uses a slightly different conversion
formula for the charge counter. formula for the charge counter.
Required properties: Required properties:
- compatible: Should contain "ltc2941" or "ltc2943" which also indicates the - compatible: Should contain "lltc,ltc2941" or "lltc,ltc2943" which also
type of I2C chip attached. indicates the type of I2C chip attached.
- reg: The 7-bit I2C address. - reg: The 7-bit I2C address.
- lltc,resistor-sense: The sense resistor value in milli-ohms. Can be a 32-bit - lltc,resistor-sense: The sense resistor value in milli-ohms. Can be a 32-bit
negative value when the battery has been connected to the wrong end of the negative value when the battery has been connected to the wrong end of the
...@@ -20,7 +20,7 @@ Required properties: ...@@ -20,7 +20,7 @@ Required properties:
Example from the Topic Miami Florida board: Example from the Topic Miami Florida board:
fuelgauge: ltc2943@64 { fuelgauge: ltc2943@64 {
compatible = "ltc2943"; compatible = "lltc,ltc2943";
reg = <0x64>; reg = <0x64>;
lltc,resistor-sense = <15>; lltc,resistor-sense = <15>;
lltc,prescaler-exponent = <5>; /* 2^(2*5) = 1024 */ lltc,prescaler-exponent = <5>; /* 2^(2*5) = 1024 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment