| /* Copyright (c) 2017, The Linux Foundation. All rights reserved. |
| * |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 2 and |
| * only version 2 as published by the Free Software Foundation. |
| * |
| * This program is distributed in the hope that it will be useful, |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| * GNU General Public License for more details. |
| */ |
| #include "sdm670-audio-overlay.dtsi" |
| |
| &int_codec { |
| qcom,msm-mbhc-usbc-audio-supported = <1>; |
| qcom,usbc-analog-en1-gpio = <&wcd_usbc_analog_en1_gpio>; |
| qcom,usbc-analog-en2-gpio = <&tlmm 40 0>; |
| pinctrl-names = "aud_active", "aud_sleep"; |
| pinctrl-0 = <&wcd_usbc_analog_en2_active>; |
| pinctrl-1 = <&wcd_usbc_analog_en2_idle>; |
| }; |