2019-05-19 13:07:45 +01:00
|
|
|
|
2007-02-11 19:57:36 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-09-07 13:16:58 +02:00
|
|
|
|
2007-02-11 19:57:36 +01:00
|
|
|
|
2017-07-19 15:55:47 +08:00
|
|
|
|
2017-09-05 20:27:50 +02:00
|
|
|
|
2017-07-19 15:55:47 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-11-21 18:06:49 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-11 19:57:36 +01:00
|
|
|
|
|
|
|
|
|
2007-05-08 22:30:32 +02:00
|
|
|
|
2007-02-11 19:57:36 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-07-29 03:50:30 +01:00
|
|
|
|
2017-08-30 14:22:12 +02:00
|
|
|
|
2014-07-29 03:50:30 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-10-08 14:08:55 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-11 19:57:36 +01:00
|
|
|
|
|
|
|
|
|
2025-09-15 11:33:15 +03:00
|
|
|
|
2007-02-11 19:57:36 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-05 23:18:58 +01:00
|
|
|
|
2008-03-18 17:35:49 +01:00
|
|
|
|
2007-02-11 19:57:36 +01:00
|
|
|
|
2008-03-18 17:35:49 +01:00
|
|
|
|
2007-02-11 19:57:36 +01:00
|
|
|
|
|
|
|
|
|
2008-03-18 17:35:49 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-17 00:13:46 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-12-17 15:27:20 -08:00
|
|
|
|
|
|
|
|
|
2015-01-26 11:35:44 +01:00
|
|
|
|
2009-12-17 15:27:20 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-10-08 18:36:47 +08:00
|
|
|
|
2009-12-17 15:27:20 -08:00
|
|
|
|
2024-10-18 18:53:20 +08:00
|
|
|
|
2024-10-30 11:06:55 +01:00
|
|
|
|
2024-10-18 18:53:20 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-03-18 17:35:49 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-11-29 15:41:06 +02:00
|
|
|
|
2024-10-18 18:53:31 +08:00
|
|
|
|
2019-05-06 11:38:53 +03:00
|
|
|
|
2019-09-11 15:23:44 +08:00
|
|
|
|
2008-03-18 17:35:49 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-11 19:57:36 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-09-15 12:54:08 -07:00
|
|
|
|
2012-10-02 11:17:47 -07:00
|
|
|
|
2008-03-18 17:35:49 +01:00
|
|
|
|
2015-01-26 11:44:15 +01:00
|
|
|
|
2007-09-15 12:54:08 -07:00
|
|
|
|
ricoh_mmc: port from driver to pci quirk
This patch solves nasty problem original driver has.
Original goal of the ricoh_mmc was to disable this device because then,
mmc cards can be read using standard SDHCI controller, thus avoiding
writing of yet another driver.
However, the act of disablement, makes other pci functions that belong to
this controller (xD and memstick) shift up one level, thus pci core has
now wrong idea about these devices.
To fix this issue, this patch moves the driver into the pci quirk section,
thus it is executes before the pci is enumerated, and therefore solving
that issue, also same sequence of commands is performed on resume for same
reasons.
Also regardless of the above, this way is cleaner. You still need to set
CONFIG_MMC_RICOH_MMC to enable this quirk
Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Acked-by: Philip Langdale <philipl@overt.org>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-03-05 13:43:20 -08:00
|
|
|
|
2007-09-15 12:54:08 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ricoh_mmc: port from driver to pci quirk
This patch solves nasty problem original driver has.
Original goal of the ricoh_mmc was to disable this device because then,
mmc cards can be read using standard SDHCI controller, thus avoiding
writing of yet another driver.
However, the act of disablement, makes other pci functions that belong to
this controller (xD and memstick) shift up one level, thus pci core has
now wrong idea about these devices.
To fix this issue, this patch moves the driver into the pci quirk section,
thus it is executes before the pci is enumerated, and therefore solving
that issue, also same sequence of commands is performed on resume for same
reasons.
Also regardless of the above, this way is cleaner. You still need to set
CONFIG_MMC_RICOH_MMC to enable this quirk
Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Acked-by: Philip Langdale <philipl@overt.org>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-03-05 13:43:20 -08:00
|
|
|
|
2007-09-15 12:54:08 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-11-23 21:17:34 +01:00
|
|
|
|
|
|
|
|
|
2019-01-05 10:06:04 +00:00
|
|
|
|
2016-04-15 14:06:57 +03:00
|
|
|
|
2012-11-23 21:17:34 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-06-02 10:57:50 +08:00
|
|
|
|
|
|
|
|
|
2011-05-27 23:48:14 +08:00
|
|
|
|
2011-06-02 10:57:50 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-12-02 10:02:36 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-06-20 10:56:50 -07:00
|
|
|
|
2018-01-16 11:43:51 +08:00
|
|
|
|
2013-12-02 10:02:36 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-08-07 10:06:29 +09:30
|
|
|
|
|
|
|
|
|
2022-09-16 12:56:02 +01:00
|
|
|
|
2019-08-07 10:06:29 +09:30
|
|
|
|
2019-09-04 11:51:20 +09:30
|
|
|
|
2019-11-18 13:46:45 +03:00
|
|
|
|
2019-08-07 10:06:29 +09:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-01-14 13:44:31 +10:30
|
|
|
|
2022-07-09 11:20:01 +08:00
|
|
|
|
|
|
|
|
|
2022-07-15 12:03:54 +08:00
|
|
|
|
2022-07-09 11:20:01 +08:00
|
|
|
|
2021-01-14 13:44:31 +10:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-07-29 16:22:47 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-04-23 00:34:01 +09:00
|
|
|
|
2015-07-29 16:22:47 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-06-02 10:57:50 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-09-07 12:52:54 +02:00
|
|
|
|
2015-10-08 18:36:47 +08:00
|
|
|
|
2016-11-09 11:14:12 +08:00
|
|
|
|
2009-12-17 15:27:20 -08:00
|
|
|
|
|
|
|
|
|
2009-03-17 00:14:05 +03:00
|
|
|
|
2011-06-02 10:57:50 +08:00
|
|
|
|
|
|
|
|
|
2009-03-17 00:14:05 +03:00
|
|
|
|
|
|
|
|
|
2009-12-17 15:27:20 -08:00
|
|
|
|
2011-06-02 10:57:50 +08:00
|
|
|
|
|
|
|
|
|
2015-02-26 20:08:21 +08:00
|
|
|
|
2009-12-17 15:27:20 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-06-02 10:57:50 +08:00
|
|
|
|
|
|
|
|
|
2009-12-17 15:27:20 -08:00
|
|
|
|
|
|
|
|
|
2018-07-06 15:23:55 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-03-19 14:59:32 +03:00
|
|
|
|
2018-07-06 15:23:55 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-05-09 21:22:12 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-08-25 10:13:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-09-07 12:52:54 +02:00
|
|
|
|
2020-08-25 10:13:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-07-16 08:45:27 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-12-08 21:50:55 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-04-10 11:45:24 -07:00
|
|
|
|
2016-12-08 21:50:55 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-05-18 21:17:41 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-10-15 12:21:04 +02:00
|
|
|
|
2011-09-19 17:32:21 +08:00
|
|
|
|
2025-12-12 07:03:17 -08:00
|
|
|
|
2011-06-02 10:57:50 +08:00
|
|
|
|
2021-03-14 20:08:23 -03:00
|
|
|
|
2010-10-15 12:21:04 +02:00
|
|
|
|
2019-01-07 10:11:39 +00:00
|
|
|
|
2010-10-15 12:21:04 +02:00
|
|
|
|
2011-09-19 17:32:21 +08:00
|
|
|
|
2025-12-12 07:03:17 -08:00
|
|
|
|
2010-10-15 12:21:04 +02:00
|
|
|
|
2011-06-02 10:57:50 +08:00
|
|
|
|
|
|
|
|
|
2010-10-15 12:21:04 +02:00
|
|
|
|
|
|
|
|
|
2010-11-07 16:57:12 -05:00
|
|
|
|
2011-05-27 23:48:12 +08:00
|
|
|
|
2020-09-07 12:52:54 +02:00
|
|
|
|
2011-06-02 10:57:50 +08:00
|
|
|
|
2010-11-07 16:57:12 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-06-02 10:57:50 +08:00
|
|
|
|
|
|
|
|
|
2010-11-07 16:57:12 -05:00
|
|
|
|
|
|
|
|
|
2011-01-01 23:52:56 -05:00
|
|
|
|
2011-05-27 23:48:12 +08:00
|
|
|
|
2020-09-07 12:52:54 +02:00
|
|
|
|
2011-06-02 10:57:50 +08:00
|
|
|
|
2011-01-01 23:52:56 -05:00
|
|
|
|
2019-01-23 11:30:54 -08:00
|
|
|
|
2011-01-01 23:52:56 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-14 13:52:37 +01:00
|
|
|
|
2021-09-24 15:32:57 +02:00
|
|
|
|
2020-09-07 12:52:54 +02:00
|
|
|
|
ARM: SoC platform updates
SoC changes, a substantial part of this is cleanup of some of the older
platforms that used to have a bunch of board files. In particular:
- Removal of non-DT i.MX platforms that haven't seen activity in years,
it's time to remove them.
- A bunch of cleanup and removal of platform data for TI/OMAP platforms,
moving over to genpd for power/reset control (yay!)
- Major cleanup of Samsung S3C24xx and S3C64xx platforms, moving them
closer to multiplatform support (not quite there yet, but getting
close).
THere are a few other changes too, smaller fixlets, etc. For new
platform support, the primary ones re:
- New SoC: Hisilicon SD5203, ARM926EJ-S platform.
- Cpufreq support for i.MX7ULP
-----BEGIN PGP SIGNATURE-----
iQJDBAABCgAtFiEElf+HevZ4QCAJmMQ+jBrnPN6EHHcFAl+TT4gPHG9sb2ZAbGl4
b20ubmV0AAoJEIwa5zzehBx322MP/1mI56SyOFx30AqtWBPSjHJp+DzhOObyb4vD
ndYuicBIn9tJwvVRBBZkfsbIU8EENVwrN3hOpesaj9L7xiqOqKakcnyC1REYmpIs
8XBDfdZzy5PrMHIu3fF1ZDCQyO7KndGf5DfLVxJtcf1tSPQyQCuIA3FtS6d8Bxnz
r491+om67ucnlFD5X0Spm3RdZH+ECmXx2iXwoS0Zi7P+X+S+ovG8wBV/X0ggeoBc
Zgi4W01SiRupmSVZ6PA7FvWaLGQErQAALQOcFtMcFgjeWzc1v2QzcURELH8JW7ro
72AH9st1Kvi3hoN2HNNzUnNUdQvZ+AdH8skMIpN/e1cBYqYStAF3gm/R9h+iVHbG
GMmgzXHAFErfAW2UcF8tq1CzvQ5ChcTLNXdeoa8CeQbcDfocF3EyuKSPuDH+ve0H
kk4tPesTAc6XCEVwLaGnoC75sdum5mSi8h9vqhln2KCdeTY7jxzH9YGHjm71Supb
kV9vqo5Q5U/c5l2nU4r5q/DZdIahKsk3HIQZ0iG7BifAzamaTh4uyLVjtM6HSwNz
tdHZaxoHd/PLI5IoeggFelx6qgvK5qVRLP0evgOdTLRFLj/ZbrOf0Q7DjdTy2BjZ
Lgq461QqNapOzxq43G2IDT2+P62Q1+d+YLCKBgaGQaJicyU5m9STCNo3UBb1qH1h
W6UwGF5z
=0+Ee
-----END PGP SIGNATURE-----
Merge tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Pull ARM SoC platform updates from Olof Johansson:
"SoC changes, a substantial part of this is cleanup of some of the
older platforms that used to have a bunch of board files.
In particular:
- Remove non-DT i.MX platforms that haven't seen activity in years,
it's time to remove them.
- A bunch of cleanup and removal of platform data for TI/OMAP
platforms, moving over to genpd for power/reset control (yay!)
- Major cleanup of Samsung S3C24xx and S3C64xx platforms, moving them
closer to multiplatform support (not quite there yet, but getting
close).
There are a few other changes too, smaller fixlets, etc. For new
platform support, the primary ones are:
- New SoC: Hisilicon SD5203, ARM926EJ-S platform.
- Cpufreq support for i.MX7ULP"
* tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (121 commits)
ARM: mstar: Select MStar intc
ARM: stm32: Replace HTTP links with HTTPS ones
ARM: debug: add UART early console support for SD5203
ARM: hisi: add support for SD5203 SoC
ARM: omap3: enable off mode automatically
clk: imx: imx35: Remove mx35_clocks_init()
clk: imx: imx31: Remove mx31_clocks_init()
clk: imx: imx27: Remove mx27_clocks_init()
ARM: imx: Remove unused definitions
ARM: imx35: Retrieve the IIM base address from devicetree
ARM: imx3: Retrieve the AVIC base address from devicetree
ARM: imx3: Retrieve the CCM base address from devicetree
ARM: imx31: Retrieve the IIM base address from devicetree
ARM: imx27: Retrieve the CCM base address from devicetree
ARM: imx27: Retrieve the SYSCTRL base address from devicetree
ARM: s3c64xx: bring back notes from removed debug-macro.S
ARM: s3c24xx: fix Wunused-variable warning on !MMU
ARM: samsung: fix PM debug build with DEBUG_LL but !MMU
MAINTAINERS: mark linux-samsung-soc list non-moderated
ARM: imx: Remove remnant board file support pieces
...
2020-10-24 10:33:08 -07:00
|
|
|
|
2009-06-14 13:52:37 +01:00
|
|
|
|
|
|
|
|
|
2025-07-24 12:28:17 +01:00
|
|
|
|
2022-09-29 15:43:53 +02:00
|
|
|
|
2009-06-14 13:52:37 +01:00
|
|
|
|
2021-09-24 15:32:57 +02:00
|
|
|
|
|
|
|
|
|
2009-06-14 13:52:37 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-06-08 17:41:57 +08:00
|
|
|
|
|
|
|
|
|
2021-05-31 11:48:49 +02:00
|
|
|
|
2014-06-05 23:14:41 +02:00
|
|
|
|
2015-02-23 11:30:40 +01:00
|
|
|
|
2011-06-08 17:41:57 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-06-08 17:41:58 +08:00
|
|
|
|
|
|
|
|
|
2021-05-31 11:48:49 +02:00
|
|
|
|
2014-06-05 23:14:41 +02:00
|
|
|
|
2015-01-26 11:23:28 +01:00
|
|
|
|
2011-06-08 17:41:58 +08:00
|
|
|
|
2023-01-16 11:43:55 -08:00
|
|
|
|
2011-06-08 17:41:58 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-05-26 14:42:10 -07:00
|
|
|
|
|
|
|
|
|
2020-09-07 12:52:54 +02:00
|
|
|
|
|
|
|
|
|
2015-03-04 14:57:44 +01:00
|
|
|
|
2010-05-26 14:42:10 -07:00
|
|
|
|
|
|
|
|
|
2025-07-24 12:28:17 +01:00
|
|
|
|
2010-05-26 14:42:10 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-14 13:52:37 +01:00
|
|
|
|
|
|
|
|
|
2012-10-02 11:17:47 -07:00
|
|
|
|
2009-06-14 13:52:37 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-06-20 14:26:37 -07:00
|
|
|
|
|
|
|
|
|
2020-09-07 12:52:54 +02:00
|
|
|
|
2014-06-05 23:14:41 +02:00
|
|
|
|
2013-06-20 14:26:37 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-01-23 17:53:39 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-20 16:05:18 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-01-08 15:44:19 +00:00
|
|
|
|
2015-01-20 16:05:18 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-10 10:41:06 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-02-09 16:06:30 -08:00
|
|
|
|
2016-01-27 22:25:41 +00:00
|
|
|
|
2021-06-02 15:27:58 -04:00
|
|
|
|
2015-02-09 16:06:30 -08:00
|
|
|
|
2018-08-05 13:22:52 +05:30
|
|
|
|
2015-02-09 16:06:30 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-01-27 22:25:41 +00:00
|
|
|
|
2015-02-09 16:06:30 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-10-02 23:06:10 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-10-19 11:18:24 -07:00
|
|
|
|
2018-04-03 18:06:51 +08:00
|
|
|
|
2020-09-07 12:52:54 +02:00
|
|
|
|
2020-09-25 09:43:23 -07:00
|
|
|
|
2016-10-19 11:18:24 -07:00
|
|
|
|
|
|
|
|
|
2018-04-03 18:06:51 +08:00
|
|
|
|
2016-10-19 11:18:24 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-05-12 22:41:47 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mmc: meson-mx-sdio: Add a driver for the Amlogic Meson8 and Meson8b SoCs
Add a driver for the SDIO/MMC host found on the Amlogic Meson SoCs. This
is an MMC controller which provides an interface between the application
processor and various memory cards. It supports the SD specification
v2.0 and the eMMC specification v4.41.
The controller provides an internal "mux" which allows connecting up to
three MMC devices to it. Only one device can be used at a time though
since the registers are shared across all devices. The driver takes care
of synchronizing access (similar to the dw_mmc driver).
The maximum supported bus-width is 4-bits.
Amlogic's GPL kernel sources call the corresponding driver "aml_sdio" to
differentiate it from the other MMC controller in (at least the Meson8
and Meson8b) the SoCs (they call the other drivers aml_sdhc and
aml_sdhc_m8, which seem to support a bus-width of up to 8-bits). This
means that there are three different MMC host controller IP blocks from
Amlogic (each of them with completely own register layout and features):
- "SDIO": 1 and 4 bit bus width, support for high-speed modes up to
UHS-I SDR50, part of Meson6, Meson8 and Meson8b (the driver from this
patch targets this controller)
- "SDHC": 1, 4 and 8 bit bus width, compatible with standard iNAND
interface, support for speeds up to HS200 and MMC spec up to version
4.5x, part of Meson8 and Meson8b SoCs (there is no mainline driver
for this controller yet)
- "SDEMMC": 1, 4 and 8 bit bus width, support for speeds up to HS400
and MMC spec up to version 5.0, part of the Meson GX (64-bit) SoCs
(supported by the meson-gx MMC host driver)
Signed-off-by: Carlo Caione <carlo@endlessm.com>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2017-10-03 13:24:17 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-04-08 23:44:12 -07:00
|
|
|
|
2025-11-09 00:12:47 +01:00
|
|
|
|
mmc: meson-mx-sdio: Add a driver for the Amlogic Meson8 and Meson8b SoCs
Add a driver for the SDIO/MMC host found on the Amlogic Meson SoCs. This
is an MMC controller which provides an interface between the application
processor and various memory cards. It supports the SD specification
v2.0 and the eMMC specification v4.41.
The controller provides an internal "mux" which allows connecting up to
three MMC devices to it. Only one device can be used at a time though
since the registers are shared across all devices. The driver takes care
of synchronizing access (similar to the dw_mmc driver).
The maximum supported bus-width is 4-bits.
Amlogic's GPL kernel sources call the corresponding driver "aml_sdio" to
differentiate it from the other MMC controller in (at least the Meson8
and Meson8b) the SoCs (they call the other drivers aml_sdhc and
aml_sdhc_m8, which seem to support a bus-width of up to 8-bits). This
means that there are three different MMC host controller IP blocks from
Amlogic (each of them with completely own register layout and features):
- "SDIO": 1 and 4 bit bus width, support for high-speed modes up to
UHS-I SDR50, part of Meson6, Meson8 and Meson8b (the driver from this
patch targets this controller)
- "SDHC": 1, 4 and 8 bit bus width, compatible with standard iNAND
interface, support for speeds up to HS200 and MMC spec up to version
4.5x, part of Meson8 and Meson8b SoCs (there is no mainline driver
for this controller yet)
- "SDEMMC": 1, 4 and 8 bit bus width, support for speeds up to HS400
and MMC spec up to version 5.0, part of the Meson GX (64-bit) SoCs
(supported by the meson-gx MMC host driver)
Signed-off-by: Carlo Caione <carlo@endlessm.com>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2017-10-03 13:24:17 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-09 15:54:11 +02:00
|
|
|
|
|
|
|
|
|
2020-09-07 12:52:54 +02:00
|
|
|
|
2014-04-09 15:54:11 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-07-09 16:07:32 +01:00
|
|
|
|
|
|
|
|
|
2020-09-07 12:52:54 +02:00
|
|
|
|
2014-07-09 16:07:32 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-11 19:57:36 +01:00
|
|
|
|
|
|
|
|
|
2007-05-08 22:30:32 +02:00
|
|
|
|
2007-02-11 19:57:36 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-01-23 01:05:23 +01:00
|
|
|
|
|
|
|
|
|
2015-10-20 16:50:06 -05:00
|
|
|
|
2009-01-23 01:05:23 +01:00
|
|
|
|
|
|
|
|
|
2013-07-10 21:36:24 +05:30
|
|
|
|
|
|
|
|
|
2009-01-23 01:05:23 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-11 19:57:36 +01:00
|
|
|
|
|
|
|
|
|
2022-04-21 10:20:12 +02:00
|
|
|
|
2007-02-11 19:57:36 +01:00
|
|
|
|
|
|
|
|
|
2019-03-06 19:27:51 +01:00
|
|
|
|
2007-02-11 19:57:36 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-12-02 11:30:46 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-11 19:57:36 +01:00
|
|
|
|
2023-08-01 19:35:41 +02:00
|
|
|
|
2011-08-12 11:39:45 +02:00
|
|
|
|
2023-08-01 19:35:41 +02:00
|
|
|
|
2007-02-11 19:57:36 +01:00
|
|
|
|
|
|
|
|
|
2023-08-01 19:35:41 +02:00
|
|
|
|
2007-02-11 19:57:36 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
atmel-mci: Driver for Atmel on-chip MMC controllers
This is a driver for the MMC controller on the AP7000 chips from
Atmel. It should in theory work on AT91 systems too with some
tweaking, but since the DMA interface is quite different, it's not
entirely clear if it's worth merging this with the at91_mci driver.
This driver has been around for a while in BSPs and kernel sources
provided by Atmel, but this particular version uses the generic DMA
Engine framework (with the slave extensions) instead of an
avr32-only DMA controller framework.
This driver can also use PIO transfers when no DMA channels are
available, and for transfers where using DMA may be difficult or
impractical for some reason (e.g. the DMA setup overhead is usually
not worth it for very short transfers, and badly aligned buffers or
lengths are difficult to handle.)
Currently, the driver only support PIO transfers. DMA support has been
split out to a separate patch to hopefully make it easier to review.
The driver has been tested using mmc-block and ext3fs on several SD,
SDHC and MMC+ cards. Reads and writes work fine, with read transfer
rates up to 3.5 MiB/s on fast cards with debugging disabled.
The driver has also been tested using the mmc_test module on the same
cards. All tests except 7, 9, 15 and 17 succeed. The first two are
unsupported by all the cards I have, so I don't know if the driver
handles this correctly. The last two fail because the hardware flags a
Data CRC Error instead of a Data Timeout error. I'm not sure how to deal
with that.
Documentation for this controller can be found in many data sheets from
Atmel, including the AT32AP7000 data sheet which can be found here:
http://www.atmel.com/dyn/products/datasheets.asp?family_id=682
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
2008-06-30 18:35:03 +02:00
|
|
|
|
2012-10-29 15:27:55 +01:00
|
|
|
|
2017-05-09 20:21:17 +03:00
|
|
|
|
atmel-mci: Driver for Atmel on-chip MMC controllers
This is a driver for the MMC controller on the AP7000 chips from
Atmel. It should in theory work on AT91 systems too with some
tweaking, but since the DMA interface is quite different, it's not
entirely clear if it's worth merging this with the at91_mci driver.
This driver has been around for a while in BSPs and kernel sources
provided by Atmel, but this particular version uses the generic DMA
Engine framework (with the slave extensions) instead of an
avr32-only DMA controller framework.
This driver can also use PIO transfers when no DMA channels are
available, and for transfers where using DMA may be difficult or
impractical for some reason (e.g. the DMA setup overhead is usually
not worth it for very short transfers, and badly aligned buffers or
lengths are difficult to handle.)
Currently, the driver only support PIO transfers. DMA support has been
split out to a separate patch to hopefully make it easier to review.
The driver has been tested using mmc-block and ext3fs on several SD,
SDHC and MMC+ cards. Reads and writes work fine, with read transfer
rates up to 3.5 MiB/s on fast cards with debugging disabled.
The driver has also been tested using the mmc_test module on the same
cards. All tests except 7, 9, 15 and 17 succeed. The first two are
unsupported by all the cards I have, so I don't know if the driver
handles this correctly. The last two fail because the hardware flags a
Data CRC Error instead of a Data Timeout error. I'm not sure how to deal
with that.
Documentation for this controller can be found in many data sheets from
Atmel, including the AT32AP7000 data sheet which can be found here:
http://www.atmel.com/dyn/products/datasheets.asp?family_id=682
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
2008-06-30 18:35:03 +02:00
|
|
|
|
2017-05-09 20:21:17 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
atmel-mci: Driver for Atmel on-chip MMC controllers
This is a driver for the MMC controller on the AP7000 chips from
Atmel. It should in theory work on AT91 systems too with some
tweaking, but since the DMA interface is quite different, it's not
entirely clear if it's worth merging this with the at91_mci driver.
This driver has been around for a while in BSPs and kernel sources
provided by Atmel, but this particular version uses the generic DMA
Engine framework (with the slave extensions) instead of an
avr32-only DMA controller framework.
This driver can also use PIO transfers when no DMA channels are
available, and for transfers where using DMA may be difficult or
impractical for some reason (e.g. the DMA setup overhead is usually
not worth it for very short transfers, and badly aligned buffers or
lengths are difficult to handle.)
Currently, the driver only support PIO transfers. DMA support has been
split out to a separate patch to hopefully make it easier to review.
The driver has been tested using mmc-block and ext3fs on several SD,
SDHC and MMC+ cards. Reads and writes work fine, with read transfer
rates up to 3.5 MiB/s on fast cards with debugging disabled.
The driver has also been tested using the mmc_test module on the same
cards. All tests except 7, 9, 15 and 17 succeed. The first two are
unsupported by all the cards I have, so I don't know if the driver
handles this correctly. The last two fail because the hardware flags a
Data CRC Error instead of a Data Timeout error. I'm not sure how to deal
with that.
Documentation for this controller can be found in many data sheets from
Atmel, including the AT32AP7000 data sheet which can be found here:
http://www.atmel.com/dyn/products/datasheets.asp?family_id=682
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
2008-06-30 18:35:03 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-03-10 17:37:12 +02:00
|
|
|
|
|
|
|
|
|
2020-08-24 18:18:50 +01:00
|
|
|
|
2014-03-10 17:37:12 +02:00
|
|
|
|
2017-09-27 11:04:42 +05:30
|
|
|
|
2020-01-16 22:33:11 +05:30
|
|
|
|
2023-04-09 00:40:41 +03:00
|
|
|
|
2014-03-10 17:37:12 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-01-06 17:04:14 +01:00
|
|
|
|
2013-04-08 23:28:06 +02:00
|
|
|
|
2025-09-15 11:33:15 +03:00
|
|
|
|
2009-01-06 17:04:14 +01:00
|
|
|
|
2013-04-08 23:28:06 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-11 19:57:36 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-02-21 18:35:28 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-11 19:57:36 +01:00
|
|
|
|
2012-10-02 11:17:47 -07:00
|
|
|
|
|
|
|
|
|
2007-02-11 19:57:36 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-03-06 19:27:51 +01:00
|
|
|
|
2007-02-11 19:57:36 +01:00
|
|
|
|
|
|
|
|
|
2009-02-14 03:07:26 -05:00
|
|
|
|
|
|
|
|
|
2020-09-07 12:52:54 +02:00
|
|
|
|
2015-11-25 14:57:57 +01:00
|
|
|
|
2020-06-14 01:50:22 +09:00
|
|
|
|
2009-02-14 03:07:26 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-12-14 18:01:21 -08:00
|
|
|
|
2019-03-06 19:27:51 +01:00
|
|
|
|
2020-09-07 12:52:54 +02:00
|
|
|
|
2019-03-06 19:27:51 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-12-14 18:01:21 -08:00
|
|
|
|
2007-08-08 09:12:54 -07:00
|
|
|
|
2008-09-07 13:16:58 +02:00
|
|
|
|
2020-09-01 17:04:38 +02:00
|
|
|
|
2007-08-08 09:12:54 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-01-26 11:12:25 +01:00
|
|
|
|
2008-09-07 13:16:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-08-08 09:12:54 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-07-15 14:21:29 +02:00
|
|
|
|
2012-10-02 11:17:47 -07:00
|
|
|
|
|
|
|
|
|
2008-07-15 14:21:29 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-08-30 16:21:44 +08:00
|
|
|
|
|
|
|
|
|
2020-09-07 12:52:54 +02:00
|
|
|
|
2018-08-30 16:21:44 +08:00
|
|
|
|
|
|
|
|
|
2020-02-12 12:13:00 +08:00
|
|
|
|
2018-08-30 16:21:44 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-03-23 12:42:44 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-03-14 09:52:33 +01:00
|
|
|
|
2017-05-10 11:25:29 +02:00
|
|
|
|
2016-02-24 11:39:33 +09:00
|
|
|
|
2025-03-29 17:41:26 +01:00
|
|
|
|
2011-03-14 09:52:33 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-05-10 11:25:29 +02:00
|
|
|
|
2011-03-14 09:52:33 +01:00
|
|
|
|
2017-06-21 16:00:29 +02:00
|
|
|
|
|
|
|
|
|
2018-04-17 19:49:13 +02:00
|
|
|
|
2017-11-25 01:24:36 +09:00
|
|
|
|
2017-06-21 16:00:29 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-09-01 13:27:01 +01:00
|
|
|
|
2018-04-17 19:49:13 +02:00
|
|
|
|
2023-09-01 13:27:01 +01:00
|
|
|
|
2017-06-21 16:00:29 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-10-24 17:23:00 -05:00
|
|
|
|
|
|
|
|
|
2017-06-21 16:00:29 +02:00
|
|
|
|
mmc: uniphier-sd: add UniPhier SD/eMMC controller driver
Here is another TMIO MMC variant found in Socionext UniPhier SoCs.
As commit b6147490e6aa ("mmc: tmio: split core functionality, DMA and
MFD glue") said, these MMC controllers use the IP from Panasonic.
However, the MMC controller in the TMIO (Toshiba Mobile IO) MFD chip
was the first upstreamed user of this IP. The common driver code
for this IP is now called 'tmio-mmc-core' in Linux although it is a
historical misnomer.
Anyway, this driver select's MMC_TMIO_CORE to borrow the common code
from tmio-mmc-core.c
Older UniPhier SoCs (LD4, Pro4, sLD8) support the external DMA engine
like renesas_sdhi_sys_dmac.c. The difference is UniPhier SoCs use a
single DMA channel whereas Renesas chips request separate channels for
RX and TX.
Newer UniPhier SoCs (Pro5 and later) support the internal DMA engine
like renesas_sdhi_internal_dmac.c The register map is almost the same,
so I guess Renesas and Socionext use the same internal DMA hardware.
The main difference is, the register offsets are doubled for Renesas.
Renesas Socionext
SDHI UniPhier
DM_CM_DTRAN_MODE 0x820 0x410
DM_CM_DTRAN_CTRL 0x828 0x414
DM_CM_RST 0x830 0x418
DM_CM_INFO1 0x840 0x420
DM_CM_INFO1_MASK 0x848 0x424
DM_CM_INFO2 0x850 0x428
DM_CM_INFO2_MASK 0x858 0x42c
DM_DTRAN_ADDR 0x880 0x440
DM_DTRAN_ADDREX --- 0x444
This comes from the difference of host->bus_shift; 2 for Renesas SoCs,
and 1 for UniPhier SoCs. Also, the datasheet for UniPhier SoCs defines
DM_DTRAN_ADDR and DM_DTRAN_ADDREX as two separate registers.
It could be possible to factor out the DMA common code by introducing
some hooks to cope with platform quirks, but this patch does not touch
that for now.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2018-08-23 13:44:18 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-05-22 20:33:59 +02:00
|
|
|
|
|
|
|
|
|
2013-08-30 09:39:53 +02:00
|
|
|
|
2009-05-22 20:33:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-17 20:22:39 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-12-14 18:01:32 -08:00
|
|
|
|
2017-04-24 13:41:57 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-03-30 17:31:25 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-10-02 14:02:41 +02:00
|
|
|
|
2017-03-30 17:31:25 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-01-02 01:11:59 -05:00
|
|
|
|
|
|
|
|
|
2020-08-08 11:45:02 +00:00
|
|
|
|
2011-01-02 01:11:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-09-16 14:41:23 +08:00
|
|
|
|
2011-01-02 01:11:59 -05:00
|
|
|
|
2012-01-13 16:04:57 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-05-08 14:46:48 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-17 18:16:43 +00:00
|
|
|
|
2012-11-30 16:44:39 +09:00
|
|
|
|
2012-09-17 18:16:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-03-08 09:01:34 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-02-29 09:36:23 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-09 22:35:11 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-01-13 16:04:57 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-08-19 12:36:14 +08:00
|
|
|
|
|
|
|
|
|
2025-09-15 11:33:15 +03:00
|
|
|
|
|
|
|
|
|
2014-08-19 12:36:14 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-02-15 19:32:47 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-05-26 14:41:59 -07:00
|
|
|
|
|
|
|
|
|
2016-02-24 11:39:33 +09:00
|
|
|
|
2010-05-26 14:41:59 -07:00
|
|
|
|
2016-04-26 22:34:46 +02:00
|
|
|
|
|
|
|
|
|
2010-05-26 14:41:59 -07:00
|
|
|
|
2010-07-15 20:06:04 +00:00
|
|
|
|
|
|
|
|
|
2018-03-28 18:00:51 -03:00
|
|
|
|
2018-08-21 15:03:20 +02:00
|
|
|
|
2010-07-15 20:06:04 +00:00
|
|
|
|
2018-03-28 18:00:51 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-07-15 20:06:04 +00:00
|
|
|
|
|
|
|
|
|
2010-09-02 14:15:08 +00:00
|
|
|
|
2011-05-14 16:48:13 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-09-02 14:15:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-11-18 15:33:06 +13:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-09-15 11:33:15 +03:00
|
|
|
|
2025-10-10 15:38:56 +02:00
|
|
|
|
2012-11-18 15:33:06 +13:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Char/Misc driver merge for 3.8-rc1
Here is the "big" char/misc driver patches for 3.8-rc1. I'm starting to
put random driver subsystems that I had previously sent you through the
driver-core tree in this tree, as it makes more sense to do so.
Nothing major here, the various __dev* removals, some mei driver
updates, and other random driver-specific things from the different
maintainers and developers.
Note, some MFD drivers got added through this tree, and they are also
coming in through the "real" MFD tree as well, due to some major
mis-communication between me and the different developers. If you have
any merge conflicts, take the ones from the MFD tree, not these ones,
sorry about that.
All of this has been in linux-next for a while.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
iEYEABECAAYFAlDHj7AACgkQMUfUDdst+ym7pQCgxhFDGQRJimG+Ddag+ghfLhQh
Ql0AoJsWVFvQjb7q1NO7OvOABaxjEJdu
=na5b
-----END PGP SIGNATURE-----
Merge tag 'char-misc-3.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Pull Char/Misc driver merge from Greg Kroah-Hartman:
"Here is the "big" char/misc driver patches for 3.8-rc1. I'm starting
to put random driver subsystems that I had previously sent you through
the driver-core tree in this tree, as it makes more sense to do so.
Nothing major here, the various __dev* removals, some mei driver
updates, and other random driver-specific things from the different
maintainers and developers.
Note, some MFD drivers got added through this tree, and they are also
coming in through the "real" MFD tree as well, due to some major
mis-communication between me and the different developers. If you
have any merge conflicts, take the ones from the MFD tree, not these
ones, sorry about that.
All of this has been in linux-next for a while.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>"
Fix up trivial conflict in drivers/mmc/host/Kconfig due to new drivers
having been added (both at the end, as usual..)
* tag 'char-misc-3.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (84 commits)
MAINTAINERS: remove drivers/staging/hv/
misc/st_kim: Free resources in the error path of probe()
drivers/char: for hpet, add count checking, and ~0UL instead of -1
w1-gpio: Simplify & get rid of defines
w1-gpio: Pinctrl-fy
extcon: remove use of __devexit_p
extcon: remove use of __devinit
extcon: remove use of __devexit
drivers: uio: Only allocate new private data when probing device tree node
drivers: uio_dmem_genirq: Allow partial success when opening device
drivers: uio_dmem_genirq: Don't use DMA_ERROR_CODE to indicate unmapped regions
drivers: uio_dmem_genirq: Don't mix address spaces for dynamic region vaddr
uio: remove use of __devexit
uio: remove use of __devinitdata
uio: remove use of __devinit
uio: remove use of __devexit_p
char: remove use of __devexit
char: remove use of __devinitconst
char: remove use of __devinitdata
char: remove use of __devinit
...
2012-12-11 13:56:38 -08:00
|
|
|
|
2014-05-31 20:38:51 +02:00
|
|
|
|
|
|
|
|
|
2014-07-09 20:52:42 +02:00
|
|
|
|
2014-05-31 20:38:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-11-09 20:53:34 +08:00
|
|
|
|
|
|
|
|
|
2017-11-29 17:08:03 +08:00
|
|
|
|
2012-11-09 20:53:34 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-11 14:53:22 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-11-29 17:08:03 +08:00
|
|
|
|
2014-04-11 14:53:22 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-05-12 14:04:48 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-09-07 12:52:54 +02:00
|
|
|
|
2021-11-18 21:33:37 -06:00
|
|
|
|
2014-05-12 14:04:48 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-11-11 17:54:55 +01:00
|
|
|
|
2017-11-29 15:41:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mmc: Add MMC host software queue support
Now the MMC read/write stack will always wait for previous request is
completed by mmc_blk_rw_wait(), before sending a new request to hardware,
or queue a work to complete request, that will bring context switching
overhead and spend some extra time to poll the card for busy completion
for I/O writes via sending CMD13, especially for high I/O per second
rates, to affect the IO performance.
Thus this patch introduces MMC software queue interface based on the
hardware command queue engine's interfaces, which is similar with the
hardware command queue engine's idea, that can remove the context
switching. Moreover we set the default queue depth as 64 for software
queue, which allows more requests to be prepared, merged and inserted
into IO scheduler to improve performance, but we only allow 2 requests
in flight, that is enough to let the irq handler always trigger the
next request without a context switch, as well as avoiding a long latency.
Moreover the host controller should support HW busy detection for I/O
operations when enabling the host software queue. That means, the host
controller must not complete a data transfer request, until after the
card stops signals busy.
From the fio testing data in cover letter, we can see the software
queue can improve some performance with 4K block size, increasing
about 16% for random read, increasing about 90% for random write,
though no obvious improvement for sequential read and write.
Moreover we can expand the software queue interface to support MMC
packed request or packed command in future.
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Baolin Wang <baolin.wang7@gmail.com>
Link: https://lore.kernel.org/r/4409c1586a9b3ed20d57ad2faf6c262fc3ccb6e2.1581478568.git.baolin.wang7@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2020-02-12 12:12:56 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-11-11 17:54:55 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-06-15 19:20:48 +08:00
|
|
|
|
2017-03-08 10:19:03 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-06-15 19:20:48 +08:00
|
|
|
|
|
|
|
|
|
2015-06-26 14:09:26 +02:00
|
|
|
|
2020-11-22 13:00:56 +01:00
|
|
|
|
2019-05-04 20:24:57 +10:00
|
|
|
|
2020-07-20 08:42:38 +08:00
|
|
|
|
mmc: mtk-sd: Implement Host Software Queue for eMMC and SD Card
Add support for Host Software Queue (HSQ) and enable it when the
controller instance does not have Command Queue Engine HW support.
It was chosen to enable HSQ only for eMMC and SD/MicroSD cards
and not for SDIO as performance improvements are seen only for
the former.
Performance was measured with a SanDisk Extreme Ultra A2 MicroSD
card in a MediaTek MT8195T Acer Chromebook Spin 513 (CP513-2H),
by running FIO (bs=4k) on an ArchLinux userspace.
.... Summarizing ....
Random read: +24.28% IOPS, +24.29% BW
Sequential read: +3.14% IOPS, +3.49% BW
Random RW (avg): +50.53% IOPS, +50.68% BW
Below, more data from the benchmarks.
Before:
- Random read: IOPS=1643, BW=6574KiB/s
bw ( KiB/s): min= 4578, max= 7440, per=99.95%, avg=6571.55, stdev=74.16, samples=953
iops : min= 1144, max= 1860, avg=1642.14, stdev=18.54, samples=953
lat (msec) : 100=0.01%, 250=0.12%, 500=0.38%, 750=97.89%, 1000=1.44%, 2000=0.16%
- Sequential read: IOPS=19.1k, BW=74.4MiB/s
bw ( KiB/s): min=12288, max=118483, per=100.00%, avg=76293.38, stdev=1971.42, samples=956
iops : min= 3072, max=29620, avg=19072.14, stdev=492.87, samples=956
lat (msec) : 4=0.01%, 10=0.01%, 20=0.21%, 50=23.95%, 100=75.67%, 250=0.05%, 500=0.03%, 750=0.08%
- Random R/W: read: IOPS=282, BW=1129KiB/s (1156kB/s) write: IOPS=284, BW=1136KiB/s
read bw ( KiB/s): min= 31, max= 3496, per=100.00%, avg=1703.67, stdev=155.42, samples=630
read iops : min= 7, max= 873, avg=425.22, stdev=38.85, samples=630
wri bw ( KiB/s): min= 31, max= 3443, per=100.00%, avg=1674.27, stdev=164.23, samples=644
wri iops : min= 7, max= 860, avg=417.87, stdev=41.03, samples=644
lat (msec) : 250=0.13%, 500=0.44%, 750=0.84%, 1000=22.29%, 2000=74.01%, >=2000=2.30%
After:
- Random read: IOPS=2042, BW=8171KiB/s
bw ( KiB/s): min= 4907, max= 9072, per=99.94%, avg=8166.80, stdev=93.77, samples=954
iops : min= 1226, max= 2268, avg=2040.78, stdev=23.41, samples=954
lat (msec) : 100=0.03%, 250=0.13%, 500=52.88%, 750=46.64%, 1000=0.32%
- Sequential read: IOPS=19.7k, BW=77.0MiB/s
bw ( KiB/s): min=67980, max=94248, per=100.00%, avg=78894.27, stdev=1475.07, samples=956
iops : min=16994, max=23562, avg=19722.45, stdev=368.76, samples=956
lat (msec) : 4=0.01%, 10=0.01%, 20=0.05%, 50=28.78%, 100=71.14%, 250=0.01%, 500=0.02%
- Random R/W: read: IOPS=424, BW=1699KiB/s write: IOPS=428, BW=1714KiB/s
read bw ( KiB/s): min= 228, max= 2856, per=100.00%, avg=1796.60, stdev=112.59, samples=901
read iops : min= 54, max= 712, avg=447.81, stdev=28.21, samples=901
wri bw ( KiB/s): min= 28, max= 2904, per=100.00%, avg=1780.11, stdev=128.27, samples=916
wri iops : min= 4, max= 724, avg=443.69, stdev=32.14, samples=916
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20240930090156.33537-1-angelogioacchino.delregno@collabora.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2024-09-30 11:01:56 +02:00
|
|
|
|
2015-06-15 19:20:48 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-01-13 18:15:45 -07:00
|
|
|
|
|
|
|
|
|
2019-03-06 19:27:51 +01:00
|
|
|
|
2026-02-22 18:39:14 -05:00
|
|
|
|
2019-03-06 19:27:51 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-01-13 18:15:45 -07:00
|
|
|
|
2019-03-06 19:27:51 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-01-13 18:15:45 -07:00
|
|
|
|
2016-06-16 12:47:16 -04:00
|
|
|
|
|
|
|
|
|
2024-06-20 08:42:38 +01:00
|
|
|
|
2016-06-16 12:47:16 -04:00
|
|
|
|
2020-01-13 16:07:05 -05:00
|
|
|
|
2022-10-24 11:17:59 -07:00
|
|
|
|
2016-06-16 12:47:16 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-03-30 17:22:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-09-06 17:15:55 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-12-20 13:59:47 +00:00
|
|
|
|
2017-09-06 17:15:55 +05:30
|
|
|
|
2018-12-11 19:52:53 +05:30
|
|
|
|
2019-01-09 18:13:12 +05:30
|
|
|
|
2020-01-16 16:21:48 +05:30
|
|
|
|
2017-09-06 17:15:55 +05:30
|
|
|
|
|
|
|
|
|
2023-12-20 13:59:47 +00:00
|
|
|
|
|
|
|
|
|
2017-09-06 17:15:55 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-12-11 00:05:07 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-12-20 13:59:46 +00:00
|
|
|
|
2022-10-24 11:02:59 -07:00
|
|
|
|
2019-04-01 18:28:04 +05:30
|
|
|
|
2019-11-18 13:06:09 +05:30
|
|
|
|
2022-10-24 11:02:59 -07:00
|
|
|
|
2018-12-11 00:05:07 +05:30
|
|
|
|
|
|
|
|
|
2023-12-20 13:59:46 +00:00
|
|
|
|
|
|
|
|
|
2018-12-11 00:05:07 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-16 21:15:44 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-01-16 16:21:47 +05:30
|
|
|
|
2025-06-24 19:58:11 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-09-15 11:33:16 +03:00
|
|
|
|
2025-06-24 19:58:11 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-01-16 16:21:47 +05:30
|
|
|
|
|
|
|
|
|
2022-01-13 12:03:00 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|