Skip to content

Commit

Permalink
dts: microchip,xec-ps2: Add properties for GIRQ info
Browse files Browse the repository at this point in the history
Add girq and girq-bit to encode per device information.  This allows the
driver to get any device unique info from device tree.

Signed-off-by: Kumar Gala <[email protected]>
  • Loading branch information
galak committed Mar 11, 2020
1 parent c68a1d4 commit 22246f8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dts/arm/microchip/mec1501hsz.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
girq = <18>;
girq-bit = <10>;
};
ps2_1: ps2@40009040 {
compatible = "microchip,xec-ps2";
Expand All @@ -237,6 +239,8 @@
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
girq = <18>;
girq-bit = <11>;
};
pwm0: pwm@40005800 {
compatible = "microchip,xec-pwm";
Expand Down
10 changes: 10 additions & 0 deletions dts/bindings/ps2/microchip,xec-ps2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,13 @@ properties:

interrupts:
required: true

girq:
type: int
required: true
description: GIRQ for this device

girq-bit:
type: int
required: true
description: Bit position in GIRQ for this device

0 comments on commit 22246f8

Please sign in to comment.