I2C raw operation

In the example of I2C you use a specific driver for a particular part and talk about that being loaded. I have no such driver for my part that I am trying to communicate to.
I have modified lines to use I2C-6 which I do see in the /dev list, that it is connected to, 19 and 34. Can I just use ioctl to do raw communications to it?


Software summary

Bootloader: U-Boot
Kernel version: 5.15.77-6.4.0-devel+git.ddc6ca4d76ea #1-TorizonCore SMP PREEMPT Thu Jun 29 10:14:22 UTC 2023
Kernel command line: root=LABEL=otaroot rootfstype=ext4 quiet logo.nologo vt.global_cursor_default=0 plymouth.ignore-serial-consoles splash fbcon=map:3 ostree=/ostree/boot.0/torizon/22ee1c5396bd88d474d3651dcaa4f7aa0db281ec95cc575598571f70ceceb3dc/0
Distro name: NAME=“TorizonCore”
Distro version: VERSION_ID=6.4.0-devel-202309-build.13
Hostname: verdin-imx8mp-14762705

Hardware info

HW model: Toradex Verdin iMX8M Plus WB on Verdin Development Board
Toradex version: 0058 V1.1A
Serial number: 14762705
Processor arch: aarch64


You can. It’s dependent on your projects needs/resources.

The predominate saying is: kernel drivers run in kernel space and user written driver run in user space.