diff options
author | Miquel Raynal | 2021-06-11 20:29:52 +0200 |
---|---|---|
committer | Miquel Raynal | 2021-06-11 20:29:52 +0200 |
commit | 0b34e320a49969d6d2f9357846868af5ece6113b (patch) | |
tree | c4b059aa45092e72bd1638a2e774b1bba8060c15 /include | |
parent | c374839f9b4475173e536d1eaddff45cb481dbdf (diff) | |
parent | d3d0e1e857110a2f8147b1aa3a045b1fccc1e7c3 (diff) |
Merge tag 'memory-controller-drv-pl353-5.14' into nand/next
Memory controller drivers for v5.14 - PL353
Bigger work around ARM Primecell PL35x SMC memory controller driver by
Miquel Raynal built on previous series from Naga Sureshkumar Relli.
This includes bindings cleanup and correction, converting these to
dtschema and several cleanyps in pl353-smc driver.
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pl353-smc.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/linux/pl353-smc.h b/include/linux/pl353-smc.h deleted file mode 100644 index 0e0d3df9bf72..000000000000 --- a/include/linux/pl353-smc.h +++ /dev/null @@ -1,30 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * ARM PL353 SMC Driver Header - * - * Copyright (C) 2012 - 2018 Xilinx, Inc - */ - -#ifndef __LINUX_PL353_SMC_H -#define __LINUX_PL353_SMC_H - -enum pl353_smc_ecc_mode { - PL353_SMC_ECCMODE_BYPASS = 0, - PL353_SMC_ECCMODE_APB = 1, - PL353_SMC_ECCMODE_MEM = 2 -}; - -enum pl353_smc_mem_width { - PL353_SMC_MEM_WIDTH_8 = 0, - PL353_SMC_MEM_WIDTH_16 = 1 -}; - -u32 pl353_smc_get_ecc_val(int ecc_reg); -bool pl353_smc_ecc_is_busy(void); -int pl353_smc_get_nand_int_status_raw(void); -void pl353_smc_clr_nand_int(void); -int pl353_smc_set_ecc_mode(enum pl353_smc_ecc_mode mode); -int pl353_smc_set_ecc_pg_size(unsigned int pg_sz); -int pl353_smc_set_buswidth(unsigned int bw); -void pl353_smc_set_cycles(u32 timings[]); -#endif |