The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/mmc/mmc-pwrseq-emmc.yaml

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # SPDX-License-Identifier: GPL-2.0
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/mmc/mmc-pwrseq-emmc.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Simple eMMC hardware reset provider binding
    8 
    9 maintainers:
   10   - Ulf Hansson <ulf.hansson@linaro.org>
   11 
   12 description:
   13   The purpose of this driver is to perform standard eMMC hw reset
   14   procedure, as described by Jedec 4.4 specification. This procedure is
   15   performed just after MMC core enabled power to the given mmc host (to
   16   fix possible issues if bootloader has left eMMC card in initialized or
   17   unknown state), and before performing complete system reboot (also in
   18   case of emergency reboot call). The latter is needed on boards, which
   19   doesn't have hardware reset logic connected to emmc card and (limited or
   20   broken) ROM bootloaders are unable to read second stage from the emmc
   21   card if the card is left in unknown or already initialized state.
   22 
   23 properties:
   24   compatible:
   25     const: mmc-pwrseq-emmc
   26 
   27   reset-gpios:
   28     minItems: 1
   29     description:
   30       contains a GPIO specifier. The reset GPIO is asserted
   31       and then deasserted to perform eMMC card reset. To perform
   32       reset procedure as described in Jedec 4.4 specification, the
   33       gpio line should be defined as GPIO_ACTIVE_LOW.
   34 
   35 required:
   36   - compatible
   37   - reset-gpios
   38 
   39 additionalProperties: false
   40 
   41 examples:
   42   - |
   43     #include <dt-bindings/gpio/gpio.h>
   44     sdhci0_pwrseq {
   45       compatible = "mmc-pwrseq-emmc";
   46       reset-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
   47     };
   48 ...

Cache object: d6a6ac563dc2514a12f0830a142e4668


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.