GitHub/LineageOS/G12/android_kernel_amlogic_linux-4.9.git
10 years agoARM: dts: Add stdout-path property to i.MX boards
Sascha Hauer [Wed, 7 May 2014 13:19:00 +0000 (15:19 +0200)]
ARM: dts: Add stdout-path property to i.MX boards

This adds the stdout-path property to various i.MX boards. Values
of the property have been taken from barebox, so they should be
correct. Also, the older linux,stdout-path property is converted
to stdout-path.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx: Fix LVDS mapping for Ventana GW52xx
Tim Harvey [Thu, 1 May 2014 06:34:04 +0000 (23:34 -0700)]
ARM: dts: imx: Fix LVDS mapping for Ventana GW52xx

The GW52xx supports LVDS on channel 0. Remove the obsolete crtcs node and
add display timings for the HanStar HSD100PXN1 display.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx: add LVDS backlight for Ventana
Tim Harvey [Thu, 1 May 2014 06:32:30 +0000 (23:32 -0700)]
ARM: dts: imx: add LVDS backlight for Ventana

The GW54xx/GW53xx/GW52xx all support LVDS with a PWM controlled backlight.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx6qdl-sabresd: remove power-on gpio from pcie
Lucas Stach [Wed, 30 Apr 2014 10:47:09 +0000 (12:47 +0200)]
ARM: dts: imx6qdl-sabresd: remove power-on gpio from pcie

This isn't compatible with the new binding and should be
handled via a proper regulator. It shouldn't be needed as
the driver has always ignored this property.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx6: update pcie to bring in line with new binding
Lucas Stach [Wed, 30 Apr 2014 05:58:15 +0000 (13:58 +0800)]
ARM: dts: imx6: update pcie to bring in line with new binding

The new bindings drops one clock, renames the others and
drops the old interrupt mapping.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx53-qsb-common: Add TVE support
Fabio Estevam [Tue, 29 Apr 2014 04:59:36 +0000 (01:59 -0300)]
ARM: dts: imx53-qsb-common: Add TVE support

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-phytec-phycore-rdk: Fix "reg" property for USBH2 PHY
Alexander Shiyan [Sat, 26 Apr 2014 04:52:11 +0000 (08:52 +0400)]
ARM: dts: imx27-phytec-phycore-rdk: Fix "reg" property for USBH2 PHY

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-phytec-phycore-rdk: Add CSI enable switch
Alexander Shiyan [Sat, 26 Apr 2014 04:52:10 +0000 (08:52 +0400)]
ARM: dts: imx27-phytec-phycore-rdk: Add CSI enable switch

This patch adds a GPIO fixed regulator which used on RDK to
enable CSI bus.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx: Remove excess entries for PMIC
Alexander Shiyan [Sat, 26 Apr 2014 04:52:09 +0000 (08:52 +0400)]
ARM: dts: imx: Remove excess entries for PMIC

This patch removes excess "#address-cells" and "#size-cells" entries
for PMIC, since these entries is not used.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-phytec-phycore-som: Disable PM pins for USB OTG
Alexander Shiyan [Sat, 26 Apr 2014 04:52:08 +0000 (08:52 +0400)]
ARM: dts: imx27-phytec-phycore-som: Disable PM pins for USB OTG

USB PWR and OC pins are used as GPIOs for different purposes,
so add "disable-over-current" property for OTG node to indicate this.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-phytec-phycore-som: Fix active level for FEC reset
Alexander Shiyan [Sat, 26 Apr 2014 04:52:07 +0000 (08:52 +0400)]
ARM: dts: imx27-phytec-phycore-som: Fix active level for FEC reset

FEC reset GPIO is active low. Fix this typo.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-phytec-phycore-rdk: Remove duplicate entries for USB PHY
Alexander Shiyan [Sat, 26 Apr 2014 04:52:06 +0000 (08:52 +0400)]
ARM: dts: imx27-phytec-phycore-rdk: Remove duplicate entries for USB PHY

"compatible", "#address-cells" and "#size-cells" for USB PHY are
already described in the SOM DTS. Remove these duplicate entries.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: ventana: Add HDMI support
Tim Harvey [Wed, 23 Apr 2014 07:47:51 +0000 (00:47 -0700)]
ARM: dts: ventana: Add HDMI support

Configure ddc and enable HDMI

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx6qdl-sabresd: Add PCIe support
Marek Vasut [Mon, 21 Apr 2014 20:56:49 +0000 (22:56 +0200)]
ARM: dts: imx6qdl-sabresd: Add PCIe support

