| Submitter | Stephen Warren |
|---|---|
| Date | Jan. 30, 2013, 9:42 p.m. |
| Message ID | <1359582159-28816-3-git-send-email-swarren@wwwdotorg.org> |
| Download | mbox |
| Permalink | /patch/217182/ |
| State | New |
| Headers | show
Return-Path: <linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 756C32C008D for <incoming-imx@patchwork.ozlabs.org>; Thu, 31 Jan 2013 23:31:54 +1100 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1U0tEo-0003if-SM; Thu, 31 Jan 2013 12:27:31 +0000 Received: from avon.wwwdotorg.org ([2001:470:1f0f:bd7::2]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1U0fQg-0007kL-3j for linux-arm-kernel@lists.infradead.org; Wed, 30 Jan 2013 21:42:52 +0000 Received: from severn.wwwdotorg.org (unknown [192.168.65.5]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by avon.wwwdotorg.org (Postfix) with ESMTPS id 823AF65BB; Wed, 30 Jan 2013 14:45:10 -0700 (MST) Received: from swarren-lx1.nvidia.com (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by severn.wwwdotorg.org (Postfix) with ESMTPSA id B0E2CE47A7; Wed, 30 Jan 2013 14:42:48 -0700 (MST) From: Stephen Warren <swarren@wwwdotorg.org> To: arm@kernel.org Subject: [GIT PULL 3/8] ARM: tegra: USB driver cleanup Date: Wed, 30 Jan 2013 14:42:34 -0700 Message-Id: <1359582159-28816-3-git-send-email-swarren@wwwdotorg.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1359582159-28816-1-git-send-email-swarren@wwwdotorg.org> References: <1359582159-28816-1-git-send-email-swarren@wwwdotorg.org> X-NVConfidentiality: public X-Virus-Scanned: clamav-milter 0.96.5 at avon.wwwdotorg.org X-Virus-Status: Clean X-Bad-Reply: References and In-Reply-To but no 'Re:' in Subject. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130130_164250_353530_12140A93 X-CRM114-Status: GOOD ( 11.98 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Mailman-Approved-At: Thu, 31 Jan 2013 07:10:07 -0500 Cc: linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stephen Warren <swarren@wwwdotorg.org> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org |
The Tegra USB driver has a number of issues: 1) The PHY driver isn't a true platform device, and doesn't implement the standard USB PHY API. 2) struct device instance numbers were used to make decisions in the driver, rather than being parameterized by DT or platform data. This pull request solves issue (2), and lays the groundwork for solving issue (1). The work on issue (1) involved introducing new DT nodes for the USB PHYs, which in turn interacted with the Tegra common clock framework changes, due to the move of clock lookups into device tree. Hence, these USB driver changes are taken through the Tegra tree with acks from USB maintainers. This pull request is based on the previous pull request, with tag tegra-for-3.9-soc-ccf. ---------------------------------------------------------------- The following changes since commit ef3ffe5a0458606c488def757bb7f6dd013c2db5: clk: tegra30: remove unused TEGRA_CLK_DUPLICATE()s are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra.git tegra-for-3.9-soc-usb for you to fetch changes up to ab137d04db5a4b32250ce5ef1b288ce6cf06adf6: usb: host: tegra: make use of PHY pointer of HCD ---------------------------------------------------------------- Stephen Warren (2): ARM: tegra: add clocks properties to USB PHY nodes usb: host: tegra: don't touch EMC clock Venu Byravarasu (11): ARM: tegra: remove USB address related macros from iomap.h usb: phy: use kzalloc to allocate struct tegra_usb_phy ARM: tegra: Add new DT property to USB node. usb: host: tegra: Resetting PORT0 based on information received via DT. usb: phy: remove unused APIs from Tegra PHY. ARM: tegra: add DT nodes for Tegra USB PHY USB: PHY: tegra: get rid of instance number to differentiate legacy controller USB: PHY: tegra: Get rid of instance number to differentiate PHY type usb: add APIs to access host registers from Tegra PHY ARM: tegra: Add reset GPIO information to PHY DT node usb: host: tegra: make use of PHY pointer of HCD .../bindings/usb/nvidia,tegra20-ehci.txt | 3 + .../bindings/usb/nvidia,tegra20-usb-phy.txt | 17 +++ arch/arm/boot/dts/tegra20-harmony.dts | 4 + arch/arm/boot/dts/tegra20-paz00.dts | 4 + arch/arm/boot/dts/tegra20-seaboard.dts | 4 + arch/arm/boot/dts/tegra20-trimslice.dts | 4 + arch/arm/boot/dts/tegra20-ventana.dts | 4 + arch/arm/boot/dts/tegra20.dtsi | 29 ++++ arch/arm/mach-tegra/board-dt-tegra20.c | 6 +- arch/arm/mach-tegra/iomap.h | 9 -- drivers/usb/host/ehci-tegra.c | 97 ++++++++----- drivers/usb/phy/tegra_usb_phy.c | 132 ++++++------------ include/linux/usb/tegra_usb_phy.h | 16 ++- 13 files changed, 191 insertions(+), 138 deletions(-) create mode 100644 Documentation/devicetree/bindings/usb/nvidia,tegra20-usb-phy.txt