dts: txlx add unify key for panel ini param
authorwenbiao zhang <wenbiao.zhang@amlogic.com>
Fri, 20 Apr 2018 08:26:10 +0000 (16:26 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Tue, 24 Apr 2018 05:52:53 +0000 (22:52 -0700)
PD#163711: dts: txlx add unify key for panel ini param

Change-Id: If1ee0c9ed2cc68db9c2b518aba1f019e1c67f7ec
Signed-off-by: wenbiao zhang <wenbiao.zhang@amlogic.com>
arch/arm64/boot/dts/amlogic/mesontxlx_r311-panel.dtsi
arch/arm64/boot/dts/amlogic/txlx_t962x_r311_2g.dts

index 36be2a9..e99988a 100644 (file)
@@ -22,7 +22,7 @@
                mode = "tv";
                status = "okay";
                fr_auto_policy = <1>; /* 0=disable, 1=60/50hz, 2=60/50/48hz */
-               key_valid = <0>;
+               key_valid = <1>;
                clocks = <&clkc CLKID_VCLK2_ENCL
                        &clkc CLKID_VCLK2_VENCL>;
                clock-names = "encl_top_gate",
                compatible = "amlogic, lcd_extern";
                dev_name = "lcd_extern";
                status = "okay";
-               key_valid = <0>;
+               key_valid = <1>;
                i2c_bus = "i2c_bus_c";
                /*pinctrl-names="extern_pins";*/
                /*pinctrl_names_uboot = "i2c_c";*/ /* i2c_a, i2c_b, i2c_c */
                compatible = "amlogic, backlight-txlx";
                dev_name = "backlight";
                status = "okay";
-               key_valid = <0>;
+               key_valid = <1>;
                pinctrl-names = "pwm_on","pwm_vs_on",
                                "pwm_combo_0_1_on",
                                "pwm_combo_0_vs_1_on",
index 89ef648..c9a8171 100644 (file)
                compatible = "amlogic, unifykey";
                status = "okay";
 
-               unifykey-num = <16>;
+               unifykey-num = <19>;
                unifykey-index-0 = <&keysn_0>;
                unifykey-index-1 = <&keysn_1>;
                unifykey-index-2 = <&keysn_2>;
                unifykey-index-13 = <&keysn_13>;
                unifykey-index-14 = <&keysn_14>;
                unifykey-index-15 = <&keysn_15>;
+               unifykey-index-16 = <&keysn_16>;
+               unifykey-index-17 = <&keysn_17>;
+               unifykey-index-18 = <&keysn_18>;
 
                keysn_0: key_0{
                        key-name = "usid";
                        key-device = "secure";
                        key-permit = "read","write","del";
                };
+               keysn_16:key_16{
+                       key-name = "lcd";
+                       key-device = "normal";
+                       key-permit = "read","write","del";
+               };
+               keysn_17:key_17{
+                       key-name = "lcd_extern";
+                       key-device = "normal";
+                       key-permit = "read","write","del";
+               };
+               keysn_18:key_18{
+                       key-name = "backlight";
+                       key-device = "normal";
+                       key-permit = "read","write","del";
+               };
        }; /* End unifykey */
 
        vdac {