Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

regulator: rt6160: Add DT binding document for Richtek RT6160

Add DT binding document for Richtek RT6160 voltage regulator.

Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/1622611906-2403-1-git-send-email-u0084500@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

ChiYuan Huang and committed by
Mark Brown
bce18e52 a277a262

+61
+61
Documentation/devicetree/bindings/regulator/richtek,rt6160-regulator.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/regulator/richtek,rt6160-regulator.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Richtek RT6160 BuckBoost converter 8 + 9 + maintainers: 10 + - ChiYuan Huang <cy_huang@richtek.com> 11 + 12 + description: | 13 + The RT6160 is a high-efficiency buck-boost converter that can provide 14 + up to 3A output current from 2025mV to 5200mV. And it support the wide 15 + input voltage range from 2200mV to 5500mV. 16 + 17 + Datasheet is available at 18 + https://www.richtek.com/assets/product_file/RT6160A/DS6160A-00.pdf 19 + 20 + allOf: 21 + - $ref: regulator.yaml# 22 + 23 + properties: 24 + compatible: 25 + enum: 26 + - richtek,rt6160 27 + 28 + reg: 29 + maxItems: 1 30 + 31 + enable-gpios: 32 + description: A connection of the 'enable' gpio line. 33 + maxItems: 1 34 + 35 + richtek,vsel-active-low: 36 + description: | 37 + Used to indicate the 'vsel' pin active level. if not specified, use 38 + high active level as the default. 39 + type: boolean 40 + 41 + required: 42 + - compatible 43 + - reg 44 + 45 + unevaluatedProperties: false 46 + 47 + examples: 48 + - | 49 + i2c { 50 + #address-cells = <1>; 51 + #size-cells = <0>; 52 + 53 + rt6160@75 { 54 + compatible = "richtek,rt6160"; 55 + reg = <0x75>; 56 + enable-gpios = <&gpio26 2 0>; 57 + regulator-name = "rt6160-buckboost"; 58 + regulator-min-microvolt = <2025000>; 59 + regulator-max-microvolt = <5200000>; 60 + }; 61 + };