Skip to content

Commit

Permalink
rcar-gen2: USB fixups
Browse files Browse the repository at this point in the history
Autoload USB modules for adb bridge and touch screens.

Change-Id: I1370f87b25e1c0660ffc8fb6fd0aa6d0a1cf0658
Reviewed-by: Samuli Piippo <[email protected]>
  • Loading branch information
Louai Al-Khanji committed Aug 30, 2016
1 parent 9a1dac1 commit 7704e43
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
6 changes: 6 additions & 0 deletions conf/distro/include/rcar-gen2.inc
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@
# internal copy of R-Car_Series_Evaluation_Software_Packages used for CI
FILESEXTRAPATHS_append = "${BSPDIR}/sources/renesas-rcar-gen2/${PN}:"

KERNEL_MODULE_AUTOLOAD += " \
phy-rcar-gen2-usb \
hid_multitouch \
renesas_usbhs \
"

GLES_DRIVER = "sgx"
GLES_DRIVER_r8a7790 = "rgx"

Expand Down
2 changes: 1 addition & 1 deletion meta-renesas-extras/recipes/adbd/files/defaults
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VENDOR=0x18d1
PRODUCT=0x0000
SERIAL=$(hostname)-$(sed -e 's/://g' /sys/class/net/eth0/address)
USE_ETHERNET=yes
USE_ETHERNET=no
12 changes: 12 additions & 0 deletions meta-renesas-extras/recipes/linux/linux-renesas/b2qt.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,18 @@ CONFIG_RFKILL=m
CONFIG_FHANDLE=y
CONFIG_USB_NAMESPACES=m

# HID support
CONFIG_HID=m
CONFIG_HID_BATTERY_STRENGTH=y
CONFIG_HIDRAW=y
CONFIG_UHID=m
CONFIG_HID_GENERIC=m

# USB HID support
CONFIG_USB_HID=m
CONFIG_HID_PID=y
CONFIG_USB_HIDDEV=y

# needed for USB touchscreens
CONFIG_HID_MULTITOUCH=y

Expand Down

0 comments on commit 7704e43

Please sign in to comment.