ADV7481 raises back-to-back interrupts on cable connect and
disconnect. The IRQ bottom half has to check the interrupt status
register in a loop and service all events that have been raised,
rather than relying on the top half getting scheduled for each event.
Signed-off-by: Jaiju Yesudasan <cjaijuy@codeaurora.org>
Change-Id: I388d951fa5ed8ac22db9358e86de74d0b83c5a50
Add support for block i2c write to adv7481 to reduce
write latency and hence improve boot KPI.
Signed-off-by: Jaiju Yesudasan <cjaijuy@codeaurora.org>
Change-Id: I98de976793f47a4a65cf818ee1d919fe3d6200a3
When driver probe fails, release CCI clocks and voltage
regulators so that the target can go to low power state.
CRs-Fixed: 1084079
Change-Id: Ic0581f3b8ebaed84d22f627d5ddd3dcb32dafb21
Signed-off-by: Shiju Mathew <shijum@codeaurora.org>
Add suspend and resume handler to be called from power management
framework for driver to release clock votes prior to device goes
into sleep state. Driver requests for the necessary resources in
resume handler
CRs-Fixed: 1062576
Change-Id: Iff9e7ed7b7918f9a371453a020086f22e844d7e4
Signed-off-by: Terence Ho <terenceh@codeaurora.org>
Sometime signal locking for video inputs takes a bit
more time on MSM8996 automotive targets.
CRs-Fixed: 1047744
Change-Id: I38b1d21f367f5004bdbfb2e2820d83a1ee3f81ee
Signed-off-by: Shiju Mathew <shijum@codeaurora.org>
Add signal lock/unlock interrupts for CVBS input. This
enables to detect when input stream is stop/start due
to reasons such as cable plug out/plugin. Also update
driver code with the new macro added with this patch
and clean up header to move tab to space for consistent
editing/viewing across editors.
CRs-Fixed: 1033059
Change-Id: I8d28182de6f36c1301a2a04abd602cfbe5516be8
Signed-off-by: Shiju Mathew <shijum@codeaurora.org>
Configure voltage regulator for adv7481 CCI interface.
CRs-Fixed: 1021381
Change-Id: I6a9f023a84450d56ba313af2bcee2216a1008213
Signed-off-by: Shiju Mathew <shijum@codeaurora.org>
This will enable BA not to ignore any adv7481 interrupts
from v4l2 framework.
CRs-Fixed: 998927
Change-Id: If06dd201637c43e3314083ddc3adad101bcb3e60
Signed-off-by: Shiju Mathew <shijum@codeaurora.org>
Fix memory allocation and probing crashes in adv7481
driver. Add support for DT and GPIO configurations.
CRs-Fixed: 998927
Change-Id: I056dbecbd2b3c7c2c0bc0314b9c68e992452d84f
Signed-off-by: Shiju Mathew <shijum@codeaurora.org>
Add support for adv7481 to use CCI i2c interface and to
changes to make it upto date with the A family.
CRs-Fixed: 998927
Change-Id: If1c9104e3e28a78a886ba184a302e8a4085c0bfd
Signed-off-by: Shiju Mathew <shijum@codeaurora.org>