Commit 3166c3dd authored by Olof Johansson's avatar Olof Johansson

Merge tag 'samsung-soc-5.5' of...

Merge tag 'samsung-soc-5.5' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into arm/soc

Samsung mach/soc changes for v5.5

1. Minor cleanups in S3C platforms,
2. Enable newly added EXYNOS_ASV (Adaptive Supply Voltage) driver.

* tag 'samsung-soc-5.5' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  ARM: exynos: Enable exynos-asv driver for ARCH_EXYNOS
  ARM: s3c: Rename s5p_usb_phy functions
  ARM: s3c: Rename s3c64xx_spi_setname() function

Link: https://lore.kernel.org/r/20191104175902.12224-2-krzk@kernel.orgSigned-off-by: default avatarOlof Johansson <olof@lixom.net>
parents f5ed5010 4134b762
...@@ -13,6 +13,7 @@ menuconfig ARCH_EXYNOS ...@@ -13,6 +13,7 @@ menuconfig ARCH_EXYNOS
select ARM_AMBA select ARM_AMBA
select ARM_GIC select ARM_GIC
select COMMON_CLK_SAMSUNG select COMMON_CLK_SAMSUNG
select EXYNOS_ASV
select EXYNOS_CHIPID select EXYNOS_CHIPID
select EXYNOS_THERMAL select EXYNOS_THERMAL
select EXYNOS_PMU select EXYNOS_PMU
......
...@@ -113,7 +113,7 @@ void __init s3c2416_map_io(void) ...@@ -113,7 +113,7 @@ void __init s3c2416_map_io(void)
/* initialize device information early */ /* initialize device information early */
s3c2416_default_sdhci0(); s3c2416_default_sdhci0();
s3c2416_default_sdhci1(); s3c2416_default_sdhci1();
s3c64xx_spi_setname("s3c2443-spi"); s3c24xx_spi_setname("s3c2443-spi");
iotable_init(s3c2416_iodesc, ARRAY_SIZE(s3c2416_iodesc)); iotable_init(s3c2416_iodesc, ARRAY_SIZE(s3c2416_iodesc));
} }
......
...@@ -91,7 +91,7 @@ void __init s3c2443_map_io(void) ...@@ -91,7 +91,7 @@ void __init s3c2443_map_io(void)
s3c24xx_gpiocfg_default.get_pull = s3c2443_gpio_getpull; s3c24xx_gpiocfg_default.get_pull = s3c2443_gpio_getpull;
/* initialize device information early */ /* initialize device information early */
s3c64xx_spi_setname("s3c2443-spi"); s3c24xx_spi_setname("s3c2443-spi");
iotable_init(s3c2443_iodesc, ARRAY_SIZE(s3c2443_iodesc)); iotable_init(s3c2443_iodesc, ARRAY_SIZE(s3c2443_iodesc));
} }
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
*/ */
/* re-define device name depending on support. */ /* re-define device name depending on support. */
static inline void s3c64xx_spi_setname(char *name) static inline void s3c24xx_spi_setname(char *name)
{ {
#ifdef CONFIG_S3C64XX_DEV_SPI0 #ifdef CONFIG_S3C64XX_DEV_SPI0
s3c64xx_device_spi0.name = name; s3c64xx_device_spi0.name = name;
......
...@@ -73,7 +73,7 @@ static int s3c_usb_otgphy_exit(struct platform_device *pdev) ...@@ -73,7 +73,7 @@ static int s3c_usb_otgphy_exit(struct platform_device *pdev)
return 0; return 0;
} }
int s5p_usb_phy_init(struct platform_device *pdev, int type) int s3c_usb_phy_init(struct platform_device *pdev, int type)
{ {
if (type == USB_PHY_TYPE_DEVICE) if (type == USB_PHY_TYPE_DEVICE)
return s3c_usb_otgphy_init(pdev); return s3c_usb_otgphy_init(pdev);
...@@ -81,7 +81,7 @@ int s5p_usb_phy_init(struct platform_device *pdev, int type) ...@@ -81,7 +81,7 @@ int s5p_usb_phy_init(struct platform_device *pdev, int type)
return -EINVAL; return -EINVAL;
} }
int s5p_usb_phy_exit(struct platform_device *pdev, int type) int s3c_usb_phy_exit(struct platform_device *pdev, int type)
{ {
if (type == USB_PHY_TYPE_DEVICE) if (type == USB_PHY_TYPE_DEVICE)
return s3c_usb_otgphy_exit(pdev); return s3c_usb_otgphy_exit(pdev);
......
...@@ -1010,9 +1010,9 @@ void __init dwc2_hsotg_set_platdata(struct dwc2_hsotg_plat *pd) ...@@ -1010,9 +1010,9 @@ void __init dwc2_hsotg_set_platdata(struct dwc2_hsotg_plat *pd)
npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_usb_hsotg); npd = s3c_set_platdata(pd, sizeof(*npd), &s3c_device_usb_hsotg);
if (!npd->phy_init) if (!npd->phy_init)
npd->phy_init = s5p_usb_phy_init; npd->phy_init = s3c_usb_phy_init;
if (!npd->phy_exit) if (!npd->phy_exit)
npd->phy_exit = s5p_usb_phy_exit; npd->phy_exit = s3c_usb_phy_exit;
} }
#endif /* CONFIG_S3C_DEV_USB_HSOTG */ #endif /* CONFIG_S3C_DEV_USB_HSOTG */
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#ifndef __PLAT_SAMSUNG_USB_PHY_H #ifndef __PLAT_SAMSUNG_USB_PHY_H
#define __PLAT_SAMSUNG_USB_PHY_H __FILE__ #define __PLAT_SAMSUNG_USB_PHY_H __FILE__
extern int s5p_usb_phy_init(struct platform_device *pdev, int type); extern int s3c_usb_phy_init(struct platform_device *pdev, int type);
extern int s5p_usb_phy_exit(struct platform_device *pdev, int type); extern int s3c_usb_phy_exit(struct platform_device *pdev, int type);
#endif /* __PLAT_SAMSUNG_USB_PHY_H */ #endif /* __PLAT_SAMSUNG_USB_PHY_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment