Hello, I'd like to know if it's possible to expose the GPT in the i.MX8M Mini for a user-space application on Linux side.
I know that there is an MCUXpresso API (https://mcuxpresso.nxp.com/api_doc/dev/320/group__gpt.html) for GPT usage through the Microcontroller, but there is a way to expose this resource directly to Linux?
Thanks for your attention.
Best regards, André Curvello
I don't think so, the device tree was not the problem it was accessing the driver under linux. Do you know how to do it?
Ok! Thanks for the feedback, @igorpadykov!
Hi André
gpt dts can be as below, also additional patches were sent via mail
&gpt1 {
assigned-clock-parents = <&clk IMX8MM_CLK_EXT1>;
assigned-clocks = <&clk IMX8MM_CLK_GPT1>;
pinctrl-0 = <&pinctrl_gpt1>;
pinctrl-names = "default";
status = "okay";
};
Best regards
igor