PWM3_IR IR remote

Hi there,

I have a remote sensor linked to PWM3_IR and I would like to get the remote input working.
Is there a rockchip driver for this pin to enable remote input ? I haven’t had much success with the stock gpio-ir-receiver Linux driver.

I have already tried using “gpio-ir-receiver” but it doesn’t return reliable results. The key data keeps changing when I prove with the irrecord application. Here is my not working device tree config :

       ir: ir-receiver {
         compatible = "gpio-ir-receiver";
         gpios = <&gpio0 RK_PC2 0>;
         //linux,rc-map-name = "rc-rc6-mce";
         pinctrl-names = "default";
         pinctrl-0 = <&ir_pin>;
       };