Add support for the PCI express bus available on MX6 SabreSDP.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx6qdl-wandboard: Add HDMI support
Fabio Estevam [Tue, 22 Apr 2014 14:26:22 +0000 (11:26 -0300)]
ARM: dts: imx6qdl-wandboard: Add HDMI support

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx6qdl-sabresd: Add HDMI support
Fabio Estevam [Tue, 22 Apr 2014 13:04:59 +0000 (10:04 -0300)]
ARM: dts: imx6qdl-sabresd: Add HDMI support

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-pdk: Add keypad support
Fabio Estevam [Thu, 17 Apr 2014 18:23:31 +0000 (15:23 -0300)]
ARM: dts: imx27-pdk: Add keypad support

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-pdk: Add NAND support
Fabio Estevam [Thu, 17 Apr 2014 18:23:30 +0000 (15:23 -0300)]
ARM: dts: imx27-pdk: Add NAND support

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx6q-gk802: Enable HDMI
Philipp Zabel [Wed, 16 Apr 2014 21:23:50 +0000 (23:23 +0200)]
ARM: dts: imx6q-gk802: Enable HDMI

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-pdk: Add USB OTG support
Fabio Estevam [Wed, 16 Apr 2014 17:53:20 +0000 (14:53 -0300)]
ARM: dts: imx27-pdk: Add USB OTG support

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27: Place the usb phy nodes in the board dts files
Fabio Estevam [Wed, 16 Apr 2014 17:53:19 +0000 (14:53 -0300)]
ARM: dts: imx27: Place the usb phy nodes in the board dts files

It is not a good approach to have the USB PHY nodes inside imx27.dtsi since
the USB PHYs on mx27 are not internal to the SoC.

Place the USB PHY nodes in the board dts files instead.

Also, each board may have a different clock source for the USB PHY, so do not
hardcode it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27: Use the correct usb clock gate
Fabio Estevam [Wed, 16 Apr 2014 17:53:18 +0000 (14:53 -0300)]
ARM: dts: imx27: Use the correct usb clock gate

USB Host1, Host2 and OTG are gated via 'usb_ipg_gate' clock, so fix it in order
to avoid the following kernel oops:

usbcore: registered new interface driver usb-storage
10024000.usb supply vbus not found, using dummy regulator
Unhandled fault: external abort on non-linefetch (0x808) at 0xf4424184
Internal error: : 808 [#1] PREEMPT ARM
Modules linked in:
CPU: 0 PID: 1 Comm: swapper Not tainted 3.15.0-rc1-26325-g971f9fd-dirty #64
task: c7829aa0 ti: c7836000 task.ti: c7836000
PC is at ci_hdrc_probe+0x3a4/0x634
LR is at ci_hdrc_probe+0x100/0x634
pc : [<c036cc78>]    lr : [<c036c9d4>]    psr: 60000013
sp : c7837d48  ip : 00000001  fp : 00000000
r10: 00000000  r9 : 00000000  r8 : c791b6c0
r7 : c7945000  r6 : f4424000  r5 : c7945010  r4 : c794e010
r3 : f4424184  r2 : 00000000  r1 : 8c000004  r0 : 0c000004
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 0005317f  Table: a0004000  DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc78361c0)
Stack: (0xc7837d48 to 0xc7838000)

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-phytec-phycore-som: Move PMIC IRQ GPIO into a separate pin group
Fabio Estevam [Wed, 16 Apr 2014 11:25:56 +0000 (08:25 -0300)]
ARM: dts: imx27-phytec-phycore-som: Move PMIC IRQ GPIO into a separate pin group

The hardware is better described if we place the PMIC IRQ GPIO into its own
pingroup.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-pdk: Add PMIC support
Fabio Estevam [Tue, 15 Apr 2014 21:55:12 +0000 (18:55 -0300)]
ARM: dts: imx27-pdk: Add PMIC support

imx27-pdk has a MC13783 PMIC connected to CSPI2 port.

Add support for it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx51-babbage: Use predefined constants for clock definition
Alexander Shiyan [Wed, 16 Apr 2014 07:24:57 +0000 (11:24 +0400)]
ARM: dts: imx51-babbage: Use predefined constants for clock definition

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx51-babbage: Add devicetree node for I2C1
Alexander Shiyan [Wed, 16 Apr 2014 07:24:56 +0000 (11:24 +0400)]
ARM: dts: imx51-babbage: Add devicetree node for I2C1

This patch adds devicetree node and pinctrl group for I2C1.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx51-babbage: Sort nodes by name
Alexander Shiyan [Wed, 16 Apr 2014 07:24:55 +0000 (11:24 +0400)]
ARM: dts: imx51-babbage: Sort nodes by name

This patch sorts nodes by name and moves "iomux" configuration at
the bottom of file.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx51-babbage: Add USB OTG regulator node
Alexander Shiyan [Wed, 16 Apr 2014 07:24:54 +0000 (11:24 +0400)]
ARM: dts: imx51-babbage: Add USB OTG regulator node

This patch adds a regulator node and pinctrl group for USB OTG.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx51-babbage: Use predefined constants for keys definition
Alexander Shiyan [Wed, 16 Apr 2014 07:24:53 +0000 (11:24 +0400)]
ARM: dts: imx51-babbage: Use predefined constants for keys definition

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx51-babbage: Add missing pingroup for PMIC
Alexander Shiyan [Wed, 16 Apr 2014 07:24:52 +0000 (11:24 +0400)]
ARM: dts: imx51-babbage: Add missing pingroup for PMIC

