I3C - zephyr driver

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I3C - zephyr driver

300 Views
smtsngh7
Contributor I

My question is related to mcux-i3c-driver on zephyr.

In dtsi, is it necessary to add child node for i3c to test i3c transfer API (mcux_i3c_transfer)?

i3c0: i3c@36000 {
        compatible = "nxp,mcux-i3c";
        reg = <0x36000 0x1000>;
        interrupts = <49 0>;
        clocks = <&clkctl1 MCUX_I3C_CLK>;
        clk-divider = <2>;
        clk-divider-slow = <1>;
        clk-divider-'tc = <1>;
        status = "disabled";
        #address-cells = <3>;
        #size-cells = <0>;
    };

Do I need to add a child node also ?
Is it possible to test i3c transfer(mcux_i3c_transfer) just by adding the parent node, not the child node? If yes, then how "bus" member is filled in struct 
struct i3c_device_desc (i3c.h).

#i3c#zephyr#nxp


Tags (2)
0 Kudos
0 Replies