Re: [PATCH v1 1/5] dt-bindings: soc: qcom: Add memory_dump driver bindings

From: Krzysztof Kozlowski
Date: Mon Oct 23 2023 - 08:52:44 EST


On 23/10/2023 13:54, Zhenhua Huang wrote:
>
>
> On 2023/10/23 17:27, Krzysztof Kozlowski wrote:
>> On 23/10/2023 11:20, Zhenhua Huang wrote:
>>> Add bindings for the QCOM Memory Dump driver providing debug
>>
>> Bindings are for hardware, not driver. This suggests it is not suitable
>> for bindings at all.
>>
>>> facilities. Firmware dumps system cache, internal memory,
>>> peripheral registers to reserved DDR as per the table which
>>> populated by the driver, after crash and warm reset.
>>
>> Again driver :/
>
> Thanks for pointing out. Qualcomm memory dump device is a reserved
> memory region which is used to communicate with firmware. I will update
> description in next version.

I have still doubts that it is suitable for DT. I usually expect such
firmware feature-drivers to be instantiated by existing firmware
drivers. You do not need DT for this.

Best regards,
Krzysztof