ARM: dts: msm: Enable USBC for sm6150

Add fsa4480-i2c-handle and enable mbhc
USBC and us-euro support for sm6150.

CRs-Fixed: 2323788
Change-Id: I186f4beb430ae06b9cd2943b6e0ae76404cd78c7
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
tirimbino
Vatsal Bucha 7 years ago
parent 1cef27dd1d
commit e83ac5f69d
  1. 1
      arch/arm64/boot/dts/qcom/sm6150-audio.dtsi
  2. 31
      arch/arm64/boot/dts/qcom/sm6150-pinctrl.dtsi
  3. 1
      arch/arm64/boot/dts/qcom/sm6150-usbc-idp-overlay.dts
  4. 1
      arch/arm64/boot/dts/qcom/sm6150-usbc-idp.dts
  5. 17
      arch/arm64/boot/dts/qcom/sm6150-usbc-idp.dtsi

@ -134,6 +134,7 @@
"msm-dai-cdc-dma-dev.45115",
"msm-dai-cdc-dma-dev.45116",
"msm-dai-cdc-dma-dev.45118";
fsa4480-i2c-handle = <&fsa4480>;
};
};

@ -868,37 +868,6 @@
};
};
/* USB C analog configuration */
wcd_usbc_analog_en1 {
wcd_usbc_analog_en1_idle: wcd_usbc_ana_en1_idle {
mux {
pins = "gpio49";
function = "gpio";
};
config {
pins = "gpio49";
drive-strength = <2>;
bias-pull-down;
output-low;
};
};
wcd_usbc_analog_en1_active: wcd_usbc_ana_en1_active {
mux {
pins = "gpio49";
function = "gpio";
};
config {
pins = "gpio49";
drive-strength = <2>;
bias-disable;
output-high;
};
};
};
wsa_swr_clk_pin {
wsa_swr_clk_sleep: wsa_swr_clk_sleep {
mux {

@ -17,6 +17,7 @@
#include <dt-bindings/clock/qcom,camcc-sm6150.h>
#include "sm6150-idp.dtsi"
#include "sm6150-usbc-idp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SM6150 USBC Audio IDP";

@ -14,6 +14,7 @@
#include "sm6150.dtsi"
#include "sm6150-idp.dtsi"
#include "sm6150-usbc-idp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. SM6150 USBC Audio IDP";

@ -0,0 +1,17 @@
/* Copyright (c) 2018, 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 "sm6150-audio-overlay.dtsi"
&sm6150_snd {
qcom,msm-mbhc-usbc-audio-supported = <1>;
};
Loading…
Cancel
Save