mt8183-kukui-audio-ts3a227e.dtsi 577 B

1234567891011121314151617181920212223242526272829303132
  1. // SPDX-License-Identifier: (GPL-2.0 OR MIT)
  2. /*
  3. * Google Kukui (and derivatives) audio fragment for ts3a227e.
  4. *
  5. * Copyright 2019 Google LLC.
  6. */
  7. &i2c5 {
  8. ts3a227e: ts3a227e@3b {
  9. pinctrl-names = "default";
  10. pinctrl-0 = <&ts3a227e_pins>;
  11. compatible = "ti,ts3a227e";
  12. reg = <0x3b>;
  13. interrupt-parent = <&pio>;
  14. interrupts = <157 IRQ_TYPE_LEVEL_LOW>;
  15. status = "okay";
  16. };
  17. };
  18. &pio {
  19. ts3a227e_pins: ts3a227e_pins {
  20. pins1 {
  21. pinmux = <PINMUX_GPIO157__FUNC_GPIO157>;
  22. input-enable;
  23. bias-pull-up;
  24. };
  25. };
  26. };
  27. &sound {
  28. mediatek,headset-codec = <&ts3a227e>;
  29. };