mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
This change adds SC7 wake support to cec driver. CEC engine can detect TV packets in SC7 state and can wake up when particular pattern detected. In resume functionality, the total arrived packets on FIFO needs to read and reported back to user-space. This change adds - 1. Program CEC engine to activate for SC7 wake. 2. Program required opcode and physical address. 3. Register for wake and read packets in resume path. 4. Provide sysfs control to program physical address. Verification of SC7 wake is done for below cases - 1. TV turn on and off is tested. 2. TV source input change is tested. 3. CEC Analyzer set-stream is tested. Bug 4974679 Change-Id: Ia1ceeb13b89614c96d0b6d42f2bb58419865414b Signed-off-by: Robert Huang <robhuang@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3300821 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Prafull Suryawanshi <prafulls@nvidia.com>