This patch adds missing pin definition for PMIC IRQ GPIO.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx51-babbage: Move "hog" pins into corresponded pin groups
Alexander Shiyan [Wed, 16 Apr 2014 07:24:51 +0000 (11:24 +0400)]
ARM: dts: imx51-babbage: Move "hog" pins into corresponded pin groups

Move "hog" pins into corresponded pin groups for eSDHC1, eSDHC2,
eCSPI1, gpio-keys, regulator-fixed and codec clock.
Additionally, this patch fixes GPIO active level definition for
USB regulator.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: i.MX51: Allow to define partitions onto NFC
Alexander Shiyan [Wed, 16 Apr 2014 07:24:50 +0000 (11:24 +0400)]
ARM: dts: i.MX51: Allow to define partitions onto NFC

This patch allow to define partitions onto NFC in user defined
devicetrees.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: pbab01: Enable DVI
Philipp Zabel [Mon, 14 Apr 2014 15:37:32 +0000 (17:37 +0200)]
ARM: dts: pbab01: Enable DVI

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: pbab01: Enable UART1
Philipp Zabel [Mon, 14 Apr 2014 15:37:31 +0000 (17:37 +0200)]
ARM: dts: pbab01: Enable UART1

This patch enables UART1 on the phyFLEX connector (i.MX6 uart3).

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: pfla02: Add UART1 (uart3)
Philipp Zabel [Mon, 14 Apr 2014 15:37:30 +0000 (17:37 +0200)]
ARM: dts: pfla02: Add UART1 (uart3)

The pins labeled UART1 on the module connector are wired to i.MX6 uart3.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: pbab01: Add I2C devices
Philipp Zabel [Mon, 14 Apr 2014 15:37:29 +0000 (17:37 +0200)]
ARM: dts: pbab01: Add I2C devices

This patch adds the TLV320, STMPE811, RTC8564, and MX1037 ICs to the I2C2 bus.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: pbab01: Add I2C2 and I2C3
Philipp Zabel [Mon, 14 Apr 2014 15:37:28 +0000 (17:37 +0200)]
ARM: dts: pbab01: Add I2C2 and I2C3

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: pbab01: Set linux,stdout-path to UART4
Philipp Zabel [Mon, 14 Apr 2014 15:37:27 +0000 (17:37 +0200)]
ARM: dts: pbab01: Set linux,stdout-path to UART4

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: pfla02: PHY reset is active-low
Philipp Zabel [Mon, 14 Apr 2014 15:37:26 +0000 (17:37 +0200)]
ARM: dts: pfla02: PHY reset is active-low

Note that the fec driver code currently hard-codes an active-low
reset, regardless of the flags in the device tree.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: pfla02: Add GPIO LEDs
Philipp Zabel [Mon, 14 Apr 2014 15:37:25 +0000 (17:37 +0200)]
ARM: dts: pfla02: Add GPIO LEDs

This patch enables the red and green GPIO LEDs on Phytec phyFLEX i.MX6 modules.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: Add Phytec pbab01 with i.MX6 DualLite/Solo
Philipp Zabel [Mon, 14 Apr 2014 15:37:24 +0000 (17:37 +0200)]
ARM: dts: Add Phytec pbab01 with i.MX6 DualLite/Solo

The PBA-B-01 carrier board can be equipped with either Quad or DualLite/Solo
phyFLEX i.MX6 modules (PFL-A-02).
This moves all common devices into imx6qdl-phytec-pbab01.dtsi. The SoC specific
device trees then just include the pfla01 and pbab01 dtsi files corresponding
to the SoC variant.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: Add Phytec pfla02 with i.MX6 DualLite/Solo
Philipp Zabel [Mon, 14 Apr 2014 15:37:23 +0000 (17:37 +0200)]
ARM: dts: Add Phytec pfla02 with i.MX6 DualLite/Solo

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-pdk: Pass the FEC pin configuration
Fabio Estevam [Sun, 13 Apr 2014 14:48:43 +0000 (11:48 -0300)]
ARM: dts: imx27-pdk: Pass the FEC pin configuration

Provide an entry for the FEC pin muxing.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-pdk: Pass the UART1 pin configuration
Fabio Estevam [Sun, 13 Apr 2014 14:48:42 +0000 (11:48 -0300)]
ARM: dts: imx27-pdk: Pass the UART1 pin configuration

Provide an entry for the UART1 pin muxing.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-pdk: Keep the dt nodes sorted
Fabio Estevam [Sun, 13 Apr 2014 14:48:41 +0000 (11:48 -0300)]
ARM: dts: imx27-pdk: Keep the dt nodes sorted

