<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/tty/serial/imx.c, branch v3.5</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>Merge branch 'imx/pinctrl' into imx/clock</title>
<updated>2012-05-14T13:30:52+00:00</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2012-05-14T13:30:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=4f5a9fd341e8ffd825ecf56155df6fe6c3d732b1'/>
<id>4f5a9fd341e8ffd825ecf56155df6fe6c3d732b1</id>
<content type='text'>
Conflicts:
	drivers/mmc/host/sdhci-esdhc-imx.c
	drivers/net/ethernet/freescale/fec.c
	drivers/spi/spi-imx.c
	drivers/tty/serial/imx.c

This resolves dependencies between the pinctrl and clock changes
in imx.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:
	drivers/mmc/host/sdhci-esdhc-imx.c
	drivers/net/ethernet/freescale/fec.c
	drivers/spi/spi-imx.c
	drivers/tty/serial/imx.c

This resolves dependencies between the pinctrl and clock changes
in imx.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tty: serial: imx: adopt pinctrl support</title>
<updated>2012-05-11T07:01:57+00:00</updated>
<author>
<name>Shawn Guo</name>
<email>shawn.guo@linaro.org</email>
</author>
<published>2012-05-06T12:21:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=fed78ce4c6af1c0d516ae6f4cdc2bb8dbbca8c22'/>
<id>fed78ce4c6af1c0d516ae6f4cdc2bb8dbbca8c22</id>
<content type='text'>
Cc: linux-serial@vger.kernel.org
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Acked-by: Dong Aisheng &lt;dong.aisheng@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cc: linux-serial@vger.kernel.org
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Acked-by: Dong Aisheng &lt;dong.aisheng@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>serial i.MX: do not depend on grouped clocks</title>
<updated>2012-04-25T15:03:39+00:00</updated>
<author>
<name>Sascha Hauer</name>
<email>s.hauer@pengutronix.de</email>
</author>
<published>2012-03-07T08:31:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=3a9465fa2dc42a8ebc2fe9144f4dfa23d5899f85'/>
<id>3a9465fa2dc42a8ebc2fe9144f4dfa23d5899f85</id>
<content type='text'>
the current i.MX clock support groups together unrelated clocks
to a single clock which is then used by the driver. This can't
be accomplished with the generic clock framework so we instead
request the individual clocks in the driver. For i.MX there are
generally three different clocks:

ipg: bus clock (needed to access registers)
ahb: dma relevant clock, sometimes referred to as hclk in the datasheet
per: bit clock, pixel clock

This patch changes the driver to request the individual clocks.
Currently all clk_get will get the same clock until the SoCs
are converted to the generic clock framework

Signed-off-by: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the current i.MX clock support groups together unrelated clocks
to a single clock which is then used by the driver. This can't
be accomplished with the generic clock framework so we instead
request the individual clocks in the driver. For i.MX there are
generally three different clocks:

ipg: bus clock (needed to access registers)
ahb: dma relevant clock, sometimes referred to as hclk in the datasheet
per: bit clock, pixel clock

This patch changes the driver to request the individual clocks.
Currently all clk_get will get the same clock until the SoCs
are converted to the generic clock framework

Signed-off-by: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>serial: imx: add clk_prepare/clk_unprepare</title>
<updated>2012-02-01T13:29:31+00:00</updated>
<author>
<name>Richard Zhao</name>
<email>richard.zhao@linaro.org</email>
</author>
<published>2011-11-15T06:48:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=ef5ca193ca9ecbcfa41c0d258c4f4c344c157202'/>
<id>ef5ca193ca9ecbcfa41c0d258c4f4c344c157202</id>
<content type='text'>
It's for migrating to generic clk framework API.

Signed-off-by: Richard Zhao &lt;richard.zhao@linaro.org&gt;
Signed-off-by: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's for migrating to generic clk framework API.

