arch/arm/boot/dts/qcom/qcom-msm8960-sony-huashan.dts
Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/qcom/qcom-msm8960-sony-huashan.dts
File Facts
- System
- Linux kernel
- Corpus path
arch/arm/boot/dts/qcom/qcom-msm8960-sony-huashan.dts- Extension
.dts- Size
- 7434 bytes
- Lines
- 362
- 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
dt-bindings/gpio/gpio.hdt-bindings/input/input.hdt-bindings/pinctrl/qcom,pmic-gpio.hdt-bindings/reset/qcom,gcc-msm8960.hqcom-msm8960.dtsipm8921.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-only
/*
* Copyright (c) 2025, Antony Kurniawan Soemardi <linux@smankusors.com>
*/
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
#include <dt-bindings/reset/qcom,gcc-msm8960.h>
#include "qcom-msm8960.dtsi"
#include "pm8921.dtsi"
/ {
model = "Sony Xperia SP";
compatible = "sony,huashan", "qcom,msm8960t", "qcom,msm8960";
chassis-type = "handset";
aliases {
serial0 = &gsbi8_serial;
mmc0 = &sdcc1; /* SDCC1 eMMC slot */
mmc1 = &sdcc3; /* SDCC3 SD card slot */
};
chosen {
stdout-path = "serial0:115200n8";
};
gpio-keys {
compatible = "gpio-keys";
key-volume-up {
label = "Volume Up";
gpios = <&pm8921_gpio 21 GPIO_ACTIVE_LOW>;
debounce-interval = <10>;
linux,code = <KEY_VOLUMEUP>;
};
key-volume-down {
label = "Volume Down";
gpios = <&pm8921_gpio 20 GPIO_ACTIVE_LOW>;
debounce-interval = <10>;
linux,code = <KEY_VOLUMEDOWN>;
};
};
};
&gsbi8 {
qcom,mode = <GSBI_PROT_I2C_UART>;
status = "okay";
};
&gsbi8_serial {
status = "okay";
};
&pm8921 {
interrupts-extended = <&tlmm 104 IRQ_TYPE_LEVEL_LOW>;
};
&pm8921_gpio {
keypad_default_state: keypad-default-state {
keypad-sense-pins {
pins = "gpio1", "gpio2", "gpio3", "gpio4", "gpio5";
function = PMIC_GPIO_FUNC_NORMAL;
bias-pull-up;
input-enable;
power-source = <PM8921_GPIO_S4>;
qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
qcom,pull-up-strength = <PMIC_GPIO_PULL_UP_31P5>;
};
Annotation
- Immediate include surface: `dt-bindings/gpio/gpio.h`, `dt-bindings/input/input.h`, `dt-bindings/pinctrl/qcom,pmic-gpio.h`, `dt-bindings/reset/qcom,gcc-msm8960.h`, `qcom-msm8960.dtsi`, `pm8921.dtsi`.
- 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.