A525FXXU4CVJB

Change-Id: I6078d2da0596f8d72b3d9edab12520ddd67b4e21
fourteen
Simon1511 2 years ago
parent 819278a2f2
commit d45b9ba98c
  1. 34
      arch/arm64/boot/dts/samsung/Makefile
  2. 26
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-battery-can-r00.dtsi
  3. 48
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-can-pinctrl-r00.dtsi
  4. 28
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-can-pinctrl-r01.dtsi
  5. 28
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-can-pinctrl-r02.dtsi
  6. 28
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-can-pinctrl-r03.dtsi
  7. 28
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-can-pinctrl-r04.dtsi
  8. 28
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-can-pinctrl-r05.dtsi
  9. 54
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-can-pinctrl-r06.dtsi
  10. 46
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-can-r00.dtsi
  11. 17
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-can-r01.dtsi
  12. 17
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-can-r02.dtsi
  13. 17
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-can-r03.dtsi
  14. 16
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-can-r04.dtsi
  15. 25
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-can-r05.dtsi
  16. 94
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-can-r06.dtsi
  17. 48
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-ldu-pinctrl-r00.dtsi
  18. 28
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-ldu-pinctrl-r01.dtsi
  19. 28
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-ldu-pinctrl-r02.dtsi
  20. 28
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-ldu-pinctrl-r03.dtsi
  21. 28
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-ldu-pinctrl-r04.dtsi
  22. 26
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-ldu-pinctrl-r05.dtsi
  23. 53
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-ldu-pinctrl-r06.dtsi
  24. 36
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-ldu-r00.dtsi
  25. 17
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-ldu-r01.dtsi
  26. 17
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-ldu-r02.dtsi
  27. 17
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-ldu-r03.dtsi
  28. 17
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-ldu-r04.dtsi
  29. 18
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-ldu-r05.dtsi
  30. 46
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-ldu-r06.dtsi
  31. 46
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-pinctrl-r00.dtsi
  32. 28
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-pinctrl-r01.dtsi
  33. 28
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-pinctrl-r02.dtsi
  34. 28
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-pinctrl-r03.dtsi
  35. 28
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-pinctrl-r04.dtsi
  36. 26
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-pinctrl-r05.dtsi
  37. 54
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-pinctrl-r06.dtsi
  38. 27
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-pinctrl-r07.dtsi
  39. 36
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-r00.dtsi
  40. 17
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-r01.dtsi
  41. 17
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-r02.dtsi
  42. 17
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-r03.dtsi
  43. 16
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-r04.dtsi
  44. 20
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-r05.dtsi
  45. 86
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-r06.dtsi
  46. 32
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-eur-r07.dtsi
  47. 48
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-swa-pinctrl-r00.dtsi
  48. 28
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-swa-pinctrl-r01.dtsi
  49. 28
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-swa-pinctrl-r02.dtsi
  50. 28
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-swa-pinctrl-r03.dtsi
  51. 36
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-swa-r00.dtsi
  52. 17
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-swa-r01.dtsi
  53. 17
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-swa-r02.dtsi
  54. 17
      arch/arm64/boot/dts/samsung/a71/sm7150-sec-a71-swa-r03.dtsi
  55. 7140
      arch/arm64/boot/dts/samsung/atoll-sec-a52q-eur-overlay-r00.dts
  56. 7155
      arch/arm64/boot/dts/samsung/atoll-sec-a52q-eur-overlay-r01.dts
  57. 7175
      arch/arm64/boot/dts/samsung/atoll-sec-a52q-eur-overlay-r02.dts
  58. 7239
      arch/arm64/boot/dts/samsung/atoll-sec-a52q-eur-overlay-r04.dts
  59. 7254
      arch/arm64/boot/dts/samsung/atoll-sec-a52q-eur-overlay-r05.dts
  60. 7268
      arch/arm64/boot/dts/samsung/atoll-sec-a52q-eur-overlay-r06.dts
  61. 170
      arch/arm64/boot/dts/samsung/atoll-sec-a52q-input-common.dtsi
  62. 25
      arch/arm64/boot/dts/samsung/atoll-sec-a52q-ltn-overlay-r04.dts
  63. 25
      arch/arm64/boot/dts/samsung/atoll-sec-a52q-ltn-overlay-r05.dts
  64. 25
      arch/arm64/boot/dts/samsung/atoll-sec-a52q-ltn-overlay-r06.dts
  65. 687
      arch/arm64/boot/dts/samsung/atoll-sec-a52q-pinctrl-r00.dtsi
  66. 73
      arch/arm64/boot/dts/samsung/atoll-sec-a52q-pinctrl-r01.dtsi
  67. 99
      arch/arm64/boot/dts/samsung/atoll-sec-a52q-pinctrl-r02.dtsi
  68. 74
      arch/arm64/boot/dts/samsung/atoll-sec-a52q-pinctrl-r04.dtsi
  69. 74
      arch/arm64/boot/dts/samsung/atoll-sec-a52q-pinctrl-r05.dtsi
  70. 74
      arch/arm64/boot/dts/samsung/atoll-sec-a52q-pinctrl-r06.dtsi
  71. 169
      arch/arm64/boot/dts/samsung/atoll-sec-a52q-pm-common.dtsi
  72. 104
      arch/arm64/boot/dts/samsung/atoll-sec-a52q-r00.dtsi
  73. 23
      arch/arm64/boot/dts/samsung/atoll-sec-a52q-r01.dtsi
  74. 24
      arch/arm64/boot/dts/samsung/atoll-sec-a52q-r02.dtsi
  75. 26
      arch/arm64/boot/dts/samsung/atoll-sec-a52q-r04.dtsi
  76. 18
      arch/arm64/boot/dts/samsung/atoll-sec-a52q-r05.dtsi
  77. 25
      arch/arm64/boot/dts/samsung/atoll-sec-a52q-r06.dtsi
  78. 28
      arch/arm64/boot/dts/samsung/atoll-sec-a72q-common.dtsi
  79. 7044
      arch/arm64/boot/dts/samsung/atoll-sec-a72q-eur-overlay-r00.dts
  80. 7059
      arch/arm64/boot/dts/samsung/atoll-sec-a72q-eur-overlay-r01.dts
  81. 7176
      arch/arm64/boot/dts/samsung/atoll-sec-a72q-eur-overlay-r02.dts
  82. 7190
      arch/arm64/boot/dts/samsung/atoll-sec-a72q-eur-overlay-r04.dts
  83. 7204
      arch/arm64/boot/dts/samsung/atoll-sec-a72q-eur-overlay-r05.dts
  84. 139
      arch/arm64/boot/dts/samsung/atoll-sec-a72q-input-common.dtsi
  85. 25
      arch/arm64/boot/dts/samsung/atoll-sec-a72q-ltn-overlay-r00.dts
  86. 25
      arch/arm64/boot/dts/samsung/atoll-sec-a72q-ltn-overlay-r01.dts
  87. 25
      arch/arm64/boot/dts/samsung/atoll-sec-a72q-ltn-overlay-r02.dts
  88. 25
      arch/arm64/boot/dts/samsung/atoll-sec-a72q-ltn-overlay-r04.dts
  89. 25
      arch/arm64/boot/dts/samsung/atoll-sec-a72q-ltn-overlay-r05.dts
  90. 653
      arch/arm64/boot/dts/samsung/atoll-sec-a72q-pinctrl-r00.dtsi
  91. 56
      arch/arm64/boot/dts/samsung/atoll-sec-a72q-pinctrl-r01.dtsi
  92. 57
      arch/arm64/boot/dts/samsung/atoll-sec-a72q-pinctrl-r02.dtsi
  93. 15
      arch/arm64/boot/dts/samsung/atoll-sec-a72q-pinctrl-r04.dtsi
  94. 57
      arch/arm64/boot/dts/samsung/atoll-sec-a72q-pinctrl-r05.dtsi
  95. 169
      arch/arm64/boot/dts/samsung/atoll-sec-a72q-pm-common.dtsi
  96. 99
      arch/arm64/boot/dts/samsung/atoll-sec-a72q-r00.dtsi
  97. 18
      arch/arm64/boot/dts/samsung/atoll-sec-a72q-r01.dtsi
  98. 19
      arch/arm64/boot/dts/samsung/atoll-sec-a72q-r02.dtsi
  99. 18
      arch/arm64/boot/dts/samsung/atoll-sec-a72q-r04.dtsi
  100. 25
      arch/arm64/boot/dts/samsung/atoll-sec-a72q-r05.dtsi
  101. Some files were not shown because too many files have changed in this diff Show More

@ -318,6 +318,25 @@ SEC_M42Q_USA_DTBO := \
atoll-sec-m42q-usa-overlay-r02.dtbo \
atoll-sec-m42q-usa-overlay-r04.dtbo \
atoll-sec-m42q-usa-overlay-r06.dtbo
# GTA4XLVE EUR
SEC_GTA4XLVE_EUR_DTBO := \
atoll-sec-gta4xlve-eur-overlay-r00.dtbo
# GTA4XLVEWIFI EUR
SEC_GTA4XLVEWIFI_EUR_DTBO := \
atoll-sec-gta4xlvewifi-eur-overlay-r00.dtbo
# GTA4XLVE KOR
SEC_GTA4XLVE_KOR_DTBO := \
atoll-sec-gta4xlve-kor-overlay-r00.dtbo
# GTA4XLVE CHN
SEC_GTA4XLVE_CHN_DTBO := \
atoll-sec-gta4xlve-chn-overlay-r00.dtbo
# GTA4XLVEWIFI CHN
SEC_GTA4XLVEWIFI_CHN_DTBO := \
atoll-sec-gta4xlvewifi-chn-overlay-r00.dtbo
define __sec_dtbo_build
dtbo-$(2) += $(1)
@ -444,6 +463,21 @@ $(eval $(call sec_dtbo_build, \
$(eval $(call sec_dtbo_build, \
$(SEC_M42Q_USA_DTBO),$(CONFIG_SEC_M42Q_USA_OPEN),$(SEC_ATOLL_BASE_DTB)))
$(eval $(call sec_dtbo_build, \
$(SEC_GTA4XLVE_EUR_DTBO),$(CONFIG_SEC_GTA4XLVE_EUR_OPEN),$(SEC_ATOLL_BASE_DTB)))
$(eval $(call sec_dtbo_build, \
$(SEC_GTA4XLVEWIFI_EUR_DTBO),$(CONFIG_SEC_GTA4XLVEWIFI_EUR_OPEN),$(SEC_ATOLL_BASE_DTB)))
$(eval $(call sec_dtbo_build, \
$(SEC_GTA4XLVE_KOR_DTBO),$(CONFIG_SEC_GTA4XLVE_KOR_OPEN),$(SEC_ATOLL_BASE_DTB)))
$(eval $(call sec_dtbo_build, \
$(SEC_GTA4XLVE_CHN_DTBO),$(CONFIG_SEC_GTA4XLVE_CHN_OPEN),$(SEC_ATOLL_BASE_DTB)))
$(eval $(call sec_dtbo_build, \
$(SEC_GTA4XLVEWIFI_CHN_DTBO),$(CONFIG_SEC_GTA4XLVEWIFI_CHN_OPEN),$(SEC_ATOLL_BASE_DTB)))
endif
ifeq ($(CONFIG_ARM64),y)

@ -1,26 +0,0 @@
/* Copyright (c) 2019, 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 "../common/sm7150-sec-a71-battery-common.dtsi"
&soc {
battery {
/* direct step charging option */
battery,dc_step_chg_step = <4>;
battery,dc_step_chg_cond_vol = <4090 4190 4320 4350>; /* STEP_CHARGING_CONDITION_VOLTAGE */
battery,dc_step_chg_cond_iin = <1950 1575 1050 0>; /* STEP_CHARGING_CONDITION_INPUT_CURRENT */
battery,dc_step_chg_iin_check_cnt = <3>;
battery,dc_step_chg_cond_soc = <9 48 80 100>; /* STEP_CHARGING_CONDITION_SOC */
battery,dc_step_chg_val_vfloat = <4090 4190 4320 4350>; /* STEP_CHARGING_CONDITION_FLOAT_VOLTAGE */
battery,dc_step_chg_val_iout = <4600 3900 3100 2100>;
};
};

@ -1,48 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};
&tlmm {
usbpd_irq: usbpd_irq {
mux {
pins = "gpio32";
function = "gpio";
};
config {
pins = "gpio32";
drive-strength = <2>;
bias-disable;
input-enable;
};
};
if_pmic_irq: if_pmic_irq {
mux {
pins = "gpio68";
function = "gpio";
};
config {
pins = "gpio68";
drive-strength = <2>; /* 16 mA */
bias-disable;
input-enable;
};
};
};

@ -1,28 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};

@ -1,28 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};

@ -1,28 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};

@ -1,28 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};

@ -1,28 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};

@ -1,54 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};
&tlmm {
/* s2mu106_fg i2c */
s2mu106_fg_i2c: s2mu106_fg_i2c {
s2mu106_fg_active: s2mu106_fg_active {
mux {
pins = "gpio102", "gpio101";
function = "gpio";
};
config {
pins = "gpio102", "gpio101";
drive-strength = <2>;
bias-disable;
};
};
};
dc_irq_default: dc_irq_default {
config {
pins = "gpio57";
drive-strength = <2>;
bias-disable;
input-enable;
};
};
};

@ -1,46 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-can-pinctrl-r00.dtsi"
#include "../common/sm7150-sec-a71-common.dtsi"
// #include "sm6150-sec-a70q-input-common.dtsi"
#include "../common/sm7150-sec-a71-pm-common.dtsi"
#include "sm7150-sec-a71-battery-can-r00.dtsi"
#include "../drivers/sm7150-sec-a71-eif-common.dtsi"
#include "../drivers/sm7150-sec-a71-fingerprint_00.dtsi"
#include "../drivers/sm7150-sec-a71-nfc-r00.dtsi"
#include "../drivers/sm7150-camera-sensor-a71-r01.dtsi"
//#include "../drivers/sm7150-sec-a71-display-r00.dtsi"
&wcd937x_codec {
imp-table = <&imp_list 0 5 6>,
<&imp_list 6 21 6>,
<&imp_list 22 36 6>,
<&imp_list 37 100 6>,
<&imp_list 101 160 7>,
<&imp_list 161 400 8>,
<&imp_list 401 2000 8>,
<&imp_list 2001 0x7fffffff 6>;
};
&soc {
sec_thermistor@0 {
io-channels = <&pm6150l_vadc ADC_AMUX_THM3_PU2>;
};
};
&pm6150l_vadc {
sdm_therm {
reg = <ADC_AMUX_THM3_PU2>;
};
};

