drivers: entropy: npcx: add rng driver support
This commit add the rng driver support by using the npcx drgb API. Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
This commit is contained in:
parent
3c3bee96ef
commit
6057a83060
8 changed files with 385 additions and 18 deletions
19
dts/bindings/rng/nuvoton,npcx-drbg.yaml
Normal file
19
dts/bindings/rng/nuvoton,npcx-drbg.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Copyright (c) 2024 Nuvoton Technology Corporation.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: NPCX Deterministic Random Bit Generator
|
||||
|
||||
compatible: "nuvoton,npcx-drbg"
|
||||
|
||||
include: base.yaml
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
|
||||
context-buffer-size:
|
||||
type: int
|
||||
required: true
|
||||
description: |
|
||||
Size of the pre-allocated buffer for the DRBG ROM API to store the
|
||||
intermediate/final computation result.
|
Loading…
Add table
Add a link
Reference in a new issue