powerpc: introduce and document sdhci,wp-inverted property for eSDHC
eSDHC block in MPC837x SOCs reports inverted write-protect state, soon sdhci-of driver will look for sdhci,wp-inverted properties to decide whether apply a specific quirk. So, document the property and add it to device tree source files. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Cc: Pierre Ossman <pierre@ossman.eu> Cc: Kumar Gala <galak@kernel.crashing.org> Cc: David Vrabel <david.vrabel@csr.com> Cc: Ben Dooks <ben@fluff.org> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: <linux-mmc@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
81b3980246
commit
50dfe70fe9
@ -10,6 +10,8 @@ Required properties:
|
|||||||
- interrupts : should contain eSDHC interrupt.
|
- interrupts : should contain eSDHC interrupt.
|
||||||
- interrupt-parent : interrupt source phandle.
|
- interrupt-parent : interrupt source phandle.
|
||||||
- clock-frequency : specifies eSDHC base clock frequency.
|
- clock-frequency : specifies eSDHC base clock frequency.
|
||||||
|
- sdhci,wp-inverted : (optional) specifies that eSDHC controller
|
||||||
|
reports inverted write-protect state;
|
||||||
- sdhci,1-bit-only : (optional) specifies that a controller can
|
- sdhci,1-bit-only : (optional) specifies that a controller can
|
||||||
only handle 1-bit data transfers.
|
only handle 1-bit data transfers.
|
||||||
|
|
||||||
|
@ -159,6 +159,7 @@
|
|||||||
reg = <0x2e000 0x1000>;
|
reg = <0x2e000 0x1000>;
|
||||||
interrupts = <42 0x8>;
|
interrupts = <42 0x8>;
|
||||||
interrupt-parent = <&ipic>;
|
interrupt-parent = <&ipic>;
|
||||||
|
sdhci,wp-inverted;
|
||||||
/* Filled in by U-Boot */
|
/* Filled in by U-Boot */
|
||||||
clock-frequency = <0>;
|
clock-frequency = <0>;
|
||||||
};
|
};
|
||||||
|
@ -173,6 +173,7 @@
|
|||||||
reg = <0x2e000 0x1000>;
|
reg = <0x2e000 0x1000>;
|
||||||
interrupts = <42 0x8>;
|
interrupts = <42 0x8>;
|
||||||
interrupt-parent = <&ipic>;
|
interrupt-parent = <&ipic>;
|
||||||
|
sdhci,wp-inverted;
|
||||||
/* Filled in by U-Boot */
|
/* Filled in by U-Boot */
|
||||||
clock-frequency = <111111111>;
|
clock-frequency = <111111111>;
|
||||||
};
|
};
|
||||||
|
@ -150,6 +150,7 @@
|
|||||||
reg = <0x2e000 0x1000>;
|
reg = <0x2e000 0x1000>;
|
||||||
interrupts = <42 0x8>;
|
interrupts = <42 0x8>;
|
||||||
interrupt-parent = <&ipic>;
|
interrupt-parent = <&ipic>;
|
||||||
|
sdhci,wp-inverted;
|
||||||
clock-frequency = <133333333>;
|
clock-frequency = <133333333>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -159,6 +159,7 @@
|
|||||||
reg = <0x2e000 0x1000>;
|
reg = <0x2e000 0x1000>;
|
||||||
interrupts = <42 0x8>;
|
interrupts = <42 0x8>;
|
||||||
interrupt-parent = <&ipic>;
|
interrupt-parent = <&ipic>;
|
||||||
|
sdhci,wp-inverted;
|
||||||
/* Filled in by U-Boot */
|
/* Filled in by U-Boot */
|
||||||
clock-frequency = <0>;
|
clock-frequency = <0>;
|
||||||
};
|
};
|
||||||
|
@ -173,6 +173,7 @@
|
|||||||
reg = <0x2e000 0x1000>;
|
reg = <0x2e000 0x1000>;
|
||||||
interrupts = <42 0x8>;
|
interrupts = <42 0x8>;
|
||||||
interrupt-parent = <&ipic>;
|
interrupt-parent = <&ipic>;
|
||||||
|
sdhci,wp-inverted;
|
||||||
/* Filled in by U-Boot */
|
/* Filled in by U-Boot */
|
||||||
clock-frequency = <111111111>;
|
clock-frequency = <111111111>;
|
||||||
};
|
};
|
||||||
|
@ -157,6 +157,7 @@
|
|||||||
reg = <0x2e000 0x1000>;
|
reg = <0x2e000 0x1000>;
|
||||||
interrupts = <42 0x8>;
|
interrupts = <42 0x8>;
|
||||||
interrupt-parent = <&ipic>;
|
interrupt-parent = <&ipic>;
|
||||||
|
sdhci,wp-inverted;
|
||||||
/* Filled in by U-Boot */
|
/* Filled in by U-Boot */
|
||||||
clock-frequency = <0>;
|
clock-frequency = <0>;
|
||||||
};
|
};
|
||||||
|
@ -171,6 +171,7 @@
|
|||||||
reg = <0x2e000 0x1000>;
|
reg = <0x2e000 0x1000>;
|
||||||
interrupts = <42 0x8>;
|
interrupts = <42 0x8>;
|
||||||
interrupt-parent = <&ipic>;
|
interrupt-parent = <&ipic>;
|
||||||
|
sdhci,wp-inverted;
|
||||||
/* Filled in by U-Boot */
|
/* Filled in by U-Boot */
|
||||||
clock-frequency = <111111111>;
|
clock-frequency = <111111111>;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user