gpio-buzzer

Description

GPIO-driven active buzzer

Active buzzers contain their own oscillator and produce a fixed tone whenever they are
powered. The Zephyr driver toggles a single GPIO line; the buzzer API's frequency argument is
interpreted as on/off only (zero = stop, non-zero = sound). The actual tone is determined by
the buzzer part itself.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

gpios

phandle-array

GPIO line driving the buzzer. Typically wired with the active level corresponding to
"buzzer on".

This property is required.