i.MX6Q Linux: Could GPT be replaced by EPIT?

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

i.MX6Q Linux: Could GPT be replaced by EPIT?

1,686 Views
harald_krapfenb
Contributor III

Has anyone tried to use EPIT instead of GPT for the Linux system clock on i.MX6Q?

I have seen such an option once existed for i.MX35.

The thing is, I would need GPT with it's external CAPTURE-IN and COMPARE-OUT Pins, which EPIT does not have.

Any experience? Or patch?

Thanks,

Harry

Labels (3)
0 Kudos
6 Replies

1,043 Views
YixingKong
Senior Contributor IV

Harald

We have not got your response yet and will close the discussion in 3 days. If you still need help, please feel free to reply with an update to this discussion.

Thanks,

Yixing

0 Kudos

1,043 Views
harald_krapfenb
Contributor III

Hi,

thanks for your answers. We are still working with 3.0.35 kernel currently, and have found another, though more expensive solution.

Thanks, please close.

-Harald

0 Kudos

1,043 Views
AdrianGancev
NXP Employee
NXP Employee

Attached an experimental patch for Linux 3.10.17-1.0.0_ga.

0 Kudos

1,043 Views
nluca
Contributor III

Hi Adrian,

I've tried to use your patch and it is working fine, it replace the GPT with the Epit. But is it possible to use both at the same time? I mean the Epit for system tick and the GPt for custom interrupt (e.g. output compare)?

Thanks,

Luca

0 Kudos

1,043 Views
AnsonHuang
NXP Employee
NXP Employee

Hi, Harald

     I think there is already such epit timer as system timer in kernel L3.10, arch/arm/mach-imx/epit.c, you can look into it.

0 Kudos

1,043 Views
YixingKong
Senior Contributor IV

Harald

We are sorry for getting back to you so late. Are you still stuck with the issue? If you have somehow resolved the issue, can we close the discussion? If you still need help, please feel free to reply with an update to this discussion.

Thanks,

Yixing

0 Kudos