mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: st: stm32mp2xxx: Remove undocumented, unapproved eeprom0wl alias
@ 2026-11-17 13:37 Krzysztof Kozlowski
  2026-11-17 13:41 ` Marek Vasut
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2026-11-17 13:37 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue, Christoph Niedermaier, Marek Vasut, devicetree,
	linux-stm32, linux-arm-kernel, kernel, linux-kernel
  Cc: Krzysztof Kozlowski

The eeprom0wl alias was never approved by Devicetree maintainers,
because it was never documented as actual ABI.  There is no in-kernel
user of it, although there might be U-Boot.  External DTS users cannot
rely on undocumented ABI, thus these are pretty safe to drop.

No new custom aliases are allowed for years now.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
 arch/arm64/boot/dts/st/stm32mp2xxx-dhcos-som.dtsi | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm64/boot/dts/st/stm32mp2xxx-dhcos-som.dtsi b/arch/arm64/boot/dts/st/stm32mp2xxx-dhcos-som.dtsi
index bcf63e2ea989..5795b352fccf 100644
--- a/arch/arm64/boot/dts/st/stm32mp2xxx-dhcos-som.dtsi
+++ b/arch/arm64/boot/dts/st/stm32mp2xxx-dhcos-som.dtsi
@@ -10,7 +10,6 @@ aliases {
 		serial0 = &usart6;
 		serial1 = &uart8;
 		eeprom0 = &eeprom0;
-		eeprom0wl = &eeprom0wl;
 		rtc0 = &rv3032;
 		rtc1 = &rtc;
 	};
-- 
2.53.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm64: dts: st: stm32mp2xxx: Remove undocumented, unapproved eeprom0wl alias
  2026-11-17 13:37 [PATCH] arm64: dts: st: stm32mp2xxx: Remove undocumented, unapproved eeprom0wl alias Krzysztof Kozlowski
@ 2026-11-17 13:41 ` Marek Vasut
  2026-11-17 15:13   ` Krzysztof Kozlowski
  0 siblings, 1 reply; 3+ messages in thread
From: Marek Vasut @ 2026-11-17 13:41 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Maxime Coquelin, Alexandre Torgue,
	Christoph Niedermaier, devicetree, linux-stm32, linux-arm-kernel,
	kernel, linux-kernel

On 11/17/26 2:37 PM, Krzysztof Kozlowski wrote:
> The eeprom0wl alias was never approved by Devicetree maintainers,
> because it was never documented as actual ABI.  There is no in-kernel
> user of it, although there might be U-Boot.  External DTS users cannot
> rely on undocumented ABI, thus these are pretty safe to drop.
> 
> No new custom aliases are allowed for years now.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> ---
>   arch/arm64/boot/dts/st/stm32mp2xxx-dhcos-som.dtsi | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/st/stm32mp2xxx-dhcos-som.dtsi b/arch/arm64/boot/dts/st/stm32mp2xxx-dhcos-som.dtsi
> index bcf63e2ea989..5795b352fccf 100644
> --- a/arch/arm64/boot/dts/st/stm32mp2xxx-dhcos-som.dtsi
> +++ b/arch/arm64/boot/dts/st/stm32mp2xxx-dhcos-som.dtsi
> @@ -10,7 +10,6 @@ aliases {
>   		serial0 = &usart6;
>   		serial1 = &uart8;
>   		eeprom0 = &eeprom0;
> -		eeprom0wl = &eeprom0wl;
>   		rtc0 = &rv3032;
>   		rtc1 = &rtc;
>   	};

U-Boot depends on the alias, so please don't drop this one.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm64: dts: st: stm32mp2xxx: Remove undocumented, unapproved eeprom0wl alias
  2026-11-17 13:41 ` Marek Vasut
@ 2026-11-17 15:13   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2026-11-17 15:13 UTC (permalink / raw)
  To: Marek Vasut, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Maxime Coquelin, Alexandre Torgue, Christoph Niedermaier,
	devicetree, linux-stm32, linux-arm-kernel, kernel, linux-kernel

On 17/11/2026 14:41, Marek Vasut wrote:
> On 11/17/26 2:37 PM, Krzysztof Kozlowski wrote:
>> The eeprom0wl alias was never approved by Devicetree maintainers,
>> because it was never documented as actual ABI.  There is no in-kernel
>> user of it, although there might be U-Boot.  External DTS users cannot
>> rely on undocumented ABI, thus these are pretty safe to drop.
>>
>> No new custom aliases are allowed for years now.
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
>> ---
>>   arch/arm64/boot/dts/st/stm32mp2xxx-dhcos-som.dtsi | 1 -
>>   1 file changed, 1 deletion(-)
>>
>> diff --git a/arch/arm64/boot/dts/st/stm32mp2xxx-dhcos-som.dtsi b/arch/arm64/boot/dts/st/stm32mp2xxx-dhcos-som.dtsi
>> index bcf63e2ea989..5795b352fccf 100644
>> --- a/arch/arm64/boot/dts/st/stm32mp2xxx-dhcos-som.dtsi
>> +++ b/arch/arm64/boot/dts/st/stm32mp2xxx-dhcos-som.dtsi
>> @@ -10,7 +10,6 @@ aliases {
>>   		serial0 = &usart6;
>>   		serial1 = &uart8;
>>   		eeprom0 = &eeprom0;
>> -		eeprom0wl = &eeprom0wl;
>>   		rtc0 = &rv3032;
>>   		rtc1 = &rtc;
>>   	};
> 
> U-Boot depends on the alias, so please don't drop this one.

As explained, U-Boot CANNOT depend on undocumented ABI. U-Boot is not a
user as understood in Linux kernel policy "we do not break users".
Especially that U-Boot does not even consume that DTS! We do not break
U-Boot as long as it is about documented ABI.

Here U-Boot won't be really affected, because updating DTB in the
kernel, does not update the one in bootloader. It does not go that way.
It could go opposite, so from bootloader -> kernel, but not the other
way around.

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-17 15:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-17 13:37 [PATCH] arm64: dts: st: stm32mp2xxx: Remove undocumented, unapproved eeprom0wl alias Krzysztof Kozlowski
2026-11-17 13:41 ` Marek Vasut
2026-11-17 15:13   ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®