qemu/include/hw/sd
Jamin Lin 134d9e5c0c hw/sd/sdhci: Introduce a new Write Protected pin inverted property
The Write Protect pin of SDHCI model is default active low to match the SDHCI
spec. So, write enable the bit 19 should be 1 and write protected the bit 19
should be 0 at the Present State Register (0x24). However, some boards are
design Write Protected pin active high. In other words, write enable the bit 19
should be 0 and write protected the bit 19 should be 1 at the
Present State Register (0x24). To support it, introduces a new "wp-inverted"
property and set it false by default.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Acked-by: Cédric Le Goater <clg@redhat.com>
Acked-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Link: https://lore.kernel.org/r/20241114094839.4128404-3-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2025-01-27 09:38:15 +01:00
..
allwinner-sdhost.h hw: sd: allwinner-sdhost: Add sun50i-a64 SoC support 2023-06-06 10:19:33 +01:00
aspeed_sdhci.h hw/sd/aspeed_sdhci: Add AST2700 Support 2024-12-11 07:25:53 +01:00
bcm2835_sdhost.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
cadence_sdhci.h hw/sd: Add Cadence SDHCI emulation 2020-09-09 15:54:18 -07:00
npcm7xx_sdhci.h hw/arm/npcm7xx: Declare QOM macros using OBJECT_DECLARE_SIMPLE_TYPE() 2023-01-12 17:15:09 +00:00
sd.h hw/sd/omap_mmc: Don't use sd_cmd_type_t 2024-10-29 15:04:46 +00:00
sdcard_legacy.h hw/sd: Rename read/write_data() as read/write_byte() 2020-08-21 16:35:35 +02:00
sdhci.h hw/sd/sdhci: Introduce a new Write Protected pin inverted property 2025-01-27 09:38:15 +01:00