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