hdmitx: bringup for g12b
authorYi Zhou <yi.zhou@amlogic.com>
Fri, 4 May 2018 07:39:05 +0000 (15:39 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Fri, 29 Jun 2018 06:28:37 +0000 (23:28 -0700)
PD#165090: hdmitx: bringup for g12b

1. update address of RESET0_REGISTER
2. open hdmitx function

Change-Id: I4878d25109058c67046003dc349572df2bb991a2
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
arch/arm64/boot/dts/amlogic/mesong12b.dtsi
drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/txlx_reg.h

index c54da75..88bf049 100644 (file)
        vpu {
                /*compatible = "amlogic, vpu-g12a";*/
                dev_name = "vpu";
-               status = "disabled";
+               status = "okay";
                clocks = <&clkc CLKID_VAPB_MUX>,
                        <&clkc CLKID_VPU_INTR>,
                        <&clkc CLKID_VPU_P0_COMP>,
        amhdmitx: amhdmitx{
                compatible = "amlogic, amhdmitx";
                dev_name = "amhdmitx";
-               status = "disabled";
+               status = "okay";
                vend-data = <&vend_data>;
                pinctrl-names="default", "hdmitx_i2c";
                pinctrl-0=<&hdmitx_hpd &hdmitx_ddc>;
        vout {
                compatible = "amlogic, vout";
                dev_name = "vout";
-               status = "disabled";
+               status = "okay";
        };
 
        vout2 {
index c1107c3..6ce468f 100644 (file)
@@ -19,9 +19,9 @@
 #define __TXLX_REG_H__
 #include "reg_ops.h"
 
-#define RESET0_REGISTER 0x1001
+#define RESET0_REGISTER 0x01
 #define P_RESET0_REGISTER RESET_CBUS_REG_ADDR(RESET0_REGISTER)
-#define RESET2_REGISTER 0x1003
+#define RESET2_REGISTER 0x03
 #define P_RESET2_REGISTER RESET_CBUS_REG_ADDR(RESET2_REGISTER)
 
 #define ISA_DEBUG_REG0 0x3c00