This patch allow mclk shift around +/- 1 Hz compared to
requested freq.
we could not always achieve the precise freq as required,
e.g. request: 98304000, but got: 98303999
there is no big deal and any side effect on the above case,
so, we allow a tiny shift for mclk.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Id181a3aa9017b1994786b71c3b56454a2e78b6aa
This patch introduce property 'arm,pl330-mcbufsz-bytes' to
support assign mcbufsz from DT.
And we limit the max value to one PAGE_SIZE. though there
is no limit for the controller.
e.g.
arm,pl330-mcbufsz-bytes = <2048>;
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Ia13c35e58cd6addcc7a80cb05b484184f6031989
1. remote device and local link are bound through link id
2. support local and remote port chain check
3. drivers/media/i2c/maxim4c/Kconfig support menu select
4. optimize delay time and error messages
5. power control: local by pwdn gpio, remote by pocen gpio
6. local pwdn on/off enable depend on MAXIM4C_LOCAL_DES_ON_OFF_EN
Signed-off-by: Cai Wenzhong <cwz@rock-chips.com>
Change-Id: Ife74e6251b09628e8413aa810c995e7a71449f1d
1.Add the judgment of signal loss when use g_dv_timing.
2.Wait for the signal to stabilize before get resolution.
Change-Id: I4cef1bd8a67f38dd531d24ccbb23d960bb82abae
Signed-off-by: Wangqiang Guo <kay.guo@rock-chips.com>
Add support for dual lvds with hdmi output
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
Change-Id: I6e3c07be15886ebf1daf9b22b72659c21a21f0dd
Add support for dual channel lvds with hdmi output
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
Change-Id: I782edeaf7ad9bb057d3911453d039fbacc14ee13
The lvds two channel can work independent, each lvds channel can
connector a single channel lvds panel, so add left and right pixels mode
support.
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
Change-Id: I7fde54880d97269123688a3246a6db7005ddf254
Since GKI disables closing fd in the kernel, the acquire fence fd should be
closed in user-space.
Update driver version to 1.3.0
Change-Id: I9bf85d6a39b3564332fc00dc9fce01678dc1ce3b
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
* i2c register initialization with dts sequence from serdes chip vendor.
* pinctrl and gpio interface to operate the different serdes chips.
* bridge interface to transmit data for different ser chips.
* panel interface to drive lcds for different des chips.
* one ser chip to connect two des chips in order to costdown.
* support different serdes display chip such as maxim, rohm and rockchip.
Signed-off-by: Luo Wei <lw@rock-chips.com>
Change-Id: Ic8f3558b8ea8ee3d5297bdf2551308e82925304a
On current code, We check the iddig status to make sure that the id
status is indeed in low level, and then send HOST notification and
power on phy based on this state. But On some Rockchip platforms like
RK3328, the ID Detector pin is not cited, the default state of ID pin
is floating, so the iddig status is always 1 which means in device mode.
To resolve this problem, We need to further check whether usb2phy_reg
structure of utmi_iddig has been initialized or not. If not, We can't
use the iddig status as a judgment condition.
Signed-off-by: Jianwei Zheng <jianwei.zheng@rock-chips.com>
Change-Id: Ia16365d79015b81fa8aff2fd7a1c61256b38aa3d
The ddc control is designed to be compatible with the leakage
problem of a Konka TV. However, in actual use, it will lead
to the phenomenon of abnormally low hpd in many TVS.
Fixes: 836989af54a6 ("arm64: dts: rockchip: rk3528: Add hdmi ddc io idle state")
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Ia5c3fe53a702d5b209d5170d0aceb5a559d40e39
There will be many hdmirx devices in Rockchip SOCs
Here create a hdmirx class for those hdmirx devices
Signed-off-by: Shunhua Lan <lsh@rock-chips.com>
Change-Id: Id47af8a01b94c37e2bc40c5671f64cf9f3deebee
RK3288 isn't support hdr, there is not need to print an error
log when switch resolution.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I28c0abcbb421c1c868302f960591e56c015dc77d
After the property is set, 0 should be returned;
Change-Id: I0908356164942e0a3fb48f0db3675a859d8a69f2
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>