arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts
Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts
File Facts
- System
- Linux kernel
- Corpus path
arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts- Extension
.dts- Size
- 2168 bytes
- Lines
- 119
- Domain
- Architecture Layer
- Bucket
- arch/arm64
- Inferred role
- Architecture Layer: configuration, schema, or hardware description
- Status
- atlas-only
Why This File Exists
CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
Dependency Surface
dt-bindings/leds/common.hsdm845-oneplus-common.dtsi
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
// SPDX-License-Identifier: GPL-2.0
/*
* SDM845 OnePlus 6 (enchilada) device tree.
*
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
*/
#include <dt-bindings/leds/common.h>
#include "sdm845-oneplus-common.dtsi"
/ {
model = "OnePlus 6";
compatible = "oneplus,enchilada", "qcom,sdm845";
qcom,board-id = <8 0 17819 22>;
battery: battery {
compatible = "simple-battery";
charge-full-design-microamp-hours = <3300000>;
voltage-min-design-microvolt = <3400000>;
voltage-max-design-microvolt = <4400000>;
/*
* Typical designs have multiple charger ICs which can handle more
* current but the OnePlus 6/T do not, hence the lower limit. This
* does not apply when using the Dash Charger, however this is not
* yet supported.
*/
constant-charge-current-max-microamp = <1800000>;
};
};
&bq27441_fg {
monitored-battery = <&battery>;
};
&display_panel {
compatible = "samsung,sofef00-ams628nw01", "samsung,sofef00";
status = "okay";
};
&framebuffer {
height = <2280>;
};
&i2c4 {
clock-frequency = <100000>;
status = "okay";
max98927_codec: max98927@3a {
compatible = "maxim,max98927";
reg = <0x3a>;
#sound-dai-cells = <0>;
pinctrl-0 = <&speaker_default>;
pinctrl-names = "default";
reset-gpios = <&tlmm 69 GPIO_ACTIVE_LOW>;
vmon-slot-no = <1>;
imon-slot-no = <0>;
};
};
&pmi8998_charger {
monitored-battery = <&battery>;
};
Annotation
- Immediate include surface: `dt-bindings/leds/common.h`, `sdm845-oneplus-common.dtsi`.
- Atlas domain: Architecture Layer / arch/arm64.
- Implementation status: atlas-only.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.