Skip to content

ARM: shmobile: gose: Add GPIO keys and leds to DT

Simon Horman linux-arm-kernel linux-sh 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] ARM: shmobile: gose: Add GPIO keys and leds to DT
Quoted 37 lines · Magnus Damm

Hi Simon,

Quoted 14 lines · Simon Horman

Hi,

this short series adds GPIO keys and leds to the device tree of the r8a7793 based Gose board.

It uses the makes use of the recently addition of GPIO devices to the device tree of the r8a7793. Thanks Magnus!

I have booted a system with these changes and verified that the relevant entries appear to be present in sysfs.

I have not tested button press events or illumination of the leds as I do not currently have physical access to a Gose board.

Quoted 8 lines

Based on renesas-devel-20151118-v4.4-rc1

Simon Horman (2):
ARM: shmobile: gose: Add GPIO keys to DT
ARM: shmobile: gose: Add GPIO leds to DT

 arch/arm/boot/dts/r8a7793-gose.dts | 98 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 98 insertions(+)

Thanks a lot for these patches! Very useful as basic a test environment for the r8a7793 GPIO device nodes.

So I've now managed to test the GPIO keys and LED devices on a physical Gose board. The LED6 -> LED 8 entries will be lit as expected by controlling brightness in /sys/class/leds/. The GPIO keys associated with buttons SW30 to SW36 and the dip switch SW2 all generate interrupts in /proc/interrupts on key press or dip switch change. All good!

Quoted 3 lines

Please queue up these changes. Feel free to add:

Thanks, I have queued these up for v4.6.