1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 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/richtek,rt9467.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Richtek RT9467 Switching Battery Charge 7 title: Richtek RT9467 Switching Battery Charger with Power Path Management 8 8 9 maintainers: 9 maintainers: 10 - ChiYuan Huang <cy_huang@richtek.com> 10 - ChiYuan Huang <cy_huang@richtek.com> 11 - ChiaEn Wu <chiaen_wu@richtek.com> 11 - ChiaEn Wu <chiaen_wu@richtek.com> 12 12 13 description: | 13 description: | 14 RT9467 is a switch-mode single cell Li-Ion/L 14 RT9467 is a switch-mode single cell Li-Ion/Li-Polymer battery charger for 15 portable applications. It integrates a synch 15 portable applications. It integrates a synchronous PWM controller, power 16 MOSFETs, input current sensing and regulatio 16 MOSFETs, input current sensing and regulation, high-accuracy voltage 17 regulation, and charge termination. The char 17 regulation, and charge termination. The charge current is regulated through 18 integrated sensing resistors. 18 integrated sensing resistors. 19 19 20 The RT9467 also features USB On-The-Go (OTG) 20 The RT9467 also features USB On-The-Go (OTG) support. It also integrates 21 D+/D- pin for USB host/charging port detecti 21 D+/D- pin for USB host/charging port detection. 22 22 23 Datasheet is available at 23 Datasheet is available at 24 https://www.richtek.com/assets/product_file/ 24 https://www.richtek.com/assets/product_file/RT9467/DS9467-01.pdf 25 25 26 properties: 26 properties: 27 compatible: 27 compatible: 28 const: richtek,rt9467 28 const: richtek,rt9467 29 29 30 reg: 30 reg: 31 maxItems: 1 31 maxItems: 1 32 32 33 wakeup-source: true 33 wakeup-source: true 34 34 35 interrupts: 35 interrupts: 36 maxItems: 1 36 maxItems: 1 37 37 38 charge-enable-gpios: 38 charge-enable-gpios: 39 description: GPIO is used to turn on and o 39 description: GPIO is used to turn on and off charging. 40 maxItems: 1 40 maxItems: 1 41 41 42 usb-otg-vbus-regulator: 42 usb-otg-vbus-regulator: 43 type: object 43 type: object 44 description: OTG boost regulator. 44 description: OTG boost regulator. 45 unevaluatedProperties: false 45 unevaluatedProperties: false 46 $ref: /schemas/regulator/regulator.yaml# 46 $ref: /schemas/regulator/regulator.yaml# 47 47 48 properties: 48 properties: 49 enable-gpios: true 49 enable-gpios: true 50 50 51 required: 51 required: 52 - compatible 52 - compatible 53 - reg 53 - reg 54 - wakeup-source 54 - wakeup-source 55 - interrupts 55 - interrupts 56 56 57 additionalProperties: false 57 additionalProperties: false 58 58 59 examples: 59 examples: 60 - | 60 - | 61 #include <dt-bindings/interrupt-controller 61 #include <dt-bindings/interrupt-controller/irq.h> 62 #include <dt-bindings/gpio/gpio.h> 62 #include <dt-bindings/gpio/gpio.h> 63 i2c { 63 i2c { 64 #address-cells = <1>; 64 #address-cells = <1>; 65 #size-cells = <0>; 65 #size-cells = <0>; 66 66 67 charger@5b { 67 charger@5b { 68 compatible = "richtek,rt9467"; 68 compatible = "richtek,rt9467"; 69 reg = <0x5b>; 69 reg = <0x5b>; 70 wakeup-source; 70 wakeup-source; 71 interrupts-extended = <&gpio_intc 32 I 71 interrupts-extended = <&gpio_intc 32 IRQ_TYPE_LEVEL_LOW>; 72 charge-enable-gpios = <&gpio26 1 GPIO_ 72 charge-enable-gpios = <&gpio26 1 GPIO_ACTIVE_LOW>; 73 73 74 rt9467_otg_vbus: usb-otg-vbus-regulato 74 rt9467_otg_vbus: usb-otg-vbus-regulator { 75 regulator-name = "rt9467-usb-otg-vbu 75 regulator-name = "rt9467-usb-otg-vbus"; 76 regulator-min-microvolt = <4425000>; 76 regulator-min-microvolt = <4425000>; 77 regulator-max-microvolt = <5825000>; 77 regulator-max-microvolt = <5825000>; 78 regulator-min-microamp = <500000>; 78 regulator-min-microamp = <500000>; 79 regulator-max-microamp = <3000000>; 79 regulator-max-microamp = <3000000>; 80 }; 80 }; 81 }; 81 }; 82 }; 82 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.