]> www.infradead.org Git - users/hch/misc.git/commit
dt-bindings: mmc: Document support for partition table in mmc-card
authorChristian Marangi <ansuelsmth@gmail.com>
Wed, 2 Oct 2024 22:11:46 +0000 (00:11 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 22 Oct 2024 14:15:17 +0000 (08:15 -0600)
commitf7a4b3438c6f5e95a6ae814b39bf6623a007dec8
tree561867a27abd18953bb552eee549d2d650f4e4f9
parent2e3a191e89f951b8cb3a7a0365d4d949cbf9599a
dt-bindings: mmc: Document support for partition table in mmc-card

Document support for defining a partition table in the mmc-card node.

This is needed if the eMMC doesn't have a partition table written and
the bootloader of the device load data by using absolute offset of the
block device. This is common on embedded device that have eMMC installed
to save space and have non removable block devices.

If an OF partition table is detected, any partition table written in the
eMMC will be ignored and won't be parsed.

eMMC provide a generic disk for user data and if supported (JEDEC 4.4+)
also provide two additional disk ("boot1" and "boot2") for special usage
of boot operation where normally is stored the bootloader or boot info.
New JEDEC version also supports up to 4 GP partition for other usage
called "gp1", "gp2", "gp3", "gp4".

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20241002221306.4403-7-ansuelsmth@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Documentation/devicetree/bindings/mmc/mmc-card.yaml