hi,all:
I use i.MX6Q sabresd board, and trying to get HDMI eye pattern passed, so want to setting registers like this post:
https://community.freescale.com/message/314601#314601
I want to use /unit_tests/memtool to setting registers in doucument "i.MX 6 Series HDMI Test Method for Eye Pattern and Electrical Characteristics"
(download form http://www.google.com.tw/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CDkQFjAA&url=http%3A%2F%2Fcac...)
but whatever I write into register 22 and 23, register 24, 25 always be 0x00 0x00 when I read. Is there any one have succeed writing registers by memtool?
Solved! Go to Solution.
Accesses to HDMI_PHY registers are povided through I2C registers
of the HDMI module. Please look at "hdmi_tx_phy.c" of the SDK for more details
how it should be done (C-functions hdmi_phy_i2c_write, hdmi_phy_i2c_read,
hdmi_phy_i2c_write_verify).
< https://www.freescale.com/webapp/Download?colCode=i.MX6_PLATFORM_SDK&location=null >
Accesses to HDMI_PHY registers are povided through I2C registers
of the HDMI module. Please look at "hdmi_tx_phy.c" of the SDK for more details
how it should be done (C-functions hdmi_phy_i2c_write, hdmi_phy_i2c_read,
hdmi_phy_i2c_write_verify).
< https://www.freescale.com/webapp/Download?colCode=i.MX6_PLATFORM_SDK&location=null >
Thankyou! I will try this and post the result later.
this function also use in HDMI driver which location is kernel/driver/video/mxc_hdmi.c
Now I just open sysfs node to modified these registers in user space program.