Provide a common set of properties for various ways of controlling power: * supply-gpios for a GPIO specifier acting like a switch * vin-supply for a reference to a regulator device Document the behavior expected when these properties are present. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
15 lines
230 B
YAML
15 lines
230 B
YAML
# Copyright (c) 2017, Linaro Limited
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Common fields for I2C devices
|
|
|
|
include: [base.yaml, power.yaml]
|
|
|
|
on-bus: i2c
|
|
|
|
properties:
|
|
reg:
|
|
required: true
|
|
label:
|
|
required: true
|