]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: ux500: enable the crypto and hash on all dbx500
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 24 May 2013 06:36:41 +0000 (08:36 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 27 May 2013 12:07:58 +0000 (14:07 +0200)
Commits:
"ARM: ux500: Add Device Tree nodes for the ux500 Crypt device"
"ARM: ux500: Add Device Tree nodes for the ux500 Hash device"

Added the crypto and hash devices conditionally, i.e. so as to
be turned on per-board by setting an "status" property on the
device from "disabled" to "okay" on each device.

This is wrong since this is an SoC feature, it is not board
dependent. It is the same ASIC under all circumstances and
functionality does not vary with board family.

This moves the enablement into the SoC file.

Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/dbx5x0.dtsi
arch/arm/boot/dts/snowball.dts

index f0519636669076b3eafba6cfafabd7133fd6ec7d..114d4b440c2c8fb56214f53862da06f4c8fb9555 100644 (file)
                        interrupts = <0 15 0x4>;
 
                        v-ape-supply = <&db8500_vape_reg>;
-                       status = "disabled";
                };
 
                hash@a03c2000 {
                        reg = <0xa03c2000 0x1000>;
 
                        v-ape-supply = <&db8500_vape_reg>;
-                       status = "disabled";
                };
        };
 };
index bda002f83a33b5bbd8ca87455de8c17b88463841..e8219cc7683e0c8d6818a5c6a0a18519eb27ee29 100644 (file)
                                };
                        };
                };
-
-               cryp@a03cb000 {
-                       status = "okay";
-               };
-
-               hash@a03c2000 {
-                       status = "okay";
-               };
        };
 };