文章目录
- 1 背景
- 2 原理图
- 2.1 CAM_MUX_SEL 4 lane 选通
- 2.2 J21 和 J20 原理图
- 3 驱动源码及设备树
- 3.1 子设备树 tegra234-p3768-camera-rbpcv3-imx477.dtsi
- 3.2 顶层设备树 tegra234-camera-rbpcv3-imx477.dtsi
- 3.2.1 tegra-capture-vi 视频输入子系统节点配置.
- 3.2.2 host1x 主机控制器节点配置
- 3.2.3 相机参数配置 - I2C 节点
- 3.2.4 平台总线驱动配置
- 3.3 soc 级设备树 tegra234-soc-i2c.dtsi
- 3.3 imx477.h
- 3.4 imx477_mode_tbls.h
- 3.5 nv_imx477.c
- 3.5.1 tegracam_v4l2subdev_register 注册v4l2子设备目的
- 3.6 CAM_MUX_SEL 通过设备将其电平拉高的追溯.
- 3.6.1 设备树匹配节点
- 3.6.2 i2c-mux-gpio.c
1 背景
由于imx477采用的4lane 的数据,接入平台,和 我当前使用的 设备接近,故分析一下它的框架,
有一些结构性的东西,需要搞清楚。
2 原理图
2.1 CAM_MUX_SEL 4 lane 选通
CAM_MUX_SEL 管脚 默认下拉为低电平,选通的 CAM0_I2C_SCL , CAM0_I2C_SDA ,此为2 lane 输出.
J20 支持 2 lane , J21 支持 2 lane 或 4 lane.


