mirror of
https://github.com/torvalds/linux.git
synced 2026-04-29 20:12:38 -04:00
Generally at most 1 blank line is the standard style for DT schema files. Remove the few cases with more than 1 so that the yamllint check for this can be enabled. Acked-by: Lee Jones <lee@kernel.org> Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org> # remoteproc Acked-by: Georgi Djakov <djakov@kernel.org> Acked-by: Vinod Koul <vkoul@kernel.org> Acked-by: Andi Shyti <andi.shyti@kernel.org> Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Acked-by: Jonathan Cameron <jonathan.cameron@huawei.com> Acked-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: Uwe Kleine-König <ukleinek@kernel.org> # for allwinner,sun4i-a10-pwm.yaml Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com> # mtd Acked-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Mark Brown <broonie@kernel.org> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com> Acked-by: Manivannan Sadhasivam <mani@kernel.org> # For PCI controller bindings Link: https://patch.msgid.link/20251023143957.2899600-1-robh@kernel.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
88 lines
2.3 KiB
YAML
88 lines
2.3 KiB
YAML
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/regulator/richtek,rt6245-regulator.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Richtek RT6245 High Current Voltage Regulator
|
|
|
|
maintainers:
|
|
- ChiYuan Huang <cy_huang@richtek.com>
|
|
|
|
description: |
|
|
The RT6245 is a high-performance, synchronous step-down converter
|
|
that can deliver up to 14A output current with an input supply
|
|
voltage range of 4.5V to 17V.
|
|
|
|
allOf:
|
|
- $ref: regulator.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- richtek,rt6245
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
enable-gpios:
|
|
description: |
|
|
A connection of the chip 'enable' gpio line. If not provided,
|
|
it will be treat as a default-on power.
|
|
maxItems: 1
|
|
|
|
richtek,oc-level-select:
|
|
$ref: /schemas/types.yaml#/definitions/uint8
|
|
enum: [0, 1, 2, 3]
|
|
description: |
|
|
Over current level selection. Each respective value means the current
|
|
limit 8A, 14A, 12A, 10A. If this property is missing then keep in
|
|
in chip default.
|
|
|
|
richtek,ot-level-select:
|
|
$ref: /schemas/types.yaml#/definitions/uint8
|
|
enum: [0, 1, 2]
|
|
description: |
|
|
Over temperature level selection. Each respective value means the degree
|
|
150'c, 130'c, 170'c. If this property is missing then keep in chip
|
|
default.
|
|
|
|
richtek,pgdly-time-select:
|
|
$ref: /schemas/types.yaml#/definitions/uint8
|
|
enum: [0, 1, 2, 3]
|
|
description: |
|
|
Power good signal delay time selection. Each respective value means the
|
|
delay time 0us, 10us, 20us, 40us. If this property is missing then keep
|
|
in chip default.
|
|
|
|
richtek,switch-freq-select:
|
|
$ref: /schemas/types.yaml#/definitions/uint8
|
|
enum: [0, 1, 2]
|
|
description: |
|
|
Buck switch frequency selection. Each respective value means 400KHz,
|
|
800KHz, 1200KHz. If this property is missing then keep in chip default.
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
i2c {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
rt6245@34 {
|
|
compatible = "richtek,rt6245";
|
|
reg = <0x34>;
|
|
enable-gpios = <&gpio26 2 0>;
|
|
|
|
regulator-name = "rt6245-regulator";
|
|
regulator-min-microvolt = <437500>;
|
|
regulator-max-microvolt = <1387500>;
|
|
regulator-boot-on;
|
|
};
|
|
};
|