2021-06-25 07:47:39

by Mauro Carvalho Chehab

[permalink] [raw]
Subject: [PATCH v8 03/12] staging: hisilicon,hi6421-spmi-pmic.yaml: cleanup descriptions

Minor cleanups at the schema:
- There's no need to describe interrupt-controller;
- gpios need a description.

Signed-off-by: Mauro Carvalho Chehab <[email protected]>
---
drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml b/drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml
index d57316c57d7b..8e355cddd437 100644
--- a/drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml
+++ b/drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml
@@ -32,12 +32,11 @@ properties:
'#interrupt-cells':
const: 2

- interrupt-controller:
- description:
- Identify that the PMIC is capable of behaving as an interrupt controller.
+ interrupt-controller: true

gpios:
maxItems: 1
+ description: GPIO used for IRQs

regulators:
type: object
--
2.31.1