Home
last modified time | relevance | path

Searched +full:secure +full:- +full:otp (Results 1 – 25 of 95) sorted by relevance

1234

/OK3568_Linux_fs/u-boot/spl/drivers/misc/
H A D.rk3568-secure-otp.o.cmd
H A D.built-in.o.cmd
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/nvmem/
H A Drockchip-secure-otp.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/nvmem/rockchip-secure-otp.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip secure otp device tree bindings
10 - Hisping <hisping.lin@rock-chips.com>
13 - $ref: "nvmem.yaml#"
18 - rockchip,secure-otp
20 rockchip,otp-size:
22 size of non-protected oem zone in secure otp, In bytes.
[all …]
H A Dst,stm32-romem.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/nvmem/st,stm32-romem.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics STM32 Factory-programmed data bindings
10 This represents STM32 Factory-programmed read only non-volatile area: locked
11 flash, OTP, read-only HW regs... This contains various information such as:
16 - Fabrice Gasnier <fabrice.gasnier@st.com>
19 - $ref: "nvmem.yaml#"
24 - st,stm32f4-otp
[all …]
/OK3568_Linux_fs/u-boot/drivers/misc/
H A DMakefile2 # (C) Copyright 2000-2007
5 # SPDX-License-Identifier: GPL-2.0+
8 obj-$(CONFIG_$(SPL_TPL_)MISC) += misc-uclass.o misc_otp.o
9 obj-$(CONFIG_$(SPL_TPL_)MISC_DECOMPRESS) += misc_decompress.o
10 obj-$(CONFIG_ALI152X) += ali512x.o
11 obj-$(CONFIG_ALTERA_SYSID) += altera_sysid.o
12 obj-$(CONFIG_ATSHA204A) += atsha204a-i2c.o
13 obj-$(CONFIG_DS4510) += ds4510.o
14 obj-$(CONFIG_CBMEM_CONSOLE) += cbmem_console.o
16 obj-$(CONFIG_CROS_EC) += cros_ec.o
[all …]
H A Drk3562-secure-otp.S1 .arch armv8-a+nosimd
2 .file "rk3562-secure-otp.c"
11 .file 1 "drivers/misc/rk3562-secure-otp.c"
18 // 82 "drivers/misc/rk3562-secure-otp.c" 1
29 .size rk3562_spl_rockchip_otp_stop, .-rk3562_spl_rockchip_otp_stop
59 mov w0, -22
64 .size secure_otp_ioctl, .-secure_otp_ioctl
73 stp x29, x30, [sp, -48]!
75 .cfi_offset 29, -48
76 .cfi_offset 30, -40
[all …]
H A Drk3528-secure-otp.S1 .arch armv8-a+nosimd
2 .file "rk3528-secure-otp.c"
11 .file 1 "drivers/misc/rk3528-secure-otp.c"
18 // 82 "drivers/misc/rk3528-secure-otp.c" 1
29 .size rk3528_spl_rockchip_otp_stop, .-rk3528_spl_rockchip_otp_stop
59 mov w0, -22
64 .size secure_otp_ioctl, .-secure_otp_ioctl
73 stp x29, x30, [sp, -48]!
75 .cfi_offset 29, -48
76 .cfi_offset 30, -40
[all …]
H A Drv1106-secure-otp.S1 .arch armv7-a
11 .file "rv1106-secure-otp.c"
24 .file 1 "drivers/misc/rv1106-secure-otp.c"
34 @ 58 "drivers/misc/rv1106-secure-otp.c" 1
46 .size rv1106_spl_rockchip_otp_stop, .-rv1106_spl_rockchip_otp_stop
90 .size secure_otp_ioctl, .-secure_otp_ioctl
107 .cfi_offset 4, -24
108 .cfi_offset 5, -20
109 .cfi_offset 6, -16
110 .cfi_offset 7, -12
[all …]
H A Drk3568-secure-otp.S1 .arch armv8-a+nosimd
2 .file "rk3568-secure-otp.c"
11 .file 1 "drivers/misc/rk3568-secure-otp.c"
18 // 58 "drivers/misc/rk3568-secure-otp.c" 1
29 .size rk3568_spl_rockchip_otp_stop, .-rk3568_spl_rockchip_otp_stop
59 mov w0, -22
64 .size secure_otp_ioctl, .-secure_otp_ioctl
73 stp x29, x30, [sp, -48]!
75 .cfi_offset 29, -48
76 .cfi_offset 30, -40
[all …]
H A Dpx30-secure-otp.S1 .arch armv8-a+nosimd
2 .file "px30-secure-otp.c"
11 .file 1 "drivers/misc/px30-secure-otp.c"
18 // 46 "drivers/misc/px30-secure-otp.c" 1
26 mov w1, -65536
35 // 47 "drivers/misc/px30-secure-otp.c" 1
45 .size px30_spl_rockchip_otp_start, .-px30_spl_rockchip_otp_start
57 // 54 "drivers/misc/px30-secure-otp.c" 1
69 // 55 "drivers/misc/px30-secure-otp.c" 1
77 mov w0, -1
[all …]
H A Drk3328-secure-otp.S1 .arch armv8-a+nosimd
2 .file "rk3328-secure-otp.c"
11 .file 1 "drivers/misc/rk3328-secure-otp.c"
18 // 46 "drivers/misc/rk3328-secure-otp.c" 1
30 // 47 "drivers/misc/rk3328-secure-otp.c" 1
42 .size rk3328_spl_rockchip_otp_start, .-rk3328_spl_rockchip_otp_start
54 // 54 "drivers/misc/rk3328-secure-otp.c" 1
66 // 55 "drivers/misc/rk3328-secure-otp.c" 1
77 .size rk3328_spl_rockchip_otp_stop, .-rk3328_spl_rockchip_otp_stop
107 mov w0, -22
[all …]
H A DKconfig62 bool "Rockchip e-fuse support"
65 Enable (read-only) access for the e-fuse block found in Rockchip
67 or through child-nodes that are generated based on the e-fuse map
75 bool "Rockchip OTP Support"
79 from otp, such as cpu-leakage.
85 This driver support Decompress IP built-in Rockchip SoC, support
92 This driver support Decompress IP built-in Rockchip SoC, support
96 bool "Rockchip Secure OTP Support"
99 Support read & write secure otp.
102 bool "Rockchip Secure OTP Support in spl"
[all …]
H A Drk3308-secure-otp.S1 .arch armv8-a+nosimd
2 .file "rk3308-secure-otp.c"
11 .file 1 "drivers/misc/rk3308-secure-otp.c"
18 // 91 "drivers/misc/rk3308-secure-otp.c" 1
26 mov w1, -65536
35 // 92 "drivers/misc/rk3308-secure-otp.c" 1
45 .size rk3308_spl_rockchip_otp_start, .-rk3308_spl_rockchip_otp_start
57 // 99 "drivers/misc/rk3308-secure-otp.c" 1
69 // 100 "drivers/misc/rk3308-secure-otp.c" 1
77 mov w0, -1
[all …]
/OK3568_Linux_fs/kernel/drivers/nvmem/
H A Drockchip-secure-otp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Rockchip Secure OTP Driver
6 * Author: Hisping <hisping.lin@rock-chips.com>
15 #include <linux/nvmem-provider.h>
39 int (*init)(struct rockchip_otp *otp);
44 if (ver->impl_id == TEE_IMPL_ID_OPTEE) in optee_ctx_match()
51 * func: read data from non-protected oem zone in secure otp
71 return -EINVAL; in rockchip_read_oem_non_protected_otp()
78 /* Open context with OP-TEE driver */ in rockchip_read_oem_non_protected_otp()
82 rc = -ENODEV; in rockchip_read_oem_non_protected_otp()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
33 will be called nvmem-imx-iim.
36 tristate "i.MX 6/7/8 On-Chip OTP Controller support"
40 This is a driver for the On-Chip OTP Controller (OCOTP) available on
41 i.MX6 SoCs, providing access to 4 Kbits of one-time programmable
45 will be called nvmem-imx-ocotp.
48 tristate "i.MX8 SCU On-Chip OTP Controller support"
52 This is a driver for the SCU On-Chip OTP Controller (OCOTP)
78 tristate "NXP LPC18XX OTP Memory Support"
82 Say Y here to include support for NXP LPC18xx OTP memory found on
[all …]
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
6 obj-$(CONFIG_NVMEM) += nvmem_core.o
7 nvmem_core-y := core.o
10 obj-$(CONFIG_NVMEM_BCM_OCOTP) += nvmem-bcm-ocotp.o
11 nvmem-bcm-ocotp-y := bcm-ocotp.o
12 obj-$(CONFIG_NVMEM_IMX_IIM) += nvmem-imx-iim.o
13 nvmem-imx-iim-y := imx-iim.o
14 obj-$(CONFIG_NVMEM_IMX_OCOTP) += nvmem-imx-ocotp.o
15 nvmem-imx-ocotp-y := imx-ocotp.o
16 obj-$(CONFIG_NVMEM_IMX_OCOTP_SCU) += nvmem-imx-ocotp-scu.o
[all …]
H A Dstm32-romem.c1 // SPDX-License-Identifier: GPL-2.0
3 * STM32 Factory-programmed memory read access driver
5 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved
9 #include <linux/arm-smccc.h>
12 #include <linux/nvmem-provider.h>
15 /* BSEC secure service access from non-secure */
25 /* 32 (x 32-bits) lower shadow registers */
45 *buf8++ = readb_relaxed(priv->base + i); in stm32_romem_read()
50 static int stm32_bsec_smc(u8 op, u32 otp, u32 data, u32 *result) in stm32_bsec_smc() argument
55 arm_smccc_smc(STM32_SMC_BSEC, op, otp, data, 0, 0, 0, 0, &res); in stm32_bsec_smc()
[all …]
H A Dlpc18xx_otp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * NXP LPC18xx/43xx OTP memory NVMEM driver
10 * TODO: add support for writing OTP register via API in boot ROM.
15 #include <linux/nvmem-provider.h>
22 * LPC18xx OTP memory contains 4 banks with 4 32-bit words. Bank 0 starts
27 * Bank 1/2 is generale purpose or AES key storage for secure devices.
44 struct lpc18xx_otp *otp = context; in lpc18xx_otp_read() local
50 if (count > (LPC18XX_OTP_SIZE - index)) in lpc18xx_otp_read()
51 count = LPC18XX_OTP_SIZE - index; in lpc18xx_otp_read()
54 *buf++ = readl(otp->base + i * LPC18XX_OTP_WORD_SIZE); in lpc18xx_otp_read()
[all …]
/OK3568_Linux_fs/docs/cn/RK3566_RK3568/
H A DRK3566_RK3568_Linux5.10_SDK_Note.md3 ---
9 ---
14 - Filtering Mali DDK does not support GBM_FORMAT_R8 error issue
15 - Fix the issue of the menu bar sliding and getting stuck on the top left side of the Xfce desktop
16 - Fix the issue of abnormal rotation function after sretting FlipFB to always
17 - Add support for Cheese H264 encoding and default to using H264 encoding
18 - Update rkaiq to release v5.0x1.3
19 - Update mpp/gstreamer rockchip
23 - Update lvgl
24 - Update weston to suppor some issues
[all …]
/OK3568_Linux_fs/docs/en/RK3566_RK3568/
H A DRK3566_RK3568_Linux5.10_SDK_Note.md3 ---
9 ---
14 - Filtering Mali DDK does not support GBM_FORMAT_R8 error issue
15 - Fix the issue of the menu bar sliding and getting stuck on the top left side of the Xfce desktop
16 - Fix the issue of abnormal rotation function after sretting FlipFB to always
17 - Add support for Cheese H264 encoding and default to using H264 encoding
18 - Update rkaiq to release v5.0x1.3
19 - Update mpp/gstreamer rockchip
23 - Update lvgl
24 - Update weston to suppor some issues
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/rk_test/
H A Drktest_otp.c1 // SPDX-License-Identifier: BSD-2-Clause
14 * RK356x platform require the address and length of OTP must be in handle_otp_read()
21 //The memory used to invoke internal TA MUST BE secure memory, instead of CA memory. in handle_otp_read()
42 * RK356x platform require the address and length of OTP must be in handle_otp_write()
68 IMSG("The oem otp size is %d byte.", otp_size); in handle_otp_size()
/OK3568_Linux_fs/external/security/rk_tee_user/v1/ta/rk_test/
H A Drktest_otp.c1 // SPDX-License-Identifier: BSD-2-Clause
15 * RK356x platform require the address and length of OTP must be in handle_otp_read()
22 //The memory used to invoke internal TA MUST BE secure memory, instead of CA memory. in handle_otp_read()
43 * RK356x platform require the address and length of OTP must be in handle_otp_write()
69 IMSG("The oem otp size is %d byte.", otp_size); in handle_otp_size()
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dpx30-u-boot.dtsi4 * SPDX-License-Identifier: GPL-2.0+
14 u-boot,spl-boot-order = &emmc, &sdmmc;
15 stdout-path = &uart2;
18 secure-otp@ff110000 {
19 compatible = "rockchip,px30-secure-otp";
27 u-boot,dm-pre-reloc;
31 u-boot,dm-pre-reloc;
35 clock-frequency = <24000000>;
36 u-boot,dm-pre-reloc;
40 clock-frequency = <24000000>;
[all …]
H A Drk3308-u-boot.dtsi4 * SPDX-License-Identifier: GPL-2.0+
14 stdout-path = &uart2;
15 u-boot,spl-boot-order = &sdmmc, &spi_nand, &spi_nor, &nandc, &emmc;
18 secure-otp@ff2a8000 {
19 compatible = "rockchip,rk3308-secure-otp";
23 u-boot,dm-pre-reloc;
28 u-boot,dm-pre-reloc;
33 u-boot,dm-pre-reloc;
37 u-boot,dm-pre-reloc;
41 u-boot,dm-pre-reloc;
[all …]
H A Drv1106-u-boot.dtsi4 * SPDX-License-Identifier: GPL-2.0+
14 stdout-path = &uart2;
15 u-boot,spl-boot-order = &sdmmc, &spi_nor, &spi_nand, &emmc;
18 secure-otp@ff3fd8000 {
19 compatible = "rockchip,rv1106-secure-otp";
24 u-boot,dm-spl;
30 mmc-ecsd = <0x3F000>;
31 bus-width = <8>;
32 mmc-hs200-1_8v;
33 u-boot,dm-spl;
[all …]

1234