mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-29 19:49:10 +00:00

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>
36 lines
968 B
YAML
36 lines
968 B
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/thermal/dlg,da9062-thermal.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Dialog DA9062/61 TJUNC Thermal Module
|
|
|
|
maintainers:
|
|
- Biju Das <biju.das.jz@bp.renesas.com>
|
|
|
|
description: |
|
|
This module is part of the DA9061/DA9062. For more details about entire
|
|
DA906{1,2} chips see Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
|
|
|
|
Junction temperature thermal module uses an interrupt signal to identify
|
|
high THERMAL_TRIP_HOT temperatures for the PMIC device.
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- const: dlg,da9062-thermal
|
|
- items:
|
|
- const: dlg,da9061-thermal
|
|
- const: dlg,da9062-thermal
|
|
|
|
polling-delay-passive:
|
|
description:
|
|
Specify the polling period, measured in milliseconds, between
|
|
thermal zone device update checks.
|
|
|
|
required:
|
|
- compatible
|
|
|
|
additionalProperties: false
|