[Jan 06] Arch Linux (20171225-1) PINE A64(+) Pinebook A64-LTS/SOPINE | [Jan 04] Linux (0.5.15-136) ROCK64 | [Jan 04] Android (20171204) ROCK64 | [Dec 22] Stretch Mate (0.5.15-136-20171222) ROCK64 | [Dec 21] openHAB 2 (v1.4) PINE A64(+) | [Dec 11] Volumio (2.315) PINE A64(+) A64-LTS/SOPINE | [Dec 11] Armbian (5.35) PINE A64(+) Pinebook A64-LTS/SOPINE | [Dec 8] OpenMediaVault (0.5.15-136) ROCK64

Getting Started | Visit the WIKI | IRC Logs | Forum Rules/Policy

Onboard IR receiver

I'm unable to find any info about how to start using the onboard IR receiver on the Rock64 on linux.

Can you point me to some info on this subject?

I don't need a detailed tutorial, but giving me a GPIO pin to which the IR receiver is connected or where do I put a dt_overlay setting, or something of this sort which gives me a direction would be welcome.
The device tree node below should enable the IR receiver.

ir-receiver {
    compatible = "gpio-ir-receiver";
    gpios = <&gpio2 RK_PA2 GPIO_ACTIVE_LOW>;
    linux,rc-map-name = "rc-pine64";
    pinctrl-0 = <&ir_int>;
    pinctrl-names = "default";
    status = "okay";
See https://github.com/Kwiboo/linux-rockchip...#L108-L115

Forum Jump:

Users browsing this thread: 1 Guest(s)