From mboxrd@z Thu Jan 1 00:00:00 1970 From: kgene.kim@samsung.com (Kukjin Kim) Date: Mon, 12 Nov 2012 13:41:24 +0900 Subject: [PATCH v7 0/5] usb: phy: samsung: Introducing usb phy driver for samsung SoCs In-Reply-To: <20121109135441.GC8567@arwen.pp.htv.fi> References: <1351573057-22249-1-git-send-email-p.paneri@samsung.com> <20121109115440.GC8078@arwen.pp.htv.fi> <20121109135441.GC8567@arwen.pp.htv.fi> Message-ID: <004201cdc08f$fa0fd3d0$ee2f7b70$%kim@samsung.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Felipe Balbi wrote: > > Hi, > Hi :-) [...] > Sure, but I still need Kukjin's 'say-so' for the arch/arm/plat-samsung > and arch/arm/mach-exynos part. > Basically, this approach looks OK to me. BTW, I have some comments and need to update... >>From 4th patch... > diff --git a/arch/arm/mach-s3c64xx/mach-smdk6410.c b/arch/arm/mach- > s3c64xx/mach-smdk6410.c [...] > @@ -72,6 +73,8 @@ > #include > #include > #include > +#include Why? In addition, this causes build error with s3c6400_defconfig. [...] > diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c > index 03f654d..9cdb666 100644 [...] > @@ -1370,6 +1371,30 @@ struct platform_device s5p_device_mixer = { > > /* USB */ > > +#ifdef CONFIG_S3C_DEV_USB_HSOTG > +/* USB PHY*/ > +static struct resource samsung_usbphy_resource[] = { > + [0] = { > + .start = S3C_PA_USB_PHY, > + .end = S3C_PA_USB_PHY + SZ_16 - 1, > + .flags = IORESOURCE_MEM, > + }, > +}; +static struct resource samsung_usbphy_resource[] = { + [0] = DEFINED_RES_MEM(S3C_PA_USB_PHY, SZ_16), +}; [...] Happens build error with s5pv210_defconfig arch/arm/plat-samsung/devs.c:1375: error: 'S3C_PA_USB_PHY' undeclared here (not in a function) make[2]: *** [arch/arm/plat-samsung/devs.o] Error 1 make[1]: *** [arch/arm/plat-samsung] Error 2 make[1]: *** Waiting for unfinished jobs.... And another build error with exynos_defconfig... arch/arm/mach-exynos/built-in.o: In function `.LANCHOR1': setup-i2c0.c:(.data+0x8080): undefined reference to `s5p_usb_phy_pmu_isolation' >>From 5th patch.... If possible, please to use 'ARM: [sub-arch dir name]: [subject]' format. So I preferred to use 'ARM: EXYNOS: Enabling samsung-usbphy driver for EXYNOS4210' on that. Please make sure your patch has no problem for kernel compilation before submitting... Thanks. Best regards, Kgene. -- Kukjin Kim , Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.