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 {