From patchwork Mon Nov 14 01:35:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9425281 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 24837600CA for ; Mon, 14 Nov 2016 01:41:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 163FA288DA for ; Mon, 14 Nov 2016 01:41:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0980E288DD; Mon, 14 Nov 2016 01:41:40 +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.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9D270288DA for ; Mon, 14 Nov 2016 01:41:39 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c66Em-0006a5-Ai; Mon, 14 Nov 2016 01:39:08 +0000 Received: from mail-sn1nam01on0088.outbound.protection.outlook.com ([104.47.32.88] helo=NAM01-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c66Cz-0005HL-Vw for linux-arm-kernel@lists.infradead.org; Mon, 14 Nov 2016 01:37:20 +0000 Received: from BN6PR03CA0035.namprd03.prod.outlook.com (10.175.124.21) by CY4PR03MB2470.namprd03.prod.outlook.com (10.168.163.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.707.6; Mon, 14 Nov 2016 01:36:56 +0000 Received: from BN1AFFO11FD026.protection.gbl (2a01:111:f400:7c10::191) by BN6PR03CA0035.outlook.office365.com (2603:10b6:404:10c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.707.6 via Frontend Transport; Mon, 14 Nov 2016 01:36:56 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=fail action=none header.from=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD026.mail.protection.outlook.com (10.58.52.86) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.721.5 via Frontend Transport; Mon, 14 Nov 2016 01:36:55 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:1448; Count:10 Received: from b29397-desktop.ap.freescale.net (b29397-desktop.ap.freescale.net [10.192.242.114]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id uAE1ZnfM007215; Sun, 13 Nov 2016 18:36:47 -0700 From: Peter Chen To: , , , , , , , , Subject: [PATCH v10 7/8] ARM: dts: imx6qdl-udoo.dtsi: fix onboard USB HUB property Date: Mon, 14 Nov 2016 09:35:58 +0800 Message-ID: <1479087359-7547-8-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1479087359-7547-1-git-send-email-peter.chen@nxp.com> References: <1479087359-7547-1-git-send-email-peter.chen@nxp.com> X-IncomingHeaderCount: 10 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131235610161789093; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(336003)(339900001)(199003)(189002)(2201001)(33646002)(2171001)(50986999)(76176999)(7406005)(104016004)(106466001)(4326007)(8676002)(81156014)(7416002)(48376002)(81166006)(36756003)(2906002)(86362001)(68736007)(586003)(47776003)(97736004)(50466002)(92566002)(5660300001)(105606002)(5003940100001)(5001770100001)(85426001)(7846002)(575784001)(8936002)(189998001)(6666003)(77096005)(50226002)(2950100002)(356003)(305945005)(87936001)(8666005)(626004)(7059030)(32563001)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2470; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD026; 1:D9NcP5yS6ecQ4RGj/H3C+A3wQ2rDqUuyY1hG+AHoaawaD1c8dXDyW/7WjLYWrs0XTO9wS2dDOJKq32ZIJcjmg+xQMLPKqjISD2+S/f0/CMQGh4bgfqJuOMJHXXktwAAAAG//8f69OwdsguWVB0IMh7HC6cxZzPQp5WzBbZx5J/f6rKuDEDJIiy9y2JetCnYWx1TeZi+mMfwnZ9YirqaHH5rfc/XpIoOuuGDAUHzDBX/O/A9z6AIeaBiE49daf5BWF4AQOZgZxKO9G+rvFC+mpc6vuWxSEm7cFfDgV3dVdyvZAqAmkHwgw8KgUmpNznmILgFu3S3cG0cbvKuK1r6b/Ot17Oqbx4Ea7k3phezKPbkKZtsJDJ2x+CJ8LLpBHBB3Z8EANPOeROP6z0MDQjstieFRa9O5pxZE5ur+ri1LHShYlvSPfyCDpMfROgw1xx0Q2jy/OdTEH5to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4jj3jYlBp+MT0lk1QpgfKB/PjeGBj+cemimHI7N22BkuIdxiuqJ5QwY93JeytfQHVcp6h9vIupncTG/+cw23rvk2bPhO+c+45Hw14AjVT2wAN1t8TOkbtIhGy/k6VPzGofuxYxHHvaf3IYOg9nNpTfO8fAF8h9aNYU+pmLbnCfFMwW2reEG+CtO+Q2nr2uBYiAFE3cTxwHGKxJPSR76QWsZcDF/e/LDpFHA== X-MS-Office365-Filtering-Correlation-Id: a5abf067-3e08-48fb-2da5-08d40c2eb7f7 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:CY4PR03MB2470; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2470; 31:+QrBiHqnUO40pOAuxb7mmqLgCh4c7rH1/mXub71crsBbvxNbo7HyvMGmebzEy9YJqAUZAeZHCYa7xfHITtAqP36lnFcklPxh9P1WmPP9XfxaYAAJG1zWQS9ATALwGwqD1lnywsXwR0ZgRvcwFKLPdM3B3C2kHfdR2fzf87ZJ0UbjJGoomqAt+2RrAYs5b7LdCe+nalWpXM1HBWxLblrNyPYvOqknWBba1984qSdpffsjlwU9a4VjnzzuUF2SKAaSRdH0dt/hvEcmn9r2p12PbA==; 4:mHg07OY7/W0hv9ElpEF5/7FvIVgGWMDsTc9UZanKVZK2v9nXitdU3j89F++IdBtFTLsibmWCBG31Mc/HLocb4X4ZlbXwD/s7x6HZqXep72O+FfsZF+qmeFUWUQhN6soe7z8uGDyZiq2NnauhmsByOw4iE6pNzU3Vd2Myn7GAiQqBNHYLnvPVMn/Mq7RV9mNtUhiosd9Q0RX/ubqVegDidFgsAT2nR9DdOy1yvxyUAD9xdFpymm3ZGkj148mf20Zjl56mvOHabc0ns4hzLn/I2g/vD/OxuaLFynAcd2HPvpNe1OTBSQ6gTyzLFn37wwVscy1iB8FXqfesZV2QiVI06rZHidpZwl3NGoITpiyOVpI6DCD1LobiqA5MnkidK/TliMApboYgSGbe3hzD3BjPj7Swzu6G2yfqK09bdW7eSPSvrfsDudU5yH7hbSdBHR2YmT0ROUc8lTfJK2xDJmFD5ERBifJO3KKfW2F4x+aHXEP3taOdEMLWOr/PloEETDUa1BCVpgb06gWYNU0a3oJ7UMVX5LOjnLGKbjRags5cYxUb+d8kxSgYi/Yj6IpUFyd/ X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13024025)(13015025)(13017025)(13018025)(13023025)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:CY4PR03MB2470; BCL:0; PCL:0; RULEID:(400006); SRVR:CY4PR03MB2470; X-Forefront-PRVS: 0126A32F74 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR03MB2470; 23:tRiU+e3pH4OoVK1coyt9OiAqZJXt57XaD+RPutCev?= =?us-ascii?Q?uCg4jqwtYepEgUJVi49TvA9zTkoDyF+JfqnwuQiwJCNRa0rC8wAOtUXtw4oL?= =?us-ascii?Q?CIGUv0+nOVqvjHTVmdk4iC2jHkMFkbi8QASTPxnyehwvFOGIQ82IZI+QBGUQ?= =?us-ascii?Q?oqIhukflAmQ4UZbyEDa4WoaYYXIpaFDaao0OubK9y9Jl9N59qb6ncJc+MrSo?= =?us-ascii?Q?LKZ7WcYyI6x23FzRjaNk0qaLsVrxzOVlmzr4QTssAlpxtHWguQhi26aplMNF?= =?us-ascii?Q?UTqNVqTJElhRPUgSdSHsU14oeDlHxcXokyLyZnFnchSinc1mC8Fy2AysyFGu?= =?us-ascii?Q?MlFV+/E8LOSvhgsbN0efBAjnpIetD8fvXpfuFg26mFb7Lgt7lZjcNlG8Usmp?= =?us-ascii?Q?3NdrWVBfErVtdAiVyBkiEzLI1wr6yuTIqBp9f52OOy7OYcJghubtYuKv5f/X?= =?us-ascii?Q?HfOlSYS0uXDEvvcwHXwMjhmniUH7KSn0oK/USQ2w+Cm6IrlRazHXkH5eZXtL?= =?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nbMj/HXa2CtnqC432+Yre3jF37mxE0OJaCdMlgM2z5dnWH0SDQfAm+ID7ie1uZUeOEdtgLTnsMR7lmmFigVSL6+LWwjktdf6YQKl0K8nt+zBOBZXomRg/pjXIReI1o74UxU+XCh6QY9pRrVNhgSi9NJmsRCnz5s2ygiFGig21RtukTGAN5F3TerRudwk1CVjbAS2; 5:s1R0xrCcJjCI1ZtQVdP7qNV3SK+sOKZnmYHw7K1kqylYo7biGd6w45eFn+/FiFWnYaNTrYZ5aDgECTfBFBlOepdlCEO1B7ZdclXaQUXP4drP0bUnQssdrqJg8UwVoL67MbMqLQriXUnnp2rs9UQKU4QH8qgtafwrgiaWT3zs8GVmRTzFRx1K3r9jY2JhHj3m; 24:tznss3lpQcm5VFYlksGFfeQFPp9VscUhvkLDlQLNu+yHvN7XOZQISBs+ZfxPVjHCmL8iEsMtu0MzxFFu9zmAqRk7LyxNccjGp9s1lQwcR8k= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2470; 7:6LvytY20/sshW3GkCCzLmja7/a2gVTffl5CJrD61fJ7Bi8GaDmXvnK8JDPysRafdctdRjbvDglZdV5ZJzFyqd1cwBHSfogsy4tDPwuuVujfYeBaXYt43eCMtL9ZkZ0OgstDAoy9AjmlwSa//H5TOaL/tuoeRbcyovPq3Ew8VXOfh/XToxWtUfBKhJS94j910NUA9eEEruV2A8ulmOXcTzJ6gXWPfUOEnKr5KnYpCJx8kl+IRyRB1YHXhcW51sNY8lkVCqRtM5dbdVOK7w6RyLD37IYXwr8wI0L9T+FxS1KjerBMuSNujUQS5zspbioE12VI91TafkifxN0XM4z2X3cnabjiJ4d0CH9JWqTG2hpM= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Nov 2016 01:36:55.7733 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR03MB2470 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161113_173718_295935_372D58C3 X-CRM114-Status: GOOD ( 13.54 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, mail@maciej.szmigiero.name, stephen.boyd@linaro.org, oscar@naiandei.net, heiko@sntech.de, pawel.moll@arm.com, linux-pm@vger.kernel.org, Peter Chen , s.hauer@pengutronix.de, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, troy.kisky@boundarydevices.com, gary.bisson@boundarydevices.com, vaibhav.hiremath@linaro.org, stillcompiling@gmail.com, arnd@arndb.de, p.zabel@pengutronix.de, festevam@gmail.com, mka@chromium.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The current dts describes USB HUB's property at USB controller's entry, it is improper. The USB HUB should be the child node under USB controller, and power sequence properties are under it. Besides, using gpio pinctrl setting for USB2415's reset pin. Signed-off-by: Peter Chen Signed-off-by: Joshua Clayton Tested-by: Maciej S. Szmigiero --- arch/arm/boot/dts/imx6qdl-udoo.dtsi | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-udoo.dtsi b/arch/arm/boot/dts/imx6qdl-udoo.dtsi index c96c91d..a173de2 100644 --- a/arch/arm/boot/dts/imx6qdl-udoo.dtsi +++ b/arch/arm/boot/dts/imx6qdl-udoo.dtsi @@ -9,6 +9,8 @@ * */ +#include + / { aliases { backlight = &backlight; @@ -58,17 +60,6 @@ #address-cells = <1>; #size-cells = <0>; - reg_usb_h1_vbus: regulator@0 { - compatible = "regulator-fixed"; - reg = <0>; - regulator-name = "usb_h1_vbus"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - enable-active-high; - startup-delay-us = <2>; /* USB2415 requires a POR of 1 us minimum */ - gpio = <&gpio7 12 0>; - }; - reg_panel: regulator@1 { compatible = "regulator-fixed"; reg = <1>; @@ -188,7 +179,7 @@ pinctrl_usbh: usbhgrp { fsl,pins = < - MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x80000000 + MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x1b0b0 MX6QDL_PAD_NANDF_CS2__CCM_CLKO2 0x130b0 >; }; @@ -259,9 +250,16 @@ &usbh1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usbh>; - vbus-supply = <®_usb_h1_vbus>; - clocks = <&clks IMX6QDL_CLK_CKO>; status = "okay"; + + usb2415: hub@1 { + compatible = "usb424,2514"; + reg = <1>; + + clocks = <&clks IMX6QDL_CLK_CKO>; + reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; + reset-duration-us = <3000>; + }; }; &usdhc3 {