Thread (10 messages) 10 messages, 3 authors, 2017-09-29

[PATCH v2 1/3] ARM: dts: sun8i: Add basic dtsi file for Allwinner R40

From: icenowy@aosc.io (Icenowy Zheng)
Date: 2017-09-29 10:25:30
Also in: linux-devicetree, lkml


? 2017?9?28? GMT+08:00 ??11:11:03, Maxime Ripard [off-list ref] ??:
Hi,

On Thu, Sep 28, 2017 at 09:25:41AM +0000, Icenowy Zheng wrote:
quoted
+		/*
+		 * The max-frequency properties in all MMC controller nodes
+		 * are conservative values proven to work on Banana Pi M2
+		 * Ultra (the first community available R40 board).
+		 * As the board doesn't wire MMC3 out, the property is not
+		 * set in MMC3.
+		 * TODO: measure the accurate max frequency of the controllers.
+		 */
+		mmc0: mmc at 1c0f000 {
+			compatible = "allwinner,sun8i-r40-mmc",
+				     "allwinner,sun50i-a64-mmc";
+			reg = <0x01c0f000 0x1000>;
+			clocks = <&ccu CLK_BUS_MMC0>, <&ccu CLK_MMC0>;
+			clock-names = "ahb", "mmc";
+			resets = <&ccu RST_BUS_MMC0>;
+			reset-names = "ahb";
+			pinctrl-0 = <&mmc0_pins>;
+			pinctrl-names = "default";
+			interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
+			max-frequency = <25000000>;
+			status = "disabled";
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
Sorry if it wasn't really clear, but my point was more than you should
just drop the max-frequency property
Then set it in the boards' DTS?
Maxime
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help