ARM: dts: msm: Add initial dts support for trinket-iot

Add initial device tree files to support trinket-iot.

Change-Id: I1d122dcb8a260273bb070216d6e7c8ed78195138
Signed-off-by: Anurag Chouhan <achouhan@codeaurora.org>
tirimbino
Anurag Chouhan 5 years ago
parent 8136c468e2
commit 168e06a071
  1. 34
      arch/arm64/boot/dts/qcom/Makefile
  2. 51
      arch/arm64/boot/dts/qcom/trinket-iot-dp-idp-overlay.dts
  3. 44
      arch/arm64/boot/dts/qcom/trinket-iot-dp-idp.dts
  4. 31
      arch/arm64/boot/dts/qcom/trinket-iot-external-codec-idp-overlay.dts
  5. 24
      arch/arm64/boot/dts/qcom/trinket-iot-external-codec-idp.dts
  6. 25
      arch/arm64/boot/dts/qcom/trinket-iot-idp-overlay.dts
  7. 23
      arch/arm64/boot/dts/qcom/trinket-iot-idp.dts
  8. 13
      arch/arm64/boot/dts/qcom/trinket-iot-idp.dtsi
  9. 29
      arch/arm64/boot/dts/qcom/trinket-iot-usbc-external-codec-idp-overlay.dts
  10. 22
      arch/arm64/boot/dts/qcom/trinket-iot-usbc-external-codec-idp.dts
  11. 30
      arch/arm64/boot/dts/qcom/trinket-iot-usbc-idp-overlay.dts
  12. 23
      arch/arm64/boot/dts/qcom/trinket-iot-usbc-idp.dts
  13. 19
      arch/arm64/boot/dts/qcom/trinket-iot-usbc-idp.dtsi
  14. 22
      arch/arm64/boot/dts/qcom/trinket-iot.dts
  15. 21
      arch/arm64/boot/dts/qcom/trinket-iot.dtsi
  16. 51
      arch/arm64/boot/dts/qcom/trinketp-iot-dp-idp-overlay.dts
  17. 44
      arch/arm64/boot/dts/qcom/trinketp-iot-dp-idp.dts
  18. 31
      arch/arm64/boot/dts/qcom/trinketp-iot-external-codec-idp-overlay.dts
  19. 24
      arch/arm64/boot/dts/qcom/trinketp-iot-external-codec-idp.dts
  20. 25
      arch/arm64/boot/dts/qcom/trinketp-iot-idp-overlay.dts
  21. 23
      arch/arm64/boot/dts/qcom/trinketp-iot-idp.dts
  22. 13
      arch/arm64/boot/dts/qcom/trinketp-iot-idp.dtsi
  23. 29
      arch/arm64/boot/dts/qcom/trinketp-iot-usbc-external-codec-idp-overlay.dts
  24. 22
      arch/arm64/boot/dts/qcom/trinketp-iot-usbc-external-codec-idp.dts
  25. 30
      arch/arm64/boot/dts/qcom/trinketp-iot-usbc-idp-overlay.dts
  26. 23
      arch/arm64/boot/dts/qcom/trinketp-iot-usbc-idp.dts
  27. 19
      arch/arm64/boot/dts/qcom/trinketp-iot-usbc-idp.dtsi
  28. 22
      arch/arm64/boot/dts/qcom/trinketp-iot.dts
  29. 21
      arch/arm64/boot/dts/qcom/trinketp-iot.dtsi