Signed-off-by: Richard Zhao &lt;richard.zhao@linaro.org&gt;
Signed-off-by: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tty: serial: imx: move del_timer_sync() to avoid potential deadlock</title>
<updated>2012-01-05T00:30:36+00:00</updated>
<author>
<name>Eric Miao</name>
<email>eric.miao@linaro.org</email>
</author>
<published>2011-12-22T21:39:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=995234da19b927f42722d796e8270384f33be11c'/>
<id>995234da19b927f42722d796e8270384f33be11c</id>
<content type='text'>
del_timer_sync() acquires its own lock and doesn't have to be nested
within the spinlock of sport-&gt;port.lock in imx_set_termios(),  which
will cause potential deadlock.  Fix this by moving it outside.

Cc: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Cc: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Cc: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Eric Miao &lt;eric.miao@linaro.org&gt;
Signed-off-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
del_timer_sync() acquires its own lock and doesn't have to be nested
within the spinlock of sport-&gt;port.lock in imx_set_termios(),  which
will cause potential deadlock.  Fix this by moving it outside.

Cc: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Cc: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Cc: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Eric Miao &lt;eric.miao@linaro.org&gt;
Signed-off-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>imx: add polled io uart methods</title>
<updated>2012-01-05T00:30:35+00:00</updated>
<author>
<name>Saleem Abdulrasool</name>
<email>compnerd@compnerd.org</email>
</author>
<published>2011-12-22T08:57:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=01f56abd089dd216e537817b61497c58bb66aab3'/>
<id>01f56abd089dd216e537817b61497c58bb66aab3</id>
<content type='text'>
These methods are invoked if the iMX uart is used in conjuction with kgdb during
early boot.  In order to access the UART without the interrupts, the kernel uses
the basic polling methods for IO with the device.  With these methods
implemented, it is now possible to enable kgdb during early boot over serial.

Signed-off-by: Saleem Abdulrasool &lt;compnerd@compnerd.org&gt;
Signed-off-by: Dirk Behme &lt;dirk.behme@gmail.com&gt;
CC: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
CC: Fabio Estevam &lt;festevam@gmail.com&gt;
CC: Uwe Kleine-Koenig &lt;u.kleine-koenig@pengutronix.de&gt;
CC: linux-serial@vger.kernel.org
CC: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These methods are invoked if the iMX uart is used in conjuction with kgdb during
early boot.  In order to access the UART without the interrupts, the kernel uses
the basic polling methods for IO with the device.  With these methods
implemented, it is now possible to enable kgdb during early boot over serial.

Signed-off-by: Saleem Abdulrasool &lt;compnerd@compnerd.org&gt;
Signed-off-by: Dirk Behme &lt;dirk.behme@gmail.com&gt;
CC: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
CC: Fabio Estevam &lt;festevam@gmail.com&gt;
CC: Uwe Kleine-Koenig &lt;u.kleine-koenig@pengutronix.de&gt;
CC: linux-serial@vger.kernel.org
CC: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>imx: Add save/restore functions for UART control regs</title>
<updated>2012-01-05T00:30:35+00:00</updated>
<author>
<name>Dirk Behme</name>
<email>dirk.behme@googlemail.com</email>
</author>
<published>2011-12-22T08:57:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=0ad5a81472a9d6a0e826e0c6ebe66d3792932a93'/>
<id>0ad5a81472a9d6a0e826e0c6ebe66d3792932a93</id>
<content type='text'>
Factor out the uart save/restore functionality instead of
having the same code several times in the driver.

Signed-off-by: Dirk Behme &lt;dirk.behme@gmail.com&gt;
CC: Saleem Abdulrasool &lt;compnerd@compnerd.org&gt;
CC: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
CC: Fabio Estevam &lt;festevam@gmail.com&gt;
CC: Uwe Kleine-Koenig &lt;u.kleine-koenig@pengutronix.de&gt;
CC: linux-serial@vger.kernel.org
CC: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Factor out the uart save/restore functionality instead of
having the same code several times in the driver.

