diff options
author | Dan Murphy <dmurphy@ti.com> | 2020-03-27 11:27:41 -0500 |
---|---|---|
committer | Dan Murphy <dmurphy@ti.com> | 2020-03-27 11:27:41 -0500 |
commit | b6822767e55a60ae074eaac9d6a3831502a0de24 (patch) | |
tree | e70b0cb3c141b252d122dae031b13b8f80f6314d | |
parent | 2c824d5b0251dcd0d15d2a609fbb6e28421481ff (diff) | |
download | linux-dt-b6822767e55a60ae074eaac9d6a3831502a0de24.tar.gz |
system_test: nand_tests: Add nand tests for system test
Add K2, am3, am4 and dra7x nand test builds.
Signed-off-by: Dan Murphy <dmurphy@ti.com>
-rw-r--r-- | arch/arm/boot/dts/ti/system_test/nand_dma/k2/keystone-k2x-evm-nand.dtso | 15 | ||||
-rw-r--r-- | arch/arm/boot/dts/ti/system_test/nand_nodma/no-dma-nand.dtso | 11 | ||||
-rw-r--r-- | system_test/system_test_recipe | 7 |
3 files changed, 33 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ti/system_test/nand_dma/k2/keystone-k2x-evm-nand.dtso b/arch/arm/boot/dts/ti/system_test/nand_dma/k2/keystone-k2x-evm-nand.dtso new file mode 100644 index 0000000..a448a73 --- /dev/null +++ b/arch/arm/boot/dts/ti/system_test/nand_dma/k2/keystone-k2x-evm-nand.dtso @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ + */ + +/dts-v1/; +/plugin/; + +&aemif { + cs0 { + nand@0,0 { + ti,nand-xfer-type = "prefetch-dma"; + }; + }; +}; diff --git a/arch/arm/boot/dts/ti/system_test/nand_nodma/no-dma-nand.dtso b/arch/arm/boot/dts/ti/system_test/nand_nodma/no-dma-nand.dtso new file mode 100644 index 0000000..b3663e7 --- /dev/null +++ b/arch/arm/boot/dts/ti/system_test/nand_nodma/no-dma-nand.dtso @@ -0,0 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ + */ + +/dts-v1/; +/plugin/; + +&gpmc { + ti,nand-xfer-type ="prefetch-polled"; +}; diff --git a/system_test/system_test_recipe b/system_test/system_test_recipe index 1a29f02..7b9df61 100644 --- a/system_test/system_test_recipe +++ b/system_test/system_test_recipe @@ -9,3 +9,10 @@ arch: arm testsuite: am3_eth_module defconfig: am3_eth_module patch_dir: none dt arch: arm testsuite: am4_eth_module defconfig: am3_eth_module patch_dir: none dt_overlay: none arch: arm testsuite: dra7_eth_module defconfig: dra7_eth_module patch_dir: none dt_overlay: none arch: arm testsuite: k2_eth_module defconfig: k2_eth_module patch_dir: none dt_overlay: none +arch: arm testsuite: k2e_nand defconfig: ti_sdk_keystone_release patch_dir: none dt_overlay: nand_dma/k2 +arch: arm testsuite: k2l_nand defconfig: ti_sdk_keystone_release patch_dir: none dt_overlay: nand_dma/k2 +arch: arm testsuite: k2hk_nand defconfig: ti_sdk_keystone_release patch_dir: none dt_overlay: nand_dma/k2 +arch: arm testsuite: am3_nand defconfig: ti_sdk_am3x_release patch_dir: none overlay_dir: nand_nodma +arch: arm testsuite: am4_nand defconfig: ti_sdk_am4x_release patch_dir: none overlay_dir: nand_nodma +arch: arm testsuite: dra7_nand defconfig: ti_sdk_dra7x_release patch_dir: none dt_overlay: nand_nodma +arch: arm testsuite: dra72_nand defconfig: ti_sdk_dra7x_release patch_dir: none dt_overlay: nand_nodma |