Skip to content

Commit

Permalink
dts: bindings: ps2: Add dts bindings for PS/2
Browse files Browse the repository at this point in the history
Introduction of generic device tree bindings for PS/2 devices

Signed-off-by: Francisco Munoz <[email protected]>
  • Loading branch information
franciscomunoz authored and andrewboie committed Sep 18, 2019
1 parent 34f4e30 commit 623f991
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
19 changes: 19 additions & 0 deletions dts/bindings/ps2/microchip,xec-ps2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright (c) 2019, Intel Corporation
# SPDX-License-Identifier: Apache-2.0

title: Microchip XEC PS/2

description: >
This is a representation of the Microchip XEC PS/2 controller
compatible: "microchip,xec-ps2"

include: ps2.yaml

properties:
reg:
required: true

interrupts:
required: true
...
25 changes: 25 additions & 0 deletions dts/bindings/ps2/ps2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (c) 2019, Intel Corporation
# SPDX-License-Identifier: Apache-2.0

title: PS/2 Base Structure

description: >
This binding gives the base structures for all PS/2 devices
include: base.yaml

child:
bus: ps2

properties:
"#address-cells":
type: int
required: true
description: should be 1.
"#size-cells":
type: int
required: true
description: should be 0.
label:
required: true

0 comments on commit 623f991

Please sign in to comment.