This patchset contains various SoC specific updates for Tegra Video Input driver:
1. Fixes for Tegra20 and Tegra30 VI configuration (clock adjustments) 2. Moves Tegra210 specific code into tegra210.c from csi.c 3. Addition of Tegra114 CSI support All changes were tested on: LG Optimus Vu (P895) Tegra30 device: - MT9M114 front sensor with complex topology and irregular pad mapping - IMX111 rear sensor which has simple pixel array and a single pad ASUS Transformer TF701T Tegra114 device: - same MT9M114 front sensor - OV5693 rear sensor which has simple pixel array and a single pad Nvidia Tegra Note 7 (P1988) Tegra114 device: - OV5693 rear sensor They all work and produce images. The "ARM: tegra: Remove fallback compatible from Tegra30 VI node" should be applied with "dt-bindings: display: tegra: Remove Tegra30 fallback" This patchset is based on https://lore.kernel.org/lkml/[email protected]/T/#m46981c261c3178126ce806aabddcc38cc33f747e --- Changes in v2: - "staging: media: tegra-video: Move driver to media/platform/nvidia" moved into media-device conversion - dropped: "media: tegra-video: vi: Switch to media_entity_remote_source_pad_unique() helper" "media: tegra-video: vi: Use entity function to check subdev type" "media: tegra-video: vi: Adjust pad assignment logic" - fixed schema clock-names configuration for Tegra30 and Tegra114 - added "media: tegra-video: Move Tegra210-specific functions from common CSI" (Move and staticize the tegra_csi_error_recover() and tegra_csi_calc_settle_time() helpers from the common CSI file into the Tegra210-specific code) Link to v1: https://lore.kernel.org/lkml/[email protected]/ --- Svyatoslav Ryhel (7): dt-bindings: display: tegra: Remove Tegra30 fallback media: tegra-video: vi: Diverge Tegra20 and Tegra30 VI SoC descriptions media: tegra-video: Move Tegra210-specific functions from common CSI dt-bindings: display: tegra: Document Tegra114 CSI media: tegra-video: Add CSI support for Tegra114 ARM: tegra: Remove fallback compatible from Tegra30 VI node ARM: tegra: Add CSI node for Tegra114 .../display/tegra/nvidia,tegra20-csi.yaml | 37 +++- .../display/tegra/nvidia,tegra20-vi.yaml | 5 +- arch/arm/boot/dts/nvidia/tegra114.dtsi | 34 +++- arch/arm/boot/dts/nvidia/tegra30.dtsi | 2 +- .../platform/nvidia/tegra-video/Makefile | 1 + .../media/platform/nvidia/tegra-video/csi.c | 75 +------- .../media/platform/nvidia/tegra-video/csi.h | 11 +- .../platform/nvidia/tegra-video/tegra20.c | 171 ++++++++++++++++-- .../platform/nvidia/tegra-video/tegra210.c | 71 ++++++++ .../media/platform/nvidia/tegra-video/vi.c | 8 +- .../media/platform/nvidia/tegra-video/vi.h | 8 +- .../media/platform/nvidia/tegra-video/video.c | 7 +- 12 files changed, 324 insertions(+), 106 deletions(-) -- 2.53.0
