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

arm: dts: socfpga: Add clk-phase-sd-hs property to the sdmmc node

The sdmmc controller's CIU(Card Interface Unit) clock's phase can be
adjusted through the register in the system manager. Add the binding
"altr,sysmgr-syscon" to the SDMMC node for the driver to access the
system manager. Add the "clk-phase-sd-hs" property in the SDMMC node to
designate the smpsel and drvsel properties for the CIU clock.

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>

+7
+1
arch/arm/boot/dts/socfpga.dtsi
··· 764 764 clocks = <&l4_mp_clk>, <&sdmmc_clk_divided>; 765 765 clock-names = "biu", "ciu"; 766 766 resets = <&rst SDMMC_RESET>; 767 + altr,sysmgr-syscon = <&sysmgr 0x108 3>; 767 768 status = "disabled"; 768 769 }; 769 770
+1
arch/arm/boot/dts/socfpga_arria10.dtsi
··· 665 665 clocks = <&l4_mp_clk>, <&sdmmc_clk>; 666 666 clock-names = "biu", "ciu"; 667 667 resets = <&rst SDMMC_RESET>; 668 + altr,sysmgr-syscon = <&sysmgr 0x28 4>; 668 669 status = "disabled"; 669 670 }; 670 671
+1
arch/arm/boot/dts/socfpga_arria10_mercury_aa1.dtsi
··· 73 73 cap-sd-highspeed; 74 74 broken-cd; 75 75 bus-width = <4>; 76 + clk-phase-sd-hs = <0>, <135>; 76 77 }; 77 78 78 79 &osc1 {
+1
arch/arm/boot/dts/socfpga_arria10_socdk_sdmmc.dts
··· 12 12 cap-mmc-highspeed; 13 13 broken-cd; 14 14 bus-width = <4>; 15 + clk-phase-sd-hs = <0>, <135>; 15 16 }; 16 17 17 18 &eccmgr {
+1
arch/arm/boot/dts/socfpga_arria5.dtsi
··· 23 23 bus-width = <4>; 24 24 cap-mmc-highspeed; 25 25 cap-sd-highspeed; 26 + clk-phase-sd-hs = <0>, <135>; 26 27 }; 27 28 28 29 sysmgr@ffd08000 {
+1
arch/arm/boot/dts/socfpga_cyclone5.dtsi
··· 23 23 bus-width = <4>; 24 24 cap-mmc-highspeed; 25 25 cap-sd-highspeed; 26 + clk-phase-sd-hs = <0>, <135>; 26 27 }; 27 28 28 29 sysmgr@ffd08000 {
+1
arch/arm/boot/dts/socfpga_cyclone5_mcv.dtsi
··· 18 18 19 19 &mmc0 { /* On-SoM eMMC */ 20 20 bus-width = <8>; 21 + clk-phase-sd-hs = <0>, <135>; 21 22 status = "okay"; 22 23 };