753bc2b785
Add an API-less MFD driver for nPM6001. In this case, the MFD device driver doesn't expose any API as plain I2C API is used within other device drivers (regulator, GPIO, watchdog). This driver just initializes some device properties. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
55 lines
1.4 KiB
YAML
55 lines
1.4 KiB
YAML
# Copyright (c) 2022, Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: Nordic nPM6001
|
|
|
|
compatible: "nordic,npm6001"
|
|
|
|
include: i2c-device.yaml
|
|
|
|
properties:
|
|
reg:
|
|
required: true
|
|
|
|
nordic,ready-high-drive:
|
|
type: boolean
|
|
description: Set drive strength to high for READY pin.
|
|
|
|
nordic,nint-high-drive:
|
|
type: boolean
|
|
description: Set drive strength to high for NINT pin.
|
|
|
|
nordic,sda-high-drive:
|
|
type: boolean
|
|
description: Set drive strength to high for SDA pin.
|
|
|
|
nordic,buck-mode0-input-type:
|
|
type: string
|
|
default: "schmitt"
|
|
enum: ["schmitt", "cmos"]
|
|
description: Input type for BUCK_MODE0 pin. Defaults IC boot-time value.
|
|
|
|
nordic,buck-mode0-pull-down:
|
|
type: boolean
|
|
description: Enable pull-down resistor for BUCK_MODE0 pin.
|
|
|
|
nordic,buck-mode1-input-type:
|
|
type: string
|
|
default: "schmitt"
|
|
enum: ["schmitt", "cmos"]
|
|
description: Input type for BUCK_MODE1 pin. Defaults IC boot-time value.
|
|
|
|
nordic,buck-mode1-pull-down:
|
|
type: boolean
|
|
description: Enable pull-down resistor for BUCK_MODE1 pin.
|
|
|
|
nordic,buck-mode2-input-type:
|
|
type: string
|
|
default: "schmitt"
|
|
enum: ["schmitt", "cmos"]
|
|
description: Input type for BUCK_MODE2 pin. Defaults IC boot-time value.
|
|
|
|
nordic,buck-mode2-pull-down:
|
|
type: boolean
|
|
description: Enable pull-down resistor for BUCK_MODE2 pin.
|