@ -1,17 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-can-r00.dtsi" #include "sm7150-sec-a71-can-pinctrl-r01.dtsi" //#include "../drivers/sm7150-sec-a71-display-r01.dtsi"
&soc {
};

@ -1,17 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-can-r01.dtsi" #include "sm7150-sec-a71-can-pinctrl-r02.dtsi" //#include "../drivers/sm7150-sec-a71-display-r01.dtsi"
&soc {
};

@ -1,17 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-can-r02.dtsi" #include "sm7150-sec-a71-can-pinctrl-r03.dtsi" //#include "../drivers/sm7150-sec-a71-display-r01.dtsi"
&soc {
};

@ -1,16 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-can-r03.dtsi" #include "sm7150-sec-a71-can-pinctrl-r04.dtsi" //#include "../drivers/sm7150-sec-a71-display-r01.dtsi"
&soc {
};

@ -1,25 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-can-r04.dtsi"
#include "sm7150-sec-a71-can-pinctrl-r05.dtsi"
//#include "../drivers/sm7150-sec-a71-display-r01.dtsi"
&soc {
};

@ -1,94 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-can-r05.dtsi"
#include "sm7150-sec-a71-can-pinctrl-r06.dtsi"
//#include "../drivers/sm7150-camera-sensor-a71-r01.dtsi"
//#include "../drivers/sm7150-sec-a71-display-r01.dtsi"
/delete-node/ &i2c_17;
&soc {
i2c_14: 12c@14 {
status = "ok";
cell-index = <14>;
compatible = "i2c-gpio";
gpios = <&tlmm 101 0 /*sda*/
&tlmm 102 0 /*scl*/
>;
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&s2mu106_fg_active>;
};
i2c_17: i2c@17 { /* SW I2C */
status = "ok";
cell-index = <17>;
compatible = "i2c-gpio";
gpios = <&tlmm 25 0 /* sda */
&tlmm 26 0 /* scl */
>;
#i2c-gpio,delay-us = <2>;
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&grip_i2c_active>;
pinctrl-1 = <&grip_i2c_suspend>;
a96t3x6@21 {
compatible = "a96t3x6";
reg = <0x21>;
pinctrl-names = "default";
pinctrl-0 = <&grip_int_active>;
pinctrl-1 = <&grip_int_suspend>;
interrupt-parent = <&spmi_bus>;
interrupts = <0x4 0xc4 0 IRQ_TYPE_EDGE_FALLING>;
a96t3x6,irq_gpio = <&pm6150l_gpios 5 GPIO_ACTIVE_LOW>;
a96t3x6,dvdd_vreg_name = "pm6150l_l11";
a96t3x6,fw_path = "abov/a96t356_a71_can.bin";
a96t3x6,firmup_cmd = <0x3b>;
};
a96t3x6_sub@20 {
compatible = "a96t3x6_sub";
reg = <0x20>;
pinctrl-names = "default";
pinctrl-0 = <&grip_sub_int_active>;
pinctrl-1 = <&grip_sub_int_suspend>;
interrupt-parent = <&spmi_bus>;
interrupts = <0x4 0xc4 0 IRQ_TYPE_EDGE_FALLING>;
a96t3x6,irq_gpio = <&pm6150l_gpios 6 GPIO_ACTIVE_LOW>;
a96t3x6,dvdd_vreg_name = "pm6150_l16";
a96t3x6,fw_path = "abov/a96t356_a71_sub_can.bin";
a96t3x6,firmup_cmd = <0x3b>;
};
};
};

@ -1,48 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};
&tlmm {
usbpd_irq: usbpd_irq {
mux {
pins = "gpio32";
function = "gpio";
};
config {
pins = "gpio32";
drive-strength = <2>;
bias-disable;
input-enable;
};
};
if_pmic_irq: if_pmic_irq {
mux {
pins = "gpio68";
function = "gpio";
};
config {
pins = "gpio68";
drive-strength = <2>; /* 16 mA */
bias-disable;
input-enable;
};
};
};

@ -1,28 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};

@ -1,28 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};

@ -1,28 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};

@ -1,28 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};

@ -1,26 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};

@ -1,53 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};
&tlmm {
/* s2mu106_fg i2c */
s2mu106_fg_i2c: s2mu106_fg_i2c {
s2mu106_fg_active: s2mu106_fg_active {
mux {
pins = "gpio102", "gpio101";
function = "gpio";
};
config {
pins = "gpio102", "gpio101";
drive-strength = <2>;
bias-disable;
};
};
};
dc_irq_default: dc_irq_default {
config {
pins = "gpio57";
drive-strength = <2>;
bias-disable;
input-enable;
};
};
};

@ -1,36 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-eur-ldu-pinctrl-r00.dtsi"
#include "../common/sm7150-sec-a71-common.dtsi"
// #include "sm6150-sec-a70q-input-common.dtsi"
#include "../common/sm7150-sec-a71-pm-common.dtsi"
#include "../common/sm7150-sec-a71-battery-common.dtsi"
#include "../drivers/sm7150-sec-a71-eif-common.dtsi"
#include "../drivers/sm7150-sec-a71-fingerprint_00.dtsi"
#include "../drivers/sm7150-sec-a71-nfc-r00.dtsi"
#include "../drivers/sm7150-camera-sensor-a71-r01.dtsi"
//#include "../drivers/sm7150-sec-a71-display-r00.dtsi"
&soc {
sec_thermistor@0 {
io-channels = <&pm6150l_vadc ADC_AMUX_THM3_PU2>;
};
};
&pm6150l_vadc {
sdm_therm {
reg = <ADC_AMUX_THM3_PU2>;
};
};

@ -1,17 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-eur-ldu-r00.dtsi" #include "sm7150-sec-a71-eur-ldu-pinctrl-r01.dtsi" //#include "../drivers/sm7150-sec-a71-display-r01.dtsi"
&soc {
};

@ -1,17 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-eur-ldu-r01.dtsi" #include "sm7150-sec-a71-eur-ldu-pinctrl-r02.dtsi" //#include "../drivers/sm7150-sec-a71-display-r01.dtsi"
&soc {
};

@ -1,17 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-eur-ldu-r02.dtsi" #include "sm7150-sec-a71-eur-ldu-pinctrl-r03.dtsi" //#include "../drivers/sm7150-sec-a71-display-r01.dtsi"
&soc {
};

@ -1,17 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-eur-ldu-r03.dtsi" #include "sm7150-sec-a71-eur-ldu-pinctrl-r04.dtsi" //#include "../drivers/sm7150-sec-a71-display-r01.dtsi"
&soc {
};

@ -1,18 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-eur-ldu-r04.dtsi"
#include "sm7150-sec-a71-eur-ldu-pinctrl-r05.dtsi"
&soc {
};

@ -1,46 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-eur-ldu-r05.dtsi"
#include "sm7150-sec-a71-eur-ldu-pinctrl-r06.dtsi"
//#include "../drivers/sm7150-camera-sensor-a71-r01.dtsi"
//#include "../drivers/sm7150-sec-a71-display-r00.dtsi"
&soc {
i2c_14: 12c@14 {
status = "ok";
cell-index = <14>;
compatible = "i2c-gpio";
gpios = <&tlmm 101 0 /*sda*/
&tlmm 102 0 /*scl*/
>;
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&s2mu106_fg_active>;
};
};

@ -1,46 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};
&tlmm {
usbpd_irq: usbpd_irq {
mux {
pins = "gpio32";
function = "gpio";
};
config {
pins = "gpio32";
drive-strength = <2>;
bias-disable;
input-enable;
};
};
if_pmic_irq: if_pmic_irq {
mux {
pins = "gpio68";
function = "gpio";
};
config {
pins = "gpio68";
drive-strength = <2>; /* 16 mA */
bias-disable;
input-enable;
};
};
};

@ -1,28 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};

@ -1,28 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};

@ -1,28 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};

@ -1,28 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};

@ -1,26 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};

@ -1,54 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};
&tlmm {
/* s2mu106_fg i2c */
s2mu106_fg_i2c: s2mu106_fg_i2c {
s2mu106_fg_active: s2mu106_fg_active {
mux {
pins = "gpio102", "gpio101";
function = "gpio";
};
config {
pins = "gpio102", "gpio101";
drive-strength = <2>;
bias-disable;
};
};
};
dc_irq_default: dc_irq_default {
config {
pins = "gpio57";
drive-strength = <2>;
bias-disable;
input-enable;
};
};
};

@ -1,27 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};

@ -1,36 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-eur-pinctrl-r00.dtsi"
#include "../common/sm7150-sec-a71-common.dtsi"
// #include "sm6150-sec-a70q-input-common.dtsi"
#include "../common/sm7150-sec-a71-pm-common.dtsi"
#include "../common/sm7150-sec-a71-battery-common.dtsi"
#include "../drivers/sm7150-sec-a71-eif-common.dtsi"
#include "../drivers/sm7150-sec-a71-fingerprint_00.dtsi"
#include "../drivers/sm7150-sec-a71-nfc-r00.dtsi"
#include "../drivers/sm7150-camera-sensor-a71-r00.dtsi"
//#include "../drivers/sm7150-sec-a71-display-r00.dtsi"
&soc {
sec_thermistor@0 {
io-channels = <&pm6150l_vadc ADC_AMUX_THM3_PU2>;
};
};
&pm6150l_vadc {
sdm_therm {
reg = <ADC_AMUX_THM3_PU2>;
};
};

@ -1,17 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-eur-r00.dtsi" #include "sm7150-sec-a71-eur-pinctrl-r01.dtsi" //#include "../drivers/sm7150-sec-a71-display-r01.dtsi"
&soc {
};

@ -1,17 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-eur-r01.dtsi" #include "sm7150-sec-a71-eur-pinctrl-r02.dtsi" //#include "../drivers/sm7150-sec-a71-display-r01.dtsi"
&soc {
};

@ -1,17 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-eur-r02.dtsi" #include "sm7150-sec-a71-eur-pinctrl-r03.dtsi" //#include "../drivers/sm7150-sec-a71-display-r01.dtsi"
&soc {
};

@ -1,16 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-eur-r03.dtsi" #include "sm7150-sec-a71-eur-pinctrl-r04.dtsi"
&soc {
};

@ -1,20 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-eur-r04.dtsi"
#include "sm7150-sec-a71-eur-pinctrl-r05.dtsi"
&soc {
};

@ -1,86 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-eur-pinctrl-r00.dtsi"
#include "sm7150-sec-a71-eur-pinctrl-r01.dtsi"
#include "sm7150-sec-a71-eur-pinctrl-r02.dtsi"
#include "sm7150-sec-a71-eur-pinctrl-r03.dtsi"
#include "sm7150-sec-a71-eur-pinctrl-r04.dtsi"
#include "sm7150-sec-a71-eur-pinctrl-r05.dtsi"
#include "sm7150-sec-a71-eur-pinctrl-r06.dtsi"
#include "../common/sm7150-sec-a71-common.dtsi"
// #include "sm6150-sec-a70q-input-common.dtsi"
#include "../common/sm7150-sec-a71-pm-common.dtsi"
#include "../common/sm7150-sec-a71-battery-common.dtsi"
#include "../drivers/sm7150-sec-a71-eif-common.dtsi"
#include "../drivers/sm7150-sec-a71-fingerprint_00.dtsi"
#include "../drivers/sm7150-sec-a71-nfc-r00.dtsi"
#include "../drivers/sm7150-camera-sensor-a71-r01.dtsi"
//#include "../drivers/sm7150-sec-a71-display-r00.dtsi"
&soc {
sec_thermistor@0 {
io-channels = <&pm6150l_vadc ADC_AMUX_THM3_PU2>;
};
i2c_14: 12c@14 {
status = "ok";
cell-index = <14>;
compatible = "i2c-gpio";
gpios = <&tlmm 101 0 /*sda*/
&tlmm 102 0 /*scl*/
>;
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&s2mu106_fg_active>;
};
};
&pm6150l_vadc {
sdm_therm {
reg = <ADC_AMUX_THM3_PU2>;
};
};
&flash_led {
reg = <0x74>;
compatible = "qcom,s2mu106-fled";
enable = <1 1>;
flash-gpio = <&tlmm 22 0>;
torch-gpio = <&tlmm 24 0>;
pinctrl-names = "fled_default", "fled_suspend";
pinctrl-0 = <&cam_flash_active &cam_torch_active>;
pinctrl-1 = <&cam_flash_suspend &cam_torch_suspend>;
flash_current = <1400>;
preflash_current = <200>;
torch_current = <300>;
movie_current = <200>;
factory_current = <300>;
flashlight_current = <25 75 100 150 200>;
status = "okay";
};

@ -1,32 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-eur-r06.dtsi"
#include "sm7150-sec-a71-eur-pinctrl-r07.dtsi"
&soc {
};

@ -1,48 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};
&tlmm {
usbpd_irq: usbpd_irq {
mux {
pins = "gpio32";
function = "gpio";
};
config {
pins = "gpio32";
drive-strength = <2>;
bias-disable;
input-enable;
};
};
if_pmic_irq: if_pmic_irq {
mux {
pins = "gpio68";
function = "gpio";
};
config {
pins = "gpio68";
drive-strength = <2>; /* 16 mA */
bias-disable;
input-enable;
};
};
};

@ -1,28 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};

@ -1,28 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};

@ -1,28 +0,0 @@
/* Copyright (c) 2019, 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.
*/
&soc {
};

@ -1,36 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-swa-pinctrl-r00.dtsi"
#include "../common/sm7150-sec-a71-common.dtsi"
// #include "sm6150-sec-a70q-input-common.dtsi"
#include "../common/sm7150-sec-a71-pm-common.dtsi"
#include "../drivers/sm7150-sec-a71-eif-r00.dtsi"
#include "../common/sm7150-sec-a71-battery-common.dtsi"
#include "../drivers/sm7150-sec-a71-fingerprint_00.dtsi"
#include "../drivers/sm7150-sec-a71-nfc-r00.dtsi"
#include "../drivers/sm7150-camera-sensor-a71-r00.dtsi"
//#include "../drivers/sm7150-sec-a71-display-r00.dtsi"
&soc {
sec_thermistor@0 {
io-channels = <&pm6150l_vadc ADC_AMUX_THM3_PU2>;
};
};
&pm6150l_vadc {
sdm_therm {
reg = <ADC_AMUX_THM3_PU2>;
};
};