For better readability keep the dt nodes sorted.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM i.MX51: Add Digi ConnectCore devicetree
Alexander Shiyan [Sat, 12 Apr 2014 05:29:05 +0000 (09:29 +0400)]
ARM i.MX51: Add Digi ConnectCore devicetree

This patch adds support for Digi ConnectCore® i.MX51/Wi-i.MX51 SOM
and basic support for the ConnectCore for i.MX51 JumpStart Kit.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: i.MX: Use single naming style for i.MX WEIM device
Alexander Shiyan [Wed, 9 Apr 2014 15:08:16 +0000 (19:08 +0400)]
ARM: dts: i.MX: Use single naming style for i.MX WEIM device

This patch converts all i.MX WEIM users to use single naming style
for devices.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: cpuimx51 Add touchscreen support.
Denis Carikli [Tue, 8 Apr 2014 16:22:42 +0000 (18:22 +0200)]
ARM: dts: cpuimx51 Add touchscreen support.

Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: cpuimx35 Add touchscreen support.
Denis Carikli [Tue, 8 Apr 2014 16:22:41 +0000 (18:22 +0200)]
ARM: dts: cpuimx35 Add touchscreen support.

Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: mbimxsd51 baseboard: Add USB support.
Denis Carikli [Mon, 7 Apr 2014 16:04:00 +0000 (18:04 +0200)]
ARM: dts: mbimxsd51 baseboard: Add USB support.

Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: add initial Colibri VF61 board support
Stefan Agner [Thu, 3 Apr 2014 15:47:10 +0000 (17:47 +0200)]
ARM: dts: add initial Colibri VF61 board support

Add initial Toradex Colibri VF61 board support. Ethernet, UART
and SDHC cards are working. Cache latencies need to be a bit
higher than vf610.dtsi suggests. Those values are validated
by running multiple memory tests.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoof: add vendor prefix for Toradex AG
Stefan Agner [Thu, 3 Apr 2014 15:47:09 +0000 (17:47 +0200)]
of: add vendor prefix for Toradex AG

Adds toradex to the list of DT vendor prefixes.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-pdk: Pass the memory range
Fabio Estevam [Wed, 2 Apr 2014 22:25:44 +0000 (19:25 -0300)]
ARM: dts: imx27-pdk: Pass the memory range

imx27-pdk has 128 MB of DRAM. Pass the memory range in dt.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-phytec-phycore-rdk: Add display control signal definitions
Alexander Shiyan [Sat, 29 Mar 2014 06:48:25 +0000 (10:48 +0400)]
ARM: dts: imx27-phytec-phycore-rdk: Add display control signal definitions

This patch adds display control signal definitions.
These fields are not used in the driver yet, but will be used for
reference to indicate the polarity of the signals.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx28-duckbill: use symbolic names from gpio.h
Michael Heimpold [Thu, 27 Mar 2014 22:51:30 +0000 (23:51 +0100)]
ARM: dts: imx28-duckbill: use symbolic names from gpio.h

Use GPIO_ACTIVE_HIGH and GPIO_ACTIVE_LOW instead of 0 and 1.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx28-duckbill: fix phy reset gpio
Michael Heimpold [Thu, 27 Mar 2014 22:51:28 +0000 (23:51 +0100)]
ARM: dts: imx28-duckbill: fix phy reset gpio

Fix a copy & paste error: on duckbills the GPIO used for resetting
the ethernet phy differs from FSL's MX28EVK board.

Reported-by: Stefan Wahren <info@lategoodbye.de>
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx28: include gpio.h to allow use of symbolic names
Michael Heimpold [Thu, 27 Mar 2014 22:51:29 +0000 (23:51 +0100)]
ARM: dts: imx28: include gpio.h to allow use of symbolic names

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx28-duckbill: fix mmc settings
Michael Heimpold [Thu, 27 Mar 2014 22:51:27 +0000 (23:51 +0100)]
ARM: dts: imx28-duckbill: fix mmc settings

I2SE's duckbills are only equipped with a micro SD card slot and
thus only provide a 4-bit interface.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx51-babbage: Add USB OTG support
Fabio Estevam [Wed, 26 Mar 2014 14:54:39 +0000 (11:54 -0300)]
ARM: dts: imx51-babbage: Add USB OTG support

Tested by pinging from the host PC to the imx51-babbage via a g_ether
connection.

Signed-off by: Dave Ebright <dave.ebright@parsons.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx51-babbage: Add USB Host1 support
Fabio Estevam [Wed, 26 Mar 2014 14:54:38 +0000 (11:54 -0300)]
ARM: dts: imx51-babbage: Add USB Host1 support

Signed-off by: Dave Ebright <dave.ebright@parsons.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx35-pdk: Add initial device tree support
Fabio Estevam [Tue, 25 Mar 2014 17:47:41 +0000 (14:47 -0300)]
ARM: dts: imx35-pdk: Add initial device tree support

