~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/power/supply/lltc,ltc294x.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/power/supply/lltc,ltc294x.yaml (Architecture i386) and /Documentation/devicetree/bindings/power/supply/lltc,ltc294x.yaml (Architecture m68k)


  1 # SPDX-License-Identifier: GPL-2.0                  1 # SPDX-License-Identifier: GPL-2.0
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/power/suppl      4 $id: http://devicetree.org/schemas/power/supply/lltc,ltc294x.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: LTC2941, LTC2942, LTC2943 and LTC2944 b      7 title: LTC2941, LTC2942, LTC2943 and LTC2944 battery fuel gauges
  8                                                     8 
  9 description: |                                      9 description: |
 10   All chips measure battery capacity.              10   All chips measure battery capacity.
 11   The LTC2942 is pin compatible with the LTC29     11   The LTC2942 is pin compatible with the LTC2941, it adds voltage and
 12   temperature monitoring, and is runtime detec     12   temperature monitoring, and is runtime detected. LTC2943 and LTC2944
 13   are software compatible, uses a slightly dif     13   are software compatible, uses a slightly different conversion formula
 14   for the charge counter and adds voltage, cur     14   for the charge counter and adds voltage, current and temperature monitoring.
 15                                                    15 
 16 maintainers:                                       16 maintainers:
 17   - Sebastian Reichel <sre@kernel.org>              17   - Sebastian Reichel <sre@kernel.org>
 18                                                    18 
 19 allOf:                                             19 allOf:
 20   - $ref: power-supply.yaml#                       20   - $ref: power-supply.yaml#
 21                                                    21 
 22 properties:                                        22 properties:
 23   compatible:                                      23   compatible:
 24     enum:                                          24     enum:
 25       - lltc,ltc2941                               25       - lltc,ltc2941
 26       - lltc,ltc2942                               26       - lltc,ltc2942
 27       - lltc,ltc2943                               27       - lltc,ltc2943
 28       - lltc,ltc2944                               28       - lltc,ltc2944
 29                                                    29 
 30   reg:                                             30   reg:
 31     maxItems: 1                                    31     maxItems: 1
 32                                                    32 
 33   lltc,resistor-sense:                             33   lltc,resistor-sense:
 34     $ref: /schemas/types.yaml#/definitions/int     34     $ref: /schemas/types.yaml#/definitions/int32
 35     description: |                                 35     description: |
 36       Sense resistor value in milli-ohms.          36       Sense resistor value in milli-ohms.
 37       Can be negative value when the battery h     37       Can be negative value when the battery has been connected to the wrong end of the resistor.
 38                                                    38 
 39   lltc,prescaler-exponent:                         39   lltc,prescaler-exponent:
 40     $ref: /schemas/types.yaml#/definitions/uin     40     $ref: /schemas/types.yaml#/definitions/uint32
 41     description: |                                 41     description: |
 42       The prescaler exponent as explained in t     42       The prescaler exponent as explained in the datasheet.
 43       This determines the range and accuracy o     43       This determines the range and accuracy of the gauge.
 44       The value is programmed into the chip on     44       The value is programmed into the chip only if it differs from the current setting.
 45       The setting is lost when the battery is      45       The setting is lost when the battery is disconnected.
 46                                                    46 
 47 required:                                          47 required:
 48   - compatible                                     48   - compatible
 49   - reg                                            49   - reg
 50   - lltc,resistor-sense                            50   - lltc,resistor-sense
 51   - lltc,prescaler-exponent                        51   - lltc,prescaler-exponent
 52                                                    52 
 53 additionalProperties: false                        53 additionalProperties: false
 54                                                    54 
 55 examples:                                          55 examples:
 56   - |                                              56   - |
 57     i2c {                                          57     i2c {
 58       #address-cells = <1>;                        58       #address-cells = <1>;
 59       #size-cells = <0>;                           59       #size-cells = <0>;
 60       battery@64 {                                 60       battery@64 {
 61         compatible = "lltc,ltc2943";               61         compatible = "lltc,ltc2943";
 62         reg = <0x64>;                              62         reg = <0x64>;
 63         lltc,resistor-sense = <15>;                63         lltc,resistor-sense = <15>;
 64         lltc,prescaler-exponent = <5>; /* 2^(2     64         lltc,prescaler-exponent = <5>; /* 2^(2*5) = 1024 */
 65       };                                           65       };
 66     };                                             66     };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php