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>
This commit is contained in:
Andy Sinclair 2024-03-12 08:49:44 +00:00 committed by Fabio Baltieri
commit c7f59c9e40
2 changed files with 36 additions and 1 deletions

View file

@ -18,3 +18,27 @@ properties:
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"