From patchwork Sat Sep 10 10:23:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 9324935 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CC3D760231 for ; Sat, 10 Sep 2016 10:23:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BCCA629AF6 for ; Sat, 10 Sep 2016 10:23:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B04FF29AFF; Sat, 10 Sep 2016 10:23:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.4 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58E4729AF6 for ; Sat, 10 Sep 2016 10:23:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755377AbcIJKXa (ORCPT ); Sat, 10 Sep 2016 06:23:30 -0400 Received: from mail-oi0-f44.google.com ([209.85.218.44]:36210 "EHLO mail-oi0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755311AbcIJKX3 (ORCPT ); Sat, 10 Sep 2016 06:23:29 -0400 Received: by mail-oi0-f44.google.com with SMTP id q188so81855533oia.3 for ; Sat, 10 Sep 2016 03:23:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:cc; bh=0HR6H1Pd7teFxboeE1vHxo1x/EOGwRMckK/w6KfQQqA=; b=vZR8hBXE4aqvMy9OCqa4SUrLhkVGW76jwn9aEfuQgDi+dHugd+3GwwuimRr0GZF5o/ hAifd13mqQkWe7oRoN1EQKSyKgibFzQ1V/IRSoTeS6ufbsrRGPeuB3eZIuBYUyrR5fvt 2HlpQGwPmOzgxpHv+row5nSebnhx1sqcBXimVLu1kkRvKS/Xd/OtlycuwstmZVtwBHlf 0fjvMSMUs1CbSIr+AbX3FCoifm0kDyn44kJRO60G9TDhj04KBVjpQmiRsZIQcmNQx6eo +dnt8wo7U11YulXaDBhv1T9zQPNOCMaY2N1TICzP4k9ZYkbk7W8nlkgEULlUUnM2qsPu B0QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=0HR6H1Pd7teFxboeE1vHxo1x/EOGwRMckK/w6KfQQqA=; b=OWAWNFFNzUTPXD2wG9Fd9RlvT+CXInW5A1BISaWScf98uYZBmJzVrJxctlSl1firYt ia2fZYjF6DfC/fC7QjsblwUyr8cmP9guY8sewX0grThalkrgbRgGsNxE8QCUx/kLusUn SI6+hXZuPTrp2aXPo11I3FyK5e/MjGQ5VoD9/hfR9VKiKX3MuBz/AHYuBsQ6xkg6Enm2 bSRca/zEauKqATLfAacxLpi0kyxF4GwSe9FvBH7Cr0geiHG26PFuyI2ZB/DzCSAozR48 BgJ8Z0TlNXFwLPFsraHqeQhgvfyUPPtPNiryXEl9HihHZrc+QZbZsJvyipTC9x9xFDEJ Ya3g== X-Gm-Message-State: AE9vXwPtf+9e3obuPXLu/exl0RZI3M8RtwR11rq0Se7dTtOOdwDso/BJZRMAt5aZlD45yErAP32G6OIS9ropIw== X-Received: by 10.202.252.10 with SMTP id a10mr13608508oii.124.1473503009022; Sat, 10 Sep 2016 03:23:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.11.151 with HTTP; Sat, 10 Sep 2016 03:23:08 -0700 (PDT) From: Anand Moon Date: Sat, 10 Sep 2016 15:53:08 +0530 Message-ID: Subject: usb phy reset for ethernet. To: =?UTF-8?Q?Krzysztof_Koz=C5=82owski?= Cc: "linux-samsung-soc@vger.kernel.org" , Javier Martinez Canillas , Marek Szyprowski , Mark Brown Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Krzysztof, For log time I am trying to understanding the reset for PHY for Odroid XU4 for ethenet/emmc/sdcard. So in-order to reset the PHY I would like to attempt some thing like this below. I am trying to understand and modify the driver drivers/regulator/s2mps11.c If you thing this approach is good enough. Or their will be another approach. Or is there reset core logic for the usb phy to be integrated for exynos platform. Please let me know your thought on this. Best Regards -Anand Moon --- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi index d562530..bed5263 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi @@ -369,9 +369,10 @@ }; ldo17_reg: LDO17 { - regulator-name = "tsp_avdd"; + regulator-name = "vdd_eth"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; + samsung,ext-control-gpios = <&gpg1 1 GPIO_ACTIVE_HIGH>; regulator-always-on; };