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

regulator: rtq6752: Add binding document for Richtek RTQ6752

Add binding document for Richtek RTQ6752.

Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
Link: https://lore.kernel.org/r/1625845236-30285-1-git-send-email-u0084500@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

ChiYuan Huang and committed by
Mark Brown
526e99cf 78bbb7c3

+78
+78
Documentation/devicetree/bindings/regulator/richtek,rtq6752-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,rtq6752-regulator.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Richtek RTQ6752 TFT LCD Voltage Regulator 8 + 9 + maintainers: 10 + - ChiYuan Huang <cy_huang@richtek.com> 11 + 12 + description: | 13 + The RTQ6752 is an I2C interface pgorammable power management IC. It includes 14 + two synchronous boost converter for PAVDD, and one synchronous NAVDD 15 + buck-boost. The device is suitable for automotive TFT-LCD panel. 16 + 17 + properties: 18 + compatible: 19 + enum: 20 + - richtek,rtq6752 21 + 22 + reg: 23 + maxItems: 1 24 + 25 + enable-gpios: 26 + description: | 27 + A connection of the chip 'enable' gpio line. If not provided, treat it as 28 + external pull up. 29 + maxItems: 1 30 + 31 + regulators: 32 + type: object 33 + $ref: regulator.yaml# 34 + 35 + patternProperties: 36 + "^(p|n)avdd$": 37 + type: object 38 + $ref: regulator.yaml# 39 + description: | 40 + regulator description for pavdd and navdd. 41 + 42 + additionalProperties: false 43 + 44 + required: 45 + - compatible 46 + - reg 47 + - regulators 48 + 49 + additionalProperties: false 50 + 51 + examples: 52 + - | 53 + i2c { 54 + #address-cells = <1>; 55 + #size-cells = <0>; 56 + 57 + rtq6752@6b { 58 + compatible = "richtek,rtq6752"; 59 + status = "okay"; 60 + reg = <0x6b>; 61 + enable-gpios = <&gpio26 2 0>; 62 + 63 + regulators { 64 + pavdd { 65 + regulator-name = "rtq6752-pavdd"; 66 + regulator-min-microvolt = <5000000>; 67 + regulator-max-microvolt = <7300000>; 68 + regulator-boot-on; 69 + }; 70 + navdd { 71 + regulator-name = "rtq6752-navdd"; 72 + regulator-min-microvolt = <5000000>; 73 + regulator-max-microvolt = <7300000>; 74 + regulator-boot-on; 75 + }; 76 + }; 77 + }; 78 + };