From: Axel Haslam <ahaslam@baylibre.com> To: stern@rowland.harvard.edu, gregkh@linuxfoundation.org, nsekhar@ti.com, khilman@kernel.org, david@lechnology.com, robh+dt@kernel.org Cc: devicetree@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Axel Haslam <ahaslam@baylibre.com> Subject: [PATCH v3 00/10] Add DT support for ohci-da8xx Date: Mon, 7 Nov 2016 21:39:38 +0100 [thread overview] Message-ID: <20161107203948.28324-1-ahaslam@baylibre.com> (raw) The purpose of this patch series is to add DT support for the davinci ohci driver. To be able to use device tree to probe the driver, we need to remove the platform callbacks that are handling vbus and over current. The first four patches prepare the stage by allowing to use a regulator instead of the callbacks. The next three patches convert the callback users to use a regulator instead and then remove the callbacks from the driver and platform code. Finally, we add device tree bindings and support in the driver. DEPENDENCIES: This series has depends on some patches currently under review but mostly accepted: 1. [PATCH 0/3] fix ohci phy name [1] (accepted) 2. [PATCH/RFC v2 0/3] regulator: handling of error conditions for usb drivers [2] (accepted) 3. [PATCH] gpio: davinci: Use unique labels for each gpio chip [3] (review pending) Also the current davinci baranches soon to be pulled to linux-next: davinci-for-v4.10/soc davinci-for-v4.10/dt davinci-for-v4.10/defconfig davinci-for-v4.10/cleanup A branch with all the dependencies can be found here [4]. Changes form v2->v3 * drop patches that have been integrated to arch/arm * drop regulator patches which will be integrated through regulator tree * use of the accepted regulator API to get over current status * better patch separation with the use of wrappers Changes from v1->v2 * Rebased and added patch to make ohci a separate driver * Use a regulator instead of handling Gpios (David Lechner) * Add an over current mode to regulator framework * Fixed regulator is able to register for and over current irq * Added patch by Alexandre to remove build warnings * Moved global variables into private hcd structure. [1] https://lkml.org/lkml/2016/11/2/208 [2] https://lkml.org/lkml/2016/11/3/188 [3] http://www.spinics.net/lists/linux-gpio/msg17710.html [4] https://github.com/axelhaslamx/linux-axel/commits/ohci-da8xx-dt-v3 Axel Haslam (10): USB: ohci: da8xx: use ohci priv data instead of globals USB: ohci: da8xx: Prepare to remove platform callbacks USB: ohci: da8xx: Allow a regulator to handle VBUS ARM: davinci: da830: Handle vbus with a regulator ARM: davinci: hawk: Remove vbus and over current gpios USB: ohci: da8xx: Remove ohci platform callbacks USB: ohci: da8xx: use a flag instead of mask for ocic USB: ohci: da8xx: Add devicetree bindings USB: ohci: da8xx: Allow probing from DT ARM: dts: da850: add usb device node .../devicetree/bindings/usb/ohci-da8xx.txt | 39 ++++ arch/arm/boot/dts/da850-lcdk.dts | 8 + arch/arm/boot/dts/da850.dtsi | 8 + arch/arm/mach-davinci/board-da830-evm.c | 108 ++++----- arch/arm/mach-davinci/board-omapl138-hawk.c | 99 +------- arch/arm/mach-davinci/include/mach/da8xx.h | 2 +- arch/arm/mach-davinci/usb-da8xx.c | 3 +- drivers/usb/host/ohci-da8xx.c | 253 +++++++++++++++------ include/linux/platform_data/usb-davinci.h | 20 -- 9 files changed, 283 insertions(+), 257 deletions(-) create mode 100644 Documentation/devicetree/bindings/usb/ohci-da8xx.txt -- 2.10.1
next reply other threads:[~2016-11-08 3:42 UTC|newest] Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-11-07 20:39 Axel Haslam [this message] 2016-11-07 20:39 ` [PATCH v3 01/10] USB: ohci: da8xx: use ohci priv data instead of globals Axel Haslam 2016-11-07 20:39 ` [PATCH v3 02/10] USB: ohci: da8xx: Prepare to remove platform callbacks Axel Haslam 2016-11-07 20:39 ` [PATCH v3 03/10] USB: ohci: da8xx: Allow a regulator to handle VBUS Axel Haslam 2016-11-07 20:39 ` [PATCH v3 04/10] ARM: davinci: da830: Handle vbus with a regulator Axel Haslam 2016-11-07 20:39 ` [PATCH v3 05/10] ARM: davinci: hawk: Remove vbus and over current gpios Axel Haslam 2016-11-07 20:39 ` [PATCH v3 06/10] USB: ohci: da8xx: Remove ohci platform callbacks Axel Haslam 2016-11-07 20:39 ` [PATCH v3 07/10] USB: ohci: da8xx: use a flag instead of mask for ocic Axel Haslam 2016-11-07 20:39 ` [PATCH v3 08/10] USB: ohci: da8xx: Add devicetree bindings Axel Haslam 2016-11-07 20:39 ` [PATCH v3 09/10] USB: ohci: da8xx: Allow probing from DT Axel Haslam 2016-11-07 20:39 ` [PATCH v3 10/10] ARM: dts: da850: add usb device node Axel Haslam 2016-11-21 2:42 ` David Lechner 2016-11-21 10:27 ` Axel Haslam 2016-11-21 10:46 ` Sekhar Nori 2016-11-21 10:49 ` Sekhar Nori 2016-11-21 10:53 ` Axel Haslam 2016-11-08 16:37 ` [PATCH v3 00/10] Add DT support for ohci-da8xx Axel Haslam 2016-11-10 12:02 ` Greg KH 2016-11-10 17:28 ` Axel Haslam
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20161107203948.28324-1-ahaslam@baylibre.com \ --to=ahaslam@baylibre.com \ --cc=david@lechnology.com \ --cc=devicetree@vger.kernel.org \ --cc=gregkh@linuxfoundation.org \ --cc=khilman@kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-usb@vger.kernel.org \ --cc=nsekhar@ti.com \ --cc=robh+dt@kernel.org \ --cc=stern@rowland.harvard.edu \ --subject='Re: [PATCH v3 00/10] Add DT support for ohci-da8xx' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).