From patchwork Tue May 29 09:59:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Vaittinen, Matti" X-Patchwork-Id: 10434721 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BA563601E9 for ; Tue, 29 May 2018 09:59:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A9FDF286BA for ; Tue, 29 May 2018 09:59:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9E462286BE; Tue, 29 May 2018 09:59:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 208B6286BA for ; Tue, 29 May 2018 09:59:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933003AbeE2J7e (ORCPT ); Tue, 29 May 2018 05:59:34 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:35743 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932781AbeE2J7a (ORCPT ); Tue, 29 May 2018 05:59:30 -0400 Received: by mail-wr0-f193.google.com with SMTP id i14-v6so24420417wre.2; Tue, 29 May 2018 02:59:29 -0700 (PDT) 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:content-transfer-encoding :in-reply-to:user-agent; bh=s3VU1bksbq6id0MftuBqNSvozqzkyuinFbv+P1zBb8c=; b=MhBhvp08RAeLccZk1EDW7HGT0QGcKPQHGHxLHwlgJyP+KHpVugI6Ct/4NkOtX7M/du RRGOVgLyLUgnfuiW9rVNSX6T2GAlYGM1lOLm354eS7ZnDJIqSSc/H89K0gVVF8rSabJl KUFH67mh1lXPEojwCiaeO6PtYiY7q3RDciNd74JqCiszU8m3mKIDCzJ4gyIr4QpROVP8 5RQgCTTatv7LnWbQNnez+dF6P6Z6d0nrP9OaLdVNtgOdzQMkNGOZboPZ1WaUwKV0dAXN nt8jDzvWu3t+PGnKphsVM3AYNen+WYqv048y9G/YHHMmrz+7VTiV0XmbVX0xxaJ3Nncc bwxg== X-Gm-Message-State: ALKqPwd43tM7mVLSPyZ1D2nucTuI4FtEiEQA6YckF9ys7/AdU6m377AM QIlaxkO1iUH9cbRM5iEOdpY= X-Google-Smtp-Source: ADUXVKLhVGeFLrg0F8eZYGG7Vrv+ZVUsH+l68g2jGM46X2gNp1je6L2QunXJ6MxI8V0ZsU+cJDTJHw== X-Received: by 2002:a19:ea1b:: with SMTP id i27-v6mr8632626lfh.98.1527587968844; Tue, 29 May 2018 02:59:28 -0700 (PDT) Received: from localhost.localdomain ([213.255.186.34]) by smtp.gmail.com with ESMTPSA id z5-v6sm1285846lff.87.2018.05.29.02.59.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 May 2018 02:59:28 -0700 (PDT) Date: Tue, 29 May 2018 12:59:21 +0300 From: Matti Vaittinen To: mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, lee.jones@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, mazziesaccount@gmail.com Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, mikko.mutanen@fi.rohmeurope.com, heikki.haikola@fi.rohmeurope.com Subject: [PATCH v3 2/6] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC Message-ID: <62f33ea3c40224e225b7ad8ee2ae49fdbb710f4f.1527587295.git.matti.vaittinen@fi.rohmeurope.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Document devicetree bindings for ROHM BD71837 PMIC MFD. Signed-off-by: Matti Vaittinen --- .../devicetree/bindings/mfd/rohm,bd71837-pmic.txt | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.txt diff --git a/Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.txt b/Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.txt new file mode 100644 index 000000000000..bbc46d38b162 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.txt @@ -0,0 +1,52 @@ +* ROHM BD71837 Power Management Integrated Circuit bindings + +BD71837MWV is a programmable Power Management IC for powering single-core, +dual-core, and quad-core SoC’s such as NXP-i.MX 8M. It is optimized for +low BOM cost and compact solution footprint. It integrates 8 Buck +egulators and 7 LDO’s to provide all the power rails required by the SoC and +the commonly used peripherals. + +Required properties: + - compatible : Should be "rohm,bd71837". + - reg : I2C slave address. + - interrupt-parent : Phandle to the parent interrupt controller. + - interrupts : The interrupt line the device is connected to. + - interrupt-controller : Marks the device node as an interrupt controller. + - #interrupt-cells : The number of cells to describe an IRQ, should be 1 or 2. + The first cell is the IRQ number. + The second cell if present is the flags, encoded as trigger + masks from ../interrupt-controller/interrupts.txt. + - regulators: : List of child nodes that specify the regulators + Please see ../regulator/rohm,bd71837-regulator.txt + - clock: : Please see ../clock/rohm,bd71837-clock.txt + +Example: + + pmic: bd71837@4b { + compatible = "rohm,bd71837"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x4b>; + interrupt-parent = <&gpio1>; + interrupts = <29 GPIO_ACTIVE_LOW>; + interrupt-names = "irq"; + #interrupt-cells = <1>; + interrupt-controller; + + regulators { + buck1: BUCK1 { + regulator-name = "buck1"; + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1300000>; + regulator-boot-on; + regulator-ramp-delay = <1250>; + }; + ... + }; + clk: bd71837-32k-out { + compatible = "rohm,bd71837-clk"; + #clock-cells = <0>; + clock-frequency = <32768>; + clock-output-names = "bd71837-32k-out"; + }; + };