gpio-beeper.txt 313 B

12345678910111213
  1. * GPIO beeper device tree bindings
  2. Register a beeper connected to GPIO pin.
  3. Required properties:
  4. - compatible: Should be "gpio-beeper".
  5. - gpios: From common gpio binding; gpio connection to beeper enable pin.
  6. Example:
  7. beeper: beeper {
  8. compatible = "gpio-beeper";
  9. gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
  10. };