From: Krzysztof Kozlowski <krzk@kernel.org>
To: Rayyan Ansari <rayyan.ansari@linaro.org>, devicetree@vger.kernel.org
Cc: alsa-devel@alsa-project.org,
Banajit Goswami <bgoswami@quicinc.com>,
Conor Dooley <conor+dt@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-sound@vger.kernel.org, Mark Brown <broonie@kernel.org>,
Rob Herring <robh@kernel.org>,
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Subject: Re: [PATCH 1/2] ASoC: dt-bindings: qcom,msm8916-wcd-digital-codec: convert to dtschema
Date: Wed, 10 Jul 2024 10:25:53 +0200 [thread overview]
Message-ID: <9f1d3c63-8b1c-43a8-b002-5399a81e704d@kernel.org> (raw)
In-Reply-To: <20240709152808.155405-2-rayyan.ansari@linaro.org>
On 09/07/2024 17:24, Rayyan Ansari wrote:
> Convert the Qualcomm MSM8916 WCD Digital Audio Codec bindings from text
> to yaml dt schema format.
> Make bindings complete by adding #sound-dai-cells.
> +
> +properties:
> + compatible:
> + const: qcom,msm8916-wcd-digital-codec
> +
> + reg:
> + maxItems: 1
> +
> + clocks:
> + minItems: 2
You can drop minItems if they equal max.
> + maxItems: 2
> +
> + clock-names:
> + items:
> + - const: ahbix-clk
> + - const: mclk
> +
> + '#sound-dai-cells':
> + const: 1
> +
> +required:
> + - compatible
> + - reg
> + - clocks
> + - clock-names
> + - '#sound-dai-cells'
> +
You need here allOf: with $ref to dai-common.yaml.
> +additionalProperties: false
... and this then becomes:
unevaluatedProperties: false
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-07-10 8:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-09 15:24 [PATCH 0/2] ASoC: dt-bindings: convert qcom sound bindings to yaml Rayyan Ansari
2024-07-09 15:24 ` [PATCH 1/2] ASoC: dt-bindings: qcom,msm8916-wcd-digital-codec: convert to dtschema Rayyan Ansari
2024-07-10 8:25 ` Krzysztof Kozlowski [this message]
2024-07-09 15:24 ` [PATCH 2/2] ASoC: dt-bindings: qcom,apq8096-sndcard: use dtschema Rayyan Ansari
2024-07-10 8:27 ` Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9f1d3c63-8b1c-43a8-b002-5399a81e704d@kernel.org \
--to=krzk@kernel.org \
--cc=alsa-devel@alsa-project.org \
--cc=bgoswami@quicinc.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=rayyan.ansari@linaro.org \
--cc=robh@kernel.org \
--cc=srinivas.kandagatla@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®