dts: mfd: it8801: Require irq-gpios to prevent driver crashes

Marked the irq-gpios property as "required: true" in the yaml file.
This ensures that the property is always defined in the device tree,
preventing the driver from crashing when irq-gpios is missing.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
This commit is contained in:
Tim Lin 2025-01-14 17:43:46 +08:00 committed by Benjamin Cabé
commit 7114989c4e

View file

@ -51,6 +51,7 @@ properties:
irq-gpios:
type: phandle-array
required: true
description: |
An interrupt can be asserted on SMB_INT# pin to notify
the host-side since an effective interrupt occurs.