Skip to content

Commit

Permalink
dts: bindings: microchip,xec-i2c: Add GIRQ fields
Browse files Browse the repository at this point in the history
Add the girq and girq-bit fields to the binding. This allows
encoding GIRQ related information inside device tree.

Signed-off-by: Francisco Munoz <[email protected]>
Signed-off-by: Rajavardhan Gundi <[email protected]>
  • Loading branch information
franciscomunoz authored and nashif committed Jan 20, 2021
1 parent f436315 commit 7c3504b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dts/arm/microchip/mec1501hsz.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
girq = <13>;
girq-bit = <0>;
};

i2c_smb_1: i2c@40004400 {
Expand All @@ -178,6 +180,8 @@
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
girq = <13>;
girq-bit = <1>;
};

i2c_smb_2: i2c@40004800 {
Expand All @@ -188,6 +192,8 @@
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
girq = <13>;
girq-bit = <2>;
};

i2c_smb_3: i2c@40004c00 {
Expand All @@ -198,6 +204,8 @@
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
girq = <13>;
girq-bit = <3>;
};

i2c_smb_4: i2c@40005000 {
Expand All @@ -208,6 +216,8 @@
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
girq = <13>;
girq-bit = <4>;
};

espi0: espi@400f3400 {
Expand Down
10 changes: 10 additions & 0 deletions dts/bindings/i2c/microchip,xec-i2c.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,13 @@ properties:
type: int
description: soc block mapping to pin
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 7c3504b

Please sign in to comment.