Add bindings for PM8008 devices. This snapshot is taken from qclinux.1.0 branch commit 93af7f1c6008a ("QCLINUX: arm64: dts: qcom: Add bindings for qcom-i2c-pmic and PM8008 devices"). Change-Id: I8b1e88426bfe7f77c276922df8756be450237f77 Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com> Signed-off-by: Varshitha H N <quic_vhn@quicinc.com>
68 lines
1.4 KiB
YAML
68 lines
1.4 KiB
YAML
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/regulator/qcom,pm8008-chip.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Qualcomm Technologies, Inc. PM8008 Regulator's top-level chip
|
|
|
|
maintainers:
|
|
- Umang Chheda <quic_uchheda@quicinc.com>
|
|
|
|
description: |
|
|
PM8008 is an I2C based PMIC regulator chip.
|
|
|
|
properties:
|
|
compatible:
|
|
const: qcom,pm8008-chip
|
|
|
|
reg:
|
|
description:
|
|
Base address of the device.
|
|
|
|
maxItems: 1
|
|
|
|
patternProperties:
|
|
"^qcom,pm8008-chip-en+$":
|
|
type: object
|
|
$ref: /schemas/regulator/regulator.yaml#
|
|
|
|
description: |
|
|
Chip enable regulator device to control chip enable functionality.
|
|
|
|
required:
|
|
- compatible
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
|
i2c1 {
|
|
status = "okay";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
pm8008i_chip: pm8008i@8 {
|
|
compatible = "qcom,i2c-pmic";
|
|
reg = <0x8>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pm8008i_active>;
|
|
|
|
pm8008-chip@900 {
|
|
compatible = "qcom,pm8008-chip";
|
|
reg = <0x900>;
|
|
|
|
PM8008I_EN: qcom,pm8008-chip-en {
|
|
regulator-name = "pm8008i-chip-en";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
...
|