mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
Port the tegra_hv_comm driver to the OOT kernel. This driver allows an IVC channel to be used as an emulated serial device. Make the following changes to simplify maintaining compatibility with different kernel versions: - Use a generic port type instead of defining a custom one. - Use existing conftest to determine whether platform_device.remove returns void. - Add a conftest to determine whether uart_state.xmit exists. - Use tty_port.xmit_fifo in kernels where uart_state.xmit has been removed. Jira HYP-20929 Change-Id: I1bc218f591d6d741fc39ae5392a9ea95bdc3f117 Signed-off-by: Daniel Kudrow <dkudrow@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3340420 (cherry picked from commit a67e7fd330be5d6c55e35c0ce810ff5124378ae7 in embedded/7.0.3.0) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3301386 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>