- 16 1月, 2020 3 次提交
-
-
由 Sam Shih 提交于
This patch add mmc and sd support for Mediatek MT7622 SoCs Signed-off-by: NSam Shih <sam.shih@mediatek.com> Reviewed-by: NRyder Lee <ryder.lee@mediatek.com>
-
由 mingming lee 提交于
For CMD21 tuning data, the 128/64 bytes data may coming in very short time, before msdc_start_data(), the read data has already come, in this case, clear MSDC_INT will cause the interrupt disappear and lead to the thread hang. the solution is just clear all interrupts before command was sent. Signed-off-by: Nmingming lee <mingming.lee@mediatek.com>
-
由 mingming lee 提交于
This patch adds mmc support for MediaTek MT8512/MT8110 SoCs. MT8512/MT8110 SoCs puts the tune register at top layer, so need add new code to support it. Signed-off-by: Nmingming lee <mingming.lee@mediatek.com>
-
- 03 12月, 2019 1 次提交
-
-
由 mingming lee 提交于
1.Support cmd response and data tuning together. 2.Support hs400 cmd responese tuning. Signed-off-by: Nmingming lee <mingming.lee@mediatek.com>
-
- 25 10月, 2019 2 次提交
-
-
由 Weijie Gao 提交于
This patch adds a dts property cd-active-high for builtin-cd mode to make it configurable instead of using hardcoded active-low. Signed-off-by: NWeijie Gao <weijie.gao@mediatek.com>
-
由 Weijie Gao 提交于
This patch adds mmc support for MediaTek MT7620/MT7628 SoCs. Signed-off-by: NWeijie Gao <weijie.gao@mediatek.com>
-
- 22 8月, 2019 1 次提交
-
-
由 Fabien Parent 提交于
Add support for the MT8183 in the MediaTek MMC driver. Signed-off-by: NFabien Parent <fparent@baylibre.com>
-
- 21 8月, 2019 1 次提交
-
-
由 Fabien Parent 提交于
Add support for the MT8183 in the MediaTek MMC driver. Signed-off-by: NFabien Parent <fparent@baylibre.com>
-
- 31 7月, 2019 1 次提交
-
-
由 Weijie Gao 提交于
When reading large data in once (reading 512MiB is tested on MT7623), a watchdog timeout is triggered due to watchdog not being fed. This patch adds WATCHDOG_RESET() to msdc_start_data() so the watchdog will be fed every 1024 blocks are read/written. Signed-off-by: NWeijie Gao <weijie.gao@mediatek.com>
-
- 24 4月, 2019 3 次提交
-
-
由 Fabien Parent 提交于
We either need to use IS_ENABLED(CONFIG_FOO) or CONFIG_IS_ENABLED(FOO). IS_ENABLE(FOO) will always return false. This commit fixes the comparison by using the CONFIG_IS_ENABLED(FOO) syntax. Signed-off-by: NFabien Parent <fparent@baylibre.com>
-
由 Fabien Parent 提交于
Add config for handling MT8516 SoC. Signed-off-by: NFabien Parent <fparent@baylibre.com> Acked-by: NRyder Lee <ryder.lee@mediatek.com>
-
由 Fabien Parent 提交于
Some MediaTek SoC need an additional clock "source_cg". Enable this new clock. We reuse the same clock name as in the kernel. Signed-off-by: NFabien Parent <fparent@baylibre.com> Acked-by: NRyder Lee <ryder.lee@mediatek.com>
-
- 26 1月, 2019 2 次提交
-
-
由 Fabien Parent 提交于
It is not possible to link the SPL image when CONFIG_GPIO is enabled but CONFIG_SPL_GPIO is not. Use the IS_ENABLED macro instead to correctly check whether CONFIG_{SPL_}GPIO is enabled. This commit fixes the following errors: * undefined reference to `dm_gpio_get_value * undefined reference to `gpio_request_by_name' Signed-off-by: NFabien Parent <fparent@baylibre.com> [trini: Move guard to fix warning in msdc_ops_get_wp()] Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Fabien Parent 提交于
The code is checking for incomplete read when it see the INT_XFER_COMPL flag, but it forget to first check whether there is anything left in the FIFO to copy to the RX buffer. This means that sometimes we will get errors because of erroneous incomplete read operation. This commit fixes the driver re-ordering the code so that we first check for data inside the RX fifo and only after check the status of the INT_XFER_COMPL flag. Signed-off-by: NFabien Parent <fparent@baylibre.com>
-
- 29 11月, 2018 1 次提交
-
-
由 Weijie Gao 提交于
This patch adds MT7623 host controller driver for accessing SD/MMC. Cc: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: NWeijie Gao <weijie.gao@mediatek.com> Signed-off-by: NRyder Lee <ryder.lee@mediatek.com> Tested-by: NMatthias Brugger <matthias.bgg@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-