[PATCH] pmdomain: fix collision in names when registering

Maud Spierings maudspierings at gocontroll.com
Tue Dec 16 02:39:42 PST 2025


On 12/16/25 11:35, Ahmad Fatoum wrote:
> Hello Maud,
> 
> On 12/16/25 11:24 AM, Maud Spierings via B4 Relay wrote:
>> From: Maud Spierings <maudspierings at gocontroll.com>
>>
>> After adding the imx8m-blk-ctrl driver errors started appearing about
>> the genpd device already being registered.
>>
>> incorperate some extra device details in the device name so this
>> possible collision goes away.
>>
>> Signed-off-by: Maud Spierings <maudspierings at gocontroll.com>
> 
> Thanks for your patch. Did you check what the device is called now?
> 
> Do we need to change virt_dev->id = DEVICE_ID_SINGLE; just after the
> context to get rid of a trailing 0?

`-- genpd:0:32ec0000.blk-ctrl at 32ec0000.of0
`-- genpd:1:32ec0000.blk-ctrl at 32ec0000.of1
`-- genpd:2:32ec0000.blk-ctrl at 32ec0000.of2
`-- genpd:3:32ec0000.blk-ctrl at 32ec0000.of3
`-- genpd:4:32ec0000.blk-ctrl at 32ec0000.of4
`-- genpd:5:32ec0000.blk-ctrl at 32ec0000.of5
`-- genpd:6:32ec0000.blk-ctrl at 32ec0000.of6
`-- genpd:7:32ec0000.blk-ctrl at 32ec0000.of7
`-- genpd:8:32ec0000.blk-ctrl at 32ec0000.of8
`-- genpd:9:32ec0000.blk-ctrl at 32ec0000.of9

`-- genpd:0:32f10000.blk-ctrl at 32f10000.of0
`-- genpd:1:32f10000.blk-ctrl at 32f10000.of1
`-- genpd:2:32f10000.blk-ctrl at 32f10000.of2
`-- genpd:3:32f10000.blk-ctrl at 32f10000.of3
`-- genpd:4:32f10000.blk-ctrl at 32f10000.of4
`-- genpd:5:32f10000.blk-ctrl at 32f10000.of5

I guess that means .of#
So I should set that option?

Kind regards,
Maud




More information about the barebox mailing list