Other Parts Discussed in Thread: TDA4VH
Tool/software:
Does TDA4VH SDK support ECAP and EPWM driver? we did not find device from dts。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
Is there a plan to add this to the linux SDK for J784S4? It looks like it is already supported in J722S.
Hi Kumar,
ECAP and PWM driver were supported in AM62x SDK from build sheet. I suppose they are same IP, should be able to migrate across, Will product line provide a guide and dts configuration file for customer?
Hi,
EPWM is supported in TI SDK 10.1, but ECAP was not yet.
Please refer to below patch to enable ECAP on TDA4VH device.
https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/4857.ecap_5F00_enable.patch
Best Regards,
Sudheer
Hi
Can ECAP support capture function? we want capture and report PWM signal from FAN speed.
"pwm-tiecap.c" don't have support capture function.
Hi,
Can ECAP support capture function?
ECAP is a capture module in SoC, we don't have any application in Linux for ECAP for reference.
Above patch is enable ECAP from SoC.
Best Regards,
Sudheer
is there plan to support linux driver (pwm-tiecap.c) for capture the signal for input PWM?
Hi,
is there plan to support linux driver (pwm-tiecap.c) for capture the signal for input PWM?
pwm-tiecap.c is for PWM generation.
ti-ecap-capture.c is for Capture functionality.
Best Regards,
Sudheer
like modify dts "ti,am3352-ecap" <=====> "ti,am62-ecap-capture" ??
ecap0:pwm@3100000 {
compatiable = "ti,am62-ecap-capture";
#pwm-cells = <3>;
reg = <0x00 0x3100000 0x00 0x100>;
power-domains = <&k3_pds 126 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 126 0>;
clock-names = "fck";
};
Hi,
Driver use "platform_get_irq( )" get irq from dts, so we need to know information as hw irq no and attribute like “interrupts = <GIC_SPI xxx IRQ_TYPE_LEVEL_HIGH >”
Hi,
Driver use "platform_get_irq( )" get irq from dts, so we need to know information as hw irq no and attribute like “interrupts = <GIC_SPI xxx IRQ_TYPE_LEVEL_HIGH >”
We need to map interrupts in device tree.
We are working internally to confirm the same, will share the patch soon after.
like modify dts "ti,am3352-ecap" <=====> "ti,am62-ecap-capture" ??
Also, yes we need to update dts with above compatible name and also need change the below as well.
>> ecap0:pwm@3100000 {
ecap0:capture@3100000 { for enabling capture mode.
Best Regards,
Sudheer
Hi,
Driver use "platform_get_irq( )" get irq from dts, so we need to know information as hw irq no and attribute like “interrupts = <GIC_SPI xxx IRQ_TYPE_LEVEL_HIGH >”We need to map interrupts in device tree.
We are working internally to confirm the same, will share the patch soon after.
Please use the updated patch for enabling capture mode and Interrupts.
https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/ecap_5F00_capture_5F00_j784s4.patch
Best Regards,
Sudheer