Commit Graph

1053498 Commits

Author SHA1 Message Date
Yifeng Zhao
6f05d54b63 soc: rockchip: mmc: add emmc vendor storage
Change-Id: I3996cccaed265af2295dbc1ee77746928e1beec5
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
2021-04-20 21:22:40 +08:00
Tao Huang
644a09599f soc: rockchip: add CPU_XXX config
For build kernel only support the given CPU.

Change-Id: I3d4790779d0ad0ecff6661ffb0b70e2df287fd5a
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2021-04-20 20:26:46 +08:00
Lin Jinhan
e12e07ff48 hwrng: rockchip - add support for Rockchip HW RNG
Change-Id: Ia14bd624716eb6531ef8674843ccfbada3197d8e
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
2021-04-20 19:02:38 +08:00
Joseph Chen
6c14d5d76c firmware: rockchip: add compile option for rockchip sip
Change-Id: I996a90b3f6cb471f255566dfab0059a55da8866d
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2021-04-16 19:24:42 +08:00
Tao Huang
c75dc801f4 arm64: rockchip_defconfig: Enable CONFIG_ROCKCHIP_FIQ_DEBUGGER
Which default y on 4.19

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I437ec5402b1a5802b9cdf8498bbb9321b39d1e20
2021-04-16 15:41:24 +08:00
Huibin Hong
8a4d1d8f1f soc: rockchip: add rk fiq debugger platform driver
Change-Id: Ibb32efc190ce49d657973133a30632c71f0d806c
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
2021-04-16 15:39:25 +08:00
Huibin Hong
67ab450d38 staging: android: Add generic fiq serial debugger
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
Change-Id: I6c0e1a17c45f077b45cb29287648e901b62abab0
2021-04-16 15:08:11 +08:00
Shawn Lin
b03bca5eae mmc: dw_mmc-rockchip: Just set default sample value for legacy mode
.set_ios() is called from .resume() as well. For SDIO device which sets
keep-power-in-suspend, nothing should be changed after resuming, as well
as sample tuning value, since this value is tuned already. So we should
not overwrite it with the default value.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I18974f28d7a2253fd151817a5a3e4105c2e976b3
2021-04-16 14:22:36 +08:00
Tao Huang
a21e820a5a arm64: cpuinfo: add system serial support
Change-Id: I4542f07226e47e67be1f2792cffaa71fd6401442
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2021-04-15 20:47:17 +08:00
Tao Huang
4efaa99002 arm64: cpuinfo: compat task get hwcap from compat_hwcap_str
backport 3.10 patch

Change-Id: Ice8b552450f34772ece0a56f04ba758886c955e2
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2021-04-15 20:47:17 +08:00
Tao Huang
d4d46e45d5 arm64: dts: rockchip: Add rk356x boards to Makefile
This reverts part of commit 251c226c35 ("rk: revert to v4.19").

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ie2742038ee35cb4ff89ba3abc6a2e8f900461e6f
2021-04-15 18:54:50 +08:00
Tao Huang
eae9461bbd arm64: dts: rockchip: Fix the warnings caused by i2c_bus_reg
Fix the following warnings:
arch/arm64/boot/dts/rockchip/rk3566-evb2-lp4x-v10-eink.dts:274.18-285.4:
ERROR (i2c_bus_reg): /i2c@fe5c0000/wacom@09: I2C bus unit address format error, expected "9"
arch/arm64/boot/dts/rockchip/rk3566-rk817-eink.dts:551.18-562.4:
ERROR (i2c_bus_reg): /i2c@fe5b0000/wacom@09: I2C bus unit address format error, expected "9"
arch/arm64/boot/dts/rockchip/rk3566-rk817-eink.dts:678.17-690.4:
ERROR (i2c_bus_reg): /i2c@fe5e0000/kxtj3@0e: I2C bus unit address format error, expected "e"
arch/arm64/boot/dts/rockchip/rk3566-rk817-eink-w103.dts:698.18-710.4:
ERROR (i2c_bus_reg): /i2c@fe5a0000/wacom@09: I2C bus unit address format error, expected "9"

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ia116424ecbb3285d77274ef19b6b93ef5f0f1480
2021-04-15 18:54:50 +08:00
Wu Liangqing
bdf1b69b38 mmc: dw_mmc-rockchip: set xfer timer 100ms
Fixes: 1d1a1f03f3 ("mmc: dw_mmc: add xfer timer for avoid DTO without actual data payload")
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I00ae095cff35b3960e1f9189d03f9908fed0aa33
2021-04-15 15:15:19 +08:00
Tao Huang
33bae277f6 gpu: remove unused rogue_m driver
Change-Id: I2d38df29926bc7c2e7e618b777cd36768cab0d0e
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2021-04-13 18:55:57 +08:00
Tao Huang
b72885a1c1 gpu: remove unused rogue driver
Change-Id: I067a96e88b4a389470b12446dea573134b835018
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2021-04-13 18:46:13 +08:00
Shawn Lin
78f9ac0daa treewide: Migrate rockchip dts file to use new host type tags
supports-* stuff were used for rockchip platforms to speed up booting
if we know what exactly the host was used for. As we have upstreamed all
these with some very similar ways, now it's the time we migrate our dts
files to use new properties.

