Re: Adding new DTS binding for SAM0 I2C
toggle quoted messageShow quoted text
Some additional information on build error would help to provide you support.
I'm trying to add support for SAM0 I2C. Currently my code is compiling as I see warnings in my i2c_sam0.c file.
However I'm trying to add a new binding for that in zephyr/dts/bindings/i2c/atmel,sam0-i2c.yaml and hitting a wall.
title: Atmel SAM0 SERCOM I2C driver
This binding gives a base representation of the Atmel SAM0 SERCOM I2C driver
description: compatible strings
description: mmio register space
Then in my board dts I added the following:
status = "ok";
compatible = "atmel,sam0-i2c";
clock-frequency = <I2C_BITRATE_FAST>;
#address-cells = <1>;
#size-cells = <0>;
But something is missing because I keep getting an error when building that it cannot parse the device tree.
I looked around how the other SAM0 device are setup but I didn't find what I'm missing.
Any pointer on how I should go about setting up this binding ?
Join firstname.lastname@example.org to automatically receive all group messages.