Signed-off-by: Dirk Behme &lt;dirk.behme@gmail.com&gt;
CC: Saleem Abdulrasool &lt;compnerd@compnerd.org&gt;
CC: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
CC: Fabio Estevam &lt;festevam@gmail.com&gt;
CC: Uwe Kleine-Koenig &lt;u.kleine-koenig@pengutronix.de&gt;
CC: linux-serial@vger.kernel.org
CC: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>serial/imx: let probing fail for the dt case without a valid alias</title>
<updated>2012-01-05T00:30:34+00:00</updated>
<author>
<name>Uwe Kleine-König</name>
<email>u.kleine-koenig@pengutronix.de</email>
</author>
<published>2011-12-15T08:16:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=20bb8095a467dde88bd09a55ed62c60fada2e5c9'/>
<id>20bb8095a467dde88bd09a55ed62c60fada2e5c9</id>
<content type='text'>
When the uart device is instantiated by dt but dt doesn't provide an
alias then better let probing fail instead of falling back to an
unrelated device id used for the line number and no platform data.

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Signed-off-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the uart device is instantiated by dt but dt doesn't provide an
alias then better let probing fail instead of falling back to an
unrelated device id used for the line number and no platform data.

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Signed-off-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>serial/imx: propagate error from of_alias_get_id instead of using -ENODEV</title>
<updated>2012-01-05T00:30:34+00:00</updated>
<author>
<name>Uwe Kleine-König</name>
<email>u.kleine-koenig@pengutronix.de</email>
</author>
<published>2011-12-14T20:26:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=a197a191f73a75d80d5b67e09e0b89c214dc3690'/>
<id>a197a191f73a75d80d5b67e09e0b89c214dc3690</id>
<content type='text'>
A quick look at of_alias_get_id shows that in the error case it returns
-ENODEV, too, but still it's better style to propagate the value as is.

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Cc: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Cc: Alan Cox &lt;alan@linux.intel.com&gt;
Cc: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Cc: Jeremy Kerr &lt;jeremy.kerr@canonical.com&gt;
Cc: Jason Liu &lt;jason.hui@linaro.org&gt;
Cc: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Acked-by: Jason Liu &lt;jason.hui@linaro.org&gt;
Signed-off-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A quick look at of_alias_get_id shows that in the error case it returns
-ENODEV, too, but still it's better style to propagate the value as is.

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Cc: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Cc: Alan Cox &lt;alan@linux.intel.com&gt;
Cc: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Cc: Jeremy Kerr &lt;jeremy.kerr@canonical.com&gt;
Cc: Jason Liu &lt;jason.hui@linaro.org&gt;
Cc: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Acked-by: Jason Liu &lt;jason.hui@linaro.org&gt;
Signed-off-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tty: serial: imx: Allow UART to be a source for wakeup</title>
<updated>2012-01-05T00:30:33+00:00</updated>
<author>
<name>Fabio Estevam</name>
<email>festevam@gmail.com</email>
</author>
<published>2011-12-13T03:23:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=db1a9b55004c83ded54c1f869f81a8a59c6dde87'/>
<id>db1a9b55004c83ded54c1f869f81a8a59c6dde87</id>
<content type='text'>
Allow UART to be a source for wakeup from low power mode.

Tested on a MX27PDK by doing:

echo enabled &gt; /sys/devices/platform/imx21-uart.0/tty/ttymxc0/power/wakeup

echo mem &gt; /sys/power/state

and then pressing a key in the console will wakeup the sytem.

Suggested-by: Shawn Guo &lt;shawn.guo@freescale.com&gt;
Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Tested-by: Richard Zhao &lt;richard.zhao@freescale.com&gt;
Signed-off-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allow UART to be a source for wakeup from low power mode.

Tested on a MX27PDK by doing:

echo enabled &gt; /sys/devices/platform/imx21-uart.0/tty/ttymxc0/power/wakeup

echo mem &gt; /sys/power/state

and then pressing a key in the console will wakeup the sytem.

Suggested-by: Shawn Guo &lt;shawn.guo@freescale.com&gt;
Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Tested-by: Richard Zhao &lt;richard.zhao@freescale.com&gt;
Signed-off-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
