]> Gentwo Git Trees - linux/.git/commit
ARM: dts: ixp4xx: nslu2: beeper uses PWM
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 3 Jul 2024 13:23:41 +0000 (15:23 +0200)
committerArnd Bergmann <arnd@arndb.de>
Mon, 8 Jul 2024 14:31:25 +0000 (16:31 +0200)
commit8b5d415c4f9cc5a147c791d0300ee0b0cd8deae0
treecb95ee31b3cc2326ae4f54ad157ef6f41ba872c4
parent9289b97a672dca3236f2bf8fb5e40f7e78b056d6
ARM: dts: ixp4xx: nslu2: beeper uses PWM

The beeper in the NSLU2 is just a GPIO connected to a
speaker, so we need to use PWM on the GPIO to get any kind
of sound out.

Tested with some random beeps by enabling INPUT_EVDEV and
running beep.c with e.g. beep 400 for a 400 Hz tone.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/20240627-ixp4xx-dts-v1-1-cdbbe1150873@linaro.org
Link: https://lore.kernel.org/r/20240703-ixp4xx-dts-v1-1-e5149da36f6e@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/intel/ixp/intel-ixp42x-linksys-nslu2.dts