From patchwork Fri Jan 13 15:11:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 91445 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp235406qgi; Fri, 13 Jan 2017 07:11:41 -0800 (PST) X-Received: by 10.98.110.193 with SMTP id j184mr23388229pfc.21.1484320301001; Fri, 13 Jan 2017 07:11:41 -0800 (PST) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id h5si12968658pgf.209.2017.01.13.07.11.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jan 2017 07:11:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cS3Vz-0003fx-NM; Fri, 13 Jan 2017 15:11:39 +0000 Received: from mail-lf0-x234.google.com ([2a00:1450:4010:c07::234]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cS3Vv-0003dV-RV for linux-arm-kernel@lists.infradead.org; Fri, 13 Jan 2017 15:11:38 +0000 Received: by mail-lf0-x234.google.com with SMTP id z134so36366479lff.3 for ; Fri, 13 Jan 2017 07:11:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=AZwkBW4Hi2hH/xiyAPQWu2Tgik41NC/HH0aZCQ372fg=; b=KHX61QL5RVWwtyI+rLXh7an6GJQMLBYCUM54Av3w2tJkNGAtmfV4GYlAQMyrQO037J X6TsdimhocSWJFMtV1RqVG4X+4HLpgc0A+0c/PRfvAxlMe2IDnH0Hti5Dcng5HhfVfsK F4Z2acRlVL6GM41++s5WOw7YJYxPR4BaFSdSA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=AZwkBW4Hi2hH/xiyAPQWu2Tgik41NC/HH0aZCQ372fg=; b=EZF1mM80KCqLSw6NNDcTlG30qhdM44CO8OQojiVNdCKpu7Xp3Zw4gUdln1NNM1F/6K FgUc33urAeoD/VOTDRIPyTWshQmbgYVn9wSdrdSxZ953e1mLkDyk7faT3d/xtDBvWSHg 2X4AGtMrCABS7iFMe6I3p59YpQtgYn9q7afX594cDoPwohRCXzJ40gV6PgBWAUNhPn9L Vrd3udoozFYn9VEaF/rD1ADN9gPRvMWQgKWHN/tslvMfu4fmEG/gmL/1cRhymECqISXB WcbQ6NGMar5iRsN7fyQzdJutWXCBu93UdwTkJDZ4hSUHuS9nau49j4FTbbZYWH2Ut2pC MHLw== X-Gm-Message-State: AIkVDXLR4IuuKWMlRXrrRjrMVFqiaGemBX7Pth3e/rK5US6PPPLXKJvgzUwwO2PM9+i7cch8 X-Received: by 10.25.72.199 with SMTP id v190mr8071403lfa.130.1484320273462; Fri, 13 Jan 2017 07:11:13 -0800 (PST) Received: from gnarp.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id j138sm4009142lfe.19.2017.01.13.07.11.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jan 2017 07:11:12 -0800 (PST) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/3] ARM: dts: Ux500: move USB PHY pins to PHY device Date: Fri, 13 Jan 2017 16:11:09 +0100 Message-Id: <20170113151109.31612-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170113_071136_097019_0E3AB648 X-CRM114-Status: GOOD ( 12.16 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:4010:c07:0:0:0:234 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linus Walleij , Ulf Hansson MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org The physical pins from the SoC are in a sense belonging to the PHY device (AB8500 USB) rather than the MUSB USB IP block. The driver definately assumes so: before this change it complains that it cannot control the pins it is using: abx5x0-usb ab8500-usb.0: could not get/set default pinstate After this patch the warning goes away. Cc: Ulf Hansson Signed-off-by: Linus Walleij --- arch/arm/boot/dts/ste-href.dtsi | 12 ++++++------ arch/arm/boot/dts/ste-snowball.dts | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) -- 2.9.3 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/arch/arm/boot/dts/ste-href.dtsi b/arch/arm/boot/dts/ste-href.dtsi index 48dc38482633..965fa10d1e8a 100644 --- a/arch/arm/boot/dts/ste-href.dtsi +++ b/arch/arm/boot/dts/ste-href.dtsi @@ -19,12 +19,6 @@ }; soc { - usb_per5@a03e0000 { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&musb_default_mode>; - pinctrl-1 = <&musb_sleep_mode>; - }; - uart@80120000 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&uart0_default_mode>; @@ -225,6 +219,12 @@ ab8500-gpio { }; + ab8500_usb { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&musb_default_mode>; + pinctrl-1 = <&musb_sleep_mode>; + }; + ab8500-regulators { ab8500_ldo_aux1_reg: ab8500_ldo_aux1 { regulator-name = "V-DISPLAY"; diff --git a/arch/arm/boot/dts/ste-snowball.dts b/arch/arm/boot/dts/ste-snowball.dts index 386eee6de232..71daa27bb7e3 100644 --- a/arch/arm/boot/dts/ste-snowball.dts +++ b/arch/arm/boot/dts/ste-snowball.dts @@ -159,12 +159,6 @@ "", "", "", "", "", "", "", ""; }; - usb_per5@a03e0000 { - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&musb_default_mode>; - pinctrl-1 = <&musb_sleep_mode>; - }; - sound { compatible = "stericsson,snd-soc-mop500"; @@ -448,6 +442,12 @@ "PM_GPIO42"; /* AB8500 GPIO42 */ }; + ab8500_usb { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&musb_default_mode>; + pinctrl-1 = <&musb_sleep_mode>; + }; + ext_regulators: ab8500-ext-regulators { ab8500_ext1_reg: ab8500_ext1 { regulator-name = "ab8500-ext-supply1";