dt-bindings: mfd: dlg,da9063: Convert da9062 to json-schema
authorBiju Das <biju.das.jz@bp.renesas.com>
Wed, 31 Jan 2024 10:26:56 +0000 (10:26 +0000)
committerLee Jones <lee@kernel.org>
Thu, 8 Feb 2024 13:06:03 +0000 (13:06 +0000)
commitf1eb64bf6d4bef5295ab7633874960fbcfadca46
tree194cfc1ad6682917dd9a1f6699be650538654618
parentae3a0d709c240bc88c741d624d119ae96081d545
dt-bindings: mfd: dlg,da9063: Convert da9062 to json-schema

Convert the da9062 PMIC device tree binding documentation to json-schema.

Document the missing gpio child node for da9062.

While at it, update description with link to product information and
example.

The missing child node with of_compatible defined in MFD_CELL_OF is
causing the below warning message:
da9062-gpio: Failed to locate of_node [id: -1]

So, make all child nodes with of_compatible defined in struct mfd_cell
as required property for da906{1,2} devices.

The "gpio-controller" and "#gpio-cells" properties are defined in the
parent instead of gpio child node as there are existing driver users
based on these parent properties.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Link: https://lore.kernel.org/r/20240131102656.3379-7-biju.das.jz@bp.renesas.com
Signed-off-by: Lee Jones <lee@kernel.org>
Documentation/devicetree/bindings/input/dlg,da9062-onkey.yaml
Documentation/devicetree/bindings/mfd/da9062.txt [deleted file]
Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.yaml