Onboard IR receiver
#3
The device tree node below should enable the IR receiver.

Code:
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
  Reply


Messages In This Thread
Onboard IR receiver - by plambe - 02-12-2018, 04:50 PM
RE: Onboard IR receiver - by plambe - 02-13-2018, 06:56 AM
RE: Onboard IR receiver - by Kwiboo - 02-13-2018, 01:01 PM
RE: Onboard IR receiver - by plambe - 03-01-2018, 04:28 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Migrate Linux from microSD to onboard eMMC elik745i 7 11,205 11-03-2018, 08:23 AM
Last Post: mara
  Onboard LEDs connected to the RK805-1 out1 and out2 GPIO pins prof7bit 8 7,713 03-03-2018, 02:58 PM
Last Post: prof7bit

Forum Jump:


Users browsing this thread: 1 Guest(s)