Add support for UART, eSDHC and NAND.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: vf610-twr: Enables FTM PWM device.
Xiubo Li [Mon, 24 Mar 2014 02:22:16 +0000 (10:22 +0800)]
ARM: dts: vf610-twr: Enables FTM PWM device.

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Yuan Yao <yao.yuan@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: vf610-twr: Add PWM0's pinctrl node
Xiubo Li [Mon, 24 Mar 2014 02:22:15 +0000 (10:22 +0800)]
ARM: dts: vf610-twr: Add PWM0's pinctrl node

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: vf610: Add Freescale FTM PWM node.
Xiubo Li [Mon, 24 Mar 2014 02:22:14 +0000 (10:22 +0800)]
ARM: dts: vf610: Add Freescale FTM PWM node.

This adds devicetree node for VF610, and there are 8 channels
supported.

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Yuan Yao <yao.yuan@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: i.MX53: Add reset line to VPU device node
Philipp Zabel [Wed, 19 Mar 2014 14:49:24 +0000 (15:49 +0100)]
ARM: dts: i.MX53: Add reset line to VPU device node

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: i.MX53: Enable CODA7541 VPU
Philipp Zabel [Wed, 19 Mar 2014 14:49:23 +0000 (15:49 +0100)]
ARM: dts: i.MX53: Enable CODA7541 VPU

This IP module is always present and has no external connections.
There is no reason to disable it in the device tree.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx25-pdk: Add USB Host1 support
Fabio Estevam [Sun, 16 Mar 2014 21:09:20 +0000 (18:09 -0300)]
ARM: dts: imx25-pdk: Add USB Host1 support

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx27-phytec-phycore-rdk: Add display support
Alexander Shiyan [Sat, 15 Mar 2014 05:22:40 +0000 (09:22 +0400)]
ARM: dts: imx27-phytec-phycore-rdk: Add display support

This patch adds FB, Sharp-LQ035Q7 display (add-on module) and
corresponded pinctrl devicetree nodes to the Phytec PCM970 RDK.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx25-pdk: Add CAN support
Fabio Estevam [Wed, 12 Mar 2014 13:19:25 +0000 (10:19 -0300)]
ARM: dts: imx25-pdk: Add CAN support

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx25-pdk: Add keypad support
Fabio Estevam [Wed, 12 Mar 2014 13:19:24 +0000 (10:19 -0300)]
ARM: dts: imx25-pdk: Add keypad support

Tested with evtest.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx25-pdk: Add audio support
Fabio Estevam [Tue, 11 Mar 2014 18:55:47 +0000 (02:55 +0800)]
ARM: dts: imx25-pdk: Add audio support

mx25pdk has a sgtl5000 codec connected to the I2C1 port.

Add support for it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: mbimxsd35 baseboard: Add USB support.
Denis Carikli [Thu, 13 Mar 2014 09:18:45 +0000 (10:18 +0100)]
ARM: dts: mbimxsd35 baseboard: Add USB support.

Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: i.MX35: Add USB support.
Denis Carikli [Thu, 13 Mar 2014 09:18:44 +0000 (10:18 +0100)]
ARM: dts: i.MX35: Add USB support.

Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: mbimxsd25 baseboard: Add USB support
Denis Carikli [Thu, 13 Mar 2014 09:18:43 +0000 (10:18 +0100)]
ARM: dts: mbimxsd25 baseboard: Add USB support

Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: imx25.dtsi: Fix USB support.
Fabio Estevam [Thu, 13 Mar 2014 09:18:42 +0000 (10:18 +0100)]
ARM: dts: imx25.dtsi: Fix USB support.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: mx35: USB block requires only one clock
Fabio Estevam [Thu, 13 Mar 2014 09:18:40 +0000 (10:18 +0100)]
ARM: dts: mx35: USB block requires only one clock

Like other imx SoCs only one USB clock is needed on mx35.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: mx25: USB block requires only one clock
Fabio Estevam [Thu, 13 Mar 2014 09:18:39 +0000 (10:18 +0100)]
ARM: dts: mx25: USB block requires only one clock

Like other imx SoCs only one USB clock is needed on mx25.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
10 years agoARM: dts: vf610-twr: Add support for sdhc1
Cosmin Stoica [Thu, 6 Mar 2014 16:40:34 +0000 (18:40 +0200)]
ARM: dts: vf610-twr: Add support for sdhc1

The kernel was not able to boot from SD card because sdhc support
was not present into the dts.

A new entry for sdhc1 was added for vf610-twr board based on the
compatible entry present on imx53.

After applying these changes, the kernel is able to boot successfully
from SD card.

Signed-off-by: Cosmin Stoica <cosminstefan.stoica@freescale.com>
Signed-off-by: Chircu Bogdan <Bogdan.Chircu@freescale.com>
Signed-off-by: Eddy Petrisor <eddy.petrisor@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx25-pdk: Add esdhc1 support
Fabio Estevam [Wed, 5 Mar 2014 20:30:40 +0000 (17:30 -0300)]
ARM: dts: imx25-pdk: Add esdhc1 support

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx25-pdk: Provide an Ethernet PHY reset
Fabio Estevam [Wed, 5 Mar 2014 20:30:39 +0000 (17:30 -0300)]
ARM: dts: imx25-pdk: Provide an Ethernet PHY reset

