[PATCH v3 6/9] ARM: dts: stm32: add Hardware debug port (HDP) on stm32mp15

Clément Le Goffic posted 9 patches 7 months ago
There is a newer version of this series
[PATCH v3 6/9] ARM: dts: stm32: add Hardware debug port (HDP) on stm32mp15
Posted by Clément Le Goffic 7 months ago
Add the hdp devicetree node for stm32mp15 SoC family

Signed-off-by: Clément Le Goffic <clement.legoffic@foss.st.com>
---
 arch/arm/boot/dts/st/stm32mp151.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/st/stm32mp151.dtsi b/arch/arm/boot/dts/st/stm32mp151.dtsi
index 0daa8ffe2ff5..b1b568dfd126 100644
--- a/arch/arm/boot/dts/st/stm32mp151.dtsi
+++ b/arch/arm/boot/dts/st/stm32mp151.dtsi
@@ -270,6 +270,13 @@ dts: thermal@50028000 {
 			status = "disabled";
 		};
 
+		hdp: pinctrl@5002a000 {
+			compatible = "st,stm32mp151-hdp";
+			reg = <0x5002a000 0x400>;
+			clocks = <&rcc HDP>;
+			status = "disabled";
+		};
+
 		mdma1: dma-controller@58000000 {
 			compatible = "st,stm32h7-mdma";
 			reg = <0x58000000 0x1000>;

-- 
2.43.0

Re: [PATCH v3 6/9] ARM: dts: stm32: add Hardware debug port (HDP) on stm32mp15
Posted by Krzysztof Kozlowski 6 months, 3 weeks ago
On 23/05/2025 14:38, Clément Le Goffic wrote:
> Add the hdp devicetree node for stm32mp15 SoC family
> 
> Signed-off-by: Clément Le Goffic <clement.legoffic@foss.st.com>
> ---
>  arch/arm/boot/dts/st/stm32mp151.dtsi | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/st/stm32mp151.dtsi b/arch/arm/boot/dts/st/stm32mp151.dtsi
> index 0daa8ffe2ff5..b1b568dfd126 100644
> --- a/arch/arm/boot/dts/st/stm32mp151.dtsi
> +++ b/arch/arm/boot/dts/st/stm32mp151.dtsi
> @@ -270,6 +270,13 @@ dts: thermal@50028000 {
>  			status = "disabled";
>  		};
>  
> +		hdp: pinctrl@5002a000 {
> +			compatible = "st,stm32mp151-hdp";
> +			reg = <0x5002a000 0x400>;
> +			clocks = <&rcc HDP>;
> +			status = "disabled";

Same questions here and in further patches.

Best regards,
Krzysztof
Re: [PATCH v3 6/9] ARM: dts: stm32: add Hardware debug port (HDP) on stm32mp15
Posted by Clement LE GOFFIC 6 months, 3 weeks ago
On 5/28/25 11:00, Krzysztof Kozlowski wrote:
> On 23/05/2025 14:38, Clément Le Goffic wrote:
>> Add the hdp devicetree node for stm32mp15 SoC family
>>
>> Signed-off-by: Clément Le Goffic <clement.legoffic@foss.st.com>
>> ---
>>   arch/arm/boot/dts/st/stm32mp151.dtsi | 7 +++++++
>>   1 file changed, 7 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/st/stm32mp151.dtsi b/arch/arm/boot/dts/st/stm32mp151.dtsi
>> index 0daa8ffe2ff5..b1b568dfd126 100644
>> --- a/arch/arm/boot/dts/st/stm32mp151.dtsi
>> +++ b/arch/arm/boot/dts/st/stm32mp151.dtsi
>> @@ -270,6 +270,13 @@ dts: thermal@50028000 {
>>   			status = "disabled";
>>   		};
>>   
>> +		hdp: pinctrl@5002a000 {
>> +			compatible = "st,stm32mp151-hdp";
>> +			reg = <0x5002a000 0x400>;
>> +			clocks = <&rcc HDP>;
>> +			status = "disabled";
> 
> Same questions here and in further patches.

Same, disabled by default and enable in board's dts file

> 
> Best regards,
> Krzysztof

Clément

Re: [PATCH v3 6/9] ARM: dts: stm32: add Hardware debug port (HDP) on stm32mp15
Posted by Krzysztof Kozlowski 6 months, 3 weeks ago
On 28/05/2025 14:15, Clement LE GOFFIC wrote:
> On 5/28/25 11:00, Krzysztof Kozlowski wrote:
>> On 23/05/2025 14:38, Clément Le Goffic wrote:
>>> Add the hdp devicetree node for stm32mp15 SoC family
>>>
>>> Signed-off-by: Clément Le Goffic <clement.legoffic@foss.st.com>
>>> ---
>>>   arch/arm/boot/dts/st/stm32mp151.dtsi | 7 +++++++
>>>   1 file changed, 7 insertions(+)
>>>
>>> diff --git a/arch/arm/boot/dts/st/stm32mp151.dtsi b/arch/arm/boot/dts/st/stm32mp151.dtsi
>>> index 0daa8ffe2ff5..b1b568dfd126 100644
>>> --- a/arch/arm/boot/dts/st/stm32mp151.dtsi
>>> +++ b/arch/arm/boot/dts/st/stm32mp151.dtsi
>>> @@ -270,6 +270,13 @@ dts: thermal@50028000 {
>>>   			status = "disabled";
>>>   		};
>>>   
>>> +		hdp: pinctrl@5002a000 {
>>> +			compatible = "st,stm32mp151-hdp";
>>> +			reg = <0x5002a000 0x400>;
>>> +			clocks = <&rcc HDP>;
>>> +			status = "disabled";
>>
>> Same questions here and in further patches.
> 
> Same, disabled by default and enable in board's dts file


So the same answer, node is complete so should it be enabled.

Best regards,
Krzysztof