drivers: rename drivers to match compatible string
authorWalter Lozano <walter.lozano@collabora.com>
Thu, 25 Jun 2020 04:10:04 +0000 (01:10 -0300)
committerSimon Glass <sjg@chromium.org>
Fri, 10 Jul 2020 00:57:22 +0000 (18:57 -0600)
commite3e2470fdd57567e8df04e76203cd4e580a93975
tree143c1602296b7fb2196fa190b3456fcd1904af24
parent229806f7593f3971744c9e7fbfdd85ca6e724b2d
drivers: rename drivers to match compatible string

When using OF_PLATDATA, the bind process between devices and drivers
is performed trying to match compatible string with driver names.
However driver names are not strictly defined, and also there are different
names used when declaring a driver with U_BOOT_DRIVER, the name of the
symbol used in the linker list and the used in the struct driver_info.

In order to make things a bit more clear, rename the drivers names. This
will also help for further OF_PLATDATA improvements, such as checking
for valid driver names.

Signed-off-by: Walter Lozano <walter.lozano@collabora.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Add a fix for sandbox of-platdata to avoid using an invalid ANSI colour:
Signed-off-by: Simon Glass <sjg@chromium.org>
45 files changed:
arch/arm/mach-at91/arm926ejs/at91sam9260_devices.c
arch/arm/mach-at91/arm926ejs/at91sam9m10g45_devices.c
arch/arm/mach-rockchip/rk3328/syscon_rk3328.c
board/davinci/da8xxevm/omapl138_lcdk.c
board/sandbox/sandbox.c
drivers/clk/at91/clk-master.c
drivers/clk/at91/clk-peripheral.c
drivers/clk/at91/pmc.c
drivers/core/simple-bus.c
drivers/gpio/at91_gpio.c
drivers/gpio/da8xx_gpio.c
drivers/gpio/mxs_gpio.c
drivers/gpio/rk_gpio.c
drivers/gpio/sandbox.c
drivers/i2c/rk_i2c.c
drivers/input/cros_ec_keyb.c
drivers/misc/cros_ec_sandbox.c
drivers/mmc/davinci_mmc.c
drivers/mmc/mxsmmc.c
drivers/mmc/rockchip_dw_mmc.c
drivers/mtd/spi/sf-uclass.c
drivers/mtd/spi/sf_probe.c
drivers/pinctrl/nxp/pinctrl-mxs.c
drivers/pinctrl/pinctrl-at91.c
drivers/pinctrl/rockchip/pinctrl-rk3188.c
drivers/pinctrl/rockchip/pinctrl-rk3288.c
drivers/pinctrl/rockchip/pinctrl-rk3328.c
drivers/pinctrl/rockchip/pinctrl-rk3368.c
drivers/power/pmic/rk8xx.c
drivers/power/regulator/fixed.c
drivers/ram/rockchip/dmc-rk3368.c
drivers/ram/rockchip/sdram_rk3188.c
drivers/ram/rockchip/sdram_rk3288.c
drivers/ram/rockchip/sdram_rk3328.c
drivers/serial/sandbox.c
drivers/spi/mxs_spi.c
drivers/spi/rk_spi.c
drivers/spi/sandbox_spi.c
drivers/tpm/tpm_tis_sandbox.c
drivers/video/rockchip/rk3288_vop.c
drivers/video/sandbox_sdl.c
drivers/watchdog/at91sam9_wdt.c
test/dm/gpio.c
test/dm/spi.c
test/py/tests/test_bind.py