# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/soc/qcom/qcom,battery-glink-debug.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Qualcomm Technologies, Inc. Battery Glink Debug Device

maintainers:
  - Subbaraman Narayanamurthy <quic_subbaram@quicinc.com>

description: |
  This binding describes the Qualcomm Technologies, Inc. battery glink debug
  device. The QTI battery glink debug device helps to get logs and debug
  information by communicating with charger firmware running on the remote
  subsystem (e.g. DSP) over PMIC Glink.

properties:
  compatible:
    const: qcom,battery-debug

required:
  - compatible

additionalProperties: false

examples:
  - |
    pmic_glink_log {
      battery_debug {
        compatible = "qcom,battery-debug";
      };
    };
