04-24-2018 05:38 AM
Hi.
Working with petalinux 2016.2 on a design with a Zynq.
FPGA guys have just released their design.
In the dtsi file, I have :
fonctions_affaire_fonctions_uc_periph_contrast_backligth_lcd_axi_timer_0: timer@82800000 {
clock-frequency = <50000000>;
clock-names = "ref_clk";
clocks = <&clkc 0>;
compatible = "xlnx,xps-timer-1.00.a";
reg = <0x82800000 0x10000>;
xlnx,count-width = <0x10>;
xlnx,gen0-assert = <0x1>;
xlnx,gen1-assert = <0x1>;
xlnx,one-timer-only = <0x0>;
xlnx,trig0-assert = <0x1>;
xlnx,trig1-assert = <0x1>;
};
I should use this module to make a pwm to control the backlight of a LCD.
I did not find any driver compatible with "xlnx,xps-timer-1.00.a"
Is this xps-timer IP supported under petalinux ?
Need to design one myself ?
Thanks
Chris
04-26-2018 12:58 AM
Hi Chris
You need to include AXI timer in your design.
Refer this wiki for details:
http://www.wiki.xilinx.com/Axi+timer
Best Regards
Shabbir
05-02-2018 03:14 AM
Hi.
The AXI Timer is already included in my design.
As you can see the dts file is generated correctly.
The question is to know if there is a driver under Petalinux to manage it (Petalinux 2016-2)
Thx