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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/power/supply/bq2515x.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/bq2515x.yaml (Architecture i386) and /Documentation/devicetree/bindings/power/supply/bq2515x.yaml (Architecture mips)


  1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C      1 # SPDX-License-Identifier: (GPL-2.0 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/bq2515x.yaml#
  6 $schema: http://devicetree.org/meta-schemas/co      6 $schema: http://devicetree.org/meta-schemas/core.yaml#
  7                                                     7 
  8 title: TI bq2515x 500-mA Linear charger family      8 title: TI bq2515x 500-mA Linear charger family
  9                                                     9 
 10 maintainers:                                       10 maintainers:
 11   - Andrew Davis <afd@ti.com>                       11   - Andrew Davis <afd@ti.com>
 12                                                    12 
 13 description: |                                     13 description: |
 14   The BQ2515x family is a highly integrated ba     14   The BQ2515x family is a highly integrated battery charge management IC that
 15   integrates the most common functions for wea     15   integrates the most common functions for wearable devices, namely a charger,
 16   an output voltage rail, ADC for battery and      16   an output voltage rail, ADC for battery and system monitoring, and
 17   push-button controller.                          17   push-button controller.
 18                                                    18 
 19   Specifications about the charger can be foun     19   Specifications about the charger can be found at:
 20     http://www.ti.com/lit/ds/symlink/bq25150.p     20     http://www.ti.com/lit/ds/symlink/bq25150.pdf
 21     http://www.ti.com/lit/ds/symlink/bq25155.p     21     http://www.ti.com/lit/ds/symlink/bq25155.pdf
 22                                                    22 
 23 properties:                                        23 properties:
 24   compatible:                                      24   compatible:
 25     enum:                                          25     enum:
 26       - ti,bq25150                                 26       - ti,bq25150
 27       - ti,bq25155                                 27       - ti,bq25155
 28                                                    28 
 29   reg:                                             29   reg:
 30     maxItems: 1                                    30     maxItems: 1
 31     description: I2C address of the charger.       31     description: I2C address of the charger.
 32                                                    32 
 33   ac-detect-gpios:                                 33   ac-detect-gpios:
 34     description: |                                 34     description: |
 35        GPIO used for connecting the bq2515x de     35        GPIO used for connecting the bq2515x device PG (AC Detect)
 36        pin.                                        36        pin.
 37     maxItems: 1                                    37     maxItems: 1
 38                                                    38 
 39   reset-gpios:                                     39   reset-gpios:
 40     description: GPIO used for hardware reset.     40     description: GPIO used for hardware reset.
 41     maxItems: 1                                    41     maxItems: 1
 42                                                    42 
 43   powerdown-gpios:                                 43   powerdown-gpios:
 44     description: GPIO used for low power mode      44     description: GPIO used for low power mode of IC.
 45     maxItems: 1                                    45     maxItems: 1
 46                                                    46 
 47   charge-enable-gpios:                             47   charge-enable-gpios:
 48     description: GPIO used to turn on and off      48     description: GPIO used to turn on and off charging.
 49     maxItems: 1                                    49     maxItems: 1
 50                                                    50 
 51   input-current-limit-microamp:                    51   input-current-limit-microamp:
 52     description: Maximum input current in micr     52     description: Maximum input current in micro Amps.
 53     minimum: 50000                                 53     minimum: 50000
 54     maximum: 500000                                54     maximum: 500000
 55                                                    55 
 56   monitored-battery:                               56   monitored-battery:
 57     $ref: /schemas/types.yaml#/definitions/pha     57     $ref: /schemas/types.yaml#/definitions/phandle
 58     description: phandle to the battery node b     58     description: phandle to the battery node being monitored
 59                                                    59 
 60 required:                                          60 required:
 61   - compatible                                     61   - compatible
 62   - reg                                            62   - reg
 63   - monitored-battery                              63   - monitored-battery
 64                                                    64 
 65 additionalProperties: false                        65 additionalProperties: false
 66                                                    66 
 67 examples:                                          67 examples:
 68   - |                                              68   - |
 69     bat: battery {                                 69     bat: battery {
 70       compatible = "simple-battery";               70       compatible = "simple-battery";
 71       constant-charge-current-max-microamp = <     71       constant-charge-current-max-microamp = <50000>;
 72       precharge-current-microamp = <2500>;         72       precharge-current-microamp = <2500>;
 73       constant-charge-voltage-max-microvolt =      73       constant-charge-voltage-max-microvolt = <4000000>;
 74     };                                             74     };
 75     #include <dt-bindings/gpio/gpio.h>             75     #include <dt-bindings/gpio/gpio.h>
 76     i2c {                                          76     i2c {
 77       #address-cells = <1>;                        77       #address-cells = <1>;
 78       #size-cells = <0>;                           78       #size-cells = <0>;
 79                                                    79 
 80       bq25150: charger@6b {                        80       bq25150: charger@6b {
 81         compatible = "ti,bq25150";                 81         compatible = "ti,bq25150";
 82         reg = <0x6b>;                              82         reg = <0x6b>;
 83         monitored-battery = <&bat>;                83         monitored-battery = <&bat>;
 84         input-current-limit-microamp = <100000     84         input-current-limit-microamp = <100000>;
 85                                                    85 
 86         ac-detect-gpios = <&gpio1 28 GPIO_ACTI     86         ac-detect-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
 87         reset-gpios = <&gpio0 14 GPIO_ACTIVE_H     87         reset-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
 88         powerdown-gpios = <&gpio0 15 GPIO_ACTI     88         powerdown-gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
 89         charge-enable-gpios = <&gpio0 13 GPIO_     89         charge-enable-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
 90       };                                           90       };
 91     };                                             91     };
                                                      

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