They were converted by:

sed -i "s/supports-emmc;/no-sdio;\n\tno-sd;/g" `grep supports-emmc -rl arch/*`
sed -i "s/supports-sd;/no-sdio;\n\tno-mmc;/g" `grep supports-sd -rl arch/*`
sed -i "s/supports-sdio;/no-sd;\n\tno-mmc;/g" `grep supports-sdio -rl arch/*`

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I33e5317ee5c7305803cf18ff4a370658abf555b0
2021-04-13 14:40:36 +08:00
Shawn Lin
34c9946891 mmc: sdhci-of-dwcmshc: Initial support for rockchip platform
Change-Id: I25a54059a56f939996de89076550e6a0bb8404e0
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
2021-04-12 20:15:16 +08:00
Shawn Lin
af02b05e59 mmc: add thunder boot support
Remove unnecessary initialization process from core as possible, such
as remove some idle process, shorten delay, remove parsing ext_csd,
remove post-delay for power and so on. All these stuffs are enabled
by CONFIG_ROCKCHIP_THUNDER_BOOT.

Change-Id: I0e2326dd79d938eb82c8cfac9db09e34d6c08987
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
2021-04-12 20:15:16 +08:00
Shawn Lin
70f84526ba FROMLIST: mmc: core: fall back host->f_init if failing to init mmc card after resume
We observed the failure of initializing card after resume
accidentally. It's hard to reproduce but we did get report from
the suspend/resume test of our RK3399 mp test farm .Unfortunately,
we still fail to figure out what was going wrong at that time.
Also we can't achieve it by retrying the host->f_init without falling
back it. But this patch will solve the problem as we could add some log
there and see that we resume the mmc card successfully after falling
back the host->f_init. There is no obviousside effect found, so it seems
this patch will improve the stability.

[   93.405085] mmc1: unexpected status 0x800900 after switch
[   93.408474] mmc1: switch to bus width 1 failed
[   93.408482] mmc1: mmc_select_hs200 failed, error -110
[   93.408492] mmc1: error -110 during resume (card was removed?)
[   93.408705] PM: resume of devices complete after 213.453 msecs

Change-Id: I5b24cb84a223394392450a1f10d8bbacb9e1006e
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
2021-04-12 20:15:16 +08:00
Shawn Lin
795e052cc8 mmc: dw_mmc-rockchip: add v2 tuning support
v2 tuning will inherit pre-stage loader's phase
settings for the first time, and do re-tune if
necessary. Re-tune will still try the rough degrees,
for instance, 90, 180, 270, 360 but continue to do the
fine tuning if sample window isn't good enough.

Change-Id: I593384ee381d09df5b9adfc29a18eb22517b2764
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
2021-04-12 20:15:16 +08:00
Shawn Lin
a95ce73bf7 mmc: core: Add mmc_sd_shutdown support for SD
The ROM code for Rockchip platform never support detecting
SD 3.0 mode, so if the SD card contains system image running
into SD 3.0 mode in kernel, it will fails to reboot.

The problem is SD 3.0 mode is using 1.8V signal and could only
be switched back into 2.0 mode by power cycle. If the customed
board could not switch off its power rail, the ROM code can't
soft reset the SD.

Add mmc_sd_shutdown to workaround this special case and don't
bother normal SD cards used as external disk by checking the
RESTRICT_CARD_TYPE_MMC flag.

Conflicts:
	drivers/mmc/core/sd.c

Change-Id: I4c3d3111c0bce0ad3cd4f0c6592ff595d7015afe
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
2021-04-12 20:15:15 +08:00
Shawn Lin
94728f4382 mmc: sdhci-of-arasan: Parse disable-cqe
Add support to disable cqe function if disable-cqe
is assigned by firmware.

