The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/power/supply/bq27xxx.yaml

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # SPDX-License-Identifier: GPL-2.0
    2 # Copyright (C) 2020 Texas Instruments Incorporated
    3 %YAML 1.2
    4 ---
    5 $id: http://devicetree.org/schemas/power/supply/bq27xxx.yaml#
    6 $schema: http://devicetree.org/meta-schemas/core.yaml#
    7 
    8 title: TI BQ27XXX fuel gauge family
    9 
   10 maintainers:
   11   - Pali Rohár <pali@kernel.org>
   12   - Andrew F. Davis <afd@ti.com>
   13   - Sebastian Reichel <sre@kernel.org>
   14 
   15 description: |
   16   Support various Texas Instruments fuel gauge devices that share similar
   17   register maps and power supply properties
   18 
   19 allOf:
   20   - $ref: power-supply.yaml#
   21 
   22 properties:
   23   compatible:
   24     enum:
   25       - ti,bq27200
   26       - ti,bq27210
   27       - ti,bq27500 # deprecated, use revision specific property below
   28       - ti,bq27510 # deprecated, use revision specific property below
   29       - ti,bq27520 # deprecated, use revision specific property below
   30       - ti,bq27500-1
   31       - ti,bq27510g1
   32       - ti,bq27510g2
   33       - ti,bq27510g3
   34       - ti,bq27520g1
   35       - ti,bq27520g2
   36       - ti,bq27520g3
   37       - ti,bq27520g4
   38       - ti,bq27521
   39       - ti,bq27530
   40       - ti,bq27531
   41       - ti,bq27541
   42       - ti,bq27542
   43       - ti,bq27546
   44       - ti,bq27742
   45       - ti,bq27545
   46       - ti,bq27411
   47       - ti,bq27421
   48       - ti,bq27425
   49       - ti,bq27426
   50       - ti,bq27441
   51       - ti,bq27621
   52       - ti,bq27z561
   53       - ti,bq28z610
   54       - ti,bq34z100
   55       - ti,bq78z100
   56 
   57   reg:
   58     maxItems: 1
   59     description: integer, I2C address of the fuel gauge.
   60 
   61   monitored-battery:
   62     description: |
   63        phandle of battery characteristics node.
   64        The fuel gauge uses the following battery properties:
   65        - energy-full-design-microwatt-hours
   66        - charge-full-design-microamp-hours
   67        - voltage-min-design-microvolt
   68        Both or neither of the *-full-design-*-hours properties must be set.
   69        See Documentation/devicetree/bindings/power/supply/battery.yaml
   70 
   71   power-supplies: true
   72 
   73 required:
   74   - compatible
   75   - reg
   76 additionalProperties: false
   77 
   78 examples:
   79   - |
   80     i2c0 {
   81       #address-cells = <1>;
   82       #size-cells = <0>;
   83       bat: battery {
   84         compatible = "simple-battery";
   85         voltage-min-design-microvolt = <3200000>;
   86         energy-full-design-microwatt-hours = <5290000>;
   87         charge-full-design-microamp-hours = <1430000>;
   88       };
   89 
   90       bq27510g3: fuel-gauge@55 {
   91         compatible = "ti,bq27510g3";
   92         reg = <0x55>;
   93         monitored-battery = <&bat>;
   94       };
   95     };

Cache object: 837c27cb00894edef512345b317e53fe


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.