Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3199504imm; Tue, 29 May 2018 03:00:44 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoOAIjtGRmZ9ujk5ZMlXx1SCMyNDBam11oPvwbcrfa/wKOTGfQC+i2CbLTwtT85aI0li6Yg X-Received: by 2002:a63:78c3:: with SMTP id t186-v6mr13043672pgc.93.1527588043977; Tue, 29 May 2018 03:00:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527588043; cv=none; d=google.com; s=arc-20160816; b=ZggIHmSX0MaOKGGeuHmA0OoYj4qv9SA/UcG3O/3uCQC20WZ+w1k2dX2jhW5P2gmGIX Ti7QX7QFOGl4JCuWhIuixCk32eKD2IMCsS4wu8fWFoQSj+Nub/zJfqZcBXxkmdEgiJpm o8Y29ZbJeAN5vI9kqcR+p+xc19bHYaAO+tgdbuvNQsS8ZrNyoUR6g3UreNxn7UPZQb6Q LAU94g0VjtECC4ibN8b32N/BNk6WAiHvpXe6Xhb115uSgFoIcqNnsNJ8Xaz7+McZg4gd NP/x3wk3O3SkDr6OFhv4oWylpAs1bdcp2YMarlyeY6ssaeURD3XrMlIrKAyzpR/FeEBw JO0w== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=s3VU1bksbq6id0MftuBqNSvozqzkyuinFbv+P1zBb8c=; b=M3D2Z9uy/WC28iYAZvV+FJZbDpuIwcyGdpO1rQrbcheL1+KntyWY2vb7q7AvvY5b/v 9BuP3YinAQJ8lfmVzpVCnuaL+B3rcCAo1Qv8e32wtGI/6oV/boT6eW7A/VNq7j/Tqtrn vJZpd3/lpTnGtmh7Y/EnAJqn8LQm+54sN9F0hmFHz4HiqaHzzxXy8Tv59XgMi6lftJh7 7BbdHUBJDhMcqD5vAMSXrprUW5+6LCfs30IXv0HOMyo3pFiUWjCiDnp4TRv1T/VQnS+T qsLrZtnDF4/Yl2UkoFBTv/Phl0NCb7n+TalwyxZaxUm7FXY7CvcPrZ6tneqmk6eZnbLS nWhA== 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 k8-v6si23399787plt.410.2018.05.29.03.00.30; Tue, 29 May 2018 03:00:43 -0700 (PDT) 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 S933014AbeE2J7e (ORCPT + 99 others); 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-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-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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 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"; + }; + }; -- 2.14.3