Change-Id: Iac2826c4b986c122510af1594c971c4135bafc34
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
2021-04-12 20:15:15 +08:00
Shawn Lin
9d76cd58bf mmc: core: Set clock after changing timing immediately for mmc_select_hs400es()
This's what mmc_select_hs400() or mmc_select_hs() did,
since mmc_set_clock() will let sdhci_arasan_set_clock()
update the PHY clock to match the timing, otherwise
the following mmc_switch_status() will be failed.

Change-Id: Ic1a0178ec209ec71d904f7212a84da6665904007
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
2021-04-12 20:15:15 +08:00
Shawn Lin
4734c45258 mmc: core: don't check card status when flushing cache
It's meaningless to check the card's status which execute
the on-going flush. As the status been responded make no
any sense here.

Change-Id: I34197d1c93c01337dd2e68ec22e3ce8dd195c424
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
2021-04-12 20:15:15 +08:00
Shawn Lin
a03fec2ff6 mmc: dw_mmc: bypass RPM for native CD
Otherwise now the RPM core will gate the clk and power domain,
so that the hotplug will be broken.

Change-Id: I9104ff1beb2db5ef2752179eb91730f48f3089d7
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
2021-04-12 20:15:15 +08:00
Shawn Lin
976ea163ad mmc: dw_mmc: add xfer timer for avoid DTO without actual data payload
It has proved the controller has a potention broken state with a DTO
interrupt comes while the data payload is missing, which was not
covered by current software state machine. Add a xfer timer to work
around this buggy behaviour introduced by broken design.

Change-Id: I5019c5ba0cdeb59adcdd3a5231a2000b448762bc
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
2021-04-12 20:15:15 +08:00
Shawn Lin
8c7548af80 mmc: dw_mmc: initialize zero for dma_slave_config
This fixes uninitialized variable introduced by commit ddd2e87ad4
("dmaengine: pl330: add support for interlace size config")

Change-Id: Ib1bbec21053fbcccf85a339d8ed7eec0bbe77727
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
2021-04-12 20:15:15 +08:00
Shawn Lin
4f0afb8a55 mmc: sdhci-of-arasan: wakeup genpd in probe
Let's keep genpd for sdhci alive while entering deep
sleep which gte me out of yapping around.

Change-Id: I0da20b417621d277745bafd53d1ee461aae72e11
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
2021-04-12 20:15:15 +08:00
Shawn Lin
22ddcf4e49 mmc: porting legacy tactices into 5.10
Change-Id: Ieb0e609f5cad4e889be6194f8fd8a54057a1174b
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
2021-04-12 20:15:15 +08:00
Tao Huang
f3155b19d7 rk: get rid of legacy 'get_ds()' function
According to commit 736706bee3 ("get rid of legacy 'get_ds()' function")

Every in-kernel use of this function defined it to KERNEL_DS (either as
an actual define, or as an inline function).  It's an entirely
historical artifact, and long long long ago used to actually read the
segment selector valueof '%ds' on x86.

Which in the kernel is always KERNEL_DS.

Inspired by a patch from Jann Horn that just did this for a very small
subset of users (the ones in fs/), along with Al who suggested a script.
I then just took it to the logical extreme and removed all the remaining
gunk.

Roughly scripted with

   git grep -l '(get_ds())' -- :^tools/ | xargs sed -i 's/(get_ds())/(KERNEL_DS)/'
   git grep -lw 'get_ds' -- :^tools/ | xargs sed -i '/^#define get_ds()/d'

plus manual fixups to remove a few unusual usage patterns, the couple of
inline function cases and to fix up a comment that had become stale.

The 'get_ds()' function remains in an x86 kvm selftest, since in user
space it actually does something relevant.

Change-Id: I4b8e3436c958b7745059ea7ef4367f3fd4a0ebbe
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2021-04-12 19:56:40 +08:00
Tao Huang
d4de7bcdff rk: Replace deprecated PTR_RET
According to commit fad7c90209 ("err.h: remove deprecated PTR_RET for good").

