Skip to content

Commit

Permalink
ADV7610: use 16-bit bus (even if 720p/480p) and minimize drive streng…
Browse files Browse the repository at this point in the history
…th for FCC
  • Loading branch information
allanmatthew committed Apr 1, 2015
1 parent 4467a0b commit 207e2c1
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions drivers/media/platform/mxc/capture/adv7610.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

#include "mxc_v4l2_capture.h"

//#define USE_16BIT
#define USE_16BIT
//#define SUPPORT_1080P

/*!
Expand Down Expand Up @@ -581,13 +581,13 @@ static int adv7610_hw_init(struct i2c_client *client)
adv7610_write(adv7610_i2c_clients.io, 0x06, 0xA1); // Invert CLK
#endif

adv7610_write(adv7610_i2c_clients.io, 0x14, 0x7F); //Max Drive Strength
adv7610_write(adv7610_i2c_clients.io, 0x14, 0x55); //med-low drive strength (including clock)

adv7610_write(adv7610_i2c_clients.cp, 0xBA, 0x01); //Set HDMI FreeRun
adv7610_write(adv7610_i2c_clients.cp, 0xBA, 0x01); //Set HDMI FreeRun

adv7610_write(adv7610_i2c_clients.io, 0x0B, 0x44);// Power up part
adv7610_write(adv7610_i2c_clients.io, 0x0c, 0x42); //Power up part
adv7610_write(adv7610_i2c_clients.io, 0x15, 0xB8); // Disable Tristate of clock and data
adv7610_write(adv7610_i2c_clients.io, 0x0B, 0x44);// Power up part
adv7610_write(adv7610_i2c_clients.io, 0x0c, 0x42); //Power up part
adv7610_write(adv7610_i2c_clients.io, 0x15, 0xB8); // Disable Tristate of clock and data

adv7610_write(adv7610_i2c_clients.ksv, 0x40, 0x81); // Disable HDCP 1.1 features
adv7610_write(adv7610_i2c_clients.hdmi, 0x9B, 0x03); // ADI recommended setting
Expand Down Expand Up @@ -674,9 +674,9 @@ static int adv7610_video_probe(struct i2c_client *client,
if(ret == -ENODEV)
return ret;

/* This function attaches this structure to the /dev/video<n> device */
adv7610_int_device.priv = sens;
ret = v4l2_int_device_register(&adv7610_int_device);
/* This function attaches this structure to the /dev/video<n> device */
adv7610_int_device.priv = sens;
ret = v4l2_int_device_register(&adv7610_int_device);

return ret;
}
Expand Down

0 comments on commit 207e2c1

Please sign in to comment.