mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-16 01:24:08 +08:00
32ada6b098
Properties with standard unit suffixes already have a type and don't need type definitions. They also default to a single entry, so 'maxItems: 1' can be dropped. adi,ad5758 is an oddball which defined an enum of arrays. While a valid schema, it is simpler as a whole to only define scalar constraints. Cc: Jean Delvare <jdelvare@suse.com> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: Ulf Hansson <ulf.hansson@linaro.org> Cc: "David S. Miller" <davem@davemloft.net> Cc: Jakub Kicinski <kuba@kernel.org> Cc: Serge Semin <fancer.lancer@gmail.com> Cc: linux-hwmon@vger.kernel.org Cc: linux-i2c@vger.kernel.org Cc: linux-iio@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-input@vger.kernel.org Cc: linux-mmc@vger.kernel.org Cc: netdev@vger.kernel.org Cc: linux-pm@vger.kernel.org Cc: linux-rtc@vger.kernel.org Cc: linux-serial@vger.kernel.org Cc: alsa-devel@alsa-project.org Cc: linux-watchdog@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Mark Brown <broonie@kernel.org> Acked-by: Wolfram Sang <wsa@kernel.org> # for I2C Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Sebastian Reichel <sre@kernel.org> # for power-supply Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> #for-iio Acked-by: Alexandre TORGUE <alexandre.torgue@foss.st.com> Link: https://lore.kernel.org/r/20210128194515.743252-1-robh@kernel.org
65 lines
1.6 KiB
YAML
65 lines
1.6 KiB
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/mmc/mmc-pwrseq-simple.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Simple MMC power sequence provider binding
|
|
|
|
maintainers:
|
|
- Ulf Hansson <ulf.hansson@linaro.org>
|
|
|
|
description:
|
|
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:
|
|
compatible:
|
|
const: mmc-pwrseq-simple
|
|
|
|
reset-gpios:
|
|
minItems: 1
|
|
# Put some limit to avoid false warnings
|
|
maxItems: 32
|
|
description:
|
|
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:
|
|
minItems: 1
|
|
description: Handle for the entry in clock-names.
|
|
|
|
clock-names:
|
|
items:
|
|
- const: ext_clock
|
|
description: External clock provided to the card.
|
|
|
|
post-power-on-delay-ms:
|
|
description:
|
|
Delay in ms after powering the card and de-asserting the
|
|
reset-gpios (if any).
|
|
|
|
power-off-delay-us:
|
|
description:
|
|
Delay in us after asserting the reset-gpios (if any)
|
|
during power off of the card.
|
|
|
|
required:
|
|
- compatible
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
sdhci0_pwrseq {
|
|
compatible = "mmc-pwrseq-simple";
|
|
reset-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
|
|
clocks = <&clk_32768_ck>;
|
|
clock-names = "ext_clock";
|
|
};
|
|
...
|