Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mmc: sdhci-cadence: add Socionext UniPhier specific compatible string

Add a Socionext SoC specific compatible (suggested by Rob Herring).

No SoC specific data are associated with the compatible strings for
now, but other SoC vendors may use this IP and want to differentiate
IP variants in the future.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Masahiro Yamada and committed by
Ulf Hansson
5b311c15 e93b1cc8

+5 -2
+4 -2
Documentation/devicetree/bindings/mmc/sdhci-cadence.txt
··· 1 1 * Cadence SD/SDIO/eMMC Host Controller 2 2 3 3 Required properties: 4 - - compatible: should be "cdns,sd4hc". 4 + - compatible: should be one of the following: 5 + "cdns,sd4hc" - default of the IP 6 + "socionext,uniphier-sd4hc" - for Socionext UniPhier SoCs 5 7 - reg: offset and length of the register set for the device. 6 8 - interrupts: a single interrupt specifier. 7 9 - clocks: phandle to the input clock. ··· 21 19 22 20 Example: 23 21 emmc: sdhci@5a000000 { 24 - compatible = "cdns,sd4hc"; 22 + compatible = "socionext,uniphier-sd4hc", "cdns,sd4hc"; 25 23 reg = <0x5a000000 0x400>; 26 24 interrupts = <0 78 4>; 27 25 clocks = <&clk 4>;
+1
drivers/mmc/host/sdhci-cadence.c
··· 262 262 } 263 263 264 264 static const struct of_device_id sdhci_cdns_match[] = { 265 + { .compatible = "socionext,uniphier-sd4hc" }, 265 266 { .compatible = "cdns,sd4hc" }, 266 267 { /* sentinel */ } 267 268 };