FitiPower FP9931/JD9930 Power Management Integrated Circuit
Schema identifier ($id): "http://devicetree.org/schemas/regulator/fitipower,fp9931.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andreas Kemnade <andreas@kemnade.info>"
FP9931 is a Power Management IC to provide Power for EPDs with one 3.3V switch, 2 symmetric LDOs behind 2 DC/DC converters, and one unsymmetric regulator for a compensation voltage. JD9930 has in addition some kind of night mode.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"fitipower,fp9931"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"fitipower,jd9930"Item 2
Exact value (
const):"fitipower,fp9931"
reg — required here #
Maximum number of items (maxItems): 1
enable-gpios — required here #
Maximum number of items (maxItems): 1
pg-gpios — required here #
Maximum number of items (maxItems): 1
en-ts-gpios — not listed as required here #
Maximum number of items (maxItems): 1
xon-gpios — not listed as required here #
Maximum number of items (maxItems): 1
vin-supply — not listed as required here #
Supply for the whole chip. Some vendor kernels and devicetrees declare this as a non-existing GPIO named "pwrall".
fitipower,tdly-ms — not listed as required here #
Power up soft start delay settings tDLY1-4 bitfields in the POWERON_DELAY register
Array item rules (items) #
Item 1
Item 2
Item 3
Item 4
regulators — not listed as required here #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties matching a name pattern (patternProperties) #
^(vcom|vposneg|v3p3)$ — name matches this regular expression
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Value type (type): "object"
Shared schema rule ($ref): /schemas/regulator/regulator.yaml
Required in this object (required): "compatible", "reg", "pg-gpios", "enable-gpios"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
pmic@18 {
compatible = "fitipower,fp9931";
reg = <0x18>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_fp9931_gpio>;
vin-supply = <&epd_pmic_supply>;
pg-gpios = <&gpio2 7 GPIO_ACTIVE_HIGH>;
en-ts-gpios = <&gpio2 9 GPIO_ACTIVE_HIGH>;
enable-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>;
fitipower,tdly-ms = <2 2 4 4>;
regulators {
vcom {
regulator-name = "vcom";
regulator-min-microvolt = <2352840>;
regulator-max-microvolt = <2352840>;
};
vposneg {
regulator-name = "vposneg";
regulator-min-microvolt = <15060000>;
regulator-max-microvolt = <15060000>;
};
v3p3 {
regulator-name = "v3p3";
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause