Simple MMC power sequence provider
Schema identifier ($id): "http://devicetree.org/schemas/mmc/mmc-pwrseq-simple.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ulf Hansson <ulf.hansson@linaro.org>"
The purpose of the simple MMC power sequence provider is to supports a set of common properties between various SOC designs. It thus enables us to use the same provider for several SOC designs.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "mmc-pwrseq-simple"
reset-gpios — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 32
contains a list of GPIO specifiers. The reset GPIOs are asserted at initialization and prior we start the power up procedure of the card. They will be de-asserted right after the power has been provided to the card.
clocks — not listed as required here #
Minimum number of items (minItems): 1
Handle for the entry in clock-names.
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"ext_clock"
External clock provided to the card.
post-power-on-delay-ms — not listed as required here #
Delay in ms after powering the card and de-asserting the reset-gpios (if any).
power-off-delay-us — not listed as required here #
Delay in us after asserting the reset-gpios (if any) during power off of the card.
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
pwrseq {
compatible = "mmc-pwrseq-simple";
reset-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
clocks = <&clk_32768_ck>;
clock-names = "ext_clock";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Line 23: Put some limit to avoid false warnings