i wonder why it is connected to a pwm, as pwm is normally output (so IR-TX,not rx). wonder how this should work, but found no other board in mainline using pwm for IR as reference (independ of which pwm is used).
is this really a receiver like stated in schematics?
pwm7 has only same pins (GPIO0_C6) as PCIE30X2_PERSTn_M0 which is used as 4G_PWREN_H_GPIO0_C6 (so gpio-mode is not pwm, and so pwm3 seems right)
so bpi-dts seems wrong here, as there is no pwm7 because GPIO0_C6 is the only breakout for pwm7 and blocked by another function
last one seems mainline first one is imho rk downstream driver and not available in mainline linux.
gpio-ir-receiver seems to work not in pwm-mode (which is imho tx only), gpio can rx and tx
and yes, pin define seems same so it may work on r2pro too (including r2pro has external pullup too), just try it out and give me feedback…then i merge it in my new 6.1-main tree and maybe send to mainline
bpi-r2pro ~ # mode2 -d /dev/lirc0
Using driver default on device /dev/lirc0
Trying device: /dev/lirc0
Using device: /dev/lirc0
Warning: Running as root.
pulse 8941
space 4560
pulse 577
space 570
pulse 593
space 573
pulse 614
space 1664
pulse 602
space 552
pulse 615
space 545
pulse 615
space 550
The dts update has been committed to my repo, for now - w/o defconfig update.
Change in quartz64_defconfig (yes i use this from peter which i have extended instead of my own one which had some problems in graphics part) should be right, maybe you miss any depency for your options?
Just search the first options in menuconfig after importing the modified defconfig…if they are not set,look on depends line which option is missing