unifykey: securitykey: enable securitykey by default [1/1]
authorJiamin Ma <jiamin.ma@amlogic.com>
Mon, 8 Apr 2019 08:18:02 +0000 (16:18 +0800)
committerJianxiong Pan <jianxiong.pan@amlogic.com>
Thu, 11 Apr 2019 06:51:25 +0000 (14:51 +0800)
PD#SWPL-6823

Problem:
Securitykey driver fail to probe

Solution:
Enable securitykey in DTS by default

Verify:
TM2

Change-Id: I962f53c0e786fae85dc856e382b060f4f5f7347c
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
arch/arm/boot/dts/amlogic/mesontm2.dtsi
arch/arm64/boot/dts/amlogic/mesontm2.dtsi

index 0f24d46..b34cff6 100644 (file)
                reg-names = "PREG_STICKY_REG8";
        };
 
-       securitykey {
-               compatible = "amlogic, securitykey";
-               status = "disabled";
-               storage_query = <0x82000060>;
-               storage_read = <0x82000061>;
-               storage_write = <0x82000062>;
-               storage_tell = <0x82000063>;
-               storage_verify = <0x82000064>;
-               storage_status = <0x82000065>;
-               storage_list = <0x82000067>;
-               storage_remove = <0x82000068>;
-               storage_in_func = <0x82000023>;
-               storage_out_func = <0x82000024>;
-               storage_block_func = <0x82000025>;
-               storage_size_func = <0x82000027>;
-               storage_set_enctype = <0x8200006A>;
-               storage_get_enctype = <0x8200006B>;
-               storage_version = <0x8200006C>;
-       };
-
        vpu {
                compatible = "amlogic, vpu-tm2";
                status = "okay";
index fec2ac4..89646c3 100644 (file)
                reg-names = "PREG_STICKY_REG8";
        };
 
-       securitykey {
-               compatible = "amlogic, securitykey";
-               status = "disabled";
-               storage_query = <0x82000060>;
-               storage_read = <0x82000061>;
-               storage_write = <0x82000062>;
-               storage_tell = <0x82000063>;
-               storage_verify = <0x82000064>;
-               storage_status = <0x82000065>;
-               storage_list = <0x82000067>;
-               storage_remove = <0x82000068>;
-               storage_in_func = <0x82000023>;
-               storage_out_func = <0x82000024>;
-               storage_block_func = <0x82000025>;
-               storage_size_func = <0x82000027>;
-               storage_set_enctype = <0x8200006A>;
-               storage_get_enctype = <0x8200006B>;
-               storage_version = <0x8200006C>;
-       };
-
        vpu {
                compatible = "amlogic, vpu-tm2";
                status = "okay";