Initially, commit fa9ee9c4b9 ("include/linux/err.h: add a function to
cast error-pointers to a return value") from Uwe Kleine-König introduced
PTR_RET in 03/2011. Then, in 07/2013, commit 6e8b8726ad ("PTR_RET is
now PTR_ERR_OR_ZERO") from Rusty Russell renamed PTR_RET to
PTR_ERR_OR_ZERO, and left PTR_RET as deprecated-marked alias.

After six years since the renaming and various repeated cleanups in the
meantime, it is time to finally remove the deprecated PTR_RET for good.

Change-Id: I2b5d464dc1c6bc0409e41dd9da503f14bef17dc7
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2021-04-12 19:40:45 +08:00
Tao Huang
fd2bfab3ee rk: remove ioremap_nocache and devm_ioremap_nocache
According to commit 4bdc0d676a ("remove ioremap_nocache and devm_ioremap_nocache").

ioremap has provided non-cached semantics by default since the Linux 2.6
days, so remove the additional ioremap_nocache interface.

Change-Id: Id62917547d7d0d838ac3785f8c2bfd2d645af034
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2021-04-12 19:24:04 +08:00
Tao Huang
30dac6b636 arm64: rockchip_defconfig: Enable CONFIG_ARM_PSCI_CPUIDLE
Enable support for PSCI firmware based cpuidle.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I746d25e8e38cac39e895d00c33e7e3ae27bf61a7
2021-04-12 18:38:21 +08:00
Tao Huang
68d7a58af3 ARM: rockchip_defconfig: Enable CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND
GPU drivers should select this config.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Id44c1aff8216550e50341667d0f63fdbf2cf9137
2021-04-12 18:34:44 +08:00
Tao Huang
42ed6f90e0 arm64: rockchip_defconfig: Enable CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND
GPU drivers should select this config.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I2942405980648abc8cee8de3a0f1e0ec5379724c
2021-04-12 18:28:21 +08:00
Tao Huang
808bc30143 rk: Replace <asm/uaccess.h> with <linux/uaccess.h> globally
According to commit 7c0f6ba682 ("Replace <asm/uaccess.h> with
<linux/uaccess.h> globally").

sed -i "s!#include <asm/uaccess.h>  !#include <linux/uaccess.h>!" \
$(git grep -l "#include <asm/uaccess.h>  " | grep -v ^include/linux/uaccess.h)

PATT='^[[:blank:]]*#[[:blank:]]*include[[:blank:]]*<asm/uaccess.h>'
sed -i -e "s!$PATT!#include <linux/uaccess.h>!" \
      $(git grep -l "$PATT"|grep -v ^include/linux/uaccess.h)

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I2110dffd32d855ecc9c403fc75cee950f7abb024
2021-04-09 17:08:07 +08:00
Tao Huang
ebef293011 Revert "staging: iio: new invensence mpu6050/6500 driver"
This reverts commit a3c1d3323d.

Change-Id: I79bbd4a094c4cc636f58cf75fa886b582b065136
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2021-04-09 15:11:43 +08:00
Tao Huang
5ca870aaf2 staging: remove unused rk29 ipp driver
Change-Id: If2199ef59419e5e963f89b6461b706c9d0d8abd8
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2021-04-09 15:09:27 +08:00
Tao Huang
eb7864e36f drivers: remove unused rk29 smc driver
Change-Id: I925aaa94936e09e8eea09f1ae05f1565c4eaab4f
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2021-04-09 14:42:43 +08:00
shengfei Xu
7d0153aa70 regulator: fan53555: support reboot
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: I216f931fd6a3bc0ccfbad876239d2b0eb25420ea
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2021-04-09 10:45:45 +08:00
Elaine Zhang
dbeca9d00a regulator: fan53555: add support for Rockchip RK860X regulators
Rockchip RK860X regulators share the exact same functionality and
register layout as the Fairchild FAN53555 regulators.
Therefore extend the driver to add support for them.

Both types use the same vendor id in their ID1 register, so it's not
possible to distinguish them automatically.

Similarly, the types also do not match. Type 8 used by the RK8603
and RK8604 start at 500mV and increment in 6.25mv steps,
while the FAN53555 type 8 starts at 600mV and increments in 10mV steps.
And the en register is also differences.

Change-Id: Id93f85de91b79a1922b1efc27771f30dd7bc8bcb
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2021-04-09 10:45:45 +08:00
Joseph Chen
1ca735225a regulator: fan53555: add TCS4525 DCDC support
TCS4525 main features:

- 2.7V to 5.5V Input Voltage Range;
- 3MHz Constant Switching Frequency;
- 5A Available Load Current;
- Programmable Output Voltage: 0.6V to 1.4V in 6.25mV Steps;
- PFM/PWM Operation for Optimum Increased Efficiency;

Change-Id: I7d4b8bbf38a5c74174b16ae4cb64d04f903a2902
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2021-04-09 10:45:29 +08:00
Tao Huang
4b92d5bca3 treewide: replace '---help---' in Kconfig files with 'help' (rk)
Since commit 84af7a6194 ("checkpatch: kconfig: prefer 'help' over
'---help---'"), the number of '---help---' has been gradually
decreasing, but there are still more than 2400 instances.

This commit finishes the conversion. While I touched the lines,
I also fixed the indentation.

There are a variety of indentation styles found.

  a) 4 spaces + '---help---'
  b) 7 spaces + '---help---'
  c) 8 spaces + '---help---'
  d) 1 space + 1 tab + '---help---'
  e) 1 tab + '---help---'    (correct indentation)
  f) 1 tab + 1 space + '---help---'
  g) 1 tab + 2 spaces + '---help---'

