arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi
File Facts
- System
- Linux kernel
- Corpus path
arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi- Extension
.dtsi- Size
- 21818 bytes
- Lines
- 1118
- 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/arm/qcom,ids.hdt-bindings/input/linux-event-codes.hdt-bindings/leds/common.hdt-bindings/regulator/qcom,rpmh-regulator.hdt-bindings/sound/qcom,q6afe.hdt-bindings/sound/qcom,q6asm.hsdm845.dtsisdm845-wcd9340.dtsipm8998.dtsipmi8998.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(T) (enchilada / fajita) common device tree source
*
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
*/
/dts-v1/;
#include <dt-bindings/arm/qcom,ids.h>
#include <dt-bindings/input/linux-event-codes.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
#include <dt-bindings/sound/qcom,q6afe.h>
#include <dt-bindings/sound/qcom,q6asm.h>
#include "sdm845.dtsi"
#include "sdm845-wcd9340.dtsi"
#include "pm8998.dtsi"
#include "pmi8998.dtsi"
/delete-node/ &rmtfs_mem;
/ {
chassis-type = "handset";
qcom,msm-id = <QCOM_ID_SDM845 0x20001>;
alert-slider {
compatible = "gpio-keys";
label = "Alert slider";
pinctrl-0 = <&alert_slider_default>;
pinctrl-names = "default";
switch-top {
label = "Silent";
linux,input-type = <EV_ABS>;
linux,code = <ABS_SND_PROFILE>;
linux,input-value = <SND_PROFILE_SILENT>;
gpios = <&tlmm 126 GPIO_ACTIVE_LOW>;
linux,can-disable;
};
switch-middle {
label = "Vibrate";
linux,input-type = <EV_ABS>;
linux,code = <ABS_SND_PROFILE>;
linux,input-value = <SND_PROFILE_VIBRATE>;
gpios = <&tlmm 52 GPIO_ACTIVE_LOW>;
linux,can-disable;
};
switch-bottom {
label = "Ring";
linux,input-type = <EV_ABS>;
linux,code = <ABS_SND_PROFILE>;
linux,input-value = <SND_PROFILE_RING>;
gpios = <&tlmm 24 GPIO_ACTIVE_LOW>;
linux,can-disable;
};
};
aliases {
serial0 = &uart9;
serial1 = &uart6;
};
chosen {
#address-cells = <2>;
#size-cells = <2>;
Annotation
- Immediate include surface: `dt-bindings/arm/qcom,ids.h`, `dt-bindings/input/linux-event-codes.h`, `dt-bindings/leds/common.h`, `dt-bindings/regulator/qcom,rpmh-regulator.h`, `dt-bindings/sound/qcom,q6afe.h`, `dt-bindings/sound/qcom,q6asm.h`, `sdm845.dtsi`, `sdm845-wcd9340.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.