I found that the easiest way to get the driver working, was to replace the device tree onboard Jetson Nano, and add an import in /boot/extlinux/extlinux.conf
FDT /boot/tegra210-p3448-0000-p3449-0000-b00.dtb
See:
Makefile
obj-m += tc358743.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
README.md
# How to get the TC358743 working with the Jetson Nano
# On Jetson Nano
Find current device tree:
cat /proc/device-tree/nvidia,dtsfilename
If results is:
This file has been truncated. show original
tc358743.c
/*
* References (c = chapter, p = page):
* REF_01 - Toshiba, TC358743XBG (H2C), Functional Specification, Rev 0.60
* REF_02 - Toshiba, TC358743XBG_HDMI-CSI_Tv11p_nm.xls
*/
#define DEBUG
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/i2c.h>
This file has been truncated. show original
There are more than three files. show original
For instructions on how i got it working.
2 Likes