zephyr/dts/bindings/mfd/nordic,npm1300.yaml
Andy Sinclair c7f59c9e40 drivers: mfd: npm1300: Added long press reset config
Added configuration of long press reset functionality.
Includes ship/hibernate to wake debounce time and
disabled/one_button/two_button mode selection.

Signed-off-by: Andy Sinclair <andy.sinclair@nordicsemi.no>
2024-03-27 14:32:17 +00:00

45 lines
812 B
YAML

# Copyright (c) 2023, Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
description: Nordic nPM1300
compatible: "nordic,npm1300"
include: i2c-device.yaml
properties:
reg:
required: true
host-int-gpios:
type: phandle-array
description: Host pin for interrupt input
pmic-int-pin:
type: int
description: Pmic pin number for interrupt output
ship-to-active-time-ms:
type: int
description: |
Press duration required to wake from ship / hibernate in ms.
The default is the device powerup value.
enum:
- 16
- 32
- 64
- 96
- 304
- 608
- 1008
- 3008
default: 96
long-press-reset:
type: string
description: Long press reset configuration
enum:
- "one-button"
- "disabled"
- "two-button"