@ -331,7 +331,17 @@ ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
trinket-external-codec-idp-overlay.dtbo \
trinket-usbc-external-codec-idp-overlay.dtbo \
trinket-usbc-idp-overlay.dtbo \
trinket-dp-idp-overlay.dtbo
trinket-dp-idp-overlay.dtbo \
trinket-iot-idp-overlay.dtbo \
trinketp-iot-idp-overlay.dtbo \
trinket-iot-external-codec-idp-overlay.dtbo \
trinketp-iot-external-codec-idp-overlay.dtbo \
trinket-iot-usbc-external-codec-idp-overlay.dtbo \
trinketp-iot-usbc-external-codec-idp-overlay.dtbo \
trinket-iot-usbc-idp-overlay.dtbo \
trinketp-iot-usbc-idp-overlay.dtbo \
trinket-iot-dp-idp-overlay.dtbo \
trinketp-iot-dp-idp-overlay.dtbo
trinket-rumi-overlay.dtbo-base := trinket.dtb
trinket-idp-overlay.dtbo-base := trinket.dtb
@ -340,6 +350,16 @@ trinket-external-codec-idp-overlay.dtbo-base := trinket.dtb
trinket-usbc-external-codec-idp-overlay.dtbo-base := trinket.dtb
trinket-usbc-idp-overlay.dtbo-base := trinket.dtb
trinket-dp-idp-overlay.dtbo-base := trinket.dtb
trinket-iot-idp-overlay.dtbo-base := trinket-iot.dtb
trinketp-iot-idp-overlay.dtbo-base := trinketp-iot.dtb
trinket-iot-external-codec-idp-overlay.dtbo-base := trinket-iot.dtb
trinketp-iot-external-codec-idp-overlay.dtbo-base := trinketp-iot.dtb
trinket-iot-usbc-external-codec-idp-overlay.dtbo-base := trinket-iot.dtb
trinketp-iot-usbc-external-codec-idp-overlay.dtbo-base := trinketp-iot.dtb
trinket-iot-usbc-idp-overlay.dtbo-base := trinket-iot.dtb
trinketp-iot-usbc-idp-overlay.dtbo-base := trinketp-iot.dtb
trinket-iot-dp-idp-overlay.dtbo-base := trinket-iot.dtb
trinketp-iot-dp-idp-overlay.dtbo-base := trinketp-iot.dtb
else
dtb-$(CONFIG_ARCH_TRINKET) += trinket-rumi.dtb \
trinket-idp.dtb \
@ -347,7 +367,17 @@ dtb-$(CONFIG_ARCH_TRINKET) += trinket-rumi.dtb \
trinket-external-codec-idp.dtb \
trinket-usbc-external-codec-idp.dtb \
trinket-usbc-idp.dtb \
trinket-dp-idp.dtb
trinket-dp-idp.dtb \
trinket-iot-idp.dtb \
trinketp-iot-idp.dtb \
trinket-iot-external-codec-idp.dtb \
trinketp-iot-external-codec-idp.dtb \
trinket-iot-usbc-external-codec-idp.dtb \
trinketp-iot-usbc-external-codec-idp.dtb \
trinket-iot-usbc-idp.dtb \
trinketp-iot-usbc-idp.dtb \
trinket-iot-dp-idp.dtb \
trinketp-iot-dp-idp.dtb
endif
ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)

@ -0,0 +1,51 @@
/* Copyright (c) 2020, 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.
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,gcc-trinket.h>
#include "trinket-iot-idp.dtsi"
#include "trinket-audio-overlay.dtsi"
/ {
model = "Display Port Enable IDP";
compatible = "qcom,trinket-iot-idp", "qcom,trinket-iot", "qcom,idp";
qcom,msm-id = <467 0x10000>;
qcom,board-id = <34 4>;
};
&dsi_td4330_truly_cmd_display {
qcom,dsi-display-active;
};
&sde_dp {
status = "ok";
qcom,dp-hpd-gpio = <&tlmm 100 0>;
qcom,dp-low-power-hw-hpd;
};
&mdss_dp_pll {
status = "ok";
};
&usb0 {
dwc3@4e00000 {
usb-phy = <&qusb_phy0>, <&usb_nop_phy>;
maximum-speed = "high-speed";
};
};
&mdss_mdp {
connectors = <&sde_wb &sde_dsi &sde_dp>;
};

@ -0,0 +1,44 @@
/*
* Copyright (c) 2020, 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.
*/
/dts-v1/;
#include "trinket-iot.dtsi"
#include "trinket-iot-idp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. TRINKET IOT Disp. Port Enable IDP";
compatible = "qcom,trinket-iot-idp", "qcom,trinket-iot", "qcom,idp";
qcom,board-id = <34 4>;
};
&sde_dp {
status = "ok";
qcom,dp-hpd-gpio = <&tlmm 100 0>;
qcom,dp-low-power-hw-hpd;
};
&mdss_dp_pll {
status = "ok";
};
&usb0 {
dwc3@4e00000 {
usb-phy = <&qusb_phy0>, <&usb_nop_phy>;
maximum-speed = "high-speed";
};
};
&mdss_mdp {
connectors = <&sde_wb &sde_dsi &sde_dp>;
};

