summaryrefslogtreecommitdiffstats
path: root/Documentation/mmc (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-01-07ARM: versatile: select some defaults in defconfigLinus Walleij1-1/+7
This updates the Versatile defconfig to: - Use NO_HZ_IDLE and HIGH_RES_TIMERS - Enable the I2C driver - Enable the SPI driver - Enable the RTC driver for DS1338 as found on the Versatile boards - Compile in the MMCI MMC driver, which is good if you want to mount a root FS on the MMC card without having to first load this module from an initramfs Patch tested on the Versatile AB, QEMU for Versatile AB and QEMU for Versatile PB. Cc: Rob Herring <robh@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net>
2016-01-07ARM: multi_v7_defconfig: Enable fan, sensors and audio for Odroid XU3Krzysztof Kozlowski1-2/+6
For Odroid XU3-family enable the: - PWM fan (to control the CPU fan using thermal subsystem), - TI INA231 sensors (provide power measurements of big.LITTLE cores, DRAM and GPU), - Samsung sound (for Odroid XU3 and Snow as well). Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Olof Johansson <olof@lixom.net>
2015-12-31ARM: bcm2835: enable auxiliary spi driver in defconfigMartin Sperl1-0/+1
add the auxiliary spi driver to the default config Signed-off-by: Martin Sperl <kernel@martin.sperl.org> Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-12-31ARM: bcm2835: enable all bcm2835-relevant in defconfigStefan Wahren1-11/+17
Rebuild bcm2835_defconfig using "make bcm2835_defconfig; make savedefconfig", and enable manually the following features: * all bcm2835-relevant drivers (MBOX, WDT, DMA, PWM, SND) * enable regular stackprotector because CONFIG_CC_STACKPROTECTOR disappear * enable some new dependencies in order to keep LED heartbeat ( CONFIG_NEW_LEDS, CONFIG_LEDS_CLASS, CONFIG_LEDS_TRIGGERS ) The following options were removed, because they are enabled implicit: CONFIG_RD_BZIP2, CONFIG_RD_LZMA, CONFIG_RD_XZ, CONFIG_RD_LZO, CONFIG_USB_DWC2_HOST, CONFIG_EXT4_FS, CONFIG_EXT4_FS_POSIX_ACL These options became obsolete: CONFIG_RESOURCE_COUNTERS, CONFIG_SCSI_MULTI_LUN Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Eric Anholt <eric@anholt.net> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-12-31ARM: default to multi_v7_defconfigArnd Bergmann1-3/+2
versatile_defconfig has not been a reasonable default for a very long time, there is very little work happening on this platform and it's based on an old ARM926 CPU core. This changes the default to multi_v7_defconfig, which is much more relevant to anyone doing a build test on ARM, as it covers a wide range of platforms. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Will Deacon <will.deacon@arm.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
2015-12-22ARM: multi_v7_defconfig: enable rk808 clkout moduleHeiko Stübner1-0/+1
The rk808 supplies two clock outputs with one going back into the soc as 32kHz supply, supplying some core soc clocks with it. The system can boot without it being present, but it is needed for example as source clock for the thermal driver. Signed-off-by: Heiko Stuebner <heiko.stuebner@collabora.com> Signed-off-by: Olof Johansson <olof@lixom.net>
2015-12-22ARM: multi_v7_defconfig: enable rockchip crypto moduleHeiko Stübner1-0/+1
This enables the newly added hardware crypto module found for example on the rk3288. Signed-off-by: Heiko Stuebner <heiko.stuebner@collabora.com> Signed-off-by: Olof Johansson <olof@lixom.net>
2015-12-22ARM: multi_v7_defconfig: enable Rockchip io-domain driverHeiko Stübner1-0/+2
The io-domain driver is necessary to notify the soc about voltages changes happening on supplying regulators. Probably the most important user right now is the mmc tuning code, where the soc needs to get notified when the voltage is dropped to the 1.8V point. As this option is necessary to sucessfully tune UHS cards etc, it should get built in. Signed-off-by: Heiko Stuebner <heiko.stuebner@collabora.com> Signed-off-by: Olof Johansson <olof@lixom.net>
2015-12-22ARM: multi_v7_defconfig: Enable generic SoC internal OMAP regulatorsNishanth Menon1-0/+1
ABB and PBIAS are internal LDO control regulators that are needed for maintaining proper functionality of OMAP architecture SoCs. Enable the same. PBIAS is already enabled, so just enable ABB regulator as well. Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Olof Johansson <olof@lixom.net>
2015-12-22ARM: multi_v7_defconfig: Enable AM437x PMIC TPS65218Nishanth Menon1-0/+2
Enable PMIC for AM437x platforms such as AM437x-sk similar to commit a186cf10da84 ("ARM: omap2plus_defconfig: enable TPS65218 configs"). This allows multi_v7_defconfig to boot up on AM437x-sk platform. Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Olof Johansson <olof@lixom.net>
2015-12-20ARM: multi_v7_defconfig: enable TPS65217 regulatorAfzal Mohammed1-0/+2
Enable TPS65217 regulator to have rootfs in MMC for Beagle Bone's. Suggested-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Afzal Mohammed <afzal.mohd.ma@gmail.com> Signed-off-by: Olof Johansson <olof@lixom.net>
2015-12-18ARM: realview: select apropriate targetsLinus Walleij2-0/+17
Now that we have multiplatform support, let the RealView defconfigs select all the RealView boards so we boot out of the box like before. This updates both defconfigs. Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-12-16ARM: defconfig: qcom: Enable SSBI driversStephen Boyd1-0/+5
Enable some ssbi drivers present on msm8660, msm8960 and apq8064 devices so that we fully exercise the devices present in the dts files. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
2015-12-16ARM: defconfig: Update qcom_defconfigBjorn Andersson1-2/+8
This enables smem, smd, rpm, regulators, pmic pinctrl and hwspinlock as these platform features are now merged. It enables gpio-keys as this is used by most boards and enables fhandle and cgroups, so we can boot systemd. Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Signed-off-by: Andy Gross <andy.gross@linaro.org>
2015-12-15ARM: multi_v7_defconfig: Enable Rockchip generic power domain.Enric Balletbo i Serra1-0/+1
In order to meet high performance an low power requirement for Rockchip enable the power domain support. The patch also fixes a drm/kms issue, driver deferring untils power-domains are available) Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Reviewed-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-12-15ARM: realview: add generic config optionsLinus Walleij1-1/+8
This adds a few features that are available on some or all of the RealView but never made it into the SMP defconfig file: - Full tickless idle - High resolution timers - Perf events and HW perf events from the PMU - MTD AFS partition handling - MTD ROM partition handling - USB and ISP1760 USB driver Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-12-15ARM: realview: add generic config optionsLinus Walleij1-1/+6
This adds a few features that are available on some or all of the RealView but never made it into the defconfig file: - High-resolution timers - Perf events and HW perf events from the PMU - MTD AFS partition handling - MTD ROM partition handling - USB and ISP1760 USB driver Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-12-15ARM: realview: update SMP defconfigLinus Walleij1-17/+3
This updates the RealView SMP defconfig with the latest Kconfig structure. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-12-15ARM: realview: refresh defconfigLinus Walleij1-16/+3
This updates the RealView defconfig with the latest Kconfig structure. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-12-15ARM: multi_v7_defconfig: Enable some drivers for LS1021AAlison Wang1-0/+14
This patch enables some drivers for LS1021A, such as GIANFAR, WATCHDOG, AUDIO, QSPI, I2C, ESDHC, EDMA, FTM. QorIQ Clock Framework and Ramdisk support is also enabled. Signed-off-by: Alison Wang <alison.wang@freescale.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-12-15ARM: at91/defconfig: enable watchdog drivers in sama5_defconfigWenyou Yang1-0/+3
Enable AT91SAM9X and SAMA5D4 watchdog drivers. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
2015-12-14ARM: configs: lpc18xx: enable EEPROM NVMEM driverAriel D'Alessandro1-0/+2
Enable NVMEM driver for NXP LPC18xx EEPROM, which can be found in NXP LPC185x/3x and LPC435x/3x/2x/1x devices. Signed-off-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar> Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-12-14ARM: configs: lpc18xx: enable mma7455 IIO driverJoachim Eastwood1-0/+3
MMA7455 is 3-axis accelerometer that can be found on Embedded Artists' LPC4357 Developer's Kit. Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-12-14ARM: multi_v7_defconfig: Enable frame buffer console for armadillo800evaGeert Uytterhoeven1-0/+1
Enabling the frame buffer device on r8a7740/armadillo800eva requires the board staging code. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2015-12-14ARM: multi_v7_defconfig: Enable missing Renesas ARM support based on DTSesGeert Uytterhoeven1-0/+7
Enable all missing support, extracted from the various Renesas ARM DTSes using linux-config-from-dt. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2015-12-14ARM: multi_v7_defconfig: Drop useless CONFIG_USB_RCAR_PHY=yGeert Uytterhoeven1-1/+0
The Renesas R-Car (Gen1) USB PHY driver (which is being removed) does not support DT, and is thus useless in a generic ARM multi-platform kernel. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2015-12-11ARM: shmobile: defconfig: Enable frame buffer console for armadillo800evaGeert Uytterhoeven1-0/+3
Enabling the frame buffer device on armadillo800eva requires the board staging code. Also enable the frame buffer, so you will actually see output during boot. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2015-12-11ARM: shmobile: defconfig: Enable missing support based on DTSesGeert Uytterhoeven1-0/+6
Enable all missing support, extracted from the various Renesas ARM DTSes using linux-config-from-dt. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2015-12-11ARM: shmobile: defconfig: Drop useless CONFIG_USB_RCAR_PHY=yGeert Uytterhoeven1-1/+0
The Renesas R-Car (Gen1) USB PHY driver (which is being removed) does not support DT, and is thus useless in a Renesas ARM multi-platform kernel. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2015-12-10ARM: shmobile: defconfig: Enable CONFIG_PRINTK_TIMEGeert Uytterhoeven1-1/+1
Enable timestamps for kernel log output to improve debugging. You can always use "dmesg -t" to strip the timestamps. Don't specify CONFIG_LOG_BUF_SHIFT=16 while we're at it. There's a reason the default in Kconfig is higher ;-) Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2015-12-08ARM: qcom_defconfig: Enable HAVE_ARM_ARCH_TIMERStephen Boyd1-0/+1
Enable this config in the defconfig so that we can delete the selection logic surrounding it that exists in mach-qcom/Kconfig. Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Andy Gross <agross@codeaurora.org>
2015-12-08ARM: mvebu: update v5 defconfig for Orion5x machinesAndrew Lunn1-1/+23
Now that Orion5x is part of the multiarch kernel, add it to mvebu_v5_defconfig. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2015-12-08ARM: mvebu: Reenable DSA in mvebu_v5_defconfigAndrew Lunn1-0/+7
DSA now depends on switchdev. Enable it, and re-enable DSA and its drivers, which were removed when mvebu_v5_defconfig was regenerated. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2015-12-08ARM: config: Add orion5x to multi_v5_defconfigAndrew Lunn1-0/+23
Now that Orion5x is part of the v5 multiarch kernel enable it in the multi_v5_defconfig. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2015-12-08ARM: config: Reenable DSA in multi_v5_defconfigAndrew Lunn1-0/+7
DSA now depends on switchdev. Enable it, and re-enable DSA and its drivers, which were removed when multi_v5_defconfig was regenerated. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2015-12-08ARM: config: Regenerate multi_v5_defconfigAndrew Lunn1-13/+4
Dues the Kconfig changes, multi_v5_defconfig needs regenerating. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2015-12-03arm: socfpga_defconfig: enable USB dual-role and cleanupDinh Nguyen1-4/+2
Enable USB OTG dual-role and a bit of clean up by using make savedefconfig. Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
2015-12-02ARM: defconfig: multi_v7: Enable Qualcomm options for HonamiBjorn Andersson1-1/+11
The Honami device does not boot due to the lack of pinctrl support compiled in with the multi_v7_defconfig. This patch correct this and enables coincell, sdhci, smsm, smp2p and wcnss_ctrl as well, all found on a variety of Qualcomm boards. Reported-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Tested-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Kevin Hilman <khilman@linaro.org>
2015-12-02ARM: imx_v6_v7_defconfig: enable PCI_MSILucas Stach1-0/+1
This has been stable on i.MX6 for a good while now and there is no reason to keep it disabled, as it allows to allocate non-shared IRQs if several PCIe devices are connected to a single host. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2015-12-01ARM: multi_v7_defconfig: Enable required QCOM SPMI/PMIC driversAndy Gross1-0/+4
This patch enables the QCOM SPMI and PMIC related drivers that are now required to boot some supported devices. Signed-off-by: Andy Gross <agross@codeaurora.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-12-01drm/rockchip: vop: Correct enabled clocks during setupSjoerd Simons1-22/+14
When doing the initial setup both the hclk and the aclk need to be enabled otherwise the board will simply hang. This only occurs when building the vop driver as a module, when its built-in the initial setup happens to run before the clock framework shuts of unused clocks (including the aclk). While there also switch to doing prepare and enable in one step rather then separate steps to reduce the amount of code required. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Acked-by: Mark Yao <mark.yao@rock-chips.com> Tested-by: Yakir Yang <ykk@rock-chips.com> Tested-by: Romain Perier <romain.perier@gmail.com>
2015-12-01ARM: exynos_defconfig: Set recommended options for systemdKrzysztof Kozlowski1-2/+1
Set following options to a value recommended by systemd (which also matches the multi_v7 deconfig): 1. Enable AUTOFS4_FS - for systemd.automount [0]; 2. Enable BLK_DEV_BSG - SG v4 for recend udev [0][1]; 3. Disable UEVENT_HELPER_PATH - legacy hook for hotplug, forked for each uevent, slows down booting [0]; [0] http://cgit.freedesktop.org/systemd/systemd/tree/README [1] http://patchwork.ozlabs.org/patch/47921/ Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
2015-11-30ARM: mvebu: add Kirkwood cpuidle to defconfigLinus Walleij1-0/+1
The Kirkwood v5 platforms need their CPUIDLE driver, so put it into the defconfig. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2015-11-30ARM: mvebu: update v5 defconfigLinus Walleij1-10/+2
This just regenerates the v5 mvebu defconfig with the latest defaults so as to avoid too much fuzz when applying patches to it. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2015-11-30ARM: exynos_defconfig: Enable NFSv4 clientKrzysztof Kozlowski1-0/+1
NFS client is already enabled (NFS_FS) and by default it enables clients for version 2 and 3. Enable explicitly the version 4 client to utilize the newer protocol. The NFS client is especially useful for testing kernel in automated environments (network boot with network file system). Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
2015-11-30Linux 4.4-rc3v4.4-rc3Linus Torvalds1-1/+1
2015-11-29target/stat: print full t10_wwn.model bufferDavid Disseldorp1-1/+1
Cut 'n paste error saw it only process sizeof(t10_wwn.vendor) characters. Signed-off-by: David Disseldorp <ddiss@suse.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2015-11-29target: fix COMPARE_AND_WRITE non zero SGL offset data corruptionJan Engelhardt1-2/+2
target_core_sbc's compare_and_write functionality suffers from taking data at the wrong memory location when writing a CAW request to disk when a SGL offset is non-zero. This can happen with loopback and vhost-scsi fabric drivers when SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC is used to map existing user-space SGL memory into COMPARE_AND_WRITE READ/WRITE payload buffers. Given the following sample LIO subtopology, % targetcli ls /loopback/ o- loopback ................................. [1 Target] o- naa.6001405ebb8df14a ....... [naa.60014059143ed2b3] o- luns ................................... [2 LUNs] o- lun0 ................ [iblock/ram0 (/dev/ram0)] o- lun1 ................ [iblock/ram1 (/dev/ram1)] % lsscsi -g [3:0:1:0] disk LIO-ORG IBLOCK 4.0 /dev/sdc /dev/sg3 [3:0:1:1] disk LIO-ORG IBLOCK 4.0 /dev/sdd /dev/sg4 the following bug can be observed in Linux 4.3 and 4.4~rc1: % perl -e 'print chr$_ for 0..255,reverse 0..255' >rand % perl -e 'print "\0" x 512' >zero % cat rand >/dev/sdd % sg_compare_and_write -i rand -D zero --lba 0 /dev/sdd % sg_compare_and_write -i zero -D rand --lba 0 /dev/sdd Miscompare reported % hexdump -Cn 512 /dev/sdd 00000000 0f 0e 0d 0c 0b 0a 09 08 07 06 05 04 03 02 01 00 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * 00000200 Rather than writing all-zeroes as instructed with the -D file, it corrupts the data in the sector by splicing some of the original bytes in. The page of the first entry of cmd->t_data_sg includes the CDB, and sg->offset is set to a position past the CDB. I presume that sg->offset is also the right choice to use for subsequent sglist members. Signed-off-by: Jan Engelhardt <jengelh@netitwork.de> Tested-by: Douglas Gilbert <dgilbert@interlog.com> Cc: <stable@vger.kernel.org> # v3.12+ Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2015-11-29qla2xxx: Fix regression introduced by target configFS changesHimanshu Madhani1-1/+1
this patch fixes following regression # targetcli [Errno 13] Permission denied: '/sys/kernel/config/target/qla2xxx/21:00:00:0e:1e:08:c7:20/tpgt_1/enable' Fixes: 2eafd72939fd ("target: use per-attribute show and store methods") Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com> Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2015-11-29kref: Remove kref_put_spinlock_irqsave()Bart Van Assche1-33/+0
The last user is gone. Hence remove this function. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Christoph Hellwig <hch@lst.de> Cc: Joern Engel <joern@logfs.org> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>