Re: [PATCH] ASoC: dt-bindings: mt6358: Convert to dtschema

From: Kartik Agarwala
Date: Thu Jun 06 2024 - 10:42:05 EST


On 5/20/24 12:39 PM, Krzysztof Kozlowski wrote:
> On 18/05/2024 10:16, Kartik Agarwala wrote:
>> Convert Mediatek MT6358 Audio Codec bindings from text to dtschema.
>>
>> Signed-off-by: Kartik Agarwala <agarwala.kartik@xxxxxxxxx>
>> ---
>> .../bindings/sound/mediatek,mt6358.yaml | 47 +++++++++++++++++++
>> .../devicetree/bindings/sound/mt6358.txt | 26 ----------
>> 2 files changed, 47 insertions(+), 26 deletions(-)
>> create mode 100644 Documentation/devicetree/bindings/sound/mediatek,mt6358.yaml
>> delete mode 100644 Documentation/devicetree/bindings/sound/mt6358.txt
>>
>> diff --git a/Documentation/devicetree/bindings/sound/mediatek,mt6358.yaml b/Documentation/devicetree/bindings/sound/mediatek,mt6358.yaml
>> new file mode 100644
>> index 000000000..f57ef2aa5
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/sound/mediatek,mt6358.yaml
>> @@ -0,0 +1,47 @@
>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>> +%YAML 1.2
>> +---
>> +$id: http://devicetree.org/schemas/sound/mediatek,mt6358.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: Mediatek MT6358 Audio Codec
>> +
>> +maintainers:
>> + - Kartik Agarwala <agarwala.kartik@xxxxxxxxx>
>> +
>> +description: |
>
> Do not need '|' unless you need to preserve formatting.
>
>> + The communication between MT6358 and SoC is through Mediatek PMIC wrapper.
>> + For more detail, please visit Mediatek PMIC wrapper documentation.
>> + Must be a child node of PMIC wrapper.
>
> Did you update the PMIC wrapper binding with ref to this?
>

Hi Krzysztof,

I apologize incase this is something obvious but I am still not sure
if I understand what you expect here. Could you please explain this
a bit more? I thought that you wanted me to convert the Mediatek PMIC
wrapper but it already seems to be in DT-Schema format.[1]

[1]: https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/soc/mediatek/mediatek%2Cpwrap.yaml

Thanks and Regards,
Kartik Agarwala