Skip to content

Commit

Permalink
ASoC: dt-bindings: pm8916-analog-codec: Drop pointless reg-names
Browse files Browse the repository at this point in the history
pm8916-wcd-analog-codec has just a single reg region, so having a name
for it provides no additional value.

Drop it completely from the schema and example. There is not really any
point in keeping it (even as deprecated) because it was never used. In
old DTBs it will just be ignored as before.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230718-pm8916-mclk-v1-2-4b4a58b4240a@gerhold.net
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Stephan Gerhold authored and Mark Brown committed Jul 20, 2023
1 parent 944b5c7 commit dfc491e
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ properties:
reg:
maxItems: 1

reg-names:
items:
- const: pmic-codec-core

clocks:
maxItems: 1

Expand Down Expand Up @@ -126,7 +122,6 @@ examples:
audio-codec@f000 {
compatible = "qcom,pm8916-wcd-analog-codec";
reg = <0xf000>;
reg-names = "pmic-codec-core";
clocks = <&gcc GCC_CODEC_DIGCODEC_CLK>;
clock-names = "mclk";
qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
Expand Down

0 comments on commit dfc491e

Please sign in to comment.