One fix that came in during the merge window, fixing an error in the examples in the DT binding documentation for mt6315. -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmKZ8DsACgkQJNaLcl1U h9CBuwf7B5+pyVEOhzhS7oWCI/smTis08iZ7QFgHuf0CHrtmFUqvG1JGey/rg1io dteA3JXugMP9z2bKxEaACUhghsKoG6Ob3Dl25E+a5chSJtspD5na8csmha0c4u4v w2IcUTIS+ku72EE3V30Ktgb2k2BwesyhQGVc2N7wUs/4svakDyUAZmyXtHPs2mAZ kr1aUDhvEYqpSIp85SmFL7N8A05ICUGaMCP9w4me3Elo6Do43cS86juGJeBFnHIe JJdGjO6JxoI7oaYtVDTkrzfHnhXY1HV850XdEKRk5oXqYT5zBMe6UJnIhKXVv8Fm Grf63kUjmNb/Z5s2IYrgkwYMflHWrQ== =JDMg -----END PGP SIGNATURE----- Merge tag 'regulator-fix-v5.19-rc0' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator Pull regulator fix from Mark Brown: "One fix that came in during the merge window, fixing an error in the examples in the DT binding documentation for mt6315" * tag 'regulator-fix-v5.19-rc0' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: regulator: mt6315-regulator: fix invalid allowed mode
69 lines
1.6 KiB
YAML
69 lines
1.6 KiB
YAML
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/regulator/mt6315-regulator.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Mediatek MT6315 Regulator
|
|
|
|
maintainers:
|
|
- Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
|
|
|
|
description: |
|
|
The MT6315 is a power management IC (PMIC) configurable with SPMI.
|
|
that contains 4 BUCKs output which can combine with each other
|
|
by different efuse settings.
|
|
|
|
properties:
|
|
compatible:
|
|
const: mediatek,mt6315-regulator
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
regulators:
|
|
type: object
|
|
description: List of regulators and its properties
|
|
|
|
patternProperties:
|
|
"^vbuck[1-4]$":
|
|
type: object
|
|
$ref: "regulator.yaml#"
|
|
|
|
properties:
|
|
regulator-compatible:
|
|
pattern: "^vbuck[1-4]$"
|
|
|
|
additionalProperties: false
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- regulators
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
pmic@6 {
|
|
compatible = "mediatek,mt6315-regulator";
|
|
reg = <0x6 0>;
|
|
|
|
regulators {
|
|
vbuck1 {
|
|
regulator-compatible = "vbuck1";
|
|
regulator-min-microvolt = <300000>;
|
|
regulator-max-microvolt = <1193750>;
|
|
regulator-enable-ramp-delay = <256>;
|
|
regulator-allowed-modes = <0 1 2>;
|
|
};
|
|
|
|
vbuck3 {
|
|
regulator-compatible = "vbuck3";
|
|
regulator-min-microvolt = <300000>;
|
|
regulator-max-microvolt = <1193750>;
|
|
regulator-enable-ramp-delay = <256>;
|
|
regulator-allowed-modes = <0 1 2>;
|
|
};
|
|
};
|
|
};
|