From c8ce3e1b00bf36fd8fba70d812ca505b1822fa9a Mon Sep 17 00:00:00 2001 From: Akshay Gola Date: Fri, 19 Jul 2024 17:36:06 +0530 Subject: [PATCH] ARM: dts: msm: Enable the SPMI node and add node its documentation Enable SPMI node and add its documentation for bring-up. Change-Id: I6ddfb75c6ba03935a5c8338f859147ea676205dd Signed-off-by: Akshay Gola --- bindings/sound/qcom,wcd_codec.yaml | 32 ++++++++++++++++++++++++++++++ qcom/pm5100.dtsi | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 bindings/sound/qcom,wcd_codec.yaml diff --git a/bindings/sound/qcom,wcd_codec.yaml b/bindings/sound/qcom,wcd_codec.yaml new file mode 100644 index 00000000..e75c3bde --- /dev/null +++ b/bindings/sound/qcom,wcd_codec.yaml @@ -0,0 +1,32 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/qcom,wcd_codec.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies, Inc. WCD audio CODEC + +maintainers: + - Swapnil Kangralkar + +description: + This document defines the bindings for pm5100_spmi child node of SPMI bus + required for besbev codec in order to access SPMI register to reset the + peripheral. + +properties: + compatible: + const: qcom,pm5100-spmi + +required: + - compatible + +additionalProperties: false + +examples: + - | + &spmi_bus { + pm5100_cdc: qcom,pm5100-cdc { + compatible = "qcom,pm5100-spmi"; + }; + }; diff --git a/qcom/pm5100.dtsi b/qcom/pm5100.dtsi index 3d303c4c..d13b2960 100644 --- a/qcom/pm5100.dtsi +++ b/qcom/pm5100.dtsi @@ -256,7 +256,7 @@ }; pm5100_cdc: qcom,pm5100-cdc { - /* compatible = "qcom,pm5100-spmi"; */ + compatible = "qcom,pm5100-spmi"; }; pm5100_bcl: bcl@4700 {