]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
dt-bindings: qcom_nandc: remove chip select compatible string
authorAbhishek Sahu <absahu@codeaurora.org>
Wed, 19 Jul 2017 11:47:54 +0000 (17:17 +0530)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 23 Aug 2017 14:49:15 +0000 (16:49 +0200)
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>
Documentation/devicetree/bindings/mtd/qcom_nandc.txt

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