arch/arm/boot/dts/qcom/qcom-msm8974pro-oneplus-bacon.dts
Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/qcom/qcom-msm8974pro-oneplus-bacon.dts
File Facts
- System
- Linux kernel
- Corpus path
arch/arm/boot/dts/qcom/qcom-msm8974pro-oneplus-bacon.dts- Extension
.dts- Size
- 9955 bytes
- Lines
- 536
- Domain
- Architecture Layer
- Bucket
- arch/arm
- 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
qcom-msm8974pro.dtsipm8841.dtsipm8941.dtsidt-bindings/input/input.hdt-bindings/pinctrl/qcom,pmic-gpio.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
// SPDX-License-Identifier: GPL-2.0
#include "qcom-msm8974pro.dtsi"
#include "pm8841.dtsi"
#include "pm8941.dtsi"
#include <dt-bindings/input/input.h>
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
/ {
model = "OnePlus One";
compatible = "oneplus,bacon", "qcom,msm8974pro", "qcom,msm8974";
chassis-type = "handset";
qcom,msm-id = <194 0x10000>;
qcom,board-id = <8 0>;
aliases {
mmc0 = &sdhc_1;
serial0 = &blsp1_uart2;
};
chosen {
stdout-path = "serial0:115200n8";
};
gpio-keys {
compatible = "gpio-keys";
pinctrl-0 = <&gpio_keys_default>, <&gpio_hall_sensor_default>;
pinctrl-names = "default";
key-volume-down {
label = "Volume Down";
gpios = <&pm8941_gpios 2 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEDOWN>;
wakeup-source;
debounce-interval = <15>;
};
key-volume-up {
label = "Volume Up";
gpios = <&pm8941_gpios 5 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>;
wakeup-source;
debounce-interval = <15>;
};
event-hall-sensor {
label = "Hall Effect Sensor";
gpios = <&tlmm 68 GPIO_ACTIVE_LOW>;
linux,input-type = <EV_SW>;
linux,code = <SW_LID>;
linux,can-disable;
debounce-interval = <150>;
};
};
vreg_boost: vreg-boost {
compatible = "regulator-fixed";
regulator-name = "vreg-boost";
regulator-min-microvolt = <3150000>;
regulator-max-microvolt = <3150000>;
regulator-always-on;
regulator-boot-on;
gpio = <&pm8941_gpios 21 GPIO_ACTIVE_HIGH>;
enable-active-high;
pinctrl-names = "default";
pinctrl-0 = <&boost_bypass_n_pin>;
Annotation
- Immediate include surface: `qcom-msm8974pro.dtsi`, `pm8841.dtsi`, `pm8941.dtsi`, `dt-bindings/input/input.h`, `dt-bindings/pinctrl/qcom,pmic-gpio.h`.
- Atlas domain: Architecture Layer / arch/arm.
- 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.