From: Shawn Guo
Date: Wed, 27 Jun 2012 21:45:19 +0800
> Changes since v1:
> * Add one patch to use devm_gpio_request_one
> * Have a separate patch to fix phy-reset-gpios property in binding
> document
> * Change phy-reset-interval to phy-reset-duration
> * Add a sanity check on phy-reset-durati
From: David Daney
Date: Wed, 27 Jun 2012 10:33:34 -0700
> From: David Daney
>
> The only non-cosmetic change from v1 is to pass an additional argument
> to get_phy_device() that indicates that the PHY uses 802.3 clause 45
> signaling, previously I had been using a high order bit of the addr
> p
This patch supports only the host-mode functionality so far.
Signed-off-by: Richard Zhao
Signed-off-by: Marek Vasut
Cc: Peter Chen
Cc: Alexander Shishkin
Cc: Felipe Balbi
Cc: Greg Kroah-Hartman
Tested-by: Subodh Nijsure
---
.../devicetree/bindings/usb/ci13xxx-imx.txt| 17 ++
driv
mxs phy is used in Freescale i.MX SoCs, for example
imx23, imx28, imx6Q. This patch adds the basic host
support.
Signed-off-by: Richard Zhao
Signed-off-by: Marek Vasut
Cc: Peter Chen
Acked-by: Felipe Balbi
Tested-by: Subodh Nijsure
---
Documentation/devicetree/bindings/usb/mxs-phy.txt | 13
Sometimes, the driver bindings may know what phy they use.
For example, when using device tree, the usb controller may have a
phandler pointing to usb phy.
Signed-off-by: Richard Zhao
Reviewed-by: Marek Vasut
Acked-by: Felipe Balbi
Tested-by: Subodh Nijsure
---
drivers/usb/chipidea/ci.h|
Phy may need to change settings when port connect change.
Signed-off-by: Richard Zhao
Tested-by: Subodh Nijsure
---
drivers/usb/core/hub.c |8
1 file changed, 8 insertions(+)
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
index 25a7422..6ecfb5e 100644
--- a/drivers/u
ci13xxx host needs Root Hub Transaction Translators.
Reported-by: Shawn Guo
Signed-off-by: Richard Zhao
Acked-by: Felipe Balbi
Signed-off-by: Alexander Shishkin
Acked-by: Marek Vasut
---
drivers/usb/chipidea/Kconfig |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/chipidea/
We use ida_simple_get and ida_simple_remove to manage the ids.
Signed-off-by: Richard Zhao
Reviewed-by: Felipe Balbi
Signed-off-by: Alexander Shishkin
---
drivers/usb/chipidea/core.c | 21 -
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/chipid
This let usb phy driver has a chance to change hw settings when connect
status change.
Signed-off-by: Richard Zhao
Acked-by: Felipe Balbi
Tested-by: Subodh Nijsure
---
include/linux/usb/otg.h | 21 +
1 file changed, 21 insertions(+)
diff --git a/include/linux/usb/otg.h b
Platform drivers do the similar things to add/remove ci13xxx device, so
create a unified one.
Signed-off-by: Richard Zhao
Reviewed-by: Felipe Balbi
Signed-off-by: Alexander Shishkin
---
drivers/usb/chipidea/ci13xxx_msm.c | 34 ++--
drivers/usb/chipidea/ci13xxx_pci.c |
This patch rename struct ci13xxx_udc_driver and var with the type.
ci13xxx_platform_data reflect it's passed from platfrom driver.
Signed-off-by: Richard Zhao
Reviewed-by: Felipe Balbi
Signed-off-by: Alexander Shishkin
---
drivers/usb/chipidea/ci.h |4 ++--
drivers/usb/chipidea/c
From: Felipe Balbi
allow this driver to be removed too.
Signed-off-by: Felipe Balbi
Signed-off-by: Alexander Shishkin
Signed-off-by: Richard Zhao
---
drivers/usb/chipidea/ci13xxx_msm.c | 21 +++--
1 file changed, 15 insertions(+), 6 deletions(-)
diff --git a/drivers/usb/ch
From: Felipe Balbi
No functional changes, it will just free up some
code if we don't have hotplug.
Signed-off-by: Felipe Balbi
Signed-off-by: Alexander Shishkin
Signed-off-by: Richard Zhao
Acked-by: Marek Vasut
---
drivers/usb/chipidea/ci13xxx_msm.c |2 +-
1 file changed, 1 insertion(+)
From: Alexander Shishkin
As reported by Dan Carpenter, there is a NULL check in udc_start() that
follows a dereference of the pointer that's being checked. However, at
that point udc pointer shouldn't ever be NULL and if it is, the dereference
should cause an oops.
Signed-off-by: Alexander Shish
From: Felipe Balbi
msm glue layer compiles on all arches just
fine. Let's drop the unnecessary ARCH check
so we have easier compile tests.
Signed-off-by: Felipe Balbi
Signed-off-by: Alexander Shishkin
Signed-off-by: Richard Zhao
Acked-by: Marek Vasut
---
drivers/usb/chipidea/Makefile |8
The work is based on ci13xxx rework done by Alexander Shishkin.
To let Greg pick up, I also added patches Alex queued that I depends on.
This patch series can also be found at:
https://github.com/riczhao/kernel-imx/commits/topics/usb-driver
Status:
- this version only support host
- usbotg
The of_get_named_gpio_flags can retrieve the second cell of
gpio-specifier as the "flags". The imx and mxs gpio driver do not
have their own .xlate callback, which means of_gpio_simple_xlate is
used and it's a 1:1 mapping between gpio controller flags and Linux
"enum of_gpio_flags".
Update imx an
On Wed, Jun 27, 2012 at 08:22:57AM -0500, Jon Loeliger wrote:
>
> [ Forwarded to devicetree dev list for comment. --jdl ]
Yeah, I guess that makes sense.
>
>
> --- Forwarded Message
>
> Subject: [PATCH] Allow simple cross-compilation of library
> To: j...@jdl.com
> From: Christoffer Dall
On Wed, Jun 27, 2012 at 02:42:31PM +0200, Marc Kleine-Budde wrote:
> On 06/25/2012 08:56 AM, Richard Zhao wrote:
> > struct ci13xxx represent the controller, which may be device or host,
> > so name its variables as ci.
> >
> > Signed-off-by: Richard Zhao
> > Reviewed-by: Felipe Balbi
> > Signed
On 6/27/2012 11:26 AM, Stephen Warren wrote:
I believe I've seen the following construct bandied about as the correct
way of representing a bunch of nodes that have the same name (since they
represent the same type of object) within device-tree.
regulators {
compatible =
This patch adds a driver for the key scan interface of the LPC32xx SoC
Signed-off-by: Roland Stigge
---
Applies to v3.5-rc4
Changes since v7:
* Bugfix: enable clock in open() before accessing reg
Changes since v6:
* Clear IRQ in LPC32XX_KS_IRQ register in lpc32xx_kscan_{open,close}
* Declare l
This patch adds a driver for the MLC NAND controller of the LPC32xx SoC.
Signed-off-by: Roland Stigge
Signed-off-by: Alexandre Pereira da Silva
---
Applies to l2-mtd
Changes since v9:
* Adjusted to API change in l2-mtd (write function returns int now)
Changes since v8:
* Use of_get_named_gpio(
On 06/15/2012 12:53 PM, Stephen Warren wrote:
> From: Stephen Warren
>
> I figured the easiest way to get named constants into dtc would be to
> re-use an existing C pre-processor implemntation. Surprisingly, I could
> not find many /good/ possibilities for this. I eventually found one called
> g
On 06/12/2012 05:10 PM, Stephen Warren wrote:
> From: Stephen Warren
>
> dtc currently allows the contents of properties to be changed, and the
> contents of nodes to be added to. There are situations where removing
> properties or nodes may be useful. This change implements the following
> synta
On 06/12/2012 02:48 PM, Stephen Warren wrote:
> From: Stephen Warren
>
> When merging one device tree over the top of a previous tree, it is
> possible to define a duplicate label that has the same name and points
> to the same property or node. This is currently allowed by the duplicate
> label
I believe I've seen the following construct bandied about as the correct
way of representing a bunch of nodes that have the same name (since they
represent the same type of object) within device-tree.
regulators {
compatible = "simple-bus";
#address-cells =
On Wed, Jun 27, 2012 at 05:51:12PM +0200, Roland Stigge wrote:
> From: Alexandre Pereira da Silva
>
> Since this driver depends on the amba pl08x dma driver, select it in Kconfig.
>
> Signed-off-by: Alexandre Pereira da Silva
> Signed-off-by: Roland Stigge
> ---
> drivers/mtd/nand/Kconfig |
On Wed, Jun 27, 2012 at 04:26:18PM -0300, Alexandre Pereira da Silva wrote:
> On Wed, Jun 27, 2012 at 4:15 PM, Russell King - ARM Linux
> wrote:
> > On Wed, Jun 27, 2012 at 05:51:12PM +0200, Roland Stigge wrote:
> >> From: Alexandre Pereira da Silva
> >>
> >> Since this driver depends on the amba
On 06/27/2012 06:44 AM, Hiroshi Doyu wrote:
...
> I think that there are 2 cases:
>
> (1) discontiguous memory with IOMMU
> (2) contiguous memory without IOMMU(called "carveout" in general?)
...
> For (2), although memory is mostly anonymous one, we may need to know
> how much to allocate, whe
On 06/27/2012 08:29 AM, Hiroshi Doyu wrote:
> Could you explain a bit more why you want carveout size on per-board basis?
Different boards have different amounts of memory, and are sometimes
targeted at different use-cases (e.g. server with simple display buffer,
vs. consumer-oriented device inten
On 06/26/2012 11:07 PM, Thierry Reding wrote:
> On Tue, Jun 26, 2012 at 04:48:14PM -0600, Stephen Warren wrote:
...
> I actually like what you proposed above a lot, so if you don't
> mind either way I'll go with that proposal. Keeping the connector
> nodes as children of the outputs has the advanta
From: David Daney
Add a driver for BCM8706 and BCM8727 devices. These are a 10Gig PHYs
which use MII_ADDR_C45 addressing. They are always 10G full duplex, so
there is no autonegotiation. All we do is report link state and send
interrupts when it changes.
If the PHY has a device tree of_node a
From: David Daney
The IEEE802.3 clause 45 MDIO bus protocol allows for directly
addressing PHY registers using a 21 bit address, and is used by many
10G Ethernet PHYS. Already existing is the ability of MDIO bus
drivers to use clause 45, with the MII_ADDR_C45 flag. Here we add
struct phy_c45_de
From: David Daney
The only non-cosmetic change from v1 is to pass an additional argument
to get_phy_device() that indicates that the PHY uses 802.3 clause 45
signaling, previously I had been using a high order bit of the addr
parameter for this.
There are also changes from v1 in the code and com
From: David Daney
Allow PHY drivers to supply their own device matching function
(match_phy_device()), or to be matched OF compatible properties.
PHYs following IEEE802.3 clause 45 have more than one device
identifier constants, which breaks the default device matching code.
Other 10G PHYs don't
From: David Daney
Define two new "compatible" values for Ethernet
PHYs. "ethernet-phy-ieee802.3-c22" and "ethernet-phy-ieee802.3-c45"
are used to indicate a PHY uses the corresponding protocol.
If a PHY is "compatible" with "ethernet-phy-ieee802.3-c45", we
indicate this so that get_phy_device()
On Wed, Jun 27, 2012 at 06:16:12AM -1000, Mitch Bradley wrote:
> On 6/27/2012 2:43 AM, Sascha Hauer wrote:
> >Hi All,
> >
> >I'd like to have a possibility to describe fixed display modes in the
> >devicetree. This topic has been discussed before here:
> >
> >https://lists.ozlabs.org/pipermail/linu
On 6/27/2012 2:43 AM, Sascha Hauer wrote:
Hi All,
I'd like to have a possibility to describe fixed display modes in the
devicetree. This topic has been discussed before here:
https://lists.ozlabs.org/pipermail/linuxppc-dev/2010-February/080683.html
The result at that time was that EDID data sh
From: Alexandre Pereira da Silva
Since this driver depends on the amba pl08x dma driver, select it in Kconfig.
Signed-off-by: Alexandre Pereira da Silva
Signed-off-by: Roland Stigge
---
drivers/mtd/nand/Kconfig |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd/nand/Kconfig b/
Via of_get_named_gpio(), wp_gpio can become -EPROBE_DEFER which now makes
probe() return -EPROBE_DEFER as well to wait until the gpio controller is
probed before trying to probe lpc32xx_slc again.
Signed-off-by: Roland Stigge
Acked-by: Alexandre Pereira da Silva
---
drivers/mtd/nand/lpc32xx_slc
This patch makes the lpc32xx_slc driver use of_get_named_gpio() instead of
of_get_named_gpio_flags() whose flags are discarded anyway.
Signed-off-by: Roland Stigge
Acked-by: Alexandre Pereira da Silva
---
drivers/mtd/nand/lpc32xx_slc.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
From: Alexandre Pereira da Silva
This patch supports missing wp gpio.
Signed-off-by: Alexandre Pereira da Silva
Signed-off-by: Roland Stigge
---
drivers/mtd/nand/lpc32xx_slc.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/drivers/mtd/nand/lpc32xx_slc.c b/dr
On 06/27/2012 02:33 PM, Artem Bityutskiy wrote:
> On Wed, 2012-06-27 at 14:14 +0200, Roland Stigge wrote:
>> Thanks for the note! I'm sending an incremental patch. There was
>> actually only one place in the two functions that could fail
>> (return code of lpc32xx_xfer()).
>
> Could you please ch
Hi!
On 06/27/2012 02:26 PM, Alexandre Pereira da Silva wrote:
> I think it's best in case of *_raw to use nand base default functions,
> like in the MLC patch.
Problem here (specific for this SLC controller) is that it expects us to
access the data register via 16bit access while the actual data
On Wednesday 27 June 2012, Vinod Koul wrote:
> On Tue, 2012-06-26 at 20:27 +, Arnd Bergmann wrote:
> > On Tuesday 26 June 2012, Vinod Koul wrote:
> > > On Tue, 2012-06-26 at 14:59 +, Arnd Bergmann wrote:
> > If we instead modify the dmaengine code itself to know about DT
> > rather than wra
On Wed, Jun 27, 2012 at 05:29:14PM +0300, Hiroshi Doyu wrote:
> On Wed, 27 Jun 2012 16:08:10 +0200
> Thierry Reding wrote:
>
> > * PGP Signed by an unknown key
> >
> > On Wed, Jun 27, 2012 at 03:59:07PM +0300, Hiroshi Doyu wrote:
> > > On Wed, 27 Jun 2012 07:14:18 +0200
> > > Thierry Reding wro
On Wed, Jun 27, 2012 at 03:59:07PM +0300, Hiroshi Doyu wrote:
> On Wed, 27 Jun 2012 07:14:18 +0200
> Thierry Reding wrote:
>
> > * PGP Signed by an unknown key
> >
> > On Tue, Jun 26, 2012 at 08:48:18PM -0600, Stephen Warren wrote:
> > > On 06/26/2012 08:32 PM, Mark Zhang wrote:
> > > >> On 06/2
On Tue, 2012-06-26 at 20:27 +, Arnd Bergmann wrote:
> On Tuesday 26 June 2012, Vinod Koul wrote:
> > On Tue, 2012-06-26 at 14:59 +, Arnd Bergmann wrote:
> > > On Tuesday 26 June 2012, Vinod Koul wrote:
> > > > Today, we just ask for a channel with specific mask. Further filtering
> > > > is
Different boards may require different phy reset duration. Add property
phy-reset-duration for device tree probe, so that the boards that need
a longer reset duration can specify it in their device tree.
Signed-off-by: Shawn Guo
---
Documentation/devicetree/bindings/net/fsl-fec.txt |4
The phy-reset-gpios is an optional property for fec device tree boot.
Change the binding document to match the driver code.
Signed-off-by: Shawn Guo
---
Documentation/devicetree/bindings/net/fsl-fec.txt |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/devic
Using gpio_request_one will require the probe fail-out call gpio_free,
which is missing currently. Change to use devm_gpio_request_one to
fix the problem.
Signed-off-by: Shawn Guo
---
drivers/net/ethernet/freescale/fec.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a
If bootloader or platform initialization code does not enable the
power supply to fec phy, we need to do it in fec driver before calling
fec_reset_phy to have the phy powered on.
Signed-off-by: Shawn Guo
---
drivers/net/ethernet/freescale/fec.c | 13 +
1 files changed, 13 insertion
In case that bootloader or platform initialization does not set up
fec pins, the fec_reset_phy will not be able to succeed, because
fec_reset_phy is currently called before devm_pinctrl_get_select_default.
Move fec_reset_phy call to the place between devm_pinctrl_get_select_default
and fec_enet_ini
Changes since v1:
* Add one patch to use devm_gpio_request_one
* Have a separate patch to fix phy-reset-gpios property in binding
document
* Change phy-reset-interval to phy-reset-duration
* Add a sanity check on phy-reset-duration value
Shawn Guo (5):
net: fec: reset phy after pinctrl setup
[ Forwarded to devicetree dev list for comment. --jdl ]
--- Forwarded Message
Subject: [PATCH] Allow simple cross-compilation of library
To: j...@jdl.com
From: Christoffer Dall
Date: Tue, 05 Jun 2012 13:09:59 -0400
Message-ID: <20120605170959.12774.39782.stgit@ubuntu>
This is extremely u
> On Wed, Jun 13, 2012 at 12:31:52PM +1000, David Gibson wrote:
> > On Tue, Jun 12, 2012 at 02:48:12PM -0600, Stephen Warren wrote:
> > > From: Stephen Warren
> > >=20
> > > When compiling the current code-base with gcc 4.6.1, the following wa=
> rning
> > > is raised, which is interpreted as an e
On 06/21/2012 12:54 PM, Mike Turquette wrote:
> On 20120621-10:00, Rob Herring wrote:
>> On 06/21/2012 02:27 AM, Chris Ball wrote:
>>>
>>> 2) Use alloc_bootmem() instead of kzalloc() in of_clk_add_provider(),
>>>because we need to set up clocks during .init_early on ARM (which
>>>happens pr
Hi All,
I'd like to have a possibility to describe fixed display modes in the
devicetree. This topic has been discussed before here:
https://lists.ozlabs.org/pipermail/linuxppc-dev/2010-February/080683.html
The result at that time was that EDID data should be considered to use
as this is a forma
On 06/25/2012 08:56 AM, Richard Zhao wrote:
> struct ci13xxx represent the controller, which may be device or host,
> so name its variables as ci.
>
> Signed-off-by: Richard Zhao
> Reviewed-by: Felipe Balbi
> Signed-off-by: Alexander Shishkin
nitpick: search-replace problem
> --- a/drivers/us
On Wed, 2012-06-27 at 14:14 +0200, Roland Stigge wrote:
> Thanks for the note! I'm sending an incremental patch. There was
> actually only one place in the two functions that could fail (return
> code of lpc32xx_xfer()).
Could you please check the MCL patch as well and re-send it against the
l2 tr
This patch adds error handling to the lpc32xx_nand_write_page_syndrome()
function.
Signed-off-by: Roland Stigge
---
drivers/mtd/nand/lpc32xx_slc.c |5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/lpc32xx_slc.c b/drivers/mtd/nand/lpc32xx_slc.c
index 7e2
On 06/27/2012 12:46 PM, Artem Bityutskiy wrote:
> On Thu, 2012-06-07 at 12:22 +0200, Roland Stigge wrote:
>> This patch adds support for the SLC NAND controller inside the
>> LPC32xx SoC.
>>
>> Signed-off-by: Roland Stigge
>
> Now the write_page and write_page_raw functions return an error
> cod
On 06/27/2012 01:49 PM, Marek Vasut wrote:
> Dear Richard Zhao,
>
>> On Mon, Jun 25, 2012 at 12:17:13PM +0200, Marc Kleine-Budde wrote:
>>> On 06/25/2012 12:03 PM, Richard Zhao wrote:
Could you use my USB test branch?
>>>
>>> Same result:
>>>
>>> ci_hdrc ci_hdrc.0: remove, state 1
>>> usb usb
Dear Richard Zhao,
> On Mon, Jun 25, 2012 at 12:17:13PM +0200, Marc Kleine-Budde wrote:
> > On 06/25/2012 12:03 PM, Richard Zhao wrote:
> > > Could you use my USB test branch?
> >
> > Same result:
> >
> > ci_hdrc ci_hdrc.0: remove, state 1
> > usb usb1: USB disconnect, device number 1
> > ci_hdr
On 06/27/2012 12:13 PM, Hui Wang wrote:
> Marc Kleine-Budde wrote:
>> On 06/27/2012 11:43 AM, Wolfgang Grandegger wrote:
>>
>>> Hi Marc,
>>>
>>> On 06/27/2012 10:56 AM, Wolfgang Grandegger wrote:
>>>
On 06/27/2012 10:27 AM, Marc Kleine-Budde wrote:
> On 06/27/2012 10:19 AM
On Thu, 2012-06-07 at 12:22 +0200, Roland Stigge wrote:
> This patch adds support for the SLC NAND controller inside the LPC32xx SoC.
>
> Signed-off-by: Roland Stigge
Now the write_page and write_page_raw functions return an error code,
see this commit in the l2 tree:
http://git.infradead.org/u
* Stephen Warren [120626 10:10]:
> On 06/26/2012 07:43 AM, Tony Lindgren wrote:
> ...
> > Subject: [PATCH] pinctrl: Add one-register-per-pin type device tree based
> > pinctrl driver
> >
> > Add one-register-per-pin type device tree based pinctrl driver.
> >
> > This driver has been tested on o
On 06/27/2012 12:13 PM, Hui Wang wrote:
[...]
>>> What compatible string do they actually use for the i.MX6Q board? Shawn
>>> or Hui? We need to fix that. From the discussion mentioned above I think
>>>
> Currently i modified the can1 DT entry in the imx6q.dtsi like this:
>flexca
On 06/27/2012 11:43 AM, Wolfgang Grandegger wrote:
> Hi Marc,
>
> On 06/27/2012 10:56 AM, Wolfgang Grandegger wrote:
>> On 06/27/2012 10:27 AM, Marc Kleine-Budde wrote:
>>> On 06/27/2012 10:19 AM, Hui Wang wrote:
At least in the i.MX series, the flexcan contrller divides into ver_3
and v
On 06/27/2012 08:20 AM, Richard Zhao wrote:
> On Mon, Jun 25, 2012 at 12:33:58PM +0200, Marc Kleine-Budde wrote:
>> On 06/25/2012 08:56 AM, Richard Zhao wrote:
>>> This patch supports only the host-mode functionality so far.
>>>
>>> Signed-off-by: Richard Zhao
>>> Signed-off-by: Marek Vasut
>>> C
Hi Marc,
On 06/27/2012 10:56 AM, Wolfgang Grandegger wrote:
> On 06/27/2012 10:27 AM, Marc Kleine-Budde wrote:
>> On 06/27/2012 10:19 AM, Hui Wang wrote:
>>> At least in the i.MX series, the flexcan contrller divides into ver_3
>>> and ver_10, current driver is for ver_3 controller.
>>>
>>> i.MX6
On 06/27/2012 10:27 AM, Marc Kleine-Budde wrote:
> On 06/27/2012 10:19 AM, Hui Wang wrote:
>> At least in the i.MX series, the flexcan contrller divides into ver_3
>> and ver_10, current driver is for ver_3 controller.
>>
>> i.MX6 has ver_10 controller, it has more reigsters than ver_3 has.
>> The
On 06/26/2012 09:10 PM, Wim Van Sebroeck wrote:
Hi Michal,
Do not use clock-frequency property from parent node.
Use it from watchdog node.
Signed-off-by: Michal Simek
Added to linux-watchdog-next.
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintaine
73 matches
Mail list logo