Device tree entries: epwmss0: epwmss@48300000 { status = "okay"; ecap0: ecap@48300100 { compatible = "ti,am33xx-ecap"; #pwm-cells = <3>; reg = <0x48300100 0x80>; interrupts = <31>; interrupt-names = "ecap0"; ti,hwmods = "ecap0"; status = "okay"; pinctrl-names = "default", "sleep"; pinctrl-0 = <&ecap0_pins_default>; pinctrl-1 = <&ecap0_pins_sleep>; }; }; epwmss1: epwmss@48302000 { status = "okay"; ecap1: ecap@48302100 { compatible = "ti,am33xx-ecap"; #pwm-cells = <3>; reg = <0x48302100 0x80>; interrupts = <47>; interrupt-names = "ecap1"; ti,hwmods = "ecap1"; status = "okay"; pinctrl-names = "default", "sleep"; pinctrl-0 = <&ecap1_pins_default>; pinctrl-1 = <&ecap1_pins_sleep>; }; }; Console logs: Configuring through sysfs root@am335x-evm:~# echo 0 > /sys/class/pwm/pwmchip0/export root@am335x-evm:~# echo 1 > /sys/class/pwm/pwmchip0/pwm0/enable [ 26.145684] .....1 [ 26.147855] .....ECAP_ECCLR = 1 [ 26.151148] .....ECCTL2 = 6 [ 26.154073] .....ECAP_ECEINT = 0 root@am335x-evm:~# echo 1 > /sys/class/pwm/pwmchip0/pwm0/period [ 30.445467] .....2 [ 30.447622] .....ECCTL2 = 86 [ 30.450643] .....ECCTL1 = 155 [ 30.453752] .....prescaler = 0 is set [ 30.457375] .....ECAP_ECEINT = 10 [ 30.460859] .....ECCTL2 = 96 [ 30.463879] .....ECAP_ECCLR = 0 root@am335x-evm:~# echo 0 > /sys/class/pwm/pwmchip0/pwm0/enable [ 37.435364] .....nothing Pulse signal verification: When no pulse input is fed, root@am335x-evm:~# echo inversed > /sys/class/pwm/pwmchip0/pwm0/polarity [ 51.375673] .....3 [ 51.377796] .....ECAP_ECFLG = 2 [ 51.381090] .....cap1 = 0 [ 51.383832] .....cap2 = 0 [ 51.386621] .....cap3 = 0 [ 51.389368] .....cap4 = 0 When pulse input is fed root@am335x-evm:~# echo inversed > /sys/class/pwm/pwmchip0/pwm0/polarity [ 56.045556] .....3 [ 56.047683] .....ECAP_ECFLG = 1f [ 56.051071] .....cap1 = 0 [ 56.053816] .....cap2 = b747 [ 56.056873] .....cap3 = 5343 [ 56.059892] .....cap4 = ef1e root@am335x-evm:~# echo inversed > /sys/class/pwm/pwmchip0/pwm0/polarity [ 56.045556] .....3 [ 56.047683] .....ECAP_ECFLG = 1f [ 56.051071] .....cap1 = 0 [ 56.053816] .....cap2 = b747 [ 56.056873] .....cap3 = 5343 [ 56.059892] .....cap4 = ef1e root@am335x-evm:~# echo inversed > /sys/class/pwm/pwmchip0/pwm0/polarity [ 57.485409] .....3 [ 57.487529] .....ECAP_ECFLG = 1f [ 57.490914] .....cap1 = 8af1 [ 57.493935] .....cap2 = b747 [ 57.496985] .....cap3 = 5343 [ 57.500007] .....cap4 = ef1e