blob: 548e22c194a21c4df39976542f420117fc606b01 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001// 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
8&i2c5 {
9 ts3a227e: ts3a227e@3b {
10 pinctrl-names = "default";
11 pinctrl-0 = <&ts3a227e_pins>;
12 compatible = "ti,ts3a227e";
13 reg = <0x3b>;
Tom Rini93743d22024-04-01 09:08:13 -040014 interrupts-extended = <&pio 157 IRQ_TYPE_LEVEL_LOW>;
Tom Rini53633a82024-02-29 12:33:36 -050015 status = "okay";
16 };
17};
18
19&pio {
20 ts3a227e_pins: ts3a227e_pins {
21 pins1 {
22 pinmux = <PINMUX_GPIO157__FUNC_GPIO157>;
23 input-enable;
24 bias-pull-up;
25 };
26 };
27};
28
29&sound {
30 mediatek,headset-codec = <&ts3a227e>;
31};