GPIO4_8 is connected to the Ethernet PHY reset line, so populate the
'phy-reset-gpios' property accordingly.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx25-pdk: Provide a regulator for Ethernet PHY
Fabio Estevam [Wed, 5 Mar 2014 20:30:38 +0000 (17:30 -0300)]
ARM: dts: imx25-pdk: Provide a regulator for Ethernet PHY

GPIO2_3 controls the power to the Ethernet PHY, so provide a regulator node
for this.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx25-pdk: Add FEC pins
Fabio Estevam [Wed, 5 Mar 2014 20:30:37 +0000 (17:30 -0300)]
ARM: dts: imx25-pdk: Add FEC pins

Instead of relying on the bootloader for configuring the FEC pins, pass the
FEC pin configuration via device tree instead.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx25-pdk: Add UART1 pins
Fabio Estevam [Wed, 5 Mar 2014 20:30:36 +0000 (17:30 -0300)]
ARM: dts: imx25-pdk: Add UART1 pins

UART1 is the console port on mx25pdk board.

Add the pin configuration for UART1 port and also pass 'fsl,uart-has-rtscts'
to indicate that the port has RTS and CTS pins.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx25-pdk: Sort the dt nodes
Fabio Estevam [Wed, 5 Mar 2014 20:30:35 +0000 (17:30 -0300)]
ARM: dts: imx25-pdk: Sort the dt nodes

Keep the dt nodes sorted for better readability.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl-sabresd.dtsi: Add red led
Vincent Stehlé [Wed, 5 Mar 2014 18:58:39 +0000 (19:58 +0100)]
ARM: dts: imx6qdl-sabresd.dtsi: Add red led

Make the red gpio led available to the user.

This can be toggled with the sysfs for example, or used as a heartbeat or mmc
activity light by changing the trigger.

Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com>
Cc: Sascha Hauer <kernel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27-phytec-phycore-som: Enable SSI1
Alexander Shiyan [Sun, 2 Mar 2014 09:18:39 +0000 (13:18 +0400)]
ARM: dts: imx27-phytec-phycore-som: Enable SSI1

This patch adds pin group for Synchronous Serial Interface 1 (SSI1)
for PCM-038 module and enables this interface. This change do nothing
at the current stage but helps to continue develop sound support.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27-phytec-phycore-rdk: Add missing pinctrl definition for SPI CS1
Alexander Shiyan [Sun, 2 Mar 2014 09:18:38 +0000 (13:18 +0400)]
ARM: dts: imx27-phytec-phycore-rdk: Add missing pinctrl definition for SPI CS1

This patch adds missing pinctrl definition for SPI chipselect 1.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: Add alias for ethernet controller
Marek Vasut [Fri, 28 Feb 2014 11:58:41 +0000 (12:58 +0100)]
ARM: dts: imx: Add alias for ethernet controller

Add alias for FEC ethernet on i.MX to allow bootloaders (like U-Boot)
patch-in the MAC address for FEC using this alias.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: mbimxsd35: Add sound support.
Denis Carikli [Wed, 15 Jan 2014 17:23:26 +0000 (18:23 +0100)]
ARM: dts: mbimxsd35: Add sound support.

Cc: Eric Bénard <eric@eukrea.com>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoLinux 3.15-rc3
Linus Torvalds [Mon, 28 Apr 2014 02:29:27 +0000 (19:29 -0700)]
Linux 3.15-rc3

10 years agoword-at-a-time: avoid undefined behaviour in zero_bytemask macro
Will Deacon [Wed, 23 Apr 2014 16:52:52 +0000 (17:52 +0100)]
word-at-a-time: avoid undefined behaviour in zero_bytemask macro

The asm-generic, big-endian version of zero_bytemask creates a mask of
bytes preceding the first zero-byte by left shifting ~0ul based on the
position of the first zero byte.

Unfortunately, if the first (top) byte is zero, the output of
prep_zero_mask has only the top bit set, resulting in undefined C
behaviour as we shift left by an amount equal to the width of the type.
As it happens, GCC doesn't manage to spot this through the call to fls(),
but the issue remains if architectures choose to implement their shift
instructions differently.

An example would be arch/arm/ (AArch32), where LSL Rd, Rn, #32 results
in Rd == 0x0, whilst on arch/arm64 (AArch64) LSL Xd, Xn, #64 results in
Xd == Xn.

Rather than check explicitly for the problematic shift, this patch adds
an extra shift by 1, replacing fls with __fls. Since zero_bytemask is
never called with a zero argument (has_zero() is used to check the data
first), we don't need to worry about calling __fls(0), which is
undefined.

