arch/arm/boot/dts/qcom/pm8058.dtsi

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/qcom/pm8058.dtsi

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/qcom/pm8058.dtsi
Extension
.dtsi
Size
3332 bytes
Lines
160
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.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: GPL-2.0

&ssbi {
	pm8058: pmic {
		compatible = "qcom,pm8058";
		#interrupt-cells = <2>;
		interrupt-controller;
		#address-cells = <1>;
		#size-cells = <0>;

		pwrkey@1c {
			compatible = "qcom,pm8058-pwrkey";
			reg = <0x1c>;
			interrupts-extended = <&pm8058 50 IRQ_TYPE_EDGE_RISING>,
					      <&pm8058 51 IRQ_TYPE_EDGE_RISING>;
			debounce = <15625>;
			pull-up;
		};

		pm8058_led48: led@48 {
			compatible = "qcom,pm8058-keypad-led";
			reg = <0x48>;
			status = "disabled";
		};

		vibrator@4a {
			compatible = "qcom,pm8058-vib";
			reg = <0x4a>;
		};

		pm8058_mpps: mpps@50 {
			compatible = "qcom,pm8058-mpp",
				     "qcom,ssbi-mpp";
			reg = <0x50>;
			gpio-controller;
			#gpio-cells = <2>;
			gpio-ranges = <&pm8058_mpps 0 0 12>;
			interrupt-controller;
			#interrupt-cells = <2>;
		};

		pm8058_led131: led@131 {
			compatible = "qcom,pm8058-led";
			reg = <0x131>;
			status = "disabled";
		};

		pm8058_led132: led@132 {
			compatible = "qcom,pm8058-led";
			reg = <0x132>;
			status = "disabled";
		};

		pm8058_led133: led@133 {
			compatible = "qcom,pm8058-led";
			reg = <0x133>;
			status = "disabled";
		};

		pm8058_keypad: keypad@148 {
			compatible = "qcom,pm8058-keypad";
			reg = <0x148>;
			interrupts-extended = <&pm8058 74 IRQ_TYPE_EDGE_RISING>,
					      <&pm8058 75 IRQ_TYPE_EDGE_RISING>;
			debounce = <15>;
			scan-delay = <32>;
			row-hold = <91500>;
		};

		pm8058_gpio: gpio@150 {

Annotation

Implementation Notes