83 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/power/supply/richtek,rt9467.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Richtek RT9467 Switching Battery Charger with Power Path Management8 9maintainers:10 - ChiYuan Huang <cy_huang@richtek.com>11 - ChiaEn Wu <chiaen_wu@richtek.com>12 13description: |14 RT9467 is a switch-mode single cell Li-Ion/Li-Polymer battery charger for15 portable applications. It integrates a synchronous PWM controller, power16 MOSFETs, input current sensing and regulation, high-accuracy voltage17 regulation, and charge termination. The charge current is regulated through18 integrated sensing resistors.19 20 The RT9467 also features USB On-The-Go (OTG) support. It also integrates21 D+/D- pin for USB host/charging port detection.22 23 Datasheet is available at24 https://www.richtek.com/assets/product_file/RT9467/DS9467-01.pdf25 26properties:27 compatible:28 const: richtek,rt946729 30 reg:31 maxItems: 132 33 wakeup-source: true34 35 interrupts:36 maxItems: 137 38 charge-enable-gpios:39 description: GPIO is used to turn on and off charging.40 maxItems: 141 42 usb-otg-vbus-regulator:43 type: object44 description: OTG boost regulator.45 unevaluatedProperties: false46 $ref: /schemas/regulator/regulator.yaml#47 48 properties:49 enable-gpios: true50 51required:52 - compatible53 - reg54 - wakeup-source55 - interrupts56 57additionalProperties: false58 59examples:60 - |61 #include <dt-bindings/interrupt-controller/irq.h>62 #include <dt-bindings/gpio/gpio.h>63 i2c {64 #address-cells = <1>;65 #size-cells = <0>;66 67 charger@5b {68 compatible = "richtek,rt9467";69 reg = <0x5b>;70 wakeup-source;71 interrupts-extended = <&gpio_intc 32 IRQ_TYPE_LEVEL_LOW>;72 charge-enable-gpios = <&gpio26 1 GPIO_ACTIVE_LOW>;73 74 rt9467_otg_vbus: usb-otg-vbus-regulator {75 regulator-name = "rt9467-usb-otg-vbus";76 regulator-min-microvolt = <4425000>;77 regulator-max-microvolt = <5825000>;78 regulator-min-microamp = <500000>;79 regulator-max-microamp = <3000000>;80 };81 };82 };83