mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-29 14:05:19 +08:00
61aaaa8110
There's no reason to have "status" properties in examples. "okay" is the default, and "disabled" turns off some schema checks ('required' specifically). Enabling qca,ar71xx causes a warning, so let's fix the node names: Documentation/devicetree/bindings/net/qca,ar71xx.example.dt.yaml: phy@3: '#phy-cells' is a required property From schema: schemas/phy/phy-provider.yaml Cc: Maxime Ripard <mripard@kernel.org> Cc: Chen-Yu Tsai <wens@csie.org> Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: "David S. Miller" <davem@davemloft.net> Cc: Jakub Kicinski <kuba@kernel.org> Cc: Robert Marko <robert.marko@sartura.hr> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: Ramesh Shanmugasundaram <rashanmu@gmail.com> Cc: "G. Jaya Kumaran" <vineetha.g.jaya.kumaran@intel.com> Cc: ChiYuan Huang <cy_huang@richtek.com> Cc: Wei Xu <xuwei5@hisilicon.com> Cc: Dilip Kota <eswara.kota@linux.intel.com> Cc: Karol Gugala <kgugala@antmicro.com> Cc: Mateusz Holenko <mholenko@antmicro.com> Cc: Olivier Moysan <olivier.moysan@st.com> Cc: Peter Ujfalusi <peter.ujfalusi@ti.com> Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: netdev@vger.kernel.org Cc: linux-rtc@vger.kernel.org Cc: alsa-devel@alsa-project.org Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> # For media Acked-by: Mark Brown <broonie@kernel.org> Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Link: https://lore.kernel.org/r/20210720172025.363238-1-robh@kernel.org
89 lines
2.3 KiB
YAML
89 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;
|
|
};
|
|
};
|