From patchwork Thu Mar 12 07:29:51 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 5991111 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 07CC19F399 for ; Thu, 12 Mar 2015 07:33:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1D39F20383 for ; Thu, 12 Mar 2015 07:33:28 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 349B920381 for ; Thu, 12 Mar 2015 07:33:27 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YVxa8-00025H-BK; Thu, 12 Mar 2015 07:31:00 +0000 Received: from nm21.bullet.mail.bf1.yahoo.com ([98.139.212.180]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YVxa2-000209-Is for linux-arm-kernel@lists.infradead.org; Thu, 12 Mar 2015 07:30:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1426145432; bh=1lnYY/bryCQ4+UfXfYKn4mGBVDXhPzzgXcyZ9kJwzCw=; h=From:To:Cc:Subject:Date:From:Subject; b=SinKSId1/jUhZReuhyMgw+bqskHi2VFsQOp39PqGB6vKTIB9MZ2p11rQQkZIJqnFHwa59aYXr1prknq9flaQkXH6or9D4qg21eC4P9F+EWQjL2Lrha3idRCtLIiNRLIvx3fyKjsfVgkWBCn3HBn+0V9E0KoKqtrtU4wP80OvnEUn9SmPYRoztWLSqIbxdd7596xnk9zR+FmM413ZNqunlBB3UAdwe+Ngo94gDTxlDkWvMQyCZwILbJzgfatvsBHQYwwca10LSvs4iDR94W5kYlatQToJfm0F2fDZpsEu6cBk3WFXlHbeXgBR+/spuURtpDE1EGoUFfmDpPQRN6SAPg== Received: from [98.139.215.142] by nm21.bullet.mail.bf1.yahoo.com with NNFMP; 12 Mar 2015 07:30:32 -0000 Received: from [98.139.211.202] by tm13.bullet.mail.bf1.yahoo.com with NNFMP; 12 Mar 2015 07:30:32 -0000 Received: from [127.0.0.1] by smtp211.mail.bf1.yahoo.com with NNFMP; 12 Mar 2015 07:30:32 -0000 X-Yahoo-Newman-Id: 917064.17616.bm@smtp211.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: pbLa.B0VM1nZsk4EhZOnycRTNKgGag3KwniOavDCXZJU08s rZUNGgwQHzJsA8E06tc_XgrYtuEIotNOeCkJEmFyG2XLpqWp.Pqh4Y9Kgw2c KJIxW5HP5A.M63eRB0WERFqg4QrBzzvbAfdnAKuXb6bThLG_ExSRvhEe_PPB _WhuckMLJUKHX1X7r4VDN7PcXATr8tBIbL2_EXw0o2mpMHcfyR8I_1y11WeM EkSt1ge6DDSodb0PuLpm4dIpA1dmcekR_blYyeYuadX1.7evrw2PpN2_PJEN UnddJ0HYJ27uq2Rzh9pSZiYoe.QTudc3H0jlWGLDOYTGD6H6rmgnYaxsooq8 p0UPa8sbZcrUlcK5aGPNSo6uGcAL1Ye8KsJzhiWM64QGCrSYUT9Bnc9JvjO_ B_9g7s6ThJcR97fYmTXcBgSuH4juWa_EaKRu8xa6IxfWEyxmwcgDUh7ThICt VbqEpf91oPbBhuKMVQ1UidejFyWYqbsGd9ZeEix1igyBXtr2uUg.I6cEOn4. kAfiSb7aFXXFoEzEczcVOPViP34_AlvFZi.imkkK3IBDggQa6ncRX8QKfkfZ cReiVbIoXIqVJvIkWYh8Qio1soipis.MuXmmNp52mCvhpJ.wme1J_OEFj4b2 lT9VzPpg6amfxBE7Uzi.k3O0r9ty43fs04c2JNxs.DnTNiaB34EVx.t0fAGm I0_gowmNBv410aga.a0_vtJtmuTgLY94EJ_M- X-Yahoo-SMTP: Yh1ZCseswBB87.sev4MWOyuvEVa7giM- From: Anand Moon To: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , Kukjin Kim Subject: [PATCH] ARM: dts: exynos5420 Fixes -ELOOP (Too many levels of symbolic links) Date: Thu, 12 Mar 2015 12:59:51 +0530 Message-Id: <1426145391-30089-1-git-send-email-moon.linux@yahoo.com> X-Mailer: git-send-email 2.1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150312_003054_816973_9CC4FC9A X-CRM114-Status: UNSURE ( 7.56 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.1 (/) Cc: devicetree@vger.kernel.org, Anand Moon , linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FORGED_YAHOO_RCVD, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP BUG of recursive symbolic link and be observed by using below powerdebug git://git.linaro.org/tools/powerdebug.git. This utility populates the Clock, Regulators, Sensors and Gpio. Some how the regulators were not getting populated by this utility. After debugging this powerdebug application using 'strace' I can across following. Below output is trunkated. stat64("/sys/class/regulator/regulator.0/usb@12000000-vdd10/ iommu_group/devices/usb@12000000/iommu_group/devices/usb@12000000/ iommu_group/devices/usb@12000000/iommu_group/devices/usb@12000000/ iommu_group/devices/usb@12000000/iommu_group/devices/usb@12000000/ iommu_group/devices/usb@12000000/iommu_group/devices/usb@12000000/ iommu_group/devices/usb@12000000/iommu_group/devices/usb@12000000/ iommu_group/devices/usb@12000000/iommu_group/devices/usb@12000000/ iommu_group/devices/usb@12000000/iommu_group/devices/usb@12000000/ iommu_group/devices/usb@12000000/iommu_group/devices/usb@12000000/ iommu_group/devices/usb@12000000/iommu_group/devices/usb@12000000/ iommu_group/devices/usb@12000000/iommu_group", 0xbec45fb8) = -1 ELOOP (Too many levels of symbolic links) close(63) = 0 close(62) = 0 These changes depend on following series of commit. Pull iommu fixes from Joerg Roedel: "The patches contain: - fix multiple ARM IOMMU drivers to behave well when the hardware is not present - mark MSM driver as broken - fix build errors with the new ARM generic io-page-table code" * tag 'iommu-fixes-v4.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: iommu/io-pgtable-arm: Add built time dependency iommu/msm: Mark driver BROKEN iommu/rockchip: Play nice in multi-platform builds iommu/omap: Play nice in multi-platform builds iommu/exynos: Play nice in multi-platform builds iommu/io-pgtable-arm: Fix self-test WARNs on i386 After these changes powerdebug will populate regulators. Tested on OdroidXU3 board. Signed-off-by: Anand Moon --- arch/arm/boot/dts/exynos5420.dtsi | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 9dc2e97..a5f13a3 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -840,14 +840,14 @@ #address-cells = <1>; #size-cells = <1>; ranges; + }; - usbdrd_dwc3_0: dwc3 { - compatible = "snps,dwc3"; - reg = <0x12000000 0x10000>; - interrupts = <0 72 0>; - phys = <&usbdrd_phy0 0>, <&usbdrd_phy0 1>; - phy-names = "usb2-phy", "usb3-phy"; - }; + usbdrd_dwc3_0: dwc3 { + compatible = "snps,dwc3"; + reg = <0x12000000 0x10000>; + interrupts = <0 72 0>; + phys = <&usbdrd_phy0 0>, <&usbdrd_phy0 1>; + phy-names = "usb2-phy", "usb3-phy"; }; usbdrd_phy0: phy@12100000 { @@ -866,14 +866,14 @@ #address-cells = <1>; #size-cells = <1>; ranges; + }; - usbdrd_dwc3_1: dwc3 { - compatible = "snps,dwc3"; - reg = <0x12400000 0x10000>; - interrupts = <0 73 0>; - phys = <&usbdrd_phy1 0>, <&usbdrd_phy1 1>; - phy-names = "usb2-phy", "usb3-phy"; - }; + usbdrd_dwc3_1: dwc3 { + compatible = "snps,dwc3"; + reg = <0x12400000 0x10000>; + interrupts = <0 73 0>; + phys = <&usbdrd_phy1 0>, <&usbdrd_phy1 1>; + phy-names = "usb2-phy", "usb3-phy"; }; usbdrd_phy1: phy@12500000 {