lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFp+6iFHwBx7aRFR7BN8iWCnHMb-U8ttqChHFhuC_L3Oo+=Dgw@mail.gmail.com>
Date:	Wed, 19 Dec 2012 11:17:11 +0530
From:	Vivek Gautam <gautamvivek1987@...il.com>
To:	linux-samsung-soc@...r.kernel.org
Cc:	dianders@...omium.org, kgene.kim@...sung.com,
	devicetree-discuss@...ts.ozlabs.org, linux-usb@...r.kernel.org,
	linux-kernel@...r.kernel.org, balbi@...com,
	rob.herring@...xeda.com, sylvester.nawrocki@...il.com,
	p.paneri@...sung.com, Vivek Gautam <gautam.vivek@...sung.com>
Subject: Re: [PATCH 1/2] ARM: Exynos5250: Enabling samsung-usbphy driver

CC: Doug Anderson.


On Tue, Dec 18, 2012 at 9:09 PM, Vivek Gautam <gautam.vivek@...sung.com> wrote:
> Adding usbphy node for Exynos5250 along with the
> necessary device data to be parsed.
>
> Signed-off-by: Vivek Gautam <gautam.vivek@...sung.com>
> ---
>  arch/arm/boot/dts/exynos5250.dtsi       |   22 ++++++++++++++++++++++
>  arch/arm/mach-exynos/include/mach/map.h |    1 +
>  arch/arm/mach-exynos/mach-exynos5-dt.c  |    2 ++
>  3 files changed, 25 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
> index 581e57a..bbdb2c2 100644
> --- a/arch/arm/boot/dts/exynos5250.dtsi
> +++ b/arch/arm/boot/dts/exynos5250.dtsi
> @@ -299,6 +299,28 @@
>                 rx-dma-channel = <&pdma0 11>; /* preliminary */
>         };
>
> +       phy_h0: usbdev_phyctrl@...40704 {
> +               compatible = "samsung,usbdev-phyctrl";
> +               samsung,phyhandle-reg = <0x10040704>;
> +       };
> +
> +       phy_h1: usbhost_phyctrl@...40708 {
> +               compatible = "samsung,usbhost-phyctrl";
> +               samsung,phyhandle-reg = <0x10040708>;
> +       };
> +
> +       phy_h2: usbhost_phycfg@...50230 {
> +               compatible = "samsung,usb-phycfg";
> +               samsung,phyhandle-reg = <0x10050230>;
> +       };
> +
> +       usbphy@...30000 {
> +               compatible = "samsung,exynos5250-usbphy";
> +               reg = <0x12130000 0x100>;
> +               samsung,usb-phyhandle = <&phy_h0 &phy_h1 &phy_h2>;
> +               samsung,enable-mask = <1>;
> +       };
> +
>         amba {
>                 #address-cells = <1>;
>                 #size-cells = <1>;
> diff --git a/arch/arm/mach-exynos/include/mach/map.h b/arch/arm/mach-exynos/include/mach/map.h
> index cbb2852..778348e 100644
> --- a/arch/arm/mach-exynos/include/mach/map.h
> +++ b/arch/arm/mach-exynos/include/mach/map.h
> @@ -201,6 +201,7 @@
>  #define EXYNOS4_PA_EHCI                        0x12580000
>  #define EXYNOS4_PA_OHCI                        0x12590000
>  #define EXYNOS4_PA_HSPHY               0x125B0000
> +#define EXYNOS5_PA_HSPHY               0x12130000
>  #define EXYNOS4_PA_MFC                 0x13400000
>
>  #define EXYNOS4_PA_UART                        0x13800000
> diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c b/arch/arm/mach-exynos/mach-exynos5-dt.c
> index 462e5ac..24e7529 100644
> --- a/arch/arm/mach-exynos/mach-exynos5-dt.c
> +++ b/arch/arm/mach-exynos/mach-exynos5-dt.c
> @@ -110,6 +110,8 @@ static const struct of_dev_auxdata exynos5250_auxdata_lookup[] __initconst = {
>                                 "samsung-i2s.1", NULL),
>         OF_DEV_AUXDATA("samsung,samsung-i2s", 0x12D70000,
>                                 "samsung-i2s.2", NULL),
> +       OF_DEV_AUXDATA("samsung,exynos5250-usbphy", EXYNOS5_PA_HSPHY,
> +                               "s3c-usbphy", NULL),
>         {},
>  };
>
> --
> 1.7.6.5
>
> _______________________________________________
> devicetree-discuss mailing list
> devicetree-discuss@...ts.ozlabs.org
> https://lists.ozlabs.org/listinfo/devicetree-discuss



-- 
Thanks & Regards
Vivek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