Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7192239imu; Tue, 22 Jan 2019 01:49:22 -0800 (PST) X-Google-Smtp-Source: ALg8bN67cNCvBgceNHtwWn4W8auiNXo87m4UFWjhHWe2AIrg2vlKtJO/2lZ7tpA+tMo19CadM3q3 X-Received: by 2002:a63:6150:: with SMTP id v77mr30670918pgb.266.1548150562634; Tue, 22 Jan 2019 01:49:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548150562; cv=none; d=google.com; s=arc-20160816; b=IOVScUS4CoW6lw0wDbtPEnb1o51ZgbPTCwQab8A0IYpD8EXOKaXR8hS5NEU7Otan+w 53SdL//D4sNt0bfvuwDjrxWPOjGbhvz89fwNmt8QZpa+L/x0QzkU6yKZj0hOsdDnsom1 K+ZoDjbQmpDc9+znPeYYk4yXOLFkZsVFSF8hmEGWCSC5hLba07+FUMB3AKsG/wkquIEC GP33V9xKzrhQI9WlJw5F+yW8qp3e0k7qo4GVi2uzXgEPcAj3j5vB0g1Qz3pG8DVs1/tq juuxCiy/O/RRwI+b052BE0QY+T1nMd/mTUbRL4K/ZYbdLuTnK7ES/Gp/zCvvywzkI1Ph /oFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=NGuNC5HIBq5Rve4BqBd6GYcYJvhCCif4tf0YOJDzKGk=; b=CXuUIEuXbSbTjG8DldyVir32hjGzFuWwBG6Rtz6z4V411JaJ1VAZXg1XLsF/jgZ47Y OK4sO4Pc0s7a3mdmyKmQVl2BM/4K7oo7aucPJe+Bye3EMMHDG79IfERDe6sEhIhl00kl Qfh6zEtykQjODy+Zgi05DF581E4SBrhno0z5S63hdMRU02dXw1GTZ3ULynLN1IPvCoW5 JxJenNjjHWQkQOVf6XyKARlnf28UKsOQEf+/0/z4UpLv3lyYwaaT0WBJrnLKa+Eu2qb+ FZGQMyoHXsSsVYjkKlY8VztASGoKBO1ygwnFGi8ol1w9gn38dZA9BORzVvTj0/+0lGUS c42w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i30si15026274pgm.76.2019.01.22.01.49.07; Tue, 22 Jan 2019 01:49:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727984AbfAVJqz (ORCPT + 99 others); Tue, 22 Jan 2019 04:46:55 -0500 Received: from mail-lf1-f68.google.com ([209.85.167.68]:38643 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727684AbfAVJqy (ORCPT ); Tue, 22 Jan 2019 04:46:54 -0500 Received: by mail-lf1-f68.google.com with SMTP id a8so17580715lfk.5; Tue, 22 Jan 2019 01:46:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=NGuNC5HIBq5Rve4BqBd6GYcYJvhCCif4tf0YOJDzKGk=; b=Mj2ATxdiAJGNtb4Hl7h93eY7sopT/IojikVUiwXm7KgmZiJkoLHKHf2lKZMeiJv4C3 HqqQYKrwzonxX7pkmvlJZVQwzFuvagMWGbGNA8wLBYKIKkY3AxB6B7baJTqdgNXSwBnL CYvHdU1n1uXgekcazOxXpo9/Zo7/LlnQyKeoyzjSyUz7NuuK1A4qdWLFe8tAmP9OmVEZ rOJYc4wK2vxhEdhvZCc4rr99zBbnjlaywr1jQNBcqCL2T/x6nujPBPKva1bRt+2xOJnj zy2UReWVzkvCE1+Xozgn1ayQByJq4xQBwiQdZEXxksLXCvSujcYsLHkW21FfLeqqv0o1 upxg== X-Gm-Message-State: AJcUukfuU576k/QV6RNPBhfTbofnBicIaX5RGdxt3PlvRmduFob/JdsZ Up7IVN6RSssaxEWdWAWrzzE= X-Received: by 2002:a19:c396:: with SMTP id t144mr19650620lff.110.1548150411449; Tue, 22 Jan 2019 01:46:51 -0800 (PST) Received: from localhost.localdomain ([213.255.186.46]) by smtp.gmail.com with ESMTPSA id a2-v6sm2781288lji.13.2019.01.22.01.46.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 22 Jan 2019 01:46:50 -0800 (PST) Date: Tue, 22 Jan 2019 11:46:37 +0200 From: Matti Vaittinen To: matti.vaittinen@fi.rohmeurope.com, mazziesaccount@gmail.com Cc: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, lgirdwood@gmail.com, broonie@kernel.org, gregkh@linuxfoundation.org, rafael@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, linus.walleij@linaro.org, bgolaszewski@baylibre.com, sre@kernel.org, a.zummo@towertech.it, alexandre.belloni@bootlin.com, wim@linux-watchdog.org, linux@roeck-us.net, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-pm@vger.kernel.org, linux-rtc@vger.kernel.org, linux-watchdog@vger.kernel.org, mikko.mutanen@fi.rohmeurope.com, heikki.haikola@fi.rohmeurope.com Subject: [RFC PATCH v1 09/13] devicetree: bindings: ROHM bd70528 regulator bindings Message-ID: <4818d84fe334e9f68f3968663cddce8e45c87c6c.1548149337.git.matti.vaittinen@fi.rohmeurope.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ROHM bd70528 is a ultra low power PMIC which includes 3 bucks, 3 LDOs and 2 LED drivers. Document the bindings for them. Signed-off-by: Matti Vaittinen --- .../bindings/regulator/rohm,bd70528-regulator.txt | 68 ++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/rohm,bd70528-regulator.txt diff --git a/Documentation/devicetree/bindings/regulator/rohm,bd70528-regulator.txt b/Documentation/devicetree/bindings/regulator/rohm,bd70528-regulator.txt new file mode 100644 index 000000000000..698cfc3bc3dd --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/rohm,bd70528-regulator.txt @@ -0,0 +1,68 @@ +ROHM BD70528 Power Management Integrated Circuit regulator bindings + +Required properties: + - regulator-name: should be "buck1", "buck2", "buck3", "ldo1", "ldo2", "ldo3", + "led_ldo1", "led_ldo2" + +List of regulators provided by this controller. BD70528 regulators node +should be sub node of the BD70528 MFD node. See BD70528 MFD bindings at +Documentation/devicetree/bindings/mfd/rohm,bd70528-pmic.txt + +The valid names for BD70528 regulator nodes are: +BUCK1, BUCK2, BUCK3, LDO1, LDO2, LDO3, LED_LDO1, LED_LDO2 + +Optional properties: +- Any optional property defined in bindings/regulator/regulator.txt + +Example: +regulators { + buck1: BUCK1 { + regulator-name = "buck1"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <3400000>; + regulator-boot-on; + regulator-ramp-delay = <125>; + }; + buck2: BUCK2 { + regulator-name = "buck2"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-ramp-delay = <125>; + }; + buck3: BUCK3 { + regulator-name = "buck3"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + regulator-ramp-delay = <250>; + }; + ldo1: LDO1 { + regulator-name = "ldo1"; + regulator-min-microvolt = <1650000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + }; + ldo2: LDO2 { + regulator-name = "ldo2"; + regulator-min-microvolt = <1650000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + }; + + ldo3: LDO3 { + regulator-name = "ldo3"; + regulator-min-microvolt = <1650000>; + regulator-max-microvolt = <3300000>; + }; + led_ldo1: LED_LDO1 { + regulator-name = "led_ldo1"; + regulator-min-microvolt = <200000>; + regulator-max-microvolt = <300000>; + }; + led_ldo2: LED_LDO2 { + regulator-name = "led_ldo2"; + regulator-min-microvolt = <200000>; + regulator-max-microvolt = <300000>; + }; +}; -- 2.14.3 -- Matti Vaittinen ROHM Semiconductors ~~~ "I don't think so," said Rene Descartes. Just then, he vanished ~~~