From patchwork Thu May 24 05:57:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Vaittinen, Matti" X-Patchwork-Id: 10422741 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 B49B1602D8 for ; Thu, 24 May 2018 05:57:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A3E3B292E5 for ; Thu, 24 May 2018 05:57:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 97ED52931B; Thu, 24 May 2018 05:57:32 +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 47908292E5 for ; Thu, 24 May 2018 05:57:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755268AbeEXF5U (ORCPT ); Thu, 24 May 2018 01:57:20 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:37989 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755033AbeEXF5T (ORCPT ); Thu, 24 May 2018 01:57:19 -0400 Received: by mail-wr0-f195.google.com with SMTP id 94-v6so737810wrf.5; Wed, 23 May 2018 22:57:18 -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:mime-version :content-disposition:content-transfer-encoding:user-agent; bh=kSnAQF6a1r8P7AmSHVGmBWysH4+idEqHliiPCj6DvWA=; b=qK+vZkh3IhS7U1stabQWzzrOPqov0SJpZjTpZU8r63TP/5mKlgBHV9WjLf7ghfm0pY 7WUn8lbFQkuTVOVVAgIqw1tUcLdnuqK8NqYbpHIk76j+wX2g5Rzx0GEb5TbDVuYn7T3e iSiR2uYwDeGVb3C/Zoy52yUo+mrrZ/6FsILTUg2fW3yLMsXKQphu2i75c560CTOewS2W ByYsWIuTwsbaNYIdCZc21e0yddI7AwKqPY89TVS//SM7T0KHEsGr2Lph/54oq+jNAJJE rKyHsoaDG/jQVtmpTVyNewZr6dh0GjfLGWYv/u2kWbb41I1IDzRN1kZHgjkiXgWKvok5 Tk1A== X-Gm-Message-State: ALKqPwdyh86Ht/e+FnHXlUFo50aPPlLJgy50RTDlVheuuAJyA+G/2SCV 46FdQ43Gmamyq558/V24L6g= X-Google-Smtp-Source: AB8JxZqUm+IAHVuFlcFbJKPW9qxbPSYdA/9SFfS+s3V9R2R1HF2yuMF28Eg4t0t4zPFMRSAWldP1/A== X-Received: by 2002:a19:6915:: with SMTP id e21-v6mr2780041lfc.8.1527141437725; Wed, 23 May 2018 22:57:17 -0700 (PDT) Received: from localhost.localdomain ([213.255.186.34]) by smtp.gmail.com with ESMTPSA id k19-v6sm4103488lfj.24.2018.05.23.22.57.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 May 2018 22:57:17 -0700 (PDT) Date: Thu, 24 May 2018 08:57:14 +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 3/9] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC Message-ID: <20180524055714.GD4249@localhost.localdomain> MIME-Version: 1.0 Content-Disposition: inline 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 | 55 ++++++++++++++++++++++ 1 file changed, 55 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..b00c3753b454 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.txt @@ -0,0 +1,55 @@ +* 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 { + compatible = "rohm,bd71837-pmic"; + #address-cells = <1>; + #size-cells = <0>; + 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"; + }; + };