Jonas Karlman
d2c6acff63
dt-bindings: mmc: sdhci-of-dwcmhsc: Allow use of a power-domain
...
The commit 7e856617a1 ("dt-bindings: mmc: Add support for rk3576
eMMC") limited use of power-domains to Rockchip RK3576.
Remove the power-domains: false to allow use of power-domains with more
controllers, e.g. with SDHCI on Rockchip RK3528.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20250518220707.669515-6-jonas@kwiboo.se
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-05-22 23:33:24 +02:00
Yixun Lan
7464fee9d7
dt-bindings: mmc: spacemit,sdhci: add support for K1 SoC
...
Add support for the SD/eMMC Host Controller found in SpacemiT K1 SoC,
The controller supports data transmission of MMC, SDIO, SD protocol.
Reviewed-by: Rob Herring (Arm) <robh@kernel.org >
Signed-off-by: Yixun Lan <dlan@gentoo.org >
Link: https://lore.kernel.org/r/20250509-20-k1-sdhci-v3-1-526c35feaa20@gentoo.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-05-19 13:39:37 +02:00
Charan Pedumuru
e760eab406
dt-binding: mmc: microchip,sdhci-pic32: convert text based binding to json schema
...
Update text binding to YAML.
Changes during conversion:
Add appropriate include statements for interrupts and clock-names
to resolve errors identified by `dt_binding_check` and `dtbs_check`.
Signed-off-by: Charan Pedumuru <charan.pedumuru@gmail.com >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20250507-mchp-sdhci-v1-2-ed29de05295a@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-05-19 12:19:35 +02:00
Alexey Charkov
1dfc7d1ab7
dt-bindings: mmc: vt8500-sdmmc: Convert to YAML
...
Rewrite the textual description for the WonderMedia SDMMC controller
as YAML schema, and switch the filename to follow the compatible
string.
Signed-off-by: Alexey Charkov <alchark@gmail.com >
Reviewed-by: Rob Herring (Arm) <robh@kernel.org >
Link: https://lore.kernel.org/r/20250423-vt8500-sdmmc-binding-v2-1-ea4f17fd0638@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-05-14 17:07:48 +02:00
Danila Tikhonov
a0ba0461c4
dt-bindings: mmc: sdhci-msm: Add the SM7150 compatible
...
Add compatible for the SDHCI block found in SM7150.
Signed-off-by: Danila Tikhonov <danila@jiaxyga.com >
Link: https://lore.kernel.org/r/20250422-sm7150-upstream-v1-11-bf9a9081631d@jiaxyga.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-05-14 16:59:18 +02:00
Frank Li
88f2f360de
dt-bindings: mmc: fsl,esdhc: add compatible string fsl,ls1021a-esdhc
...
Add compatible string fsl,ls1021a-esdhc for LS1021a SoC.
Signed-off-by: Frank Li <Frank.Li@nxp.com >
Acked-by: Rob Herring (Arm) <robh@kernel.org >
Link: https://lore.kernel.org/r/20250417151300.3570021-1-Frank.Li@nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-05-14 16:59:18 +02:00
AngeloGioacchino Del Regno
fe1c2abfc8
dt-bindings: mmc: mtk-sd: Add support for Dimensity 1200 MT6893
...
Add a compatible for the MediaTek Dimensity 1200 (MT6893) SoC.
All of the MMC/SD controllers in this chip are compatible with
the ones found in MT8183, but do also make use of an optional
crypto clock when enabling HW disk encryption.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com >
Acked-by: Rob Herring (Arm) <robh@kernel.org >
Link: https://lore.kernel.org/r/20250416120245.147951-1-angelogioacchino.delregno@collabora.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-05-14 16:59:18 +02:00
Inochi Amaoto
157d4ba8df
dt-bindings: mmc: sdhci-of-dwcmhsc: Add Sophgo SG2044 support
...
The sdhci IP of SG2044 is similar to it of SG2042. They
share the same clock and controller configuration.
Add compatible string for SG2044.
Signed-off-by: Inochi Amaoto <inochiama@gmail.com >
Reviewed-by: Chen Wang <unicorn_wang@outlook.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20250413223507.46480-8-inochiama@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-05-14 16:59:18 +02:00
Wolfram Sang
a06f633e18
dt-bindings: mmc: arasan,sdhci: Add Renesas RZ/N1D
...
This instance has a wakeup irq defined. It is currently not used by the
driver.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Reviewed-by: Rob Herring (Arm) <robh@kernel.org >
Link: https://lore.kernel.org/r/20250405173631.13564-2-wsa+renesas@sang-engineering.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-05-14 16:59:16 +02:00
Lad Prabhakar
8e127dbbf6
dt-bindings: mmc: renesas,sdhi: Document RZ/V2N support
...
Add SDHI bindings for the Renesas RZ/V2N (a.k.a R9A09G056) SoC. Use
`renesas,sdhi-r9a09g057` as a fallback since the SD/MMC block on
RZ/V2N is identical to the one on RZ/V2H(P), allowing reuse of the
existing driver without modifications.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com >
Acked-by: Rob Herring (Arm) <robh@kernel.org >
Link: https://lore.kernel.org/r/20250326143945.82142-8-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-05-14 16:59:16 +02:00
Rob Herring (Arm)
44aa44051f
dt-bindings: mmc: marvell,xenon-sdhci: Drop requiring 2 clocks
...
The "axi" clock is optional on at least the "marvell,armada-ap806-sdhci"
variant. Not sure what's correct here, so just drop the constraint.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20250320-dt-marvell-mmc-v1-3-e51002ea0238@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-05-14 16:59:16 +02:00
Rob Herring (Arm)
3974f06454
dt-bindings: mmc: marvell,xenon-sdhci: Add reference to sdhci-common.yaml
...
The Marvell xenon-sdhci block is an SDHCI and can use properties from
sdhci-common.yaml, so change the reference.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20250320-dt-marvell-mmc-v1-2-e51002ea0238@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-05-14 16:59:16 +02:00
Rob Herring (Arm)
cff4ca59f9
dt-bindings: mmc: marvell,xenon-sdhci: Allow "dma-coherent" and "iommus"
...
The Marvell xenon-sdhci block can be cache-coherent and needs the
"dma-coherent" property. It can also be behind an IOMMU and needs the
"iommus" property.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20250320-dt-marvell-mmc-v1-1-e51002ea0238@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-05-14 16:59:16 +02:00
Rob Herring (Arm)
6f3e123439
dt-bindings: mmc: Remove redundant sdhci.txt
...
The properties in sdhci.txt are documented in sdhci-common.yaml, too.
Remove the txt binding.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org >
Reviewed-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20250320211922.1135669-1-robh@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-05-14 16:59:15 +02:00
Andre Przywara
63ddfb9c3a
dt-bindings: mmc: sunxi: add compatible strings for Allwinner A523
...
The Allwinner A523 uses the same MMC IP as the D1.
Introduce the new specific compatible strings, and use them with
fallbacks to the D1 strings.
Signed-off-by: Andre Przywara <andre.przywara@arm.com >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20250307005712.16828-3-andre.przywara@arm.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-03-12 12:16:28 +01:00
Andre Przywara
0f7a4a167a
dt-bindings: mmc: sunxi: Simplify compatible string listing
...
New Allwinner SoCs only occasionally update their MMC IP, leading to many
pairs of compatible strings, though there are sometimes a number of them
being compatible with one particular SoC.
Collate the compatible string listing in the binding, to group those
being compatible together. This makes the list more readable, and allows
for easier addition of new SoC's MMC devices.
Signed-off-by: Andre Przywara <andre.przywara@arm.com >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20250307005712.16828-2-andre.przywara@arm.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-03-12 12:16:00 +01:00
Jonas Karlman
75aaf6cc1a
dt-bindings: mmc: sdhci-of-dwcmhsc: Add compatible string for RK3528
...
The SDHCI controller in Rockchip RK3528 is similar to the one included
in RK3588.
Add compatible string for the SDHCI controller in RK3528.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20250305214108.1327208-2-jonas@kwiboo.se
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-03-12 12:06:16 +01:00
Yao Zi
8d83327918
dt-bindings: mmc: rockchip-dw-mshc: Add compatible string for RK3528
...
Add RK3528 compatible string for SD/SDIO interface.
Signed-off-by: Yao Zi <ziyao@disroot.org >
Acked-by: Rob Herring (Arm) <robh@kernel.org >
Link: https://lore.kernel.org/r/20250309055348.9299-2-ziyao@disroot.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-03-12 11:59:12 +01:00
Biju Das
93745285ad
dt-bindings: mmc: renesas,sdhi: Document RZ/G3E support
...
The SD/MMC block on the RZ/G3E ("R9A09G047") SoC is similar to that
of the RZ/V2H, but the SD0 channel has only dedicated pins, so we must
use SD_STATUS register to control voltage and power enable (internal
regulator), for non-fixed voltage (SD) MMC interface. However, it is
optional for fixed voltage MMC interface (eMMC).
For SD1 and SD2 channels, we can either use gpio regulator or internal
regulator (using SD_STATUS register) for voltage switching.
Document RZ/G3E SDHI IP support with optional internal regulator for
both RZ/G3E and RZ/V2H SoC.
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be >
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com >
Link: https://lore.kernel.org/r/20250305092958.21865-2-biju.das.jz@bp.renesas.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-03-12 11:44:17 +01:00
Kever Yang
ab5d7073ad
dt-bindings: mmc: rockchip-dw-mshc: Add support for rk3562
...
The dw-mshc core on Rockchip's RK3562 is the same as the one already
included in RK3288. Extend the binding accordingly to allow
compatible = "rockchip,rk3562-dw-mshc", "rockchip,rk3288-dw-mshc";
Signed-off-by: Kever Yang <kever.yang@rock-chips.com >
Acked-by: Rob Herring (Arm) <robh@kernel.org >
Link: https://lore.kernel.org/r/20250227111913.2344207-4-kever.yang@rock-chips.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-03-12 11:33:24 +01:00
Kever Yang
e50bbfe982
dt-bindings: mmc: Add support for rk3562 eMMC
...
The eMMC core on Rockchip's RK3562 is the same as the one already
included in RK3588. Extend the binding accordingly to allow
compatible = "rockchip,rk3562-dwcmshc", "rockchip,rk3588-dwcmshc";
Signed-off-by: Kever Yang <kever.yang@rock-chips.com >
Acked-by: Rob Herring (Arm) <robh@kernel.org >
Link: https://lore.kernel.org/r/20250227111913.2344207-3-kever.yang@rock-chips.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-03-12 11:33:24 +01:00
Dharma Balasubiramani
c784b7617c
dt-bindings: mmc: atmel,hsmci: Convert to json schema
...
Convert atmel,hsmci documentation to yaml format. The new file will inherit
from mmc-controller.yaml.
Signed-off-by: Dharma Balasubiramani <dharma.b@microchip.com >
Reviewed-by: Rob Herring (Arm) <robh@kernel.org >
Link: https://lore.kernel.org/r/20250224-mmc-slot-v4-2-231620a31e88@microchip.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-03-11 18:48:18 +01:00
Dharma Balasubiramani
ec53e2ea6b
dt-bindings: mmc: mmc-slot: Make compatible property optional
...
The compatible property is required for some vendor-specific device trees,
such as Amlogic's meson-mx-sdio, but is unnecessary for others, like
Microchip's DTS. To resolve unintended warnings for configurations that do
not require it, remove compatible from the required properties in
mmc-slot.yaml.
Since meson-mx-sdio still requires compatible, explicitly add it to its
required list in amlogic,meson-mx-sdio.yaml.
Signed-off-by: Dharma Balasubiramani <dharma.b@microchip.com >
Reviewed-by: Rob Herring (Arm) <robh@kernel.org >
Link: https://lore.kernel.org/r/20250224-mmc-slot-v4-1-231620a31e88@microchip.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-03-11 18:48:18 +01:00
Frank Li
e01578e0a4
dt-bindings: mmc: fsl-imx-esdhc: Add i.MX94 support
...
Add compatible string "fsl,imx94-usdhc" for the i.MX94 chip, which is
backward compatible with i.MX8mm. Set it to fall back to
"fsl,imx8mm-usdhc".
Signed-off-by: Frank Li <Frank.Li@nxp.com >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20250306170937.242183-1-Frank.Li@nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-03-11 18:46:17 +01:00
Frank Li
7597794706
dt-bindings: mmc: Change to additionalProperties to fix fail detect Unevaluated property
...
mmc-controller.yaml is common schema file. According to writing-schema.rst,
* additionalProperties: true
Rare case, used for schemas implementing common set of properties. Such
schemas are supposed to be referenced by other schemas, which then use
'unevaluatedProperties: false'. Typically bus or common-part schemas.
Reproduce steps:
1. Add unevaluated property 'abc' at example of fsl-imx-esdhc.yaml
2. Run make dt_binding_check DT_SCHEMA_FILES=fsl-imx-esdhc.yaml
No any warning report. But suppose report below warning:
mmc@70004000: Unevaluated properties are not allowed ('abc' was unexpected)
Signed-off-by: Frank Li <Frank.Li@nxp.com >
Reviewed-by: Rob Herring (Arm) <robh@kernel.org >
Link: https://lore.kernel.org/r/20250220164655.2081224-1-Frank.Li@nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-03-11 18:44:49 +01:00
Kaustabh Chakraborty
63dde9c393
dt-bindings: mmc: samsung,exynos-dw-mshc: add exynos7870 support
...
Document the compatibles for Exynos7870's DW MMC driver, for both
non-SMU and SMU variants.
Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20250219-exynos7870-mmc-v2-1-b4255a3e39ed@disroot.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-03-11 18:41:53 +01:00
Ivaylo Ivanov
285035a8da
dt-bindings: mmc: samsung,exynos-dw-mshc: add specific compatible for exynos8895
...
Add samsung,exynos8895-dw-mshc-smu specific compatible to the bindings
documentation. Since Samsung, as usual, likes reusing devices from older
designs, use the samsung,exynos7-dw-mshc-smu compatible.
Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/all/20250105161344.420749-2-ivo.ivanov.ivanov1@gmail.com/
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2025-01-13 16:07:57 +01:00
Chen-Yu Tsai
6af057a8a5
dt-bindings: mmc: mtk-sd: Document compatibles that need two register ranges
...
Besides the MT8183's MMC controller and all its compatible derivatives,
the recently added MT7986 and MT8196 also require two register ranges.
This is based on the actual device trees.
Properly enforce this in the binding.
Fixes: 4a8bd2b07d ("dt-bindings: mmc: mtk-sd: Add mt7988 SoC")
Fixes: 58927c9dc4 ("dt-bindings: mmc: mtk-sd: Add support for MT8196")
Cc: Frank Wunderlich <frank-w@public-files.de >
Cc: Andy-ld Lu <andy-ld.lu@mediatek.com >
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org >
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Message-ID: <20241210073212.3917912-2-wenst@chromium.org >
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2024-12-18 15:57:52 +01:00
Neil Armstrong
ea049a037e
dt-bindings: mmc: convert amlogic,meson-mx-sdio.txt to dtschema
...
Convert the Amlogic Meson6, Meson8 and Meson8b SDIO/MMC controller
bindings to dt-schema.
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com >
Reviewed-by: Rob Herring (Arm) <robh@kernel.org >
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org >
Message-ID: <20241128-topic-amlogic-arm32-upstream-bindings-fixes-convert-meson-mx-sdio-v4-5-11d9f9200a59@linaro.org >
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2024-12-10 15:52:26 +01:00
Neil Armstrong
b833f3deb1
dt-bindings: mmc: document mmc-slot
...
Document the mmc-slot, which is a subnode of a multi-slot
MMC controller, each slot is represented as a full MMC controller,
the top node handling all the shared resources and slot mux.
Reviewed-by: Rob Herring (Arm) <robh@kernel.org >
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org >
Message-ID: <20241128-topic-amlogic-arm32-upstream-bindings-fixes-convert-meson-mx-sdio-v4-4-11d9f9200a59@linaro.org >
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2024-12-10 15:52:26 +01:00
Neil Armstrong
b55a9f7287
dt-bindings: mmc: controller: remove '|' when not needed
...
Adding "|" is used to keep the description format, remove it when
not needed after the split into mmc-controller.yaml and
mmc-controller-common.yaml files.
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org >
Acked-by: Rob Herring (Arm) <robh@kernel.org >
Message-ID: <20241128-topic-amlogic-arm32-upstream-bindings-fixes-convert-meson-mx-sdio-v4-3-11d9f9200a59@linaro.org >
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2024-12-10 15:52:26 +01:00
Neil Armstrong
3aee3eec6d
dt-bindings: mmc: controller: move properties common with slot out to mmc-controller-common
...
Move the common MMC "slot" properties because they are shared by the
single-slot or multi-slot controllers, and will help defining a simple
mmc-slot bindings document with proper slot properties and nodename.
Reviewed-by: Rob Herring (Arm) <robh@kernel.org >
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org >
Message-ID: <20241128-topic-amlogic-arm32-upstream-bindings-fixes-convert-meson-mx-sdio-v4-2-11d9f9200a59@linaro.org >
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2024-12-10 15:52:26 +01:00
Neil Armstrong
b2b8e93ec0
dt-bindings: mmc: controller: clarify the address-cells description
...
The term "slot ID" has nothing to do with the SDIO function number
which is specified in the reg property of the subnodes, rephrase
the description to be more accurate.
Fixes: f9b7989859 ("dt-bindings: mmc: Add YAML schemas for the generic MMC options")
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org >
Acked-by: Rob Herring (Arm) <robh@kernel.org >
Message-ID: <20241128-topic-amlogic-arm32-upstream-bindings-fixes-convert-meson-mx-sdio-v4-1-11d9f9200a59@linaro.org >
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2024-12-10 15:52:26 +01:00
Krzysztof Kozlowski
634717a2b8
dt-bindings: Drop Bhupesh Sharma from maintainers
...
For more than a year all emails to Bhupesh Sharma's Linaro emails bounce
and there were no updates to mailmap. No reviews from Bhupesh, either,
so change the maintainer to Bjorn and Konrad (Qualcomm SoC maintainers).
Cc: Bhupesh Sharma <bhupesh.linux@gmail.com >
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Konrad Dybcio <konradybcio@kernel.org >
Message-ID: <20241130094758.15553-1-krzysztof.kozlowski@linaro.org >
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2024-12-10 11:18:45 +01:00
Dharma Balasubiramani
8593b68713
dt-bindings: mmc: atmel,sama5d2-sdhci: add microchip,sama7d65-sdhci
...
Add mmc binding documentation for SAMA7D65.
Signed-off-by: Dharma Balasubiramani <dharma.b@microchip.com >
Message-ID: <e9e9e4cf0753422706bdc44fe7d20ca3a686ce7a.1732030972.git.Ryan.Wanner@microchip.com >
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2024-12-10 11:18:45 +01:00
Rob Herring (Arm)
5feebfb4b3
dt-bindings: mmc: marvell,xenon-sdhci: Simplify Armada 3700 if/then schema
...
Properties are supposed to be defined in the top-level schema and then
disallowed in an if/then schema if necessary. Move the "marvell,pad-type"
property to follow this.
"reg" can also be similarly described at the top-level with only the
number of entries restricted in the if/then schema.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Message-ID: <20241113225602.1782573-1-robh@kernel.org >
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2024-12-10 11:18:45 +01:00
Linus Torvalds
38556294b8
Merge tag 'mmc-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc
...
Pull MMC updates from Ulf Hansson:
"MMC core:
- Add support for Ultra Capacity SD cards (SDUC, 2TB to 128TB)
- Add support for Ultra High-Speed II SD cards (UHS-II)
- Use a reset control for pwrseq_simple
- Add SD card quirk for broken poweroff notification
- Use GFP_NOIO for SD ACMD22
MMC host:
- bcm2835: Introduce proper clock handling
- mtk-sd: Add support for the Host-Software-Queue interface
- mtk-sd: Add support for the mt7988/mt8196 variants
- mtk-sd: Fix a couple of error paths in ->probe()
- sdhci: Add interface to support UHS-II SD cards
- sdhci_am654: Fixup support for changing the signal voltage level
- sdhci-cadence: Add support for the Microchip PIC64GX variant
- sdhci-esdhc-imx: Add support for eMMC HW-reset
- sdhci-msm: Add support for the X1E80100/IPQ5424/SAR2130P/QCS615 variants
- sdhci-of-arasan: Add support for eMMC HW-reset
- sdhci-pci-gli: Add UHS-II support for the GL9767/GL9755 variants
MEMSTICK:
- A couple of minor updates"
* tag 'mmc-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: (78 commits)
mmc: pwrseq_simple: Handle !RESET_CONTROLLER properly
mmc: mtk-sd: Fix MMC_CAP2_CRYPTO flag setting
mmc: mtk-sd: Fix error handle of probe function
mmc: core: Correction a warning caused by incorrect type in assignment for UHS-II
mmc: sdhci-esdhc-imx: Update esdhc sysctl dtocv bitmask
mmc: sdhci-esdhc-imx: Implement emmc hardware reset
mmc: core: Correct type in variable assignment for UHS-II
mmc: sdhci-uhs2: correction a warning caused by incorrect type in argument
mmc: sdhci-uhs2: Remove unnecessary variables
mmc: sdhci-uhs2: Correct incorrect type in argument
mmc: sdhci: Make MMC_SDHCI_UHS2 config symbol invisible
mmc: sdhci-uhs2: Remove unnecessary NULL check
mmc: core: Fix error paths for UHS-II card init and re-init
mmc: core: Add error handling of sd_uhs2_power_up()
mmc: core: Simplify sd_uhs2_power_up()
mmc: bcm2835: Introduce proper clock handling
mmc: bcm2835: Fix type of current clock speed
dt-bindings: mmc: Add sdhci compatible for QCS615
mmc: core: Use GFP_NOIO in ACMD22
dt-bindings: mmc: sdhci-msm: Add SAR2130P compatible
...
2024-11-20 12:51:32 -08:00
Yuanjie Yang
3c0946b6a3
dt-bindings: mmc: Add sdhci compatible for QCS615
...
Document the sdhci compatible for Qualcomm QCS615 to support
function for emmc and sd card on the Soc.
Signed-off-by: Yuanjie Yang <quic_yuanjiey@quicinc.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Message-ID: <20241023092708.604195-2-quic_yuanjiey@quicinc.com >
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2024-10-25 16:48:54 +02:00
Dmitry Baryshkov
32f71e0eb9
dt-bindings: mmc: sdhci-msm: Add SAR2130P compatible
...
Document compatible for the SDHCI Controller on SAR2130P platform.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Message-ID: <20241017-sar2130p-mmc-v1-1-c84da16a001e@linaro.org >
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2024-10-25 16:37:01 +02:00
Frank Wunderlich
4a8bd2b07d
dt-bindings: mmc: mtk-sd: Add mt7988 SoC
...
Add binding definitions for mmc on MT7988 SoC.
Signed-off-by: Frank Wunderlich <frank-w@public-files.de >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com >
Message-ID: <20241012143826.7690-2-linux@fw-web.de >
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2024-10-25 16:22:22 +02:00
Andy-ld Lu
58927c9dc4
dt-bindings: mmc: mtk-sd: Add support for MT8196
...
Extend the devicetree bindings to include the MT8196 mmc controller,
new tx/rx would be supported from MT8196, and the register settings
of STOP_DLY_SEL and POP_EN_CNT would also be variant.
Signed-off-by: Andy-ld Lu <andy-ld.lu@mediatek.com >
Acked-by: Krzysztof Kozlowski <krzk@kernel.org >
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com >
Message-ID: <20241011024906.8173-4-andy-ld.lu@mediatek.com >
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2024-10-25 16:19:24 +02:00
Christian Marangi
f7a4b3438c
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 >
2024-10-22 08:15:17 -06:00
Abel Vesa
a5987a6459
dt-bindings: mmc: sdhci-msm: Document the X1E80100 SDHCI Controller
...
Document the SDHCI Controller on the X1E80100 Platform.
Signed-off-by: Abel Vesa <abel.vesa@linaro.org >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20241008-x1e80100-qcp-sdhc-v1-1-dfef4c92ae31@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2024-10-14 12:40:11 +02:00
Sricharan Ramabadhran
d659d8ad63
dt-bindings: mmc: sdhci-msm: add IPQ5424 compatible
...
The IPQ5424 supports eMMC with an SDHCI controller. Add the appropriate
compatible to the documentation.
Acked-by: Rob Herring (Arm) <robh@kernel.org >
Signed-off-by: Sricharan Ramabadhran <quic_srichara@quicinc.com >
Link: https://lore.kernel.org/r/20241004102342.2414317-4-quic_srichara@quicinc.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2024-10-14 12:40:10 +02:00
Pierre-Henry Moussay
c0d5538c12
dt-bindings: mmc: cdns,sdhci: ref sdhci-common.yaml
...
Since the Cadence sdhci controller is sdhci compatible, the cdns,sdhci.yaml
should ref sdhci-common.yaml to use 'sdhci-caps-mask' property.
Signed-off-by: Pierre-Henry Moussay <pierre-henry.moussay@microchip.com >
Link: https://lore.kernel.org/r/20240930095449.1813195-17-pierre-henry.moussay@microchip.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2024-10-14 12:40:10 +02:00
Pierre-Henry Moussay
826d898e1a
dt-bindings: mmc: cdns: document Microchip PIC64GX MMC/SDHCI controller
...
PIC64GX is compatible with cdns,sd4hc without any additional feature
Signed-off-by: Pierre-Henry Moussay <pierre-henry.moussay@microchip.com >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20240930095449.1813195-12-pierre-henry.moussay@microchip.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2024-10-14 12:40:10 +02:00
Detlev Casanova
7e856617a1
dt-bindings: mmc: Add support for rk3576 eMMC
...
The device is compatible with rk3588, so add an entry for the 2
compatibles together.
The rk3576 device has a power-domain that needs to be on for the eMMC to
be used. Add it as a requirement.
Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20240904203154.253655-2-detlev.casanova@collabora.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2024-09-05 12:16:06 +02:00
Dharma Balasubiramani
1c97ea115f
dt-bindings: mmc: sdhci-atmel: Convert to json schema
...
Convert sdhci-atmel documentation to yaml format. The new file will inherit
from sdhci-common.yaml.
Note: Add microchip,sama7g5-sdhci to compatible list as we already use it
in the DT.
Signed-off-by: Dharma Balasubiramani <dharma.b@microchip.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20240902-atmel-sdhci-v4-1-96912fab6b2d@microchip.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2024-09-03 14:32:01 +02:00
Detlev Casanova
ee60138407
dt-bindings: mmc: Add support for rk3576 dw-mshc
...
Add the compatible string for rockchip,rk3576-dw-mshc in its own new
block, for devices that have internal phase settings instead of external
clocks.
Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Heiko Stuebner <heiko@sntech.de >
Link: https://lore.kernel.org/r/010201919996f687-08c1988a-f588-46fa-ad82-023068c316ba-000000@eu-west-1.amazonses.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2024-09-03 14:11:44 +02:00
Krzysztof Kozlowski
1645e815cb
dt-bindings: mmc: renesas,sdhi: add top-level constraints
...
Properties with variable number of items per each device are expected to
have widest constraints in top-level "properties:" block and further
customized (narrowed) in "if:then:". Add missing top-level constraints
for clocks.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Reviewed-by: Rob Herring (Arm) <robh@kernel.org >
Link: https://lore.kernel.org/r/20240818172923.121867-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org >
2024-08-26 13:01:50 +02:00