@ -1,17 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-swa-r00.dtsi" #include "sm7150-sec-a71-swa-pinctrl-r01.dtsi" //#include "../drivers/sm7150-sec-a71-display-r01.dtsi"
&soc {
};

@ -1,17 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-swa-r01.dtsi" #include "sm7150-sec-a71-swa-pinctrl-r02.dtsi" //#include "../drivers/sm7150-sec-a71-display-r01.dtsi"
&soc {
};

@ -1,17 +0,0 @@
/* Copyright (c) 2019, 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 "sm7150-sec-a71-swa-r02.dtsi" #include "sm7150-sec-a71-swa-pinctrl-r03.dtsi" //#include "../drivers/sm7150-sec-a71-display-r01.dtsi"
&soc {
};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,170 +0,0 @@
/* Copyright (c) 2016-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 <dt-bindings/input/input.h>
#include <dt-bindings/msm/msm-bus-ids.h>
&pm6150l_l7 {
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>;
regulator-boot-on;
};
&tlmm {
tsp_int: tsp_int {
mux {
pins = "gpio9";
function = "gpio";
};
config {
pins = "gpio9";
input-enable;
bias-disable;
};
};
qupv3_se7_i2c_pins_tsp: qupv3_se7_i2c_pins_tsp {
qupv3_se7_i2c_active_tsp: qupv3_se7_i2c_active_tsp {
mux {
pins = "gpio6", "gpio7";
function = "qup11";
};
config {
pins = "gpio6", "gpio7";
drive-strength = <2>;
bias-disable;
};
};
qupv3_se7_i2c_sleep_tsp: qupv3_se7_i2c_sleep_tsp {
mux {
pins = "gpio6", "gpio7";
function = "gpio";
};
config {
pins = "gpio6", "gpio7";
drive-strength = <2>;
bias-disable;
};
};
};
};
&qupv3_se7_i2c {
status = "ok";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&qupv3_se7_i2c_active_tsp>;
pinctrl-1 = <&qupv3_se7_i2c_sleep_tsp>;
synaptics_tcm@20 {
status = "disabled";
};
atmel_mxt_ts@4a {
status = "disabled";
};
tsp_zt: touchscreen@20 {
status = "disabled";
compatible = "zinitix,zt_ts_device";
reg = <0x20>;
pinctrl-names = "on_state", "off_state";
pinctrl-0 = <&tsp_int>;
pinctrl-1 = <&tsp_int>;
avdd-supply = <&pm6150l_l7>;
zinitix,gpio_ldo_en;
zinitix,irq_type = <0x2008>;
zinitix,x_resolution = <1080>;
zinitix,y_resolution = <2400>;
zinitix,page_size = <0x80>;
zinitix,irq_gpio = <&tlmm 9 0x2008>;
zinitix,chip_name = "ZT7650";
zinitix,firmware_name = "tsp_zinitix/zt7650_a52.bin";
zinitix,spay;
zinitix,aod;
zinitix,aot;
zinitix,mis_cal_check;
support_ear_detect_mode;
support_dex_mode;
zinitix,bringup = <0>;
// zinitix,tclm_level = <0x2>;
// zinitix,afe_base = <0xe>;
zinitix,ss_touch_num = <0x1>;
};
tsp_stm: touchscreen@49 {
status = "disabled";
compatible = "stm,fts_touch";
reg = <0x49>;
pinctrl-names = "default";
pinctrl-0 = <&tsp_int>;
dvdd-supply = <&pm6150_l10>;
avdd-supply = <&pm6150l_l7>;
stm,irq_gpio = <&tlmm 9 0x2008>;
stm,max_coords = <4095 4095>;
stm,firmware_name = "tsp_stm/fts5cu56a_a52.bin";
stm,tclm_level = <2>;
stm,afe_base = <0x14>;
stm,bringup = <0>;
stm,support_fod;
stm,enable_settings_aot;
support_ear_detect;
support_mis_calibration_test;
support_dex_mode;
support_open_short_test;
support_sram_test;
// support_hall_ic;
// support_flex_mode;
stm,ss_touch_num = <1>;
// stm,hw_i2c_reset;
};
};
/delete-node/&key_vol_up_default;
&pm6150l_gpios {
key_vol_up {
key_vol_up_default: key_vol_up_default {
pins = "gpio8";
function = "normal";
input-enable;
bias-pull-up;
power-source = <0>;
};
};
};
/delete-node/&gpio_key;
&gpio_key {
status = "okay";
compatible = "gpio-keys";
input-name = "gpio-keys";
pinctrl-names = "default";
pinctrl-0 = <&key_vol_up_default>;
vol_up {
label = "volume_up";
gpios = <&pm6150l_gpios 8 0x1>;
linux,input-type = <1>;
linux,code = <KEY_VOLUMEUP>;
debounce-interval = <15>;
};
};
&soc {
ss_touch {
compatible = "samsung,ss_touch";
ss_touch,numbers = <1>;
};
};

@ -1,25 +0,0 @@
/* 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 "atoll-sec-common.dtsi"
#include "atoll-sec-a52q-r04.dtsi"
#include "drivers/atoll-sec-a52q-battery-r04.dtsi"
/ {
model = "Samsung A52Q LTN PROJECT REV02 (board-id,04)";
compatible = "qcom,atoll-ab-idp", "qcom,atoll-ab", "qcom,idp";
qcom,board-id = <34 4>;
dtbo-version = <0>;
};

@ -1,25 +0,0 @@
/* 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 "atoll-sec-common.dtsi"
#include "atoll-sec-a52q-r05.dtsi"
#include "drivers/atoll-sec-a52q-battery-r04.dtsi"
/ {
model = "Samsung A52Q LTN PROJECT REV03 (board-id,05)";
compatible = "qcom,atoll-ab-idp", "qcom,atoll-ab", "qcom,idp";
qcom,board-id = <34 5>;
dtbo-version = <0>;
};

@ -1,25 +0,0 @@
/* 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 "atoll-sec-common.dtsi"
#include "atoll-sec-a52q-r06.dtsi"
#include "drivers/atoll-sec-a52q-battery-r04.dtsi"
/ {
model = "Samsung A52Q LTN PROJECT REV03A (board-id,06)";
compatible = "qcom,atoll-ab-idp", "qcom,atoll-ab", "qcom,idp";
qcom,board-id = <34 6>;
dtbo-version = <0>;
};

@ -1,687 +0,0 @@
/* 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 "drivers/atoll-sec-a52q-audio-pinctrl-common.dtsi"
&tlmm {
grip_i2c {
grip_i2c_active: grip_i2c_active {
grip_i2c_active {
pins = "gpio51", "gpio52";
bias-disable;
};
};
grip_i2c_suspend: grip_i2c_suspend {
grip_i2c_suspend {
pins = "gpio51", "gpio52";
bias-disable;
};
};
};
s2mpb03_i2c_sda_default: s2mpb03_i2c_sda_default {
mux {
pins = "gpio25";
function = "gpio";
};
config {
pins = "gpio25";
drive-strength = <2>;
bias-disable;
};
};
s2mpb03_i2c_scl_default: s2mpb03_i2c_scl_default {
mux {
pins = "gpio26";
function = "gpio";
};
config {
pins = "gpio26";
drive-strength = <2>;
bias-disable;
};
};
cam_sensor_mclk0_active: cam_sensor_mclk0_active {
/* Main Rear MCLK */
mux {
pins = "gpio13";
function = "cam_mclk";
};
config {
pins = "gpio13";
bias-disable; /* No PULL */
drive-strength = <4>; /* 4 MA */
};
};
cam_sensor_mclk0_suspend: cam_sensor_mclk0_suspend {
/* Main Rear MCLK */
mux {
pins = "gpio13";
function = "cam_mclk";
};
config {
pins = "gpio13";
bias-pull-down; /* No PULL */
drive-strength = <4>; /* 4 MA */
output-low;
};
};
cam_sensor_mclk1_active: cam_sensor_mclk1_active {
/* FRONT MCLK */
mux {
pins = "gpio23";
function = "cam_mclk";
};
config {
pins = "gpio23";
bias-disable; /* No PULL */
drive-strength = <4>; /* 4 MA */
};
};
cam_sensor_mclk1_suspend: cam_sensor_mclk1_suspend {
/* FRONT MCLK */
mux {
pins = "gpio23";
function = "cam_mclk";
};
config {
pins = "gpio23";
bias-pull-down; /* No PULL */
drive-strength = <4>; /* 4 MA */
output-low;
};
};
cam_sensor_mclk2_active: cam_sensor_mclk2_active {
/* Bokeh Cam MCLK */
mux {
pins = "gpio14";
function = "cam_mclk";
};
config {
pins = "gpio14";
bias-disable; /* No PULL */
drive-strength = <4>; /* 4 MA */
};
};
cam_sensor_mclk2_suspend: cam_sensor_mclk2_suspend {
/* Bokeh Cam MCLK */
mux {
pins = "gpio14";
function = "cam_mclk";
};
config {
pins = "gpio14";
bias-pull-down; /* No PULL */
drive-strength = <4>; /* 4 MA */
output-low;
};
};
cam_sensor_mclk3_active: cam_sensor_mclk3_active {
/* UW Cam MCLK */
mux {
pins = "gpio15";
function = "cam_mclk";
};
config {
pins = "gpio15";
bias-disable; /* No PULL */
drive-strength = <4>; /* 4 MA */
};
};
cam_sensor_mclk3_suspend: cam_sensor_mclk3_suspend {
/* UW Cam MCLK */
mux {
pins = "gpio15";
function = "cam_mclk";
};
config {
pins = "gpio15";
bias-pull-down; /* No PULL */
drive-strength = <4>; /* 4 MA */
output-low;
};
};
cam_sensor_mclk4_active: cam_sensor_mclk4_active {
/* Macro Cam MCLK */
mux {
pins = "gpio16";
function = "cam_mclk";
};
config {
pins = "gpio16";
bias-disable; /* No PULL */
drive-strength = <4>; /* 4 MA */
};
};
cam_sensor_mclk4_suspend: cam_sensor_mclk4_suspend {
/* Macro Cam MCLK */
mux {
pins = "gpio16";
function = "cam_mclk";
};
config {
pins = "gpio16";
bias-pull-down; /* No PULL */
drive-strength = <4>; /* 4 MA */
output-low;
};
};
rcam1_sensor_reset_active: rcam1_sensor_reset_active {
/* Main Rear reset */
mux {
pins = "gpio30";
function = "gpio";
};
config {
pins = "gpio30";
bias-disable; /* No PULL */
drive-strength = <2>; /* 2 MA */
};
};
rcam1_sensor_reset_suspend: rcam1_sensor_reset_suspend {
/* Main Rear reset */
mux {
pins = "gpio30";
function = "gpio";
};
config {
pins = "gpio30";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
front_sensor_reset_active: front_sensor_reset_active {
/* FRONT RESET */
mux {
pins = "gpio21";
function = "gpio";
};
config {
pins = "gpio21";
bias-disable; /* No PULL */
drive-strength = <2>; /* 2 MA */
};
};
front_sensor_reset_suspend: front_sensor_reset_suspend {
/* FRONT RESET */
mux {
pins = "gpio21";
function = "gpio";
};
config {
pins = "gpio21";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
rcam3_sensor_reset_active: rcam3_sensor_reset_active {
/* UW Cam RESET */
mux {
pins = "gpio29";
function = "gpio";
};
config {
pins = "gpio29";
bias-disable; /* No PULL */
drive-strength = <2>; /* 2 MA */
};
};
rcam3_sensor_reset_suspend: rcam3_sensor_reset_suspend {
/* UW Cam RESET */
mux {
pins = "gpio29";
function = "gpio";
};
config {
pins = "gpio29";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
rcam2_sensor_reset_active: rcam2_sensor_reset_active {
/* Bokeh Cam RESET */
mux {
pins = "gpio42";
function = "gpio";
};
config {
pins = "gpio42";
bias-disable; /* No PULL */
drive-strength = <2>; /* 2 MA */
};
};
rcam2_sensor_reset_suspend: rcam2_sensor_reset_suspend {
/* Bokeh Cam RESET */
mux {
pins = "gpio42";
function = "gpio";
};
config {
pins = "gpio42";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
rcam4_sensor_reset_active: rcam4_sensor_reset_active {
/* Macro Cam RESET */
mux {
pins = "gpio24";
function = "gpio";
};
config {
pins = "gpio24";
bias-disable; /* No PULL */
drive-strength = <2>; /* 2 MA */
};
};
rcam4_sensor_reset_suspend: rcam4_sensor_reset_suspend {
/* Macro Cam RESET */
mux {
pins = "gpio24";
function = "gpio";
};
config {
pins = "gpio24";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
rcam1_sensor_vana_active: rcam1_sensor_vana_active {
/* Rear VANA */
mux {
pins = "gpio63";
function = "gpio";
};
config {
pins = "gpio63";
bias-disable; /* No PULL */
drive-strength = <2>; /* 2 MA */
};
};
rcam1_sensor_vana_suspend: rcam1_sensor_vana_suspend {
/* Rear VANA */
mux {
pins = "gpio63";
function = "gpio";
};
config {
pins = "gpio63";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
rcam2_sensor_vana_active: rcam2_sensor_vana_active {
/* Bokeh VANA */
mux {
pins = "gpio64";
function = "gpio";
};
config {
pins = "gpio64";
bias-disable; /* No PULL */
drive-strength = <2>; /* 2 MA */
};
};
rcam2_sensor_vana_suspend: rcam2_sensor_vana_suspend {
/* Bokeh VANA */
mux {
pins = "gpio64";
function = "gpio";
};
config {
pins = "gpio64";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
rcam3_sensor_vana_active: rcam3_sensor_vana_active {
/* UW VANA */
mux {
pins = "gpio65";
function = "gpio";
};
config {
pins = "gpio65";
bias-disable; /* No PULL */
drive-strength = <2>; /* 2 MA */
};
};
rcam3_sensor_vana_suspend: rcam3_sensor_vana_suspend {
/* UW VANA */
mux {
pins = "gpio65";
function = "gpio";
};
config {
pins = "gpio65";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
rcam4_sensor_vana_active: rcam4_sensor_vana_active {
/* Macro VANA */
mux {
pins = "gpio74";
function = "gpio";
};
config {
pins = "gpio74";
bias-disable; /* No PULL */
drive-strength = <2>; /* 2 MA */
};
};
rcam4_sensor_vana_suspend: rcam4_sensor_vana_suspend {
/* Macro VANA */
mux {
pins = "gpio74";
function = "gpio";
};
config {
pins = "gpio74";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
cam_mipi_sel_active: cam_mipi_sel_active {
/* MIPI SEL */
mux {
pins = "gpio66";
function = "gpio";
};
config {
pins = "gpio66";
bias-disable;
output-high;
drive-strength = <2>; /* 2 MA */
};
};
cam_mipi_sel_suspend: cam_mipi_sel_suspend {
/* MIPI SEL */
mux {
pins = "gpio66";
function = "gpio";
};
config {
pins = "gpio66";
bias-pull-down;
output-low;
drive-strength = <2>; /* 2 MA */
};
};
rcam2_sensor_vdig_active: rcam2_sensor_vdig_active {
/* Bokeh VDIG */
mux {
pins = "gpio64";
function = "gpio";
};
config {
pins = "gpio64";
bias-disable; /* No PULL */
drive-strength = <2>; /* 2 MA */
};
};
rcam2_sensor_vdig_suspend: rcam2_sensor_vdig_suspend {
/* Bokeh VDIG */
mux {
pins = "gpio64";
function = "gpio";
};
config {
pins = "gpio64";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
rcam4_sensor_vdig_active: rcam4_sensor_vdig_active {
/* Macro VDIG */
mux {
pins = "gpio74";
function = "gpio";
};
config {
pins = "gpio74";
bias-disable; /* No PULL */
drive-strength = <2>; /* 2 MA */
};
};
rcam4_sensor_vdig_suspend: rcam4_sensor_vdig_suspend {
/* Macro VDIG */
mux {
pins = "gpio74";
function = "gpio";
};
config {
pins = "gpio74";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
if_pmic_i2c_pins: if_pmic_i2c_pins {
if_pmic_i2c_sleep: if_pmic_i2c_sleep {
mux {
pins = "gpio115", "gpio116";
function = "gpio";
};
config {
pins = "gpio115", "gpio116";
drive-strength = <2>;
input-enable;
bias-disable;
};
};
};
usbpd_i2c_pins: usbpd_i2c_pins {
usbpd_i2c_sleep: usbpd_i2c_sleep {
mux {
pins = "gpio53", "gpio54";
function = "gpio";
};
config {
pins = "gpio53", "gpio54";
drive-strength = <2>;
input-enable;
bias-disable;
};
};
};
mcu_reset_active: mcu_reset_active {
/* MCU Reset */
mux {
pins = "gpio32";
function = "gpio";
};
config {
pins = "gpio32";
bias-disable; /* No PULL */
/*output-high;*/
drive-strength = <2>; /* 2 MA */
};
};
mcu_reset_suspend: mcu_reset_suspend {
/* MCU Reset */
mux {
pins = "gpio32";
function = "gpio";
};
config {
pins = "gpio32";
bias-pull-down; /* PULL DOWN */
output-low;
drive-strength = <2>; /* 2 MA */
};
};
mcu_clk_active: mcu_clk_active {
/* MCU CLK */
mux {
pins = "gpio43";
function = "gpio";
};
config {
pins = "gpio43";
bias-disable; /* No PULL */
//output-high;
drive-strength = <2>; /* 2 MA */
};
};
mcu_clk_suspend: mcu_clk_suspend {
/* MCU Reset */
mux {
pins = "gpio43";
function = "gpio";
};
config {
pins = "gpio43";
bias-pull-down; /* PULL DOWN */
output-low;
drive-strength = <2>; /* 2 MA */
};
};
torch_en_active: torch_en_active {
mux {
pins = "gpio67" ,"gpio22";
function = "gpio";
};
config {
pins = "gpio67" ,"gpio22";
bias-pull-down; /* PULL DOWN */
output-high;
drive-strength = <2>; /* 2 MA */
};
};
torch_en_suspend: torch_en_suspend {
mux {
pins = "gpio67" ,"gpio22";
function = "gpio";
};
config {
pins = "gpio67" ,"gpio22";
bias-pull-down; /* PULL DOWN */
output-low;
drive-strength = <2>; /* 2 MA */
};
};
};
&pm6150l_gpios {
grip_int_active: grip_int_active {
pins = "gpio5";
function = "normal";
power-source = <0>;
input-enable;
bias-disable;
};
grip_int_suspend: grip_int_suspend {
pins = "gpio5";
function = "normal";
power-source = <0>;
input-enable;
bias-disable;
};
};
&tlmm {
wakeup-disabled-gpios = <
0 /* SPI : NFC_ESE_MISO */
3 /* LAGOON : NFC_ESE_CS_N */
6 /* I2C : TSP_SDA_1P8 */
10 /* LAGOON : DISP_TE */
16 /* MCLK : RCAM4_MCLK */
21 /* RST_N : FCAM_RST_N */
22 /* EN : CAM_FLASH_EN */
23 /* MCLK : FCAM_MCLK */
24 /* RST_N : RCAM4_RST_N */
26 /* HW-REVIEW : MCU_BOOT0_SWCLK */
28 /* I2C : FCAM_RCAM2_RCAM4_SENSOR_I2C_SCL_1P8 */
30 /* RST_N : RCAM1_RST_N */
32 /* RST_N : MCU_nRST */
34 /* I2C : NFC_SDA_1P8 */
36 /* LAGOON : NFC_FIRM */
37 /* LAGOON : NFC_IRQ */
38 /* HW-REVIEW : BT_UART_CTS */
39 /* HW-REVIEW : BT_UART_RTS */
42 /* I2C : CC_SDA_1P8 */
43 /* I2C : CC_SCL_1P8 */
45 /* UART : AP_UART_RXD */
47 /* I2C : CAM_AF_EEP_I2C_SCL_1P8 */
49 /* LAGOON : BT_FM_SB_CLK */
52 /* I2C : GRIP_SCL_1P8 */
53 /* I2C : CAM_PMIC_I2C_SDA_1P8 */
56 /* LAGOON : MST_DATA_B */
57 /* EN : MST_LDO_EN */
58 /* RST_N : CODEC_RST_N */
59 /* SPI : BTP_SPI_MISO */
62 /* SPI : BTP_SPI_CS_N */
63 /* EN : RCAM1_LDO_EN */
64 /* EN : RCAM2_LDO_EN */
65 /* EN : RCAM3_LDO_EN */
66 /* LAGOON : CAM_SEL */
67 /* EN : BTP_LDO_EN */
68 /* EN : NFC_LDO_EN */
69 /* LAGOON : T_FLASH_DET */
72 /* EN : FM_LAN_EN */
74 /* EN : RCAM4_LDO_EN */
78 /* NC : NC */
84 /* NC : NC */
86 /* I2C : AP_MCU_SDA_1P8 */
87 /* I2C : AP_MCU_SCL_1P8 */
91 /* RST_N : BTP_RST_N */
93 /* UNUSED : HALL_INT1 */
95 /* NC : NC */
98 /* NC : NC */
109 /* LAGOON : CP_WLAN_COEX_RXD */
114 /* LAGOON : AP_USB_BOOT_POL_SEL */
115 /* I2C : IF_PMIC_SDA_1P8 */
116 /* I2C : IF_PMIC_SCL_1P8 */
117 /* NC : NC */
118 /* EN : NFC_ESE_EN */
>;
};

@ -1,73 +0,0 @@
/* 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.
*/
&tlmm {
wakeup-disabled-gpios = <
0 /* SPI : NFC_ESE_MISO */
3 /* LAGOON : NFC_ESE_CS_N */
6 /* I2C : TSP_SDA_1P8 */
10 /* LAGOON : DISP_TE */
16 /* MCLK : RCAM4_MCLK */
21 /* RST_N : FCAM_RST_N */
22 /* EN : CAM_FLASH_EN */
23 /* MCLK : FCAM_MCLK */
24 /* RST_N : RCAM4_RST_N */
26 /* I2C : CAM_PMIC_I2C_SCL_1P8 */
28 /* I2C : FCAM_RCAM2_RCAM4_SENSOR_I2C_SCL_1P8 */
30 /* RST_N : RCAM1_RST_N */
32 /* RST_N : MCU_nRST */
34 /* I2C : NFC_SDA_1P8 */
36 /* LAGOON : NFC_FIRM */
37 /* LAGOON : NFC_IRQ */
38 /* HW-REVIEW : BT_UART_CTS */
39 /* HW-REVIEW : BT_UART_RTS */
42 /* RST_N : RCAM2_RST_N */
43 /* HW-REVIEW : MCU_BOOT0_SWCLK */
45 /* UART : AP_UART_RXD */
47 /* I2C : CAM_AF_EEP_I2C_SCL_1P8 */
49 /* LAGOON : BT_FM_SB_CLK */
52 /* I2C : GRIP_SCL_1P8 */
53 /* I2C : CC_SDA_1P8 */
56 /* LAGOON : MST_DATA_B */
57 /* EN : MST_LDO_EN */
58 /* RST_N : CODEC_RST_N */
59 /* SPI : BTP_SPI_MISO */
62 /* SPI : BTP_SPI_CS_N */
63 /* EN : RCAM1_LDO_EN */
64 /* EN : RCAM2_LDO_EN */
65 /* EN : RCAM3_LDO_EN */
66 /* LAGOON : CAM_SEL */
67 /* EN : BTP_LDO_EN */
68 /* EN : NFC_LDO_EN */
69 /* LAGOON : T_FLASH_DET */
72 /* EN : FM_LAN_EN */
74 /* EN : RCAM4_LDO_EN */
78 /* NC : NC */
84 /* NC : NC */
86 /* I2C : AP_MCU_SDA_1P8 */
87 /* I2C : AP_MCU_SCL_1P8 */
88 /* I2C : SPK_AMP_SDA_1P8 */
89 /* I2C : SPK_AMP_SCL_1P8 */
90 /* HW-REVIEW : SPK_AMP_INT */
91 /* RST_N : BTP_RST_N */
93 /* UNUSED : HALL_INT1 */
94 /* EN : SPK_AMP_EN */
95 /* HW-REVIEW : FAST_BOOT_SEL0 */
98 /* HW-REVIEW : FAST_BOOT_SEL3 */
109 /* LAGOON : CP_WLAN_COEX_RXD */
114 /* LAGOON : AP_USB_BOOT_POL_SEL */
115 /* I2C : IF_PMIC_SDA_1P8 */
116 /* I2C : IF_PMIC_SCL_1P8 */
117 /* NC : NC */
118 /* EN : NFC_ESE_EN */
>;
};

@ -1,99 +0,0 @@
/* 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.
*/
&rcam4_sensor_vana_active {
/* Macro VANA */
mux {
pins = "gpio64";
function = "gpio";
};
config {
pins = "gpio64";
bias-disable; /* No PULL */
drive-strength = <2>; /* 2 MA */
};
};
&rcam4_sensor_vana_suspend {
/* Macro VANA */
mux {
pins = "gpio64";
function = "gpio";
};
config {
pins = "gpio64";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
&tlmm {
wakeup-disabled-gpios = <
0 /* SPI : NFC_ESE_MISO */
3 /* LAGOON : NFC_ESE_CS_N */
6 /* I2C : TSP_SDA_1P8 */
10 /* LAGOON : DISP_TE */
11 /* LCD/HW-REVIEW : EL_ON1_DET */
16 /* MCLK : RCAM4_MCLK */
21 /* RST_N : FCAM_RST_N */
22 /* EN : CAM_FLASH_EN */
23 /* MCLK : FCAM_MCLK */
24 /* RST_N : RCAM4_RST_N */
26 /* I2C : CAM_PMIC_I2C_SCL_1P8 */
28 /* I2C : FCAM_RCAM2_RCAM4_SENSOR_I2C_SCL_1P8 */
30 /* RST_N : RCAM1_RST_N */
32 /* RST_N : MCU_nRST */
34 /* I2C : NFC_SDA_1P8 */
36 /* LAGOON : NFC_FIRM */
37 /* LAGOON : NFC_IRQ */
38 /* HW-REVIEW : BT_UART_CTS */
39 /* HW-REVIEW : BT_UART_RTS */
42 /* RST_N : RCAM2_RST_N */
43 /* HW-REVIEW : MCU_BOOT0_SWCLK */
45 /* UART : AP_UART_RXD */
47 /* I2C : CAM_AF_EEP_I2C_SCL_1P8 */
49 /* LAGOON : BT_FM_SB_CLK */
52 /* I2C : GRIP_SCL_1P8 */
53 /* I2C : CC_SDA_1P8 */
55 /* NC : NC */
57 /* EN : HAPTIC_EN */
58 /* RST_N : CODEC_RST_N */
59 /* SPI : BTP_SPI_MISO */
62 /* SPI : BTP_SPI_CS_N */
63 /* EN : RCAM1_LDO_EN */
64 /* EN : RCAM2_RCAM4_LDO_EN */
65 /* EN : RCAM3_LDO_EN */
66 /* LAGOON : CAM_SEL */
67 /* EN : CAM_TORCH_EN */
68 /* EN : NFC_LDO_EN */
69 /* LAGOON : T_FLASH_DET */
74 /* NC : NC */
78 /* NC : NC */
84 /* EN : FM_LNA_EN */
86 /* I2C : AP_MCU_SDA_1P8 */
87 /* I2C : AP_MCU_SCL_1P8 */
88 /* I2C : SPK_AMP_SDA_1P8 */
89 /* I2C : SPK_AMP_SCL_1P8 */
90 /* HW-REVIEW : SPK_AMP_INT */
91 /* RST_N : BTP_RST_N */
93 /* UNUSED : HALL_INT1 */
94 /* EN : SPK_AMP_EN */
95 /* HW-REVIEW : FAST_BOOT_SEL0 */
98 /* HW-REVIEW : FAST_BOOT_SEL3 */
107 /* HW-REVIEW : FAST_BOOT_SEL2 */
109 /* LAGOON : CP_WLAN_COEX_RXD */
114 /* LAGOON : AP_USB_BOOT_POL_SEL */
115 /* I2C : IF_PMIC_SDA_1P8 */
116 /* I2C : IF_PMIC_SCL_1P8 */
118 /* EN : NFC_ESE_EN */
>;
};

@ -1,74 +0,0 @@
/* 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.
*/
&tlmm {
wakeup-disabled-gpios = <
0 /* SPI : NFC_ESE_MISO */
3 /* LAGOON : NFC_ESE_CS_N */
6 /* I2C : TSP_SDA_1P8 */
10 /* LAGOON : DISP_TE */
11 /* LCD/HW-REVIEW : EL_ON1_DET */
16 /* MCLK : RCAM4_MCLK */
21 /* RST_N : FCAM_RST_N */
22 /* EN : CAM_FLASH_EN */
23 /* MCLK : FCAM_MCLK */
24 /* RST_N : RCAM4_RST_N */
26 /* I2C : CAM_PMIC_I2C_SCL_1P8 */
28 /* I2C : FCAM_RCAM2_RCAM4_SENSOR_I2C_SCL_1P8 */
30 /* RST_N : RCAM1_RST_N */
32 /* RST_N : MCU_nRST */
34 /* I2C : NFC_SDA_1P8 */
36 /* LAGOON : NFC_FIRM */
37 /* LAGOON : NFC_IRQ */
38 /* HW-REVIEW : BT_UART_CTS */
39 /* HW-REVIEW : BT_UART_RTS */
42 /* RST_N : RCAM2_RST_N */
43 /* HW-REVIEW : MCU_BOOT0_SWCLK */
45 /* UART : AP_UART_RXD */
47 /* I2C : CAM_AF_EEP_I2C_SCL_1P8 */
49 /* LAGOON : BT_FM_SB_CLK */
52 /* I2C : GRIP_SCL_1P8 */
53 /* I2C : CC_SDA_1P8 */
55 /* NC : NC */
56 /* NC : NC */
57 /* NC : NC */
58 /* RST_N : CODEC_RST_N */
59 /* SPI : BTP_SPI_MISO */
62 /* SPI : BTP_SPI_CS_N */
63 /* EN : RCAM1_LDO_EN */
64 /* EN : RCAM2_RCAM4_LDO_EN */
65 /* EN : RCAM3_LDO_EN */
66 /* LAGOON : CAM_SEL */
67 /* EN : CAM_TORCH_EN */
68 /* EN : NFC_LDO_EN */
69 /* LAGOON : T_FLASH_DET */
74 /* NC : NC */
78 /* NC : NC */
84 /* EN : FM_LNA_EN */
86 /* I2C : AP_MCU_SDA_1P8 */
87 /* I2C : AP_MCU_SCL_1P8 */
88 /* I2C : SPK_AMP_SDA_1P8 */
89 /* I2C : SPK_AMP_SCL_1P8 */
90 /* HW-REVIEW : SPK_AMP_INT */
91 /* RST_N : BTP_RST_N */
93 /* UNUSED : HALL_INT1 */
94 /* EN : SPK_AMP_EN */
95 /* HW-REVIEW : FAST_BOOT_SEL0 */
98 /* HW-REVIEW : FAST_BOOT_SEL3 */
107 /* HW-REVIEW : FAST_BOOT_SEL2 */
109 /* LAGOON : CP_WLAN_COEX_RXD */
114 /* LAGOON : AP_USB_BOOT_POL_SEL */
115 /* I2C : IF_PMIC_SDA_1P8 */
116 /* I2C : IF_PMIC_SCL_1P8 */
118 /* EN : NFC_ESE_EN */
>;
};

@ -1,74 +0,0 @@
/* 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.
*/
&tlmm {
wakeup-disabled-gpios = <
0 /* NC : NC */
3 /* NC : NC */
6 /* I2C : TSP_SDA_1P8 */
10 /* LAGOON : DISP_TE */
11 /* LCD/HW-REVIEW : EL_ON1_DET */
16 /* MCLK : RCAM4_MCLK */
21 /* RST_N : FCAM_RST_N */
22 /* EN : CAM_FLASH_EN */
23 /* MCLK : FCAM_MCLK */
24 /* RST_N : RCAM4_RST_N */
26 /* I2C : CAM_PMIC_I2C_SCL_1P8 */
28 /* I2C : FCAM_RCAM2_RCAM4_SENSOR_I2C_SCL_1P8 */
30 /* RST_N : RCAM1_RST_N */
32 /* RST_N : MCU_nRST */
34 /* I2C : NFC_SDA_1P8 */
36 /* LAGOON : NFC_FIRM */
37 /* LAGOON : NFC_IRQ */
38 /* HW-REVIEW : BT_UART_CTS */
39 /* HW-REVIEW : BT_UART_RTS */
42 /* RST_N : RCAM2_RST_N */
43 /* HW-REVIEW : MCU_BOOT0_SWCLK */
45 /* UART : AP_UART_RXD */
47 /* I2C : CAM_AF_EEP_I2C_SCL_1P8 */
49 /* LAGOON : BT_FM_SB_CLK */
52 /* I2C : GRIP_SCL_1P8 */
53 /* I2C : CC_SDA_1P8 */
55 /* NC : NC */
56 /* NC : NC */
57 /* NC : NC */
58 /* RST_N : CODEC_RST_N */
59 /* SPI : BTP_SPI_MISO */
62 /* SPI : BTP_SPI_CS_N */
63 /* EN : RCAM1_LDO_EN */
64 /* EN : RCAM2_RCAM4_LDO_EN */
65 /* EN : RCAM3_LDO_EN */
66 /* LAGOON : CAM_SEL */
67 /* EN : CAM_TORCH_EN */
68 /* EN : NFC_LDO_EN */
69 /* LAGOON : T_FLASH_DET */
74 /* NC : NC */
78 /* NC : NC */
84 /* EN : FM_LNA_EN */
86 /* I2C : AP_MCU_SDA_1P8 */
87 /* I2C : AP_MCU_SCL_1P8 */
88 /* I2C : SPK_AMP_SDA_1P8 */
89 /* I2C : SPK_AMP_SCL_1P8 */
90 /* HW-REVIEW : SPK_AMP_INT */
91 /* RST_N : BTP_RST_N */
93 /* UNUSED : HALL_INT1 */
94 /* EN : SPK_AMP_EN */
95 /* HW-REVIEW : FAST_BOOT_SEL0 */
98 /* HW-REVIEW : FAST_BOOT_SEL3 */
107 /* HW-REVIEW : FAST_BOOT_SEL2 */
109 /* LAGOON : CP_WLAN_COEX_RXD */
114 /* LAGOON : AP_USB_BOOT_POL_SEL */
115 /* I2C : IF_PMIC_SDA_1P8 */
116 /* I2C : IF_PMIC_SCL_1P8 */
118 /* NC : NC */
>;
};

@ -1,74 +0,0 @@
/* 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.
*/
&tlmm {
wakeup-disabled-gpios = <
0 /* NC : NC */
3 /* NC : NC */
6 /* I2C : TSP_SDA_1P8 */
10 /* LAGOON : DISP_TE */
11 /* LCD/HW-REVIEW : EL_ON1_DET */
16 /* MCLK : RCAM4_MCLK */
21 /* RST_N : FCAM_RST_N */
22 /* EN : CAM_FLASH_EN */
23 /* MCLK : FCAM_MCLK */
24 /* RST_N : RCAM4_RST_N */
26 /* I2C : CAM_PMIC_I2C_SCL_1P8 */
28 /* I2C : FCAM_RCAM2_RCAM4_SENSOR_I2C_SCL_1P8 */
30 /* RST_N : RCAM1_RST_N */
32 /* RST_N : MCU_nRST */
34 /* I2C : NFC_SDA_1P8 */
36 /* LAGOON : NFC_FIRM */
37 /* LAGOON : NFC_IRQ */
38 /* HW-REVIEW : BT_UART_CTS */
39 /* HW-REVIEW : BT_UART_RTS */
42 /* RST_N : RCAM2_RST_N */
43 /* HW-REVIEW : MCU_BOOT0_SWCLK */
45 /* UART : AP_UART_RXD */
47 /* I2C : CAM_AF_EEP_I2C_SCL_1P8 */
49 /* LAGOON : BT_FM_SB_CLK */
52 /* I2C : GRIP_SCL_1P8 */
53 /* I2C : CC_SDA_1P8 */
55 /* NC : NC */
56 /* NC : NC */
57 /* EN : MOT_EN */
58 /* RST_N : CODEC_RST_N */
59 /* SPI : BTP_SPI_MISO */
62 /* SPI : BTP_SPI_CS_N */
63 /* EN : RCAM1_LDO_EN */
64 /* EN : RCAM2_RCAM4_LDO_EN */
65 /* EN : RCAM3_LDO_EN */
66 /* LAGOON : CAM_SEL */
67 /* EN : CAM_TORCH_EN */
68 /* EN : NFC_LDO_EN */
69 /* LAGOON : T_FLASH_DET */
74 /* NC : NC */
78 /* NC : NC */
84 /* EN : FM_LNA_EN */
86 /* I2C : AP_MCU_SDA_1P8 */
87 /* I2C : AP_MCU_SCL_1P8 */
88 /* I2C : SPK_AMP_SDA_1P8 */
89 /* I2C : SPK_AMP_SCL_1P8 */
90 /* HW-REVIEW : SPK_AMP_INT */
91 /* RST_N : BTP_RST_N */
93 /* UNUSED : HALL_INT1 */
94 /* EN : SPK_AMP_EN */
95 /* HW-REVIEW : FAST_BOOT_SEL0 */
98 /* HW-REVIEW : FAST_BOOT_SEL3 */
107 /* HW-REVIEW : FAST_BOOT_SEL2 */
109 /* LAGOON : CP_WLAN_COEX_RXD */
114 /* LAGOON : AP_USB_BOOT_POL_SEL */
115 /* I2C : IF_PMIC_SDA_1P8 */
116 /* I2C : IF_PMIC_SCL_1P8 */
118 /* NC : NC */
>;
};

@ -1,169 +0,0 @@
/* 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 "atoll-sec-pm-common.dtsi"
&soc {
/* AP Thermistor table */
sec_thermistor@0 {
compatible = "samsung,sec-ap-thermistor";
status = "okay";
io-channels = <&pm6150_vadc ADC_AMUX_THM2_PU2>;
io-channel-names = "ap_therm";
adc_array = <1700 2190 2576 3046 3583 4240 4993
5876 6940 8121 9339 10812 12445
14086 15773 17384 19110 20676 22090 23374 24495 25465 26282>;
temp_array = <900 850 800 750 700 650 600
550 500 450 400 350 300
250 200 150 100 50 0 (-50) (-100) (-150) (-200)>;
};
/* PA Thermistor table */
sec_thermistor@1 {
compatible = "samsung,sec-pa-thermistor";
status = "okay";
io-channels = <&pm6150l_vadc ADC_AMUX_THM2_PU2>;
io-channel-names = "pa_therm";
adc_array = <1800 2239 2631 3097 3640 4290 5056
5949 7006 8191 9423 10888 12510
14166 15850 17469 19165 20736 22147 23446 24559 25515 26328>;
temp_array = <900 850 800 750 700 650 600
550 500 450 400 350 300
250 200 150 100 50 0 (-50) (-100) (-150) (-200)>;
};
/* WiFi Thermistor table */
sec_thermistor@2 {
compatible = "samsung,sec-wf-thermistor";
status = "okay";
io-channels = <&pm6150l_vadc ADC_AMUX_THM3_PU2>;
io-channel-names = "wf_therm";
adc_array = <1800 2261 2662 3125 3669 4308 5088
5990 7041 8225 9459 10915 12532
14188 15881 17502 19180 20741 22156 23459 24569 25524 26336>;
temp_array = <900 850 800 750 700 650 600
550 500 450 400 350 300
250 200 150 100 50 0 (-50) (-100) (-150) (-200)>;
};
/* S2MPB03 Camera PMIC */
i2c2: i2c@2 {
cell-index = <2>;
compatible = "i2c-gpio";
gpios = <&tlmm 25 0 /* sda */
&tlmm 26 0 /* scl */
>;
#i2c-gpio,delay-us = <2>;
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&s2mpb03_i2c_sda_default &s2mpb03_i2c_scl_default>;
/* S2MPB03 Camera PMIC */
s2mpb03@56 {
compatible = "samsung,s2mpb03pmic";
reg = <0x56>;
additional_reg_init;
regulators {
s2mpb03_l1: s2mpb03-ldo1 {
regulator-name = "s2mpb03-ldo1";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1050000>;
};
s2mpb03_l2: s2mpb03-ldo2 {
regulator-name = "s2mpb03-ldo2";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1100000>;
};
s2mpb03_l3: s2mpb03-ldo3 {
regulator-name = "s2mpb03-ldo3";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
s2mpb03_l4: s2mpb03-ldo4 {
regulator-name = "s2mpb03-ldo4";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
};
s2mpb03_l5: s2mpb03-ldo5 {
regulator-name = "s2mpb03-ldo5";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2900000>;
};
s2mpb03_l6: s2mpb03-ldo6 {
regulator-name = "s2mpb03-ldo6";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2900000>;
};
s2mpb03_l7: s2mpb03-ldo7 {
regulator-name = "s2mpb03-ldo7";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
};
};
};
};
};
&pm6150_gpios {
interrupts = <0x0 0xc0 0 IRQ_TYPE_NONE>,
<0x0 0xc1 0 IRQ_TYPE_NONE>,
<0x0 0xc2 0 IRQ_TYPE_NONE>,
<0x0 0xc3 0 IRQ_TYPE_NONE>,
<0x0 0xc4 0 IRQ_TYPE_NONE>,
<0x0 0xc6 0 IRQ_TYPE_NONE>,
<0x0 0xc7 0 IRQ_TYPE_NONE>,
<0x0 0xc9 0 IRQ_TYPE_NONE>;
interrupt-names = "pm6150_gpio1", "pm6150_gpio2",
"pm6150_gpio3", "pm6150_gpio4", "pm6150_gpio5",
"pm6150_gpio7", "pm6150_gpio8",
"pm6150_gpio10";
qcom,gpios-disallowed = <6 9>;
};
&pm6150_vadc {
ap_therm {
reg = <ADC_AMUX_THM2_PU2>;
label = "ap_therm";
qcom,ratiometric;
qcom,hw-settle-time = <200>;
qcom,pre-scaling = <1 1>;
};
};
&pm6150l_vadc {
/delete-node/ pa_therm0;
pa_therm {
reg = <ADC_AMUX_THM2_PU2>;
label = "pa_therm";
qcom,ratiometric;
qcom,hw-settle-time = <200>;
qcom,pre-scaling = <1 1>;
};
wf_therm {
reg = <ADC_AMUX_THM3_PU2>;
label = "wf_therm";
qcom,ratiometric;
qcom,hw-settle-time = <200>;
qcom,pre-scaling = <1 1>;
};
};

@ -1,104 +0,0 @@
/* 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 "drivers/atoll-sec-a52q-audio-common.dtsi"
#include "atoll-sec-a52q-pinctrl-r00.dtsi"
#include "atoll-sec-a52q-pm-common.dtsi"
#include "atoll-sec-a52q-input-common.dtsi"
#include "drivers/atoll-sec-a52q-display-r00.dtsi"
#include "drivers/atoll-sec-a52q-usb-r00.dtsi"
#include "drivers/atoll-sec-a52q-fingerprint_00.dtsi"
#include "drivers/atoll-sec-a52q-camera-sensor-common.dtsi"
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
#include "drivers/atoll-sec-a52q-vibrator-r00.dtsi"
#include "drivers/atoll-sec-a52q-nfc_r00.dtsi"
#include "drivers/atoll-sec-a52q-hall-r00.dtsi"
#include "drivers/atoll-sec-a52q-abc-r00.dtsi"
&soc {
//Sensor Vdd
rpmh-regulator-ldoc8 {
compatible = "qcom,rpmh-vrm-regulator";
mboxes = <&apps_rsc 0>;
qcom,resource-name = "ldoc8";
qcom,regulator-type = "pmic5-ldo";
qcom,supported-modes =
<RPMH_REGULATOR_MODE_LPM
RPMH_REGULATOR_MODE_HPM>;
qcom,mode-threshold-currents = <0 1>;
L8C:
pm6150l_l8: regulator-pm6150l-l8 {
regulator-name = "pm6150l_l8";
qcom,set = <RPMH_REGULATOR_SET_ALL>;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
qcom,init-voltage = <1800000>;
regulator-always-on;
qcom,init-mode =
<RPMH_REGULATOR_MODE_LPM>;
};
};
//Grip Sensor Vdd
rpmh-regulator-ldoa5 {
pm6150_l5: regulator-pm6150-l5 {
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
qcom,init-voltage = <3300000>;
regulator-always-on;
};
};
i2c_17: i2c@17 { /* SW I2C */
status = "ok";
cell-index = <17>;
compatible = "i2c-gpio";
gpios = <&tlmm 51 0 /* sda */
&tlmm 52 0 /* scl */
>;
#i2c-gpio,delay-us = <2>;
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&grip_i2c_active>;
sx9360-i2c@28 {
compatible = "sx9360";
reg = <0x28>;
pinctrl-names = "default";
pinctrl-0 = <&grip_int_active>;
interrupt-parent = <&spmi_bus>;
interrupts = <0x4 0xc4 0 IRQ_TYPE_EDGE_FALLING>;
sx9360,nirq-gpio = <&pm6150l_gpios 5 GPIO_ACTIVE_LOW>;
sx9360,reggnrlctrl2_reg = <0x32>; /* scanperiod: 102ms */
sx9360,againfreq_reg = <0x38>; /* freq : 62.5 kHz, again : +/-5.25 pF */
sx9360,refagainfreq_reg = <0x36>; /* reference phase again : 5.25 pF, sampling freq : 83.33 khz */
sx9360,gainrawfilt_reg = <0x1A>; /* gain: x4, rawfilt : 1-1/4 */
sx9360,refgainrawfilt_reg = <0x22>; /* reference phase gain: x8, rawfilt : 1-1/4 */
sx9360,proxthresh_reg = <0x22>; /* threshold: 614 */
sx9360,hyst_reg = <0x15>; /* hysteresis: small, closedeb: 2 samples, fardeb: 2 samples */
sx9360,regproxctrl3_reg = <0x0C>; /* AVGPOSFILT: 1/256, AVGNEGFILT: 1/2 */
sx9360,resolution_reg = <0x0F>; /* resolution: 1204 */
sx9360,refresolution_reg = <0x0F>; /* reference phase resolution: 1204 */
sx9360,hallic_cert_detect = <1>;
};
};
};
&tsp_zt {
status = "okay";
zinitix,bringup = <1>;
};

@ -1,23 +0,0 @@
/* 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 "atoll-sec-a52q-r00.dtsi"
#include "atoll-sec-a52q-pinctrl-r01.dtsi"
&soc {
};
&tsp_zt {
status = "okay";
zinitix,bringup = <0>;
};

@ -1,24 +0,0 @@
/* 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 "atoll-sec-a52q-r01.dtsi"
#include "atoll-sec-a52q-pinctrl-r02.dtsi"
#include "drivers/atoll-sec-a52q-camera-sensor-r02.dtsi"
&vibrator {
samsung,vib_en = <&tlmm 57 0>;
};
&tsp_zt {
status = "okay";
zinitix,bringup = <0>;
};

@ -1,26 +0,0 @@
/* 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 "atoll-sec-a52q-r02.dtsi"
#include "atoll-sec-a52q-pinctrl-r04.dtsi"
&vibrator {
/delete-property/ samsung,vib_en;
};
&tsp_zt {
status = "disabled";
};
&tsp_stm {
status = "okay";
};

@ -1,18 +0,0 @@
/* 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 "atoll-sec-a52q-r04.dtsi"
#include "atoll-sec-a52q-pinctrl-r05.dtsi"
&soc {
};

@ -1,25 +0,0 @@
/* 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 "atoll-sec-a52q-r05.dtsi"
#include "atoll-sec-a52q-pinctrl-r06.dtsi"
/delete-node/ &vibrator;
&soc {
msm_vibrator {
compatible = "vibrator";
motor-vdd_type = <0>; /* 0: gpio, 1: pmic */
motor-en = <&tlmm 57 0x0>;
samsung,vib_type = "COINDC";
};
};

@ -1,28 +0,0 @@
/* 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.
*/
&reserved_memory {
camera_mem: camera_mem_region {
reg = <0x1 0x20000000 0x0 0x25800000>;
ion,recyclable;
};
};
&soc {
qcom,ion {
qcom,ion-heap@30 { /* CAMERA HEAP */
reg = <30>;
memory-region = <&camera_mem>;
qcom,ion-heap-type = "RBIN";
};
};
};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,139 +0,0 @@
/* Copyright (c) 2016-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 <dt-bindings/input/input.h>
#include <dt-bindings/msm/msm-bus-ids.h>
&pm6150l_l7 {
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>;
regulator-boot-on;
};
&tlmm {
tsp_int: tsp_int {
mux {
pins = "gpio9";
function = "gpio";
};
config {
pins = "gpio9";
input-enable;
bias-disable;
};
};
};
&qupv3_se7_i2c {
status = "ok";
synaptics_tcm@20 {
status = "disabled";
};
atmel_mxt_ts@4a {
status = "disabled";
};
tsp_zt: touchscreen@20 {
status = "ok";
compatible = "zinitix,zt_ts_device";
reg = <0x20>;
pinctrl-names = "on_state", "off_state";
pinctrl-0 = <&tsp_int>;
pinctrl-1 = <&tsp_int>;
avdd-supply = <&pm6150l_l7>;
zinitix,gpio_ldo_en;
zinitix,irq_type = <0x2008>;
zinitix,x_resolution = <1080>;
zinitix,y_resolution = <2400>;
zinitix,page_size = <0x80>;
zinitix,irq_gpio = <&tlmm 9 0x2008>;
zinitix,chip_name = "ZT7650";
zinitix,select_lcdid = <0x801000 0x801001 0x801002>;
zinitix,firmware_name = "tsp_zinitix/zt7650_a72.bin", "tsp_zinitix/zt7650_a72.bin", "tsp_zinitix/zt7650_a72_3rd.bin";
zinitix,spay;
zinitix,aod;
zinitix,aot;
zinitix,mis_cal_check;
support_ear_detect_mode;
support_dex_mode;
zinitix,bringup = <0>;
// zinitix,tclm_level = <0x2>;
// zinitix,afe_base = <0xe>;
zinitix,ss_touch_num = <0x1>;
};
tsp_stm: touchscreen@49 {
status = "ok";
compatible = "stm,fts_touch";
reg = <0x49>;
pinctrl-names = "default";
pinctrl-0 = <&tsp_int>;
/* dvdd-supply = <&pm6150_l10>; */
avdd-supply = <&pm6150l_l7>;
stm,irq_gpio = <&tlmm 9 0x2008>;
stm,max_coords = <4095 4095>;
stm,firmware_name = "tsp_stm/fts5cu56a_a72.bin";
stm,tclm_level = <2>;
stm,afe_base = <0x7>;
stm,bringup = <0>;
stm,support_fod;
stm,enable_settings_aot;
support_ear_detect;
support_mis_calibration_test;
support_dex_mode;
support_open_short_test;
support_sram_test;
// support_hall_ic;
// support_flex_mode;
stm,ss_touch_num = <1>;
// stm,hw_i2c_reset;
};
};
/delete-node/&key_vol_up_default;
&pm6150l_gpios {
key_vol_up {
key_vol_up_default: key_vol_up_default {
pins = "gpio8";
function = "normal";
input-enable;
bias-pull-up;
power-source = <0>;
};
};
};
/delete-node/&gpio_key;
&gpio_key {
status = "okay";
compatible = "gpio-keys";
input-name = "gpio-keys";
pinctrl-names = "default";
pinctrl-0 = <&key_vol_up_default>;
vol_up {
label = "volume_up";
gpios = <&pm6150l_gpios 8 0x1>;
linux,input-type = <1>;
linux,code = <KEY_VOLUMEUP>;
debounce-interval = <15>;
};
};
&soc {
ss_touch {
compatible = "samsung,ss_touch";
ss_touch,numbers = <1>;
};
};

@ -1,25 +0,0 @@
/* 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 "atoll-sec-common.dtsi"
#include "atoll-sec-a72q-r00.dtsi"
#include "drivers/atoll-sec-a72q-battery-common.dtsi"
/ {
model = "Samsung A72Q PROJECT (board-id,00)";
compatible = "qcom,atoll-ab-idp", "qcom,atoll-ab", "qcom,idp";
qcom,board-id = <34 0>;
dtbo-version = <0>;
};

@ -1,25 +0,0 @@
/* 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 "atoll-sec-common.dtsi"
#include "atoll-sec-a72q-r01.dtsi"
#include "drivers/atoll-sec-a72q-battery-common.dtsi"
/ {
model = "Samsung A72Q PROJECT REV00 (board-id,01)";
compatible = "qcom,atoll-ab-idp", "qcom,atoll-ab", "qcom,idp";
qcom,board-id = <34 1>;
dtbo-version = <0>;
};

@ -1,25 +0,0 @@
/* 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 "atoll-sec-common.dtsi"
#include "atoll-sec-a72q-r02.dtsi"
#include "./drivers/atoll-sec-a72q-battery-r02.dtsi"
/ {
model = "Samsung A72Q PROJECT REV01 (board-id,02)";
compatible = "qcom,atoll-ab-idp", "qcom,atoll-ab", "qcom,idp";
qcom,board-id = <34 2>;
dtbo-version = <0>;
};

@ -1,25 +0,0 @@
/* 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 "atoll-sec-common.dtsi"
#include "atoll-sec-a72q-r04.dtsi"
#include "./drivers/atoll-sec-a72q-battery-r02.dtsi"
/ {
model = "Samsung A72Q PROJECT REV02 (board-id,04)";
compatible = "qcom,atoll-ab-idp", "qcom,atoll-ab", "qcom,idp";
qcom,board-id = <34 4>;
dtbo-version = <0>;
};

@ -1,25 +0,0 @@
/* 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 "atoll-sec-common.dtsi"
#include "atoll-sec-a72q-r05.dtsi"
#include "./drivers/atoll-sec-a72q-battery-r02.dtsi"
/ {
model = "Samsung A72Q PROJECT REV03 (board-id,05)";
compatible = "qcom,atoll-ab-idp", "qcom,atoll-ab", "qcom,idp";
qcom,board-id = <34 5>;
dtbo-version = <0>;
};

@ -1,653 +0,0 @@
/* 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 "drivers/atoll-sec-a72q-audio-pinctrl-common.dtsi"
&tlmm {
grip_i2c {
grip_i2c_active: grip_i2c_active {
grip_i2c_active {
pins = "gpio51", "gpio52";
bias-disable;
};
};
grip_i2c_suspend: grip_i2c_suspend {
grip_i2c_suspend {
pins = "gpio51", "gpio52";
bias-disable;
};
};
};
s2mpb03_i2c_sda_default: s2mpb03_i2c_sda_default {
mux {
pins = "gpio25";
function = "gpio";
};
config {
pins = "gpio25";
drive-strength = <2>;
bias-disable;
};
};
s2mpb03_i2c_scl_default: s2mpb03_i2c_scl_default {
mux {
pins = "gpio26";
function = "gpio";
};
config {
pins = "gpio26";
drive-strength = <2>;
bias-disable;
};
};
cam_sensor_mclk0_active: cam_sensor_mclk0_active {
/* Main Rear MCLK */
mux {
pins = "gpio13";
function = "cam_mclk";
};
config {
pins = "gpio13";
bias-disable; /* No PULL */
drive-strength = <6>; /* 6 MA */
};
};
cam_sensor_mclk0_suspend: cam_sensor_mclk0_suspend {
/* Main Rear MCLK */
mux {
pins = "gpio13";
function = "cam_mclk";
};
config {
pins = "gpio13";
bias-pull-down; /* No PULL */
drive-strength = <6>; /* 6 MA */
output-low;
};
};
cam_sensor_mclk1_active: cam_sensor_mclk1_active {
/* FRONT MCLK */
mux {
pins = "gpio23";
function = "cam_mclk";
};
config {
pins = "gpio23";
bias-disable; /* No PULL */
drive-strength = <6>; /* 6 MA */
};
};
cam_sensor_mclk1_suspend: cam_sensor_mclk1_suspend {
/* FRONT MCLK */
mux {
pins = "gpio23";
function = "cam_mclk";
};
config {
pins = "gpio23";
bias-pull-down; /* No PULL */
drive-strength = <6>; /* 6 MA */
output-low;
};
};
cam_sensor_mclk2_active: cam_sensor_mclk2_active {
/* Tele Cam MCLK */
mux {
pins = "gpio14";
function = "cam_mclk";
};
config {
pins = "gpio14";
bias-disable; /* No PULL */
drive-strength = <6>; /* 6 MA */
};
};
cam_sensor_mclk2_suspend: cam_sensor_mclk2_suspend {
/* Tele Cam MCLK */
mux {
pins = "gpio14";
function = "cam_mclk";
};
config {
pins = "gpio14";
bias-pull-down; /* No PULL */
drive-strength = <6>; /* 6 MA */
output-low;
};
};
cam_sensor_mclk3_active: cam_sensor_mclk3_active {
/* UW Cam MCLK */
mux {
pins = "gpio15";
function = "cam_mclk";
};
config {
pins = "gpio15";
bias-disable; /* No PULL */
drive-strength = <6>; /* 6 MA */
};
};
cam_sensor_mclk3_suspend: cam_sensor_mclk3_suspend {
/* UW Cam MCLK */
mux {
pins = "gpio15";
function = "cam_mclk";
};
config {
pins = "gpio15";
bias-pull-down; /* No PULL */
drive-strength = <6>; /* 6 MA */
output-low;
};
};
cam_sensor_mclk4_active: cam_sensor_mclk4_active {
/* Macro Cam MCLK */
mux {
pins = "gpio16";
function = "cam_mclk";
};
config {
pins = "gpio16";
bias-disable; /* No PULL */
drive-strength = <6>; /* 6 MA */
};
};
cam_sensor_mclk4_suspend: cam_sensor_mclk4_suspend {
/* Macro Cam MCLK */
mux {
pins = "gpio16";
function = "cam_mclk";
};
config {
pins = "gpio16";
bias-pull-down; /* No PULL */
drive-strength = <6>; /* 6 MA */
output-low;
};
};
rcam1_sensor_reset_active: rcam1_sensor_reset_active {
/* Main Rear reset */
mux {
pins = "gpio30";
function = "gpio";
};
config {
pins = "gpio30";
bias-disable; /* No PULL */
drive-strength = <2>; /* 2 MA */
};
};
rcam1_sensor_reset_suspend: rcam1_sensor_reset_suspend {
/* Main Rear reset */
mux {
pins = "gpio30";
function = "gpio";
};
config {
pins = "gpio30";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
front_sensor_reset_active: front_sensor_reset_active {
/* FRONT RESET */
mux {
pins = "gpio21";
function = "gpio";
};
config {
pins = "gpio21";
bias-disable; /* No PULL */
drive-strength = <2>; /* 2 MA */
};
};
front_sensor_reset_suspend: front_sensor_reset_suspend {
/* FRONT RESET */
mux {
pins = "gpio21";
function = "gpio";
};
config {
pins = "gpio21";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
rcam3_sensor_reset_active: rcam3_sensor_reset_active {
/* UW Cam RESET */
mux {
pins = "gpio29";
function = "gpio";
};
config {
pins = "gpio29";
bias-disable; /* No PULL */
drive-strength = <2>; /* 2 MA */
};
};
rcam3_sensor_reset_suspend: rcam3_sensor_reset_suspend {
/* UW Cam RESET */
mux {
pins = "gpio29";
function = "gpio";
};
config {
pins = "gpio29";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
rcam2_sensor_reset_active: rcam2_sensor_reset_active {
/* Tele Cam RESET */
mux {
pins = "gpio42";
function = "gpio";
};
config {
pins = "gpio42";
bias-disable; /* No PULL */
drive-strength = <2>; /* 2 MA */
};
};
rcam2_sensor_reset_suspend: rcam2_sensor_reset_suspend {
/* Tele Cam RESET */
mux {
pins = "gpio42";
function = "gpio";
};
config {
pins = "gpio42";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
rcam4_sensor_reset_active: rcam4_sensor_reset_active {
/* Macro Cam RESET */
mux {
pins = "gpio24";
function = "gpio";
};
config {
pins = "gpio24";
bias-disable; /* No PULL */
drive-strength = <2>; /* 2 MA */
};
};
rcam4_sensor_reset_suspend: rcam4_sensor_reset_suspend {
/* Macro Cam RESET */
mux {
pins = "gpio24";
function = "gpio";
};
config {
pins = "gpio24";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
rcam1_sensor_vana_active: rcam1_sensor_vana_active {
/* Rear VANA */
mux {
pins = "gpio63";
function = "gpio";
};
config {
pins = "gpio63";
bias-disable; /* No PULL */
drive-strength = <2>; /* 2 MA */
};
};
rcam1_sensor_vana_suspend: rcam1_sensor_vana_suspend {
/* Rear VANA */
mux {
pins = "gpio63";
function = "gpio";
};
config {
pins = "gpio63";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
rcam2_sensor_vana_active: rcam2_sensor_vana_active {
/* Tele VANA */
mux {
pins = "gpio64";
function = "gpio";
};
config {
pins = "gpio64";
bias-disable; /* No PULL */
drive-strength = <2>; /* 2 MA */
};
};
rcam2_sensor_vana_suspend: rcam2_sensor_vana_suspend {
/* Tele VANA */
mux {
pins = "gpio64";
function = "gpio";
};
config {
pins = "gpio64";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
rcam3_sensor_vana_active: rcam3_sensor_vana_active {
/* UW VANA */
mux {
pins = "gpio65";
function = "gpio";
};
config {
pins = "gpio65";
bias-disable; /* No PULL */
drive-strength = <2>; /* 2 MA */
};
};
rcam3_sensor_vana_suspend: rcam3_sensor_vana_suspend {
/* UW VANA */
mux {
pins = "gpio65";
function = "gpio";
};
config {
pins = "gpio65";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
rcam4_sensor_vana_active: rcam4_sensor_vana_active {
/* Macro VANA */
mux {
pins = "gpio74";
function = "gpio";
};
config {
pins = "gpio74";
bias-disable; /* No PULL */
drive-strength = <2>; /* 2 MA */
};
};
rcam4_sensor_vana_suspend: rcam4_sensor_vana_suspend {
/* Macro VANA */
mux {
pins = "gpio74";
function = "gpio";
};
config {
pins = "gpio74";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
cam_mipi_sel_active: cam_mipi_sel_active {
/* MIPI SEL */
mux {
pins = "gpio66";
function = "gpio";
};
config {
pins = "gpio66";
bias-disable;
output-high;
drive-strength = <2>; /* 2 MA */
};
};
cam_mipi_sel_suspend: cam_mipi_sel_suspend {
/* MIPI SEL */
mux {
pins = "gpio66";
function = "gpio";
};
config {
pins = "gpio66";
bias-pull-down;
output-low;
drive-strength = <2>; /* 2 MA */
};
};
rcam3_sensor_vdig_active: rcam3_sensor_vdig_active {
/* UW VDIG */
mux {
pins = "gpio65";
function = "gpio";
};
config {
pins = "gpio65";
bias-disable; /* No PULL */
drive-strength = <2>; /* 2 MA */
};
};
rcam3_sensor_vdig_suspend: rcam3_sensor_vdig_suspend {
/* UW VDIG */
mux {
pins = "gpio65";
function = "gpio";
};
config {
pins = "gpio65";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
rcam4_sensor_vdig_active: rcam4_sensor_vdig_active {
/* Macro VDIG */
mux {
pins = "gpio74";
function = "gpio";
};
config {
pins = "gpio74";
bias-disable; /* No PULL */
drive-strength = <2>; /* 2 MA */
};
};
rcam4_sensor_vdig_suspend: rcam4_sensor_vdig_suspend {
/* Macro VDIG */
mux {
pins = "gpio74";
function = "gpio";
};
config {
pins = "gpio74";
bias-pull-down; /* PULL DOWN */
drive-strength = <2>; /* 2 MA */
};
};
if_pmic_i2c_pins: if_pmic_i2c_pins {
if_pmic_i2c_sleep: if_pmic_i2c_sleep {
mux {
pins = "gpio115", "gpio116";
function = "gpio";
};
config {
pins = "gpio115", "gpio116";
drive-strength = <2>;
input-enable;
bias-disable;
};
};
};
usbpd_i2c_pins: usbpd_i2c_pins {
usbpd_i2c_sleep: usbpd_i2c_sleep {
mux {
pins = "gpio53", "gpio54";
function = "gpio";
};
config {
pins = "gpio53", "gpio54";
drive-strength = <2>;
input-enable;
bias-disable;
};
};
};
mcu_reset_active: mcu_reset_active {
/* MCU Reset */
mux {
pins = "gpio32";
function = "gpio";
};
config {
pins = "gpio32";
bias-disable; /* No PULL */
//output-high;
drive-strength = <2>; /* 2 MA */
};
};
mcu_reset_suspend: mcu_reset_suspend {
/* MCU Reset */
mux {
pins = "gpio32";
function = "gpio";
};
config {
pins = "gpio32";
bias-pull-down; /* PULL DOWN */
output-low;
drive-strength = <2>; /* 2 MA */
};
};
mcu_clk_active: mcu_clk_active {
/* MCU CLK */
mux {
pins = "gpio43";
function = "gpio";
};
config {
pins = "gpio43";
bias-disable; /* No PULL */
//output-high;
drive-strength = <2>; /* 2 MA */
};
};
mcu_clk_suspend: mcu_clk_suspend {
/* MCU Reset */
mux {
pins = "gpio43";
function = "gpio";
};
config {
pins = "gpio43";
bias-pull-down; /* PULL DOWN */
output-low;
drive-strength = <2>; /* 2 MA */
};
};
};
&pm6150l_gpios {
grip_int_active: grip_int_active {
pins = "gpio5";
function = "normal";
power-source = <0>;
input-enable;
bias-disable;
};
grip_int_suspend: grip_int_suspend {
pins = "gpio5";
function = "normal";
power-source = <0>;
input-enable;
bias-disable;
};
};
&tlmm {
wakeup-disabled-gpios = <
0 /* SPI : NFC_ESE_MISO */
6 /* I2C : TSP_SDA_1P8 */
16 /* MCLK : RCAM4_MCLK */
21 /* RST_N : FCAM_RST_N */
22 /* EN : CAM_FLASH_EN */
23 /* MCLK : FCAM_MCLK */
24 /* RST_N : RCAM4_RST_N */
26 /* I2C : CAM_PMIC_I2C_SCL_1P8 */
28 /* I2C : FCAM_RCAM2_RCAM4_SENSOR_I2C_SCL_1P8 */
30 /* RST_N : RCAM1_RST_N */
34 /* I2C : NFC_SDA_1P8 */
37 /* LAGOON : NFC_IRQ */
42 /* RST_N : RCAM2_RST_N */
45 /* UART : AP_UART_RXD */
47 /* I2C : CAM_AF_EEP_I2C_SCL_1P8 */
52 /* I2C : GRIP_SCL_1P8 */
53 /* I2C : CC_SDA_1P8 */
55 /* NC : NC */
56 /* NC : NC */
57 /* NC : NC */
58 /* RST_N : CODEC_RST_N */
59 /* SPI : BTP_SPI_MISO */
62 /* SPI : BTP_SPI_CS_N */
63 /* EN : RCAM1_LDO_EN */
64 /* EN : RCAM2_LDO_EN */
65 /* EN : RCAM3_LDO_EN */
67 /* EN : BTP_LDO_EN */
68 /* EN : NFC_LDO_EN */
74 /* EN : RCAM4_LDO_EN */
78 /* NC : NC */
84 /* EN : FM_LNA_EN */
86 /* I2C : AP_MCU_SDA_1P8 */
87 /* I2C : AP_MCU_SCL_1P8 */
88 /* I2C : SPK_AMP_SDA_1P8 */
89 /* I2C : SPK_AMP_SCL_1P8 */
91 /* RST_N : BTP_RST_N */
94 /* EN : SPK_AMP_EN */
115 /* I2C : IF_PMIC_SDA_1P8 */
116 /* I2C : IF_PMIC_SCL_1P8 */
118 /* EN : NFC_ESE_EN */
>;
};

@ -1,56 +0,0 @@
/* 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.
*/
&tlmm {
wakeup-disabled-gpios = <
0 /* SPI : NFC_ESE_MISO */
6 /* I2C : TSP_SDA_1P8 */
16 /* MCLK : RCAM4_MCLK */
21 /* RST_N : FCAM_RST_N */
22 /* EN : CAM_FLASH_EN */
23 /* MCLK : FCAM_MCLK */
24 /* RST_N : RCAM4_RST_N */
26 /* I2C : CAM_PMIC_I2C_SCL_1P8 */
28 /* I2C : FCAM_RCAM2_RCAM4_SENSOR_I2C_SCL_1P8 */
30 /* RST_N : RCAM1_RST_N */
34 /* I2C : NFC_SDA_1P8 */
37 /* LAGOON : NFC_IRQ */
42 /* RST_N : RCAM2_RST_N */
45 /* UART : AP_UART_RXD */
47 /* I2C : CAM_AF_EEP_I2C_SCL_1P8 */
52 /* I2C : GRIP_SCL_1P8 */
53 /* I2C : CC_SDA_1P8 */
55 /* NC : NC */
56 /* NC : NC */
57 /* NC : NC */
58 /* RST_N : CODEC_RST_N */
59 /* SPI : BTP_SPI_MISO */
62 /* SPI : BTP_SPI_CS_N */
63 /* EN : RCAM1_LDO_EN */
64 /* EN : RCAM2_LDO_EN */
65 /* EN : RCAM3_LDO_EN */
67 /* EN : CAM_TORCH_EN */
68 /* EN : NFC_LDO_EN */
74 /* EN : RCAM4_LDO_EN */
78 /* NC : NC */
84 /* EN : FM_LNA_EN */
86 /* I2C : AP_MCU_SDA_1P8 */
87 /* I2C : AP_MCU_SCL_1P8 */
88 /* I2C : SPK_AMP_SDA_1P8 */
89 /* I2C : SPK_AMP_SCL_1P8 */
91 /* RST_N : BTP_RST_N */
94 /* EN : SPK_AMP_EN */
115 /* I2C : IF_PMIC_SDA_1P8 */
116 /* I2C : IF_PMIC_SCL_1P8 */
118 /* EN : NFC_ESE_EN */
>;
};

@ -1,57 +0,0 @@
/* 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.
*/
&tlmm {
wakeup-disabled-gpios = <
0 /* NC : NC */
3 /* NC : NC */
6 /* I2C : TSP_SDA_1P8 */
16 /* MCLK : RCAM4_MCLK */
21 /* RST_N : FCAM_RST_N */
22 /* EN : CAM_FLASH_EN */
23 /* MCLK : FCAM_MCLK */
24 /* RST_N : RCAM4_RST_N */
26 /* I2C : CAM_PMIC_I2C_SCL_1P8 */
28 /* I2C : FCAM_RCAM2_RCAM4_SENSOR_I2C_SCL_1P8 */
30 /* RST_N : RCAM1_RST_N */
34 /* I2C : NFC_SDA_1P8 */
37 /* LAGOON : NFC_IRQ */
42 /* RST_N : RCAM2_RST_N */
45 /* UART : AP_UART_RXD */
47 /* I2C : CAM_AF_EEP_I2C_SCL_1P8 */
52 /* I2C : GRIP_SCL_1P8 */
53 /* I2C : CC_SDA_1P8 */
55 /* NC : NC */
56 /* NC : NC */
57 /* NC : NC */
58 /* RST_N : CODEC_RST_N */
59 /* SPI : BTP_SPI_MISO */
62 /* SPI : BTP_SPI_CS_N */
63 /* EN : RCAM1_LDO_EN */
64 /* EN : RCAM2_LDO_EN */
65 /* EN : RCAM3_LDO_EN */
67 /* EN : CAM_TORCH_EN */
68 /* EN : NFC_LDO_EN */
74 /* EN : RCAM4_LDO_EN */
78 /* NC : NC */
84 /* EN : FM_LNA_EN */
86 /* I2C : AP_MCU_SDA_1P8 */
87 /* I2C : AP_MCU_SCL_1P8 */
88 /* I2C : SPK_AMP_SDA_1P8 */
89 /* I2C : SPK_AMP_SCL_1P8 */
91 /* RST_N : BTP_RST_N */
94 /* EN : SPK_AMP_EN */
115 /* I2C : IF_PMIC_SDA_1P8 */
116 /* I2C : IF_PMIC_SCL_1P8 */
118 /* NC : NC */
>;
};

@ -1,15 +0,0 @@
/* 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.
*/
&tlmm {
};

@ -1,57 +0,0 @@
/* 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.
*/
&tlmm {
wakeup-disabled-gpios = <
0 /* NC : NC */
3 /* NC : NC */
6 /* I2C : TSP_SDA_1P8 */
16 /* MCLK : RCAM4_MCLK */
21 /* RST_N : FCAM_RST_N */
22 /* EN : CAM_FLASH_EN */
23 /* MCLK : FCAM_MCLK */
24 /* RST_N : RCAM4_RST_N */
26 /* I2C : CAM_PMIC_I2C_SCL_1P8 */
28 /* I2C : FCAM_RCAM2_RCAM4_SENSOR_I2C_SCL_1P8 */
30 /* RST_N : RCAM1_RST_N */
34 /* I2C : NFC_SDA_1P8 */
37 /* LAGOON : NFC_IRQ */
42 /* RST_N : RCAM2_RST_N */
45 /* UART : AP_UART_RXD */
47 /* I2C : CAM_AF_EEP_I2C_SCL_1P8 */
52 /* I2C : GRIP_SCL_1P8 */
53 /* I2C : CC_SDA_1P8 */
55 /* NC : NC */
56 /* NC : NC */
57 /* EN : MOT_EN */
58 /* RST_N : CODEC_RST_N */
59 /* SPI : BTP_SPI_MISO */
62 /* SPI : BTP_SPI_CS_N */
63 /* EN : RCAM1_LDO_EN */
64 /* EN : RCAM2_LDO_EN */
65 /* EN : RCAM3_LDO_EN */
67 /* EN : CAM_TORCH_EN */
68 /* EN : NFC_LDO_EN */
74 /* EN : RCAM4_LDO_EN */
78 /* NC : NC */
84 /* EN : FM_LNA_EN */
86 /* I2C : AP_MCU_SDA_1P8 */
87 /* I2C : AP_MCU_SCL_1P8 */
88 /* I2C : SPK_AMP_SDA_1P8 */
89 /* I2C : SPK_AMP_SCL_1P8 */
91 /* RST_N : BTP_RST_N */
94 /* EN : SPK_AMP_EN */
115 /* I2C : IF_PMIC_SDA_1P8 */
116 /* I2C : IF_PMIC_SCL_1P8 */
118 /* NC : NC */
>;
};

@ -1,169 +0,0 @@
/* 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 "atoll-sec-pm-common.dtsi"
&soc {
/* AP Thermistor table */
sec_thermistor@0 {
compatible = "samsung,sec-ap-thermistor";
status = "okay";
io-channels = <&pm6150_vadc ADC_AMUX_THM2_PU2>;
io-channel-names = "ap_therm";
adc_array = <1806 2208 2620 3076 3638 4355 5223
6133 7170 8378 9652 11107 12609
14233 15644 17608 19255 20912 22081 23487 24556 25655 26345>;
temp_array = <900 850 800 750 700 650 600
550 500 450 400 350 300
250 200 150 100 50 0 (-50) (-100) (-150) (-200)>;
};
/* PA Thermistor table */
sec_thermistor@1 {
compatible = "samsung,sec-pa-thermistor";
status = "okay";
io-channels = <&pm6150l_vadc ADC_AMUX_THM2_PU2>;
io-channel-names = "pa_therm";
adc_array = <1861 2268 2690 3132 3730 4397 5278
6198 7233 8479 9782 11209 12707
14338 15719 17722 19343 20876 22320 23575 24750 25730 26411>;
temp_array = <900 850 800 750 700 650 600
550 500 450 400 350 300
250 200 150 100 50 0 (-50) (-100) (-150) (-200)>;
};
/* WiFi Thermistor table */
sec_thermistor@2 {
compatible = "samsung,sec-wf-thermistor";
status = "okay";
io-channels = <&pm6150l_vadc ADC_AMUX_THM3_PU2>;
io-channel-names = "wf_therm";
adc_array = <1875 2270 2703 3149 3738 4416 5279
6205 7252 8470 9774 11227 12737
14358 15740 17754 19334 20932 22258 23619 24773 25779 26501>;
temp_array = <900 850 800 750 700 650 600
550 500 450 400 350 300
250 200 150 100 50 0 (-50) (-100) (-150) (-200)>;
};
/* S2MPB03 Camera PMIC */
i2c2: i2c@2 {
cell-index = <2>;
compatible = "i2c-gpio";
gpios = <&tlmm 25 0 /* sda */
&tlmm 26 0 /* scl */
>;
#i2c-gpio,delay-us = <2>;
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&s2mpb03_i2c_sda_default &s2mpb03_i2c_scl_default>;
/* S2MPB03 Camera PMIC */
s2mpb03@56 {
compatible = "samsung,s2mpb03pmic";
reg = <0x56>;
additional_reg_init;
regulators {
s2mpb03_l1: s2mpb03-ldo1 {
regulator-name = "s2mpb03-ldo1";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1050000>;
};
s2mpb03_l2: s2mpb03-ldo2 {
regulator-name = "s2mpb03-ldo2";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1100000>;
};
s2mpb03_l3: s2mpb03-ldo3 {
regulator-name = "s2mpb03-ldo3";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
s2mpb03_l4: s2mpb03-ldo4 {
regulator-name = "s2mpb03-ldo4";
regulator-min-microvolt = <1100000>;
regulator-max-microvolt = <1100000>;
};
s2mpb03_l5: s2mpb03-ldo5 {
regulator-name = "s2mpb03-ldo5";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2900000>;
};
s2mpb03_l6: s2mpb03-ldo6 {
regulator-name = "s2mpb03-ldo6";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2900000>;
};
s2mpb03_l7: s2mpb03-ldo7 {
regulator-name = "s2mpb03-ldo7";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2900000>;
};
};
};
};
};
&pm6150_gpios {
interrupts = <0x0 0xc0 0 IRQ_TYPE_NONE>,
<0x0 0xc1 0 IRQ_TYPE_NONE>,
<0x0 0xc2 0 IRQ_TYPE_NONE>,
<0x0 0xc3 0 IRQ_TYPE_NONE>,
<0x0 0xc4 0 IRQ_TYPE_NONE>,
<0x0 0xc6 0 IRQ_TYPE_NONE>,
<0x0 0xc7 0 IRQ_TYPE_NONE>,
<0x0 0xc9 0 IRQ_TYPE_NONE>;
interrupt-names = "pm6150_gpio1", "pm6150_gpio2",
"pm6150_gpio3", "pm6150_gpio4", "pm6150_gpio5",
"pm6150_gpio7", "pm6150_gpio8",
"pm6150_gpio10";
qcom,gpios-disallowed = <6 9>;
};
&pm6150_vadc {
ap_therm {
reg = <ADC_AMUX_THM2_PU2>;
label = "ap_therm";
qcom,ratiometric;
qcom,hw-settle-time = <200>;
qcom,pre-scaling = <1 1>;
};
};
&pm6150l_vadc {
/delete-node/ pa_therm0;
pa_therm {
reg = <ADC_AMUX_THM2_PU2>;
label = "pa_therm";
qcom,ratiometric;
qcom,hw-settle-time = <200>;
qcom,pre-scaling = <1 1>;
};
wf_therm {
reg = <ADC_AMUX_THM3_PU2>;
label = "wf_therm";
qcom,ratiometric;
qcom,hw-settle-time = <200>;
qcom,pre-scaling = <1 1>;
};
};

@ -1,99 +0,0 @@
/* 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 "atoll-sec-a72q-common.dtsi"
#include "drivers/atoll-sec-a72q-audio-common.dtsi"
#include "atoll-sec-a72q-pinctrl-r00.dtsi"
#include "atoll-sec-a72q-pm-common.dtsi"
#include "drivers/atoll-sec-a72q-display-r00.dtsi"
#include "atoll-sec-a72q-input-common.dtsi"
#include "drivers/atoll-sec-a72q-usb-r00.dtsi"
#include "drivers/atoll-sec-a52q-nfc_r00.dtsi"
#include "drivers/atoll-sec-a72q-fingerprint-r00.dtsi"
#include "drivers/atoll-sec-a72q-camera-sensor-common.dtsi"
#include "drivers/atoll-sec-a72q-vibrator-r00.dtsi"
#include "drivers/atoll-sec-a72q-hall-r00.dtsi"
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
&soc {
rpmh-regulator-ldoc8 {
compatible = "qcom,rpmh-vrm-regulator";
mboxes = <&apps_rsc 0>;
qcom,resource-name = "ldoc8";
qcom,regulator-type = "pmic5-ldo";
qcom,supported-modes =
<RPMH_REGULATOR_MODE_LPM
RPMH_REGULATOR_MODE_HPM>;
qcom,mode-threshold-currents = <0 1>;
L8C:
pm6150l_l8: regulator-pm6150l-l8 {
regulator-name = "pm6150l_l8";
qcom,set = <RPMH_REGULATOR_SET_ALL>;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
qcom,init-voltage = <1800000>;
regulator-always-on;
qcom,init-mode =
<RPMH_REGULATOR_MODE_LPM>;
};
};
//Grip Sensor Vdd
rpmh-regulator-ldoa5 {
pm6150_l5: regulator-pm6150-l5 {
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
qcom,init-voltage = <3300000>;
regulator-always-on;
};
};
i2c_17: i2c@17 { /* SW I2C */
status = "ok";
cell-index = <17>;
compatible = "i2c-gpio";
gpios = <&tlmm 51 0 /* sda */
&tlmm 52 0 /* scl */
>;
#i2c-gpio,delay-us = <2>;
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&grip_i2c_active>;
sx9360-i2c@28 {
compatible = "sx9360";
reg = <0x28>;
pinctrl-names = "default";
pinctrl-0 = <&grip_int_active>;
interrupt-parent = <&spmi_bus>;
interrupts = <0x4 0xc4 0 IRQ_TYPE_EDGE_FALLING>;
sx9360,nirq-gpio = <&pm6150l_gpios 5 GPIO_ACTIVE_LOW>;
sx9360,reggnrlctrl2_reg = <0x32>; /* scanperiod: 102ms */
sx9360,againfreq_reg = <0x38>; /* freq : 62.5 kHz, again : +/-5.25 pF */
sx9360,refagainfreq_reg = <0x36>; /* reference phase again : 5.25 pF, sampling freq : 83.33 khz */
sx9360,gainrawfilt_reg = <0x1A>; /* gain: x4, rawfilt : 1-1/4 */
sx9360,refgainrawfilt_reg = <0x22>; /* reference phase gain: x8, rawfilt : 1-1/4 */
sx9360,proxthresh_reg = <0x22>; /* threshold: 614 */
sx9360,hyst_reg = <0x15>; /* hysteresis: small, closedeb: 2 samples, fardeb: 2 samples */
sx9360,regproxctrl3_reg = <0x0C>; /* AVGPOSFILT: 1/256, AVGNEGFILT: 1/2 */
sx9360,resolution_reg = <0x0F>; /* resolution: 1204 */
sx9360,refresolution_reg = <0x0F>; /* reference phase resolution: 1204 */
sx9360,hallic_cert_detect = <1>;
};
};
};

@ -1,18 +0,0 @@
/* 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 "atoll-sec-a72q-r00.dtsi"
#include "atoll-sec-a72q-pinctrl-r01.dtsi"
&soc {
};

@ -1,19 +0,0 @@
/* 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 "atoll-sec-a72q-r01.dtsi"
#include "atoll-sec-a72q-pinctrl-r02.dtsi"
#include "drivers/atoll-sec-a72q-camera-sensor-r02.dtsi"
&soc {
};

@ -1,18 +0,0 @@
/* 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 "atoll-sec-a72q-r02.dtsi"
#include "atoll-sec-a72q-pinctrl-r04.dtsi"
&soc {
};

@ -1,25 +0,0 @@
/* 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 "atoll-sec-a72q-r04.dtsi"
#include "atoll-sec-a72q-pinctrl-r05.dtsi"
/delete-node/ &vibrator;
&soc {
msm_vibrator {
compatible = "vibrator";
motor-vdd_type = <0>; /* 0: gpio, 1: pmic */
motor-en = <&tlmm 57 0x0>;
samsung,vib_type = "COINDC";
};
};

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save