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>
19 lines
372 B
YAML
19 lines
372 B
YAML
# Copyright (c) 2018, I-SENSE group of ICCS
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Common fields for SPI devices
|
|
|
|
include: [base.yaml, power.yaml]
|
|
|
|
on-bus: spi
|
|
|
|
properties:
|
|
reg:
|
|
required: true
|
|
spi-max-frequency:
|
|
type: int
|
|
required: true
|
|
description: Maximum clock frequency of device's SPI interface in Hz
|
|
label:
|
|
required: true
|