Cc: <stable@vger.kernel.org>
Cc: Victor Kamensky <victor.kamensky@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
10 years agoMerge branch 'safe-dirty-tlb-flush'
Linus Torvalds [Sun, 27 Apr 2014 22:08:12 +0000 (15:08 -0700)]
Merge branch 'safe-dirty-tlb-flush'

This merges the patch to fix possible loss of dirty bit on munmap() or
madvice(DONTNEED).  If there are concurrent writers on other CPU's that
have the unmapped/unneeded page in their TLBs, their writes to the page
could possibly get lost if a third CPU raced with the TLB flush and did
a page_mkclean() before the page was fully written.

Admittedly, if you unmap() or madvice(DONTNEED) an area _while_ another
thread is still busy writing to it, you deserve all the lost writes you
could get.  But we kernel people hold ourselves to higher quality
standards than "crazy people deserve to lose", because, well, we've seen
people do all kinds of crazy things.

So let's get it right, just because we can, and we don't have to worry
about it.

* safe-dirty-tlb-flush:
  mm: split 'tlb_flush_mmu()' into tlb flushing and memory freeing parts

10 years agoMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux...
Linus Torvalds [Sun, 27 Apr 2014 20:26:28 +0000 (13:26 -0700)]
Merge branch 'for-linus' of git://git./linux/kernel/git/mason/linux-btrfs

Pull btrfs fixes from Chris Mason.

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs:
  Btrfs: limit the path size in send to PATH_MAX
  Btrfs: correctly set profile flags on seqlock retry
  Btrfs: use correct key when repeating search for extent item
  Btrfs: fix inode caching vs tree log
  Btrfs: fix possible memory leaks in open_ctree()
  Btrfs: avoid triggering bug_on() when we fail to start inode caching task
  Btrfs: move btrfs_{set,clear}_and_info() to ctree.h
  btrfs: replace error code from btrfs_drop_extents
  btrfs: Change the hole range to a more accurate value.
  btrfs: fix use-after-free in mount_subvol()

10 years agoMerge branch 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm
Linus Torvalds [Sun, 27 Apr 2014 19:55:04 +0000 (12:55 -0700)]
Merge branch 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm

Pull arm fixes from Russell King:
 "A number of fixes for the PJ4/iwmmxt changes which arm-soc forced me
  to take during the merge window.  This stuff should have been better
  tested and sorted out *before* the merge window"

* 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm:
  ARM: 8042/1: iwmmxt: allow to build iWMMXt on Marvell PJ4B
  ARM: 8041/1: pj4: fix cpu_is_pj4 check
  ARM: 8040/1: pj4: properly detect existence of iWMMXt coprocessor
  ARM: 8039/1: pj4: enable iWMMXt only if CONFIG_IWMMXT is set
  ARM: 8038/1: iwmmxt: explicitly check for supported architectures

10 years agoMerge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
Linus Torvalds [Sun, 27 Apr 2014 19:54:05 +0000 (12:54 -0700)]
Merge tag 'arm64-fixes' of git://git./linux/kernel/git/arm64/linux

Pull arm64 fixes from Catalin Marinas:
 - compat renameat2 syscall wiring and __NR_compat_syscalls fix
 - TLB fix for transparent huge pages following switch to generic
   mmu_gather
 - spinlock initialisation for init_mm's context
 - move of_clk_init() earlier
 - Kconfig duplicate entry fix

* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
  arm64: init: Move of_clk_init to time_init
  arm64: initialize spinlock for init_mm's context
  arm64: debug: remove noisy, pointless warning
  arm64: mm: Add THP TLB entries to general mmu_gather
  arm64: add renameat2 compat syscall
  ARM64: Remove duplicated Kconfig entry for "kernel/power/Kconfig"
  arm64: __NR_compat_syscalls fix

10 years agoMerge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
Linus Torvalds [Sun, 27 Apr 2014 18:21:03 +0000 (11:21 -0700)]
Merge branch 'irq-urgent-for-linus' of git://git./linux/kernel/git/tip/tip

Pull irq fixes from Thomas Gleixner:
 "A slighlty large fix for a subtle issue in the CPU hotplug code of
  certain ARM SoCs, where the not yet online cpu needs to setup the cpu
  local timer and needs to set the interrupt affinity to itself.
  Setting interrupt affinity to a not online cpu is prohibited and
  therefor the timer interrupt ends up on the wrong cpu, which leads to
  nasty complications.

  The SoC folks tried to hack around that in the SoC code in some more
  than nasty ways.  The proper solution is to have a way to enforce the
  affinity setting to a not online cpu.  The core patch to the genirq
  code provides that facility and the follow up patches make use of it
  in the GIC interrupt controller and the exynos timer driver.

  The change to the core code has no implications to existing users,
  except for the rename of the locked function and therefor the
  necessary fixup in mips/cavium.  Aside of that, no runtime impact is
  possible, as none of the existing interrupt chips implements anything
  which depends on the force argument of the irq_set_affinity()
  callback"

