All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] SoftSW DIP switch support for Draak, Eagle and Ebisu
@ 2021-06-20  5:21 Magnus Damm
  2021-06-20  5:21 ` [PATCH 1/3] arm64: dts: renesas: r8a77995: draak: Add SW56 support Magnus Damm
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Magnus Damm @ 2021-06-20  5:21 UTC (permalink / raw)
  To: linux-renesas-soc; +Cc: Magnus Damm, geert+renesas

SoftSW DIP switch support for Draak, Eagle and Ebisu

[PATCH 1/3] arm64: dts: renesas: r8a77995: draak: Add SW56 support
[PATCH 2/3] arm64: dts: renesas: r8a77970: eagle: Add SW2 support
[PATCH 3/3] arm64: dts: renesas: r8a77990: ebisu: Add SW4 support

These patches add support for on-board SoftSW DIP switches to the
Draak, Eagle and Ebisu boards via board specific DTS changes. 

The GPIOs connecting the DIP switches to the SoC are board specific. There
are no on-board pull-ups mounted so internal resistors need to be enabled as
pull-ups for these boards. As expected 2k resistors are used to tie the
signals to ground for the case the DIP switch is set to ON.

All keys have been tested by toggling each DIP switch and making sure the
interrupt count in /proc/interrupts is changing as expected. The voltage level
of each signal has not been measured at this point so there is a small risk
that the internal pull-up isn't enabled and the signal is floating.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
---

 Developed on top of renesas-drivers-2021-06-08-v5.13-rc5

 arch/arm64/boot/dts/renesas/r8a77970-eagle.dts |   43 ++++++++++++++++++++++++
 arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts |   42 +++++++++++++++++++++++
 arch/arm64/boot/dts/renesas/r8a77995-draak.dts |   42 +++++++++++++++++++++++
 3 files changed, 127 insertions(+)
    

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-06-21 11:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-20  5:21 [PATCH 0/3] SoftSW DIP switch support for Draak, Eagle and Ebisu Magnus Damm
2021-06-20  5:21 ` [PATCH 1/3] arm64: dts: renesas: r8a77995: draak: Add SW56 support Magnus Damm
2021-06-21 10:46   ` Geert Uytterhoeven
2021-06-20  5:21 ` [PATCH 2/3] arm64: dts: renesas: r8a77970: eagle: Add SW2 support Magnus Damm
2021-06-21 11:03   ` Geert Uytterhoeven
2021-06-20  5:21 ` [PATCH 3/3] arm64: dts: renesas: r8a77990: ebisu: Add SW4 support Magnus Damm
2021-06-21 11:09   ` Geert Uytterhoeven
2021-06-21 11:12 ` [PATCH 0/3] SoftSW DIP switch support for Draak, Eagle and Ebisu Geert Uytterhoeven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.