@ -0,0 +1,31 @@
/* Copyright (c) 2020, 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.
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "trinket-iot-idp.dtsi"
#include "trinket-tasha-codec-audio-overlay.dtsi"
#include "trinket-tasha-codec.dtsi"
/ {
model = "Ext Audio Codec IDP";
compatible = "qcom,trinket-iot-idp", "qcom,trinket-iot", "qcom,idp";
qcom,msm-id = <467 0x10000>;
qcom,board-id = <34 1>;
};
&dsi_td4330_truly_cmd_display {
qcom,dsi-display-active;
};

@ -0,0 +1,24 @@
/* Copyright (c) 2020, 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.
*/
/dts-v1/;
#include "trinket-iot.dtsi"
#include "trinket-iot-idp.dtsi"
#include "trinket-tasha-codec-audio-overlay.dtsi"
#include "trinket-tasha-codec.dtsi"
/ {
model = "Qualcomm Technologies, Inc. TRINKET IOT Ext Audio Codec IDP";
compatible = "qcom,trinket-iot-idp", "qcom,trinket-iot", "qcom,idp";
qcom,board-id = <34 1>;
};

@ -0,0 +1,25 @@
/*
* Copyright (c) 2020, 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.
*/
/dts-v1/;
/plugin/;
#include "trinket-iot-idp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. TRINKET IOT IDP Overlay";
compatible = "qcom,trinket-iot";
qcom,msm-id = <467 0x10000>;
qcom,board-id = <34 0>;
};

@ -0,0 +1,23 @@
/*
* Copyright (c) 2020, 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.
*/
/dts-v1/;
#include "trinket-iot.dtsi"
#include "trinket-iot-idp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. TRINKET IOT IDP SoC";
compatible = "qcom,trinket-iot";
qcom,board-id = <34 0>;
};

@ -0,0 +1,13 @@
/*
* Copyright (c) 2020, 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 "trinket-idp.dtsi"

@ -0,0 +1,29 @@
/* Copyright (c) 2020, 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.
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "trinket-iot-idp.dtsi"
/ {
model = "USB-C Ext Audio Codec IDP";
compatible = "qcom,trinket-iot-idp", "qcom,trinket-iot", "qcom,idp";
qcom,msm-id = <467 0x10000>;
qcom,board-id = <34 3>;
};
&dsi_td4330_truly_cmd_display {
qcom,dsi-display-active;
};

@ -0,0 +1,22 @@
/* Copyright (c) 2020, 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.
*/
/dts-v1/;
#include "trinket-iot.dtsi"
#include "trinket-iot-idp.dtsi"
/ {
model = "Qualcomm Technologies,Inc. TRINKET IOT USBC Ext Aud Codec IDP";
compatible = "qcom,trinket-iot-idp", "qcom,trinket-iot", "qcom,idp";
qcom,board-id = <34 3>;
};

@ -0,0 +1,30 @@
/* Copyright (c) 2020, 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.
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "trinket-iot-idp.dtsi"
#include "trinket-iot-usbc-idp.dtsi"
/ {
model = "USBC Audio IDP";
compatible = "qcom,trinket-iot-idp", "qcom,trinket-iot", "qcom,idp";
qcom,msm-id = <467 0x10000>;
qcom,board-id = <34 2>;
};
&dsi_td4330_truly_cmd_display {
qcom,dsi-display-active;
};

@ -0,0 +1,23 @@
/* Copyright (c) 2020, 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.
*/
/dts-v1/;
#include "trinket-iot.dtsi"
#include "trinket-iot-idp.dtsi"
#include "trinket-iot-usbc-idp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. TRINKET IOT USBC Audio IDP";
compatible = "qcom,trinket-iot-idp", "qcom,trinket-iot", "qcom,idp";
qcom,board-id = <34 2>;
};

