arch/arm64/boot/dts/qcom/sc8180x-pmics.dtsi

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/qcom/sc8180x-pmics.dtsi

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/qcom/sc8180x-pmics.dtsi
Extension
.dtsi
Size
6740 bytes
Lines
337
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.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: BSD-3-Clause
/*
 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2021-2023, Linaro Limited
 */

#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/spmi/spmi.h>
#include <dt-bindings/iio/qcom,spmi-vadc.h>

/ {
	thermal-zones {
		pmc8180-thermal {
			polling-delay-passive = <100>;

			thermal-sensors = <&pmc8180_temp>;

			trips {
				trip0 {
					temperature = <95000>;
					hysteresis = <0>;
					type = "passive";
				};

				trip1 {
					temperature = <115000>;
					hysteresis = <0>;
					type = "hot";
				};

				trip2 {
					temperature = <145000>;
					hysteresis = <0>;
					type = "critical";
				};
			};
		};

		pmc8180c-thermal {
			polling-delay-passive = <100>;

			thermal-sensors = <&pmc8180c_temp>;

			trips {
				trip0 {
					temperature = <95000>;
					hysteresis = <0>;
					type = "passive";
				};

				trip1 {
					temperature = <115000>;
					hysteresis = <0>;
					type = "hot";
				};

				trip2 {
					temperature = <145000>;
					hysteresis = <0>;
					type = "critical";
				};
			};
		};
	};
};

&spmi_bus {
	pmc8180_0: pmic@0 {
		compatible = "qcom,pm8150", "qcom,spmi-pmic";

Annotation

Implementation Notes