In order to convert all of them to 1 tab + 'help', I ran the
following commend:

  $ find . -name 'Kconfig*' | xargs sed -i 's/^[[:space:]]*---help---/\thelp/'

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I6c1a95c0cb15b1a5a4215acba748e7023dfd4338
2021-04-08 18:57:03 +08:00
Guohai Wang
c9e1ebc790 input: Add IR decode driver
Change-Id: I7e6f36b70fd1f5356ad64cad9a0b9f2aab18c2b1
Signed-off-by: Guohai Wang <alex.wang@rock-chips.com>
Reviewed-by: Zhangbin Tong <zebulun.tong@rock-chips.com>
2021-04-08 18:14:45 +08:00
Tao Huang
df2a7ca256 ASoC: rockchip: vad: Fix clang assembly error
sound/soc/rockchip/vad_preprocess_arm64.S:53:18: error: expected 'sxtx' 'uxtx' or 'lsl' with optional integer in range [0, 4]
 add x2, x2, x5, sxtw
                 ^

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I5e9a2442d3d9bb0223290e0dac3f54a580b3f949
2021-04-08 16:15:14 +08:00
Yifeng Zhao
969b0ab881 drivers: rk_nand: fix the problem of clang compilate error
compilate error info:
drivers/rk_nand/rk_zftl_arm64.S:29609:19: error: expected 'sxtx' 'uxtx' or 'lsl' with optional integer in range [0, 4]
 add x0, x5, x21, uxth
                  ^
drivers/rk_nand/rk_zftl_arm64.S:29635:19: error: expected 'sxtx' 'uxtx' or 'lsl' with optional integer in range [0, 4]
 add x3, x19, x3, uxth 3
                  ^
make[1]: *** [scripts/Makefile.build:433:drivers/rk_nand/rk_zftl_arm64.o] error 1

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I59578a4ff3434911c135778f83afc6ec0af5bffc
2021-04-08 09:35:17 +08:00
Tao Huang
d46a5554b4 arm64: rockchip_defconfig: Disable CONFIG_HW_RANDOM_CAVIUM
Which is default y.

Change-Id: Ia8c443016bc42394d98c1561ff4efdddf7161124
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2021-04-07 20:28:34 +08:00
Bian Jin chen
f67b818670 ARM: rockchip_defconfig: Enable metadata FBE.
Android 11 requires metadata File Base Encryption to protect userdata.

+CONFIG_BLK_INLINE_ENCRYPTION=y
+CONFIG_BLK_INLINE_ENCRYPTION_FALLBACK=y
+CONFIG_DM_DEFAULT_KEY=y
+CONFIG_MMC_CRYPTO=y
+CONFIG_FS_ENCRYPTION=y
+CONFIG_FS_ENCRYPTION_INLINE_CRYPT=y

Signed-off-by: Bian Jin chen <kenjc.bian@rock-chips.com>
Change-Id: I479f43d9188f2619e0ac03e2e10006015a50599c
2021-04-07 16:19:33 +08:00
Bian Jin chen
ab9ac154d8 arm64: rockchip_defconfig: Enable metadata FBE.
Android 11 requires metadata File Base Encryption to protect userdata.

+CONFIG_BLK_INLINE_ENCRYPTION=y
+CONFIG_BLK_INLINE_ENCRYPTION_FALLBACK=y
+CONFIG_DM_DEFAULT_KEY=y
+CONFIG_MMC_CRYPTO=y
+CONFIG_FS_ENCRYPTION=y
+CONFIG_FS_ENCRYPTION_INLINE_CRYPT=y

Signed-off-by: Bian Jin chen <kenjc.bian@rock-chips.com>
Change-Id: I2a741aa3d46f64375400c6fe8d7fac66b48eecad
2021-04-07 15:53:14 +08:00
Simon Xue
fae620b2b6 iommu/rockchip: add irq mask cb
Change-Id: I5d2d565340395fb3573c7f25d764ed9f66333aeb
Signed-off-by: Simon Xue <xxm@rock-chips.com>
2021-04-07 14:52:11 +08:00