Skip to content

RFC Input: gpio-beeper: drive output by hrtimer

Ladislav Michl linux-input 1 version New

Get series with b4
b4 am 20171129110627.GA24064@lenoch

Versions newest first

  1. v1 RFC Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Input: gpio-beeper: use helper variable to access device infodrivers/input/misc/gpio-beeper.c+4 -30 replies
2/2Input: gpio-beeper: drive beeper pin by hrtimerDocumentation/devicetree/bindings/input/gpio-beeper.txt drivers/input/misc/gpio-beeper.c+87 -100 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC 0/2] Input: gpio-beeper: drive output by hrtimer

I have board here, where beeper cannot by driven by PWM as its pin cannot be muxed there. This is an unfortunate result of evolution and fixing thousands boards in hardware would be too expensive.

So here we are. I'm not pushing for inclusion to mainline, but parhaps this could be usefull for others. You decide.

In case you'll find it usefull, I'm ready to solve any objections and comments.

Ladislav Michl (2):
Input: gpio-beeper: use helper variable to access device info
Input: gpio-beeper: drive beeper pin by hrtimer

 Documentation/devicetree/bindings/input/gpio-beeper.txt |    5 
 drivers/input/misc/gpio-beeper.c                        |   99 +++++++++++++---
 2 files changed, 91 insertions(+), 13 deletions(-)