Re: [PATCH v3 5/9] ARM: dts: stm32: add Hardware debug port (HDP) on stm32mp13

From: Krzysztof Kozlowski
Date: Tue Jun 10 2025 - 08:48:00 EST


On 10/06/2025 14:02, Clement LE GOFFIC wrote:
> On 5/29/25 11:01, Krzysztof Kozlowski wrote:
>> On 28/05/2025 14:14, Clement LE GOFFIC wrote:
>>>>
>>>>> + };
>>>>> +
>>>>> + hdp: pinctrl@5002a000 {
>>>>> + compatible = "st,stm32mp131-hdp";
>>>>> + reg = <0x5002a000 0x400>;
>>>>> + clocks = <&rcc HDP>;
>>>>> status = "disabled";
>>>>
>>>> Why are you disabling it? What is missing?
>>>
>>> Nothing is missing just disabled by default.
>>> The node is then enabled when needed in board's dts file.
>> Nodes should not be disabled by default if they are complete. That's why
>> I asked what is missing. Drop.
>
> Hi Krzysztof, OK I better understand now.
> So yes the 'pinctrl-*' properties which are board dependent are lacking.

These are not properties of this node.

>
> In the last patch of my serie I add them (only for stm32mp157f-dk2) but
> keep it disabled because the pin is on an external connector (the
> Arduino connector of the board).
> This prevent any issue with a possible connected module.

Not relevant. Pin control for connector are board specific, but pinctrl
SoC part is SoC.

Best regards,
Krzysztof