arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts
Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts
File Facts
- System
- Linux kernel
- Corpus path
arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts- Extension
.dts- Size
- 1259 bytes
- Lines
- 57
- 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
msm8917-xiaomi-wingtech.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) 2023, Barnabas Czeman
*/
/dts-v1/;
#include "msm8917-xiaomi-wingtech.dtsi"
/ {
model = "Xiaomi Redmi 5A (riva)";
compatible = "xiaomi,riva", "qcom,msm8917";
qcom,board-id = <0x1000b 1>, <0x1000b 2>;
battery: battery {
compatible = "simple-battery";
charge-full-design-microamp-hours = <3000000>;
energy-full-design-microwatt-hours = <11500000>;
constant-charge-current-max-microamp = <1000000>;
constant-charge-voltage-max-microvolt = <4400000>;
precharge-current-microamp = <256000>;
charge-term-current-microamp = <60000>;
voltage-min-design-microvolt = <3400000>;
};
};
&blsp2_i2c1 {
status = "okay";
power-monitor@55 {
compatible = "ti,bq27426";
reg = <0x55>;
monitored-battery = <&battery>;
};
charger@6b {
compatible = "ti,bq25601";
reg = <0x6b>;
interrupts-extended = <&tlmm 61 IRQ_TYPE_EDGE_FALLING>;
pinctrl-0 = <&bq25601_int_default>;
pinctrl-names = "default";
input-voltage-limit-microvolt = <4400000>;
input-current-limit-microamp = <1000000>;
monitored-battery = <&battery>;
};
};
&tlmm {
bq25601_int_default: bq25601-int-default-state {
pins = "gpio61";
function = "gpio";
drive-strength = <2>;
bias-pull-up;
};
};
Annotation
- Immediate include surface: `msm8917-xiaomi-wingtech.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.