Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed3efc1c authored by Chris Ball's avatar Chris Ball
Browse files

mmc: dt: Add reg/interrupts to mmc.txt for clarity.



Even though these aren't parsed by the MMC driver, make clear that
they're required by the OF core.  (Also, a few typo fixes.)

Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 4efafee0
Loading
Loading
Loading
Loading
+7 −3
Original line number Original line Diff line number Diff line
@@ -2,13 +2,17 @@ These properties are common to multiple MMC host controllers. Any host
that requires the respective functionality should implement them using
that requires the respective functionality should implement them using
these definitions.
these definitions.


Interpreted by the OF core:
- reg: Registers location and length.
- interrupts: Interrupts used by the MMC controller.

Required properties:
Required properties:
- bus-width: Number of data lines, can be <1>, <4>, or <8>
- bus-width: Number of data lines, can be <1>, <4>, or <8>


Optional properties:
Optional properties:
- cd-gpios: Specify GPIOs for card detection, see gpio binding
- cd-gpios: Specify GPIOs for card detection, see gpio binding
- wp-gpios: Specify GPIOs for write protection, see gpio binding
- wp-gpios: Specify GPIOs for write protection, see gpio binding
- cd-inverted: when present, polarity on the wp gpio line is inverted
- cd-inverted: when present, polarity on the cd gpio line is inverted
- wp-inverted: when present, polarity on the wp gpio line is inverted
- wp-inverted: when present, polarity on the wp gpio line is inverted
- non-removable: non-removable slot (like eMMC)
- non-removable: non-removable slot (like eMMC)
- max-frequency: maximum operating clock frequency
- max-frequency: maximum operating clock frequency