~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/qcom/sdm845-oneplus-enchilada.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /*
  3  * SDM845 OnePlus 6 (enchilada) device tree.
  4  *
  5  * Copyright (c) 2020, The Linux Foundation. All rights reserved.
  6  */
  7 
  8 #include "sdm845-oneplus-common.dtsi"
  9 
 10 / {
 11         model = "OnePlus 6";
 12         compatible = "oneplus,enchilada", "qcom,sdm845";
 13         chassis-type = "handset";
 14         qcom,msm-id = <0x141 0x20001>;
 15         qcom,board-id = <8 0 17819 22>;
 16 
 17         battery: battery {
 18                 compatible = "simple-battery";
 19 
 20                 charge-full-design-microamp-hours = <3300000>;
 21                 voltage-min-design-microvolt = <3400000>;
 22                 voltage-max-design-microvolt = <4400000>;
 23         };
 24 };
 25 
 26 &display_panel {
 27         status = "okay";
 28 
 29         compatible = "samsung,sofef00";
 30 };
 31 
 32 &bq27441_fg {
 33         monitored-battery = <&battery>;
 34 };
 35 
 36 &i2c4 {
 37         status = "okay";
 38 
 39         max98927_codec: max98927@3a {
 40                 compatible = "maxim,max98927";
 41                 reg = <0x3a>;
 42                 #sound-dai-cells = <0>;
 43 
 44                 pinctrl-0 = <&speaker_default>;
 45                 pinctrl-names = "default";
 46 
 47                 reset-gpios = <&tlmm 69 GPIO_ACTIVE_LOW>;
 48 
 49                 vmon-slot-no = <1>;
 50                 imon-slot-no = <0>;
 51         };
 52 };
 53 
 54 &pmi8998_charger {
 55         monitored-battery = <&battery>;
 56 };
 57 
 58 &sound {
 59         model = "OnePlus 6";
 60         audio-routing = "RX_BIAS", "MCLK",
 61                         "AMIC2", "MIC BIAS2",
 62                         "AMIC3", "MIC BIAS4",
 63                         "AMIC4", "MIC BIAS1",
 64                         "AMIC5", "MIC BIAS4";
 65 };
 66 
 67 &speaker_playback_dai {
 68         codec {
 69                 sound-dai = <&max98927_codec>;
 70         };
 71 };
 72 
 73 &wcd9340 {
 74         qcom,micbias1-microvolt = <1800000>;
 75         qcom,micbias2-microvolt = <2700000>;
 76         qcom,micbias3-microvolt = <1800000>;
 77         qcom,micbias4-microvolt = <1800000>;
 78 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php