u-boot/drivers
Patrick Delaunay 75760653cb misc: rcc: keep the rcc device name for subnode
Update the name associated with the RCC drivers to avoid
duplicated name with the driver name.

With this patch the traces displayed with log macro provide a
correct device name.

The rcc device name before the patch is:

 Class     Index  Probed  Driver                Name
-----------------------------------------------------------
 root          0  [ + ]   root_driver           root_driver
 simple_bus    0  [ + ]   simple_bus            |-- soc
 (...)
 nop           0  [ + ]   stm32-rcc             |   |-- rcc@50000000
 clk           0  [ + ]   stm32mp1_clk          |   |   |-- stm32mp1_clk
 reset         0  [ + ]   stm32_rcc_reset       |   |   `-- stm32_rcc_reset

And they become:
 (...)
 nop           0  [ + ]   stm32-rcc             |   |-- rcc@50000000
 clk           0  [ + ]   stm32mp1_clk          |   |   |-- rcc@50000000
 reset         0  [ + ]   stm32_rcc_reset       |   |   `-- rcc@50000000

The traces is correct:
stm32mp1_clk rcc@stm32mp1_clk: .....
=>
stm32mp1_clk rcc@50000000: .....

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
2021-01-13 09:52:58 +01:00
..
adc dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
ata dm: core: Access device ofnode through functions 2021-01-05 12:24:41 -07:00
axi dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
bios_emulator common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
block dm: treewide: Rename dev_get_platdata() to dev_get_plat() 2020-12-13 16:51:09 -07:00
bootcount dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
bus bus: ti: am33xx: add pwm subsystem driver 2021-01-12 10:58:05 +05:30
button dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
cache dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
clk clk: move clk-ti-sci driver to 'ti' directory 2021-01-12 10:58:05 +05:30
core dm: core: add a function to decode display timings 2021-01-12 10:58:05 +05:30
cpu dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
crypto dm: Rename U_BOOT_DEVICE() to U_BOOT_DRVINFO() 2021-01-05 12:26:35 -07:00
ddr Driver model: make some udevice fields private 2021-01-05 22:34:43 -05:00
demo dm: Rename U_BOOT_DEVICE() to U_BOOT_DRVINFO() 2021-01-05 12:26:35 -07:00
dfu dfu_mtd: Add provision to unlock mtd device 2020-12-31 14:41:31 +01:00
dma dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
fastboot fastboot: getvar: fix partition-size return value 2020-09-01 14:47:43 +02:00
firmware dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
fpga arm: socfpga: agilex: Enable FPGA Full Reconfiguration support 2020-10-09 17:53:12 +08:00
gpio gpio: stm32-gpio: migrate trace to dev and log macro 2021-01-13 09:52:58 +01:00
hwspinlock hwspinlock: stm32: migrate trace to log macro 2021-01-13 09:52:58 +01:00
i2c Driver model: make some udevice fields private 2021-01-05 22:34:43 -05:00
input dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
led dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
mailbox dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
memory dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
misc misc: rcc: keep the rcc device name for subnode 2021-01-13 09:52:58 +01:00
mmc mmc: stm32_sdmmc2: migrate trace to dev and log macro 2021-01-13 09:52:58 +01:00
mtd Xilinx changes for v2021.04 2021-01-06 07:57:33 -05:00
mux dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
net Driver model: make some udevice fields private 2021-01-05 22:34:43 -05:00
nvme Prepare v2021.01-rc5 2021-01-05 16:20:26 -05:00
pch dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
pci Driver model: make some udevice fields private 2021-01-05 22:34:43 -05:00
pci_endpoint dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
phy Driver model: make some udevice fields private 2021-01-05 22:34:43 -05:00
pinctrl pinctrl: stm32: migrate trace to log macro 2021-01-13 09:52:58 +01:00
power power: regulator: stm32-verfbuf: define LOG_CATEGORY 2021-01-13 09:52:58 +01:00
pwm pwm: ti: am33xx: add enhanced pwm driver 2021-01-12 10:58:05 +05:30
qe net, qe: add DM support for QE UEC ethernet 2020-09-17 06:09:53 +02:00
ram ram: stm32mp1: migrate trace to dev or log macro 2021-01-13 09:52:58 +01:00
remoteproc remoproc: stm32: migrate trace to log macro 2021-01-13 09:52:58 +01:00
reset Driver model: make some udevice fields private 2021-01-05 22:34:43 -05:00
rng dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
rtc rtc: stm32: migrate trace to log macro 2021-01-13 09:52:58 +01:00
scsi dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
serial Xilinx changes for v2021.04 2021-01-06 07:57:33 -05:00
smem soc: qualcomm: Fix not calling dev_err with a device 2020-09-30 08:53:43 -04:00
soc dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
sound dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
spi spi: omap3_spi: Fix speed and mode selection 2021-01-12 10:21:41 +05:30
spmi dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
sysinfo dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
sysreset Driver model: make some udevice fields private 2021-01-05 22:34:43 -05:00
tee dm: core: Access device ofnode through functions 2021-01-05 12:24:41 -07:00
thermal dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
timer timer: stm32: migrate trace to log macro 2021-01-13 09:52:58 +01:00
tpm dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
ufs dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
usb Driver model: make some udevice fields private 2021-01-05 22:34:43 -05:00
video video: omap: move drivers to 'ti' directory 2021-01-12 10:59:04 +05:30
virtio dm: Avoid accessing seq directly 2020-12-18 20:32:21 -07:00
w1 dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
w1-eeprom dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
watchdog watchdog: stm32mp: migrate trace to dev macro 2021-01-13 09:52:58 +01:00
xen dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
Kconfig board: Rename uclass to sysinfo 2020-11-06 10:18:20 +08:00
Makefile board: Rename uclass to sysinfo 2020-11-06 10:18:20 +08:00