* omap4-keypad mystery
@ 2022-11-16 22:11 Andreas Kemnade
2022-11-18 8:28 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Kemnade @ 2022-11-16 22:11 UTC (permalink / raw)
To: linux-omap
Hi,
I am investigating how to use the omap4 keypad driver in dts and I am quite
confused. Nobody seems to add any pinmux to it. Why?
I muxed the rows0-3 and cols0-3 to MODE1 without any wakeup.
When I set /sys/bus/platform/devices/4a31c000.keypad/power/control
to on I get keypad interrupts and events in evtest. but with it set to auto,
nothing happens. Setting the rows pinmux to 0x4119 instead of 0x119 does not
change anything.
Nobody seems to add provisions to wake up independently of the keypad
hwmod which seems to be odd. I would expect interrupt-extended along with
the keypad definitions.
Confused,
Andreas
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: omap4-keypad mystery
2022-11-16 22:11 omap4-keypad mystery Andreas Kemnade
@ 2022-11-18 8:28 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2022-11-18 8:28 UTC (permalink / raw)
To: Andreas Kemnade; +Cc: linux-omap
* Andreas Kemnade <andreas@kemnade.info> [221116 22:02]:
> Hi,
>
> I am investigating how to use the omap4 keypad driver in dts and I am quite
> confused. Nobody seems to add any pinmux to it. Why?
>
> I muxed the rows0-3 and cols0-3 to MODE1 without any wakeup.
>
> When I set /sys/bus/platform/devices/4a31c000.keypad/power/control
> to on I get keypad interrupts and events in evtest. but with it set to auto,
> nothing happens. Setting the rows pinmux to 0x4119 instead of 0x119 does not
> change anything.
>
> Nobody seems to add provisions to wake up independently of the keypad
> hwmod which seems to be odd. I would expect interrupt-extended along with
> the keypad definitions.
I think the keypad is in the wkup domain so it's always listening for
events like gpio1 instance. So there should not be any need for padconf
interrupts.
Regards,
Tony
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-18 8:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-16 22:11 omap4-keypad mystery Andreas Kemnade
2022-11-18 8:28 ` Tony Lindgren
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.