summaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* fdt: don't strip const qualifierLucas Stach2014-12-111-1/+1
| | | | | | | | Fixes: warning: assignment discards 'const' qualifier from pointer target type Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* treewide: Fix typo collumn -> columnSascha Hauer2014-12-111-3/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/randconfig-1'Sascha Hauer2014-12-083-3/+2
|\
| * spi: mxs-spi: Allow compilation on i.MX28 onlySascha Hauer2014-11-281-1/+1
| | | | | | | | | | | | | | The driver does not compile on i.MX23, so remove the i.MX23 from the dependency list. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * firmware: altera serial: depend on GENERIC_GPIOSascha Hauer2014-11-281-0/+1
| | | | | | | | | | | | The driver needs gpio support, so depend on GENERIC_GPIO Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mci: mxs-mci: add f_min/f_max fields unconditionallySascha Hauer2014-11-281-2/+0
| | | | | | | | | | | | | | Parts of the driver need these regardless of whether CONFIG_MCI_INFO is set, so add these fields unconditionally. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/randconfig'Sascha Hauer2014-12-084-10/+4
|\ \
| * | gpio: clps711x: Add missing includeSascha Hauer2014-11-271-1/+1
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | USB: Gadget: fastboot: depends on command supportSascha Hauer2014-11-271-0/+1
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | USB: Gadget: Select poller from USB_GADGET optionSascha Hauer2014-11-271-3/+1
| | | | | | | | | | | | | | | | | | | | | The poller has been merged to the gadget core, so now the core needs poller support, not the individual drivers. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | video: EDID: depends on I2CSascha Hauer2014-11-271-0/+1
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | net: fec_imx: remove unused includesSascha Hauer2014-11-271-6/+0
| |/ | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/misc'Sascha Hauer2014-12-0810-46/+22
|\ \
| * | fdt: of_unflatten_dtb can work on const dataJan Luebbe2014-12-041-2/+2
| | | | | | | | | | | | | | | Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | dt: factor out common codeJan Luebbe2014-11-201-22/+11
| | | | | | | | | | | | | | | | | | | | | | | | Currently, dt_struct is always checked with the same code after dt_struct_advance(). Move the check after the switch statement. Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | treewide: Reuse init_clock() return value for clocksource driversAlexander Shiyan2014-11-108-21/+8
| | | | | | | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: use OFTREE_MEM_GENERIC for the sandboxJan Luebbe2014-11-071-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/marvell'Sascha Hauer2014-12-084-9/+849
|\ \ \
| * | | net: Add driver for Armada 370/XP 10/100/1000 Mbps network controllerEzequiel Garcia2014-11-113-0/+773
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces the mvneta driver to support the network controller found in Armada 370/XP SoCs. Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | net: phy: Support Marvell 88EE1543 PHYEzequiel Garcia2014-11-111-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds support for Marvell's 88E1543 PHY chip. This chip is almost identical to the 88EE1545, except the 88E1545 supports QSGMII and the 88EE1543 supports SGMII. Therefore, the same configuration function is used for both PHYs. For now, the only initialization provided for the 88EE1543 is the LED setup. Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | net: phy: Support Marvell 88EE1545 PHYEzequiel Garcia2014-11-111-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds support for Marvell's 88E1545 PHY chip. In particular, this allows to support QSGMII interfaces. Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | net: phy: marvell: Fix array identationEzequiel Garcia2014-11-111-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just a cosmetic clean-up to fix the indentation of the entries in the phys array. Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Merge branch 'for-next/imx'Sascha Hauer2014-12-085-3/+12
|\ \ \ \ | |_|_|/ |/| | |
| * | | pinctrl: Add i.MX6sx compatible entrySascha Hauer2014-11-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | To let the driver probe on i.MX6sx. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | net: fec_imx: Add i.MX6sx compatible entrySascha Hauer2014-11-271-0/+3
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | serial: i.MX: Use "per" clkSascha Hauer2014-11-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Which is the correct clock for the baud rate. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | mci: imx-esdhc: Add i.MX6sl compatibleSascha Hauer2014-11-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Which will also be used for the i.MX6sx. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | mci: imx-esdhc: Fix Interrupt enable register for i.MX6sxSascha Hauer2014-11-271-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The reset default of this register has changed on i.MX6sx. Explicitly write the value we want to have to make it work on i.MX6sx. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | imx6: clk: Gate off ENFC clock before setting clock rateDmitry Lavnikevich2014-11-261-0/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | This fixes NAND initialization issue which appears occasionally on some i.MX6 SoCs (particulary was observed on phyCARD-i.MX6 with i.MX6Solo). Signed-off-by: Dmitry Lavnikevich <d.lavnikevich@sam-solutions.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | net: rtl8139: depend on MIPSLucas Stach2014-11-271-0/+1
| | | | | | | | | | | | | | | | | | | | | Until we sort out the dma-mapping mess. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | rtc: select GREGORIAN_CALENDERLucas Stach2014-11-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: drivers/rtc/rtc-lib.c:109: undefined reference to `mktime' Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | usb: musb: only build musb_barebox if host is enabledLucas Stach2014-11-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | musb_barebox.c contains code that is only ever used if CONFIG_MUSB_HOST is set. Building it uncoditionally breaks the build depending on the link order. Fixes: drivers/usb/musb/musb_barebox.c:64: undefined reference to `musb_urb_enqueue' Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | usb: host: only activate Efika MX ULPI workaround if ULPI is selectedLucas Stach2014-11-261-1/+1
| | | | | | | | | | | | | | | | | | | | | Fixes a build failure with disabled ULPI support. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | net: ethoc: depend on OPENRISCLucas Stach2014-11-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | This driver currently only works on OpenRISC, as it uses the cache flush/invalidate functions of this arch. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | usb: gadget: fastboot: select BANNERLucas Stach2014-11-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fastboot gadget needs the 'release_string' which is available only if CONFIG_BANNER is set. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | mci: esdhc: add back PIO_TIMEOUTLucas Stach2014-11-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | This got lost during bd1bf53b34c (mci: imx-esdhc: factor out common sdhci registers). Seems the PIO option isn't too heavily used. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | video: ipuv3: select OFDEVICE for HDMI and LVDSLucas Stach2014-11-241-0/+2
| | | | | | | | | | | | | | | | | | | | | Both components need the OF display timings helpers. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | firmware: altera-serial: fix printf messageLucas Stach2014-11-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: .../altera_serial.c:118:2: warning: too many arguments for format Also sz is of type size_t, so use proper format specifier. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | firmware: altera-serial: don't try to check void return valueLucas Stach2014-11-241-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: .../altera_serial.c:84:6: error: void value not ignored as it ought to be Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | firmware: altera-serial: depend on SPILucas Stach2014-11-241-0/+1
| | | | | | | | | | | | | | | | | | | | | This driver uses SPI bus functions. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | firmware: socfpga: depend on ARCH_SOCFPGALucas Stach2014-11-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | This driver uses a lot of arch specific functionality and fails to build on anything but SOCFPGA. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | mtd: ubi: get_bad_peb_limit from mtd masterJan Weitzel2014-11-201-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Like mentioned in the coment we need the size of the entire flash chip. Check if a master exists and take his size. Otherwise the limit will be too small and kernel prints: UBI warning: print_rsvd_warning: cannot reserve enough PEBs for \ bad PEB handling, reserved 19, need 20 Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | pci: tegra: relax link-up timeoutLucas Stach2014-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some devices need a considerable amount of time from reset deassertion until they are ready to establish a link. Relaxing the link-up timeout helps to detect them more reliable. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | pci: align bridge windowsLucas Stach2014-11-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bridge filtering logic needs a minimum alignment of 1MB for mem and 4KB for io resources. Take this into account while assigning resources to devices in oredr to not produce overlapping windows between different bridges. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | pci: correct BAR size calculationLucas Stach2014-11-171-3/+3
| |/ |/| | | | | | | | | | | | | The previous math would return negative sizes for some BARs. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | pci: mvebu: Fix uninitialized variable in mvebu_get_target_attr()Thomas Petazzoni2014-11-101-3/+3
| | | | | | | | | | | | | | | | | | | | This is the same fix that was applied to the Linux kernel in commit 56fab6e18944 (PCI: mvebu: Fix uninitialized variable in mvebu_get_tgt_attr()). Fixes: 5a9ba98 ("pci: mvebu: Add PCIe driver") Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | mtd: nand_orion: remove unused goto labelUwe Kleine-König2014-11-101-1/+1
|/ | | | | | | | | | | This fixes the following warning: drivers/mtd/nand/nand_orion.c: In function ‘orion_nand_probe’: drivers/mtd/nand/nand_orion.c:145:1: warning: label ‘no_res’ defined but not used [-Wunused-label] Fixes: 1a215f5 ("nand: Add Marvell Orion NAND driver") Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/tegra'Sascha Hauer2014-11-0527-93/+3454
|\
| * clk: tegra: don't enable UART clocks by defaultLucas Stach2014-11-043-14/+14
| | | | | | | | | | | | | | | | Now that we are registering a proper driver for the UARTs we no longer need to enable the clocks unconditionally. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * serial: ns16550: add Tegra supportLucas Stach2014-11-041-0/+11
| | | | | | | | | | Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>