Re: [PATCH] ASoC: dt-bindings: rockchip: Convert rk3399-gru-sound to YAML

From: Krzysztof Kozlowski

Date: Sat Apr 04 2026 - 07:11:20 EST


On Thu, Apr 02, 2026 at 11:26:35AM +0530, Anushka Badhe wrote:
> Convert the rockchip,rk3399-gru-sound.txt DT binding to YAML Schema.

DT Schema, not YAML Schema.

Same in subject.

https://elixir.bootlin.com/linux/v6.17-rc3/source/Documentation/devicetree/bindings/submitting-patches.rst#L18

...

> +---
> +$id: http://devicetree.org/schemas/sound/rockchip,rk3399-gru-sound.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: ROCKCHIP with MAX98357A/RT5514/DA7219 codecs on GRU boards

Rockchip

> +
> +maintainers:
> + - Heiko Stuebner <heiko@xxxxxxxxx>
> +
> +properties:
> + compatible:
> + const: rockchip,rk3399-gru-sound
> +
> + rockchip,cpu:
> + $ref: /schemas/types.yaml#/definitions/phandle-array

Need to list items. See msm/gpu.yaml,
allwinner,sun4i-a10-display-engine.yaml and others.

And read the driver code to understand what is supposed to be here.


> + description:
> + The phandle of the Rockchip I2S controller that's connected to the codecs
> +
> + rockchip,codec:
> + $ref: /schemas/types.yaml#/definitions/phandle-array

Same here.

> + description: The phandle of the audio codecs

Best regards,
Krzysztof