arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts
Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts
File Facts
- System
- Linux kernel
- Corpus path
arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts- Extension
.dts- Size
- 15101 bytes
- Lines
- 823
- 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/firmware/qcom,scm.hdt-bindings/gpio/gpio.hdt-bindings/input/gpio-keys.hdt-bindings/input/input.hdt-bindings/regulator/qcom,rpmh-regulator.hsc8180x.dtsisc8180x-pmics.dtsi
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
* Copyright (c) 2020-2023, Linaro Limited
*/
/dts-v1/;
#include <dt-bindings/firmware/qcom,scm.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/gpio-keys.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
#include "sc8180x.dtsi"
#include "sc8180x-pmics.dtsi"
/ {
model = "Lenovo Flex 5G";
compatible = "lenovo,flex-5g", "qcom,sc8180x";
aliases {
serial0 = &uart13;
};
backlight: backlight {
compatible = "pwm-backlight";
pwms = <&pmc8180c_lpg 4 1000000>;
enable-gpios = <&pmc8180c_gpios 8 GPIO_ACTIVE_HIGH>;
pinctrl-0 = <&bl_pwm_default>;
pinctrl-names = "default";
};
gpio-keys {
compatible = "gpio-keys";
pinctrl-0 = <&hall_int_active_state>;
pinctrl-names = "default";
lid-switch {
gpios = <&tlmm 121 GPIO_ACTIVE_LOW>;
linux,input-type = <EV_SW>;
linux,code = <SW_LID>;
wakeup-source;
wakeup-event-action = <EV_ACT_DEASSERTED>;
};
};
pmic-glink {
compatible = "qcom,sc8180x-pmic-glink", "qcom,pmic-glink";
#address-cells = <1>;
#size-cells = <0>;
orientation-gpios = <&tlmm 38 GPIO_ACTIVE_HIGH>,
<&tlmm 58 GPIO_ACTIVE_HIGH>;
connector@0 {
compatible = "usb-c-connector";
reg = <0>;
power-role = "dual";
data-role = "dual";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
pmic_glink_con0_hs: endpoint {
Annotation
- Immediate include surface: `dt-bindings/firmware/qcom,scm.h`, `dt-bindings/gpio/gpio.h`, `dt-bindings/input/gpio-keys.h`, `dt-bindings/input/input.h`, `dt-bindings/regulator/qcom,rpmh-regulator.h`, `sc8180x.dtsi`, `sc8180x-pmics.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.