* 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  clocksource: Exynos_mct: Register clock event after request_irq()
  clocksource: Exynos_mct: Use irq_force_affinity() in cpu bringup
  irqchip: Gic: Support forced affinity setting
  genirq: Allow forcing cpu affinity of interrupts

10 years agoMerge tag 'tty-3.15-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
Linus Torvalds [Sun, 27 Apr 2014 17:39:09 +0000 (10:39 -0700)]
Merge tag 'tty-3.15-rc3' of git://git./linux/kernel/git/gregkh/tty

Pull tty/serial fixes from Greg KH:
 "Here are a few tty/serial fixes for 3.15-rc3 that resolve a number of
  reported issues in the 8250 and samsung serial drivers, as well as a
  character loss fix for the tty core that was caused by the lock
  removal patches a release ago"

* tag 'tty-3.15-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
  serial_core: fix uart PORT_UNKNOWN handling
  serial: samsung: Change barrier() to cpu_relax() in console output
  serial: samsung: don't check config for every character
  serial: samsung: Use the passed in "port", fixing kgdb w/ no console
  serial: 8250: Fix thread unsafe __dma_tx_complete function
  8250_core: Fix unwanted TX chars write
  tty: Fix race condition between __tty_buffer_request_room and flush_to_ldisc

10 years agoMerge tag 'staging-3.15-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
Linus Torvalds [Sun, 27 Apr 2014 17:34:29 +0000 (10:34 -0700)]
Merge tag 'staging-3.15-rc3' of git://git./linux/kernel/git/gregkh/staging

Pull staging / IIO driver fixes from Greg KH:
 "Here are some small staging and IIO driver fixes for 3.15-rc3.

  Nothing major at all, just some assorted issues that people have
  reported"

* tag 'staging-3.15-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
  staging: comedi: usbdux: bug fix for accessing 'ao_chanlist' in private data
  iio: adc: mxs-lradc: fix warning when buidling on avr32
  iio: cm36651: Fix i2c client leak and possible NULL pointer dereference
  iio: querying buffer scan_mask should return 0/1
  staging:iio:ad2s1200 fix a missing break
  iio: adc: at91_adc: correct default shtim value
  ARM: at91: at91sam9260: change at91_adc name
  ARM: at91: at91sam9g45: change at91_adc name
  iio: cm32181: Fix read integration time function
  iio: adc: at91_adc: Repair broken platform_data support

10 years agoMerge tag 'driver-core-3.15-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git...
Linus Torvalds [Sun, 27 Apr 2014 17:28:34 +0000 (10:28 -0700)]
Merge tag 'driver-core-3.15-rc3' of git://git./linux/kernel/git/gregkh/driver-core

Pull driver core fixes from Greg KH:
 "Here are some kernfs fixes for 3.15-rc3 that resolve some reported
  problems.  Nothing huge, but all needed"

* tag 'driver-core-3.15-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
  s390/ccwgroup: Fix memory corruption
  kernfs: add back missing error check in kernfs_fop_mmap()
  kernfs: fix a subdir count leak

10 years agoMerge tag 'usb-3.15-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
Linus Torvalds [Sun, 27 Apr 2014 17:24:17 +0000 (10:24 -0700)]
Merge tag 'usb-3.15-rc3' of git://git./linux/kernel/git/gregkh/usb

Pull USB fixes from Greg KH:
 "Here are a number of USB fixes for 3.15-rc3.  The majority are gadget
  fixes, as we didn't get any of those in for 3.15-rc2.  The others are
  all over the place, and there's a number of new device id addtions as
  well."

* tag 'usb-3.15-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (35 commits)
  usb: option: add and update a number of CMOTech devices
  usb: option: add Alcatel L800MA
  usb: option: add Olivetti Olicard 500
  usb: qcserial: add Sierra Wireless MC7305/MC7355
  usb: qcserial: add Sierra Wireless MC73xx
  usb: qcserial: add Sierra Wireless EM7355
  USB: io_ti: fix firmware download on big-endian machines
  usb/xhci: fix compilation warning when !CONFIG_PCI && !CONFIG_PM
  xhci: extend quirk for Renesas cards
  xhci: Switch Intel Lynx Point ports to EHCI on shutdown.
  usb: xhci: Prefer endpoint context dequeue pointer over stopped_trb
  phy: core: make NULL a valid phy reference if !CONFIG_GENERIC_PHY
  phy: fix kernel oops in phy_lookup()
  phy: restore OMAP_CONTROL_PHY dependencies
  phy: exynos: fix building as a module
  USB: serial: fix sysfs-attribute removal deadlock
  usb: wusbcore: fix panic in wusbhc_chid_set
  usb: wusbcore: convert nested lock to use spin_lock instead of spin_lock_irq
  uwb: don't call spin_unlock_irq in a USB completion handler
  usb: chipidea: coordinate usb phy initialization for different phy type
  ...