[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5eaee04b-249b-4d95-ad62-22a7fa928656@linaro.org>
Date: Fri, 27 Oct 2023 09:07:58 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Sebastian Fricke <sebastian.fricke@...labora.com>
Cc: Devarsh Thakkar <devarsht@...com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
NXP Linux Team <linux-imx@....com>,
Conor Dooley <conor+dt@...nel.org>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Jackson Lee <jackson.lee@...psnmedia.com>,
Hans Verkuil <hverkuil@...all.nl>,
Sascha Hauer <s.hauer@...gutronix.de>,
Rob Herring <robh+dt@...nel.org>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Shawn Guo <shawnguo@...nel.org>,
Philipp Zabel <p.zabel@...gutronix.de>,
Nas Chung <nas.chung@...psnmedia.com>,
Fabio Estevam <festevam@...il.com>,
linux-media@...r.kernel.org, Tomasz Figa <tfiga@...omium.org>,
linux-kernel@...r.kernel.org,
Nicolas Dufresne <nicolas.dufresne@...labora.com>,
kernel@...labora.com, Robert Beckett <bob.beckett@...labora.com>,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Darren Etheridge <detheridge@...com>,
"Bajjuri, Praneeth" <praneeth@...com>,
"Raghavendra, Vignesh" <vigneshr@...com>,
"Bhatia, Aradhya" <a-bhatia1@...com>,
"Luthra, Jai" <j-luthra@...com>,
"Brnich, Brandon" <b-brnich@...com>,
"Pothukuchi, Vijay" <vijayp@...com>
Subject: Re: [PATCH v13 6/8] media: dt-bindings: wave5: add Chips&Media 521c
codec IP support
On 26/10/2023 18:33, Sebastian Fricke wrote:
> required:
> - compatible
> - reg
> - clocks
> - interrupts
>
> Is it possible to make it required later on for certain SoC by adding
> something along the lines of:
>
> allOf:
> - if:
> properties:
> compatible:
> contains:
> enum:
> - soc_compatible...
> ...
> then:
> properties:
> interrupts: true
See example schema:
https://elixir.bootlin.com/linux/v5.19/source/Documentation/devicetree/bindings/example-schema.yaml#L212
Best regards,
Krzysztof
Powered by blists - more mailing lists