On 5/9/2023 4:19 PM, Krishna Kurapati PSSNV wrote:
Hi Team,
We are trying to read an array of <Volt, Amp> values from DT and use
it in one of our downstream drivers and needed to implement the same in
yaml file.
The below is the format we want to implement in our DT:
3 qcom,default-sink-caps = <5000 2000>, /* 5V , 2A */
2 <3000 1500>,
1 <2300 2500>;
Is there any ref/schema available for this kind of array ?
I believe when we wanted to use basis points as reference for [1], we
had to modify dt-schema for the same. Is something like that needed for
the above <Volt, Amp> requirement as well or is there some ref available
for use.
[1]: https://github.com/devicetree-org/dt-schema/pull/73
My bad, gave the link for dt-schema pull request adding basis points.
Here is the patch that used it in yaml:
https://lore.kernel.org/all/1662480933-12326-2-git-send-email-quic_kriskura@xxxxxxxxxxx/
Regards,
Krishna,