Skip to content

Commit cca061b

Browse files
author
Linus Walleij
committed
hw_random: ixp4xx: Add DT bindings
This adds device tree bindings for the simple random number generator found in the IXP46x SoCs. Cc: Deepak Saxena <dsaxena@plexity.net> Cc: devicetree@vger.kernel.org Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 854a004 commit cca061b

2 files changed

Lines changed: 37 additions & 0 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/rng/intel,ixp46x-rng.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Intel IXP46x RNG bindings
8+
9+
description: |
10+
The Intel IXP46x has a random number generator at a fixed physical
11+
location in memory. Each read is guaranteed to provide a unique
12+
32 bit random number.
13+
14+
maintainers:
15+
- Linus Walleij <linus.walleij@linaro.org>
16+
17+
properties:
18+
compatible:
19+
const: intel,ixp46x-rng
20+
21+
reg:
22+
maxItems: 1
23+
24+
required:
25+
- compatible
26+
- reg
27+
28+
additionalProperties: false
29+
30+
examples:
31+
- |
32+
rng@70002100 {
33+
compatible = "intel,ixp46x-rng";
34+
reg = <0x70002100 4>;
35+
};
36+

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9248,6 +9248,7 @@ F: include/linux/soc/ixp4xx/qmgr.h
92489248
INTEL IXP4XX RANDOM NUMBER GENERATOR SUPPORT
92499249
M: Deepak Saxena <dsaxena@plexity.net>
92509250
S: Maintained
9251+
F: Documentation/devicetree/bindings/display/intel,ixp46x-rng.yaml
92519252
F: drivers/char/hw_random/ixp4xx-rng.c
92529253

92539254
INTEL KEEM BAY DRM DRIVER

0 commit comments

Comments
 (0)