@ -0,0 +1,19 @@
/* Copyright (c) 2020, 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 "trinket-audio-overlay.dtsi"
&sm6150_snd {
qcom,msm-mbhc-usbc-audio-supported = <1>;
qcom,msm-mbhc-hphl-swh = <1>;
qcom,msm-mbhc-gnd-swh = <1>;
};

@ -0,0 +1,22 @@
/*
* Copyright (c) 2020, 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.
*/
/dts-v1/;
#include "trinket-iot.dtsi"
/ {
model = "Qualcomm Technologies, Inc. TRINKET IOT IDP SoC";
compatible = "qcom,trinket-iot";
qcom,board-id = <0 0>;
};

@ -0,0 +1,21 @@
/*
* Copyright (c) 2020, 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 "trinket.dtsi"
/ {
model = "Qualcomm Technologies, Inc. TRINKET IOT";
compatible = "qcom,trinket-iot";
qcom,msm-id = <467 0x0>;
qcom,msm-name = "trinket";
};

@ -0,0 +1,51 @@
/* Copyright (c) 2020, 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.
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,gcc-trinket.h>
#include "trinketp-iot-idp.dtsi"
#include "trinket-audio-overlay.dtsi"
/ {
model = "Display Port Enable IDP";
compatible = "qcom,trinketp-iot-idp", "qcom,trinketp-iot", "qcom,idp";
qcom,msm-id = <468 0x10000>;
qcom,board-id = <34 4>;
};
&dsi_td4330_truly_cmd_display {
qcom,dsi-display-active;
};
&sde_dp {
status = "ok";
qcom,dp-hpd-gpio = <&tlmm 100 0>;
qcom,dp-low-power-hw-hpd;
};
&mdss_dp_pll {
status = "ok";
};
&usb0 {
dwc3@4e00000 {
usb-phy = <&qusb_phy0>, <&usb_nop_phy>;
maximum-speed = "high-speed";
};
};
&mdss_mdp {
connectors = <&sde_wb &sde_dsi &sde_dp>;
};

@ -0,0 +1,44 @@
/*
* Copyright (c) 2020, 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.
*/
/dts-v1/;
#include "trinketp-iot.dtsi"
#include "trinketp-iot-idp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. TRINKETIOT Disp. Port Enable IDP";
compatible = "qcom,trinketp-iot-idp", "qcom,trinketp-iot", "qcom,idp";
qcom,board-id = <34 4>;
};
&sde_dp {
status = "ok";
qcom,dp-hpd-gpio = <&tlmm 100 0>;
qcom,dp-low-power-hw-hpd;
};
&mdss_dp_pll {
status = "ok";
};
&usb0 {
dwc3@4e00000 {
usb-phy = <&qusb_phy0>, <&usb_nop_phy>;
maximum-speed = "high-speed";
};
};
&mdss_mdp {
connectors = <&sde_wb &sde_dsi &sde_dp>;
};

@ -0,0 +1,31 @@
/* Copyright (c) 2020, 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.
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "trinketp-iot-idp.dtsi"
#include "trinket-tasha-codec-audio-overlay.dtsi"
#include "trinket-tasha-codec.dtsi"
/ {
model = "Ext Audio Codec IDP";
compatible = "qcom,trinketp-iot-idp", "qcom,trinketp-iot", "qcom,idp";
qcom,msm-id = <468 0x10000>;
qcom,board-id = <34 1>;
};
&dsi_td4330_truly_cmd_display {
qcom,dsi-display-active;
};

@ -0,0 +1,24 @@
/* Copyright (c) 2020, 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.
*/
/dts-v1/;
#include "trinketp-iot.dtsi"
#include "trinket-iot-idp.dtsi"
#include "trinket-tasha-codec-audio-overlay.dtsi"
#include "trinket-tasha-codec.dtsi"
/ {
model = "Qualcomm Technologies, Inc. TRINKETP IOT Ext Audio Codec IDP";
compatible = "qcom,trinketp-iot-idp", "qcom,trinketp-iot", "qcom,idp";
qcom,board-id = <34 1>;
};

@ -0,0 +1,25 @@
/*
* Copyright (c) 2020, 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.
*/
/dts-v1/;
/plugin/;
#include "trinketp-iot-idp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. TRINKETP IOT IDP Overlay";
compatible = "qcom,trinketp-iot";
qcom,msm-id = <468 0x10000>;
qcom,board-id = <34 0>;
};

@ -0,0 +1,23 @@
/*
* Copyright (c) 2020, 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.
*/
/dts-v1/;
#include "trinketp-iot.dtsi"
#include "trinketp-iot-idp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. TRINKETP IOT IDP SoC";
compatible = "qcom,trinketp-iot";
qcom,board-id = <34 0>;
};

@ -0,0 +1,13 @@
/*
* Copyright (c) 2020, 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 "trinket-idp.dtsi"

@ -0,0 +1,29 @@
/* Copyright (c) 2020, 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.
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "trinketp-iot-idp.dtsi"
/ {
model = "USB-C Ext Audio Codec IDP";
compatible = "qcom,trinketp-iot-idp", "qcom,trinketp-iot", "qcom,idp";
qcom,msm-id = <468 0x10000>;
qcom,board-id = <34 3>;
};
&dsi_td4330_truly_cmd_display {
qcom,dsi-display-active;
};

@ -0,0 +1,22 @@
/* Copyright (c) 2020, 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.
*/
/dts-v1/;
#include "trinketp-iot.dtsi"
#include "trinketp-iot-idp.dtsi"
/ {
model = "Qualcomm Technologies,Inc. TRINKETP USBC Ext AudioCodec IDP";
compatible = "qcom,trinketp-iot-idp", "qcom,trinketp-iot", "qcom,idp";
qcom,board-id = <34 3>;
};

@ -0,0 +1,30 @@
/* Copyright (c) 2020, 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.
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include "trinketp-iot-idp.dtsi"
#include "trinketp-iot-usbc-idp.dtsi"
/ {
model = "USBC Audio IDP";
compatible = "qcom,trinketp-iot-idp", "qcom,trinketp-iot", "qcom,idp";
qcom,msm-id = <468 0x10000>;
qcom,board-id = <34 2>;
};
&dsi_td4330_truly_cmd_display {
qcom,dsi-display-active;
};

@ -0,0 +1,23 @@
/* Copyright (c) 2020, 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.
*/
/dts-v1/;
#include "trinketp-iot.dtsi"
#include "trinketp-iot-idp.dtsi"
#include "trinketp-iot-usbc-idp.dtsi"
/ {
model = "Qualcomm Technologies, Inc. TRINKETP IOT USBC Audio IDP";
compatible = "qcom,trinketp-iot-idp", "qcom,trinket-iot", "qcom,idp";
qcom,board-id = <34 2>;
};

@ -0,0 +1,19 @@
/* Copyright (c) 2020, 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 "trinket-audio-overlay.dtsi"
&sm6150_snd {
qcom,msm-mbhc-usbc-audio-supported = <1>;
qcom,msm-mbhc-hphl-swh = <1>;
qcom,msm-mbhc-gnd-swh = <1>;
};

@ -0,0 +1,22 @@
/*
* Copyright (c) 2020, 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.
*/
/dts-v1/;
#include "trinketp-iot.dtsi"
/ {
model = "Qualcomm Technologies, Inc. TRINKETP SoC";
compatible = "qcom,trinketp-iot";
qcom,board-id = <0 0>;
};

@ -0,0 +1,21 @@
/*
* Copyright (c) 2020, 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 "trinket.dtsi"
/ {
model = "Qualcomm Technologies, Inc. TRINKETP";
compatible = "qcom,trinketp-iot";
qcom,msm-id = <468 0x0>;
qcom,msm-name = "trinket";
};
Loading…
Cancel
Save