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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/power/supply/bq256xx.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/bq256xx.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/power/supply/bq256xx.yaml (Version linux-5.12.19)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS !!   1 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
  2 # Copyright (C) 2020 Texas Instruments Incorpo      2 # Copyright (C) 2020 Texas Instruments Incorporated
  3 %YAML 1.2                                           3 %YAML 1.2
  4 ---                                                 4 ---
  5 $id: http://devicetree.org/schemas/power/suppl !!   5 $id: "http://devicetree.org/schemas/power/supply/bq256xx.yaml#"
  6 $schema: http://devicetree.org/meta-schemas/co !!   6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
  7                                                     7 
  8 title: TI bq256xx Switch Mode Buck Charger          8 title: TI bq256xx Switch Mode Buck Charger
  9                                                     9 
 10 maintainers:                                       10 maintainers:
 11   - Andrew Davis <afd@ti.com>                   !!  11   - Ricardo Rivera-Matos <r-rivera-matos@ti.com>
 12                                                    12 
 13 description: |                                     13 description: |
 14   The bq256xx devices are a family of highly-i     14   The bq256xx devices are a family of highly-integrated battery charge
 15   management and system power management ICs f     15   management and system power management ICs for single cell Li-ion and Li-
 16   polymer batteries.                               16   polymer batteries.
 17                                                    17 
 18   Datasheets:                                      18   Datasheets:
 19     - https://www.ti.com/lit/ds/symlink/bq2560     19     - https://www.ti.com/lit/ds/symlink/bq25600.pdf
 20     - https://www.ti.com/lit/ds/symlink/bq2560     20     - https://www.ti.com/lit/ds/symlink/bq25601.pdf
 21     - https://www.ti.com/lit/ds/symlink/bq2560     21     - https://www.ti.com/lit/ds/symlink/bq25600d.pdf
 22     - https://www.ti.com/lit/ds/symlink/bq2560     22     - https://www.ti.com/lit/ds/symlink/bq25601d.pdf
 23     - https://www.ti.com/lit/ds/symlink/bq2561     23     - https://www.ti.com/lit/ds/symlink/bq25611d.pdf
 24     - https://www.ti.com/lit/ds/symlink/bq2561     24     - https://www.ti.com/lit/ds/symlink/bq25618.pdf
 25     - https://www.ti.com/lit/ds/symlink/bq2561     25     - https://www.ti.com/lit/ds/symlink/bq25619.pdf
 26                                                    26 
 27 properties:                                        27 properties:
 28   compatible:                                      28   compatible:
 29     enum:                                          29     enum:
 30       - ti,bq25600                                 30       - ti,bq25600
 31       - ti,bq25601                                 31       - ti,bq25601
 32       - ti,bq25600d                                32       - ti,bq25600d
 33       - ti,bq25601d                                33       - ti,bq25601d
 34       - ti,bq25611d                                34       - ti,bq25611d
 35       - ti,bq25618                                 35       - ti,bq25618
 36       - ti,bq25619                                 36       - ti,bq25619
 37                                                    37 
 38   reg:                                             38   reg:
 39     maxItems: 1                                    39     maxItems: 1
 40                                                    40 
 41   ti,watchdog-timeout-ms:                          41   ti,watchdog-timeout-ms:
                                                   >>  42     $ref: /schemas/types.yaml#/definitions/uint32
 42     default: 0                                     43     default: 0
 43     description: |                                 44     description: |
 44       Watchdog timer in ms. 0 (default) disabl     45       Watchdog timer in ms. 0 (default) disables the watchdog
 45     minimum: 0                                     46     minimum: 0
 46     maximum: 160000                                47     maximum: 160000
 47     enum: [ 0, 40000, 80000, 160000]               48     enum: [ 0, 40000, 80000, 160000]
 48                                                    49 
 49   input-voltage-limit-microvolt:                   50   input-voltage-limit-microvolt:
 50     description: |                                 51     description: |
 51        Minimum input voltage limit in µV with     52        Minimum input voltage limit in µV with a 100000 µV step
 52     minimum: 3900000                               53     minimum: 3900000
 53     maximum: 5400000                               54     maximum: 5400000
 54                                                    55 
 55   input-current-limit-microamp:                    56   input-current-limit-microamp:
 56     description: |                                 57     description: |
 57        Maximum input current limit in µA with     58        Maximum input current limit in µA with a 100000 µA step
 58     minimum: 100000                                59     minimum: 100000
 59     maximum: 3200000                               60     maximum: 3200000
 60                                                    61 
 61   monitored-battery:                               62   monitored-battery:
 62     $ref: /schemas/types.yaml#/definitions/pha     63     $ref: /schemas/types.yaml#/definitions/phandle
 63     description: phandle to the battery node b     64     description: phandle to the battery node being monitored
 64                                                    65 
 65   interrupts:                                      66   interrupts:
 66     maxItems: 1                                    67     maxItems: 1
 67     description: |                                 68     description: |
 68       Interrupt sends an active low, 256 μs p     69       Interrupt sends an active low, 256 μs pulse to host to report the charger
 69       device status and faults.                    70       device status and faults.
 70                                                    71 
 71   ti,no-thermistor:                            << 
 72     type: boolean                              << 
 73     description: Indicates that no thermistor  << 
 74                                                << 
 75 required:                                          72 required:
 76   - compatible                                     73   - compatible
 77   - reg                                            74   - reg
 78   - monitored-battery                              75   - monitored-battery
 79                                                << 
 80 allOf:                                         << 
 81   - if:                                        << 
 82       properties:                              << 
 83         compatible:                            << 
 84           contains:                            << 
 85             enum:                              << 
 86               - ti,bq25600                     << 
 87               - ti,bq25601                     << 
 88               - ti,bq25600d                    << 
 89               - ti,bq25601d                    << 
 90     then:                                      << 
 91       properties:                              << 
 92         ti,no-thermistor: false                << 
 93                                                    76 
 94 additionalProperties: false                        77 additionalProperties: false
 95                                                    78 
 96 examples:                                          79 examples:
 97   - |                                              80   - |
 98     bat: battery {                                 81     bat: battery {
 99       compatible = "simple-battery";               82       compatible = "simple-battery";
100       constant-charge-current-max-microamp = <     83       constant-charge-current-max-microamp = <2040000>;
101       constant-charge-voltage-max-microvolt =      84       constant-charge-voltage-max-microvolt = <4352000>;
102       precharge-current-microamp = <180000>;       85       precharge-current-microamp = <180000>;
103       charge-term-current-microamp = <180000>;     86       charge-term-current-microamp = <180000>;
104     };                                             87     };
105     #include <dt-bindings/gpio/gpio.h>             88     #include <dt-bindings/gpio/gpio.h>
106     #include <dt-bindings/interrupt-controller     89     #include <dt-bindings/interrupt-controller/irq.h>
107     i2c {                                          90     i2c {
108                                                    91 
109       clock-frequency = <400000>;                  92       clock-frequency = <400000>;
110                                                    93 
111       #address-cells = <1>;                        94       #address-cells = <1>;
112       #size-cells = <0>;                           95       #size-cells = <0>;
113                                                    96 
114       charger@6b {                                 97       charger@6b {
115         compatible = "ti,bq25601";                 98         compatible = "ti,bq25601";
116         reg = <0x6b>;                              99         reg = <0x6b>;
117         monitored-battery = <&bat>;               100         monitored-battery = <&bat>;
118                                                   101 
119         interrupt-parent = <&gpio1>;              102         interrupt-parent = <&gpio1>;
120         interrupts = <16 IRQ_TYPE_EDGE_FALLING    103         interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
121         ti,watchdog-timeout-ms = <40000>;         104         ti,watchdog-timeout-ms = <40000>;
122                                                   105 
123         input-voltage-limit-microvolt = <45000    106         input-voltage-limit-microvolt = <4500000>;
124         input-current-limit-microamp = <240000    107         input-current-limit-microamp = <2400000>;
125        };                                         108        };
126     };                                            109     };
127 ...                                               110 ...
                                                      

~ [ 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