Răsfoiți Sursa

dt-bindings: qcom_nandc: remove chip select compatible string

Currently the compatible “qcom,nandcs” is being used for each
connected NAND device to support for multiple NAND devices in the
same bus. The same thing can be achieved by looking reg property
for each sub nodes which contains the chip select number so this
patch removes the use of “qcom,nandcs” for specifying NAND device
sub nodes.

Since there is no user for this driver currently in so
changing compatible string is safe.

Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Abhishek Sahu 8 ani în urmă
părinte
comite
4d4f212136
1 a modificat fișierele cu 0 adăugiri și 2 ștergeri
  1. 0 2
      Documentation/devicetree/bindings/mtd/qcom_nandc.txt

+ 0 - 2
Documentation/devicetree/bindings/mtd/qcom_nandc.txt

@@ -26,7 +26,6 @@ chip-selects which (may) contain NAND flash chips. Their properties are as
 follows.
 follows.
 
 
 Required properties:
 Required properties:
-- compatible:		should contain "qcom,nandcs"
 - reg:			a single integer representing the chip-select
 - reg:			a single integer representing the chip-select
 			number (e.g., 0, 1, 2, etc.)
 			number (e.g., 0, 1, 2, etc.)
 - #address-cells:	see partition.txt
 - #address-cells:	see partition.txt
@@ -60,7 +59,6 @@ nand@1ac00000 {
 	#size-cells = <0>;
 	#size-cells = <0>;
 
 
 	nandcs@0 {
 	nandcs@0 {
-		compatible = "qcom,nandcs";
 		reg = <0>;
 		reg = <0>;
 
 
 		nand-ecc-strength = <4>;
 		nand-ecc-strength = <4>;