zephyr/dts/bindings/mfd/x-powers,axp192.yaml
Martin Kiepfer 0addb90ff7 drivers: mfd: axp192: add possibility to disable N_VBUSEN functionality
By default N_VBUSEN signal is used by the host to define if VBUS
signal should be used for power supply (VBUS-IPSOUT).

This feature enables the possbibility to change this behaviour.
When N_VBUSEN detection is disabled, axp192 will automatically
decide to use VBUS (REG10H[7] = 1).
Please refer to datasheet for details.

Signed-off-by: Martin Kiepfer <mrmarteng@teleschirm.org>
2024-03-06 10:23:31 +00:00

22 lines
613 B
YAML

# Copyright (c) 2023, Martin Kiepfer <mrmarteng@teleschirm.org>
# SPDX-License-Identifier: Apache-2.0
description: X-Powers AXP192
compatible: "x-powers,axp192"
include: i2c-device.yaml
properties:
reg:
required: true
vbusen-disable:
type: boolean
description: |
This option will disable VBUS power control via N_VBUSEN.
By default VBUS power supply is chosen via N_VBUSEN pin.
When disabled, VBUS can by chosen automatically by the pmic
and there is no need by the host to control N_VBUSEN pin.
Please refer to datasheet for details (pin state (REG10H[7] = 1).