Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp799392imm; Fri, 15 Jun 2018 06:30:59 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLGs95c2lezaFClQeH6bSZE50SW+fEyK57DR2c2Iwnl202323rWEPt6rfArGwXS92refqgo X-Received: by 2002:a17:902:b494:: with SMTP id y20-v6mr2064674plr.136.1529069459746; Fri, 15 Jun 2018 06:30:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529069459; cv=none; d=google.com; s=arc-20160816; b=fQjXQRni3seD66RJsId2qQW0XPVPuFhL+Ib+gvLQebXJEnaAIzzLAI/KqGNMn7r8U4 OQuD2Qcb5SNG44HN0LNscsh912NT0UAt3gIbngIV3Im1pbS0alZQsV0iP0sVAKNpVlm4 vKql9aIr2y6jjh7G+hK1wdbvAcze96d72M1d7DrsUvMJoe1Dkc97jRFYGryr8YScYHB0 aLNlGf4I1LTiqVg7IR2nrAgFty0SDeen8Bj6zJD/rQZgIbSDCWF5vDcZlvnkuHkQf91w R03lxvoRrPVk9tbI0hSFnVdI5JexKK3IL4mO6yl/lIzLt1IYp9Se53AVspJroCQ4ZSfL yK2Q== 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=5mhg61cNBcKZnP5tMkiYLZdnaNctdRceKsnfgk25WsY=; b=zvlyYw1gX436Kpk4/j6k76/JS1qyw6llqXFiNIcoYtV1lli5Pi3FLuM9pDQ9Uo8HXl xEWCXkmODlusdB9xMX81I2MycoUte6H2mZyJxKF97RfZvBBT7pX9QODSPhBmVWBIoHQ6 Vwz+VglPcSKYsgy9cuB/3BEzmeESjKNyXqCXVPEPrH8/mu8EnNXQxOluj4/N13CNsBHN RYCBF1pytsnqBWa87E0DfdFwc7y5cpl3Pv7QxEzmQRCOKuisVdh/mm5lK6pnJW36Oo+6 kLJ4it/8MFabbGx/aoQBGlRKzCPjm+xOG6UgsTHzRYlW8YrS/dhvy+2PS6h0u5oxPWTP RZVg== 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 i189-v6si6410326pgd.111.2018.06.15.06.30.44; Fri, 15 Jun 2018 06:30:59 -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 S965775AbeFONaP (ORCPT + 99 others); Fri, 15 Jun 2018 09:30:15 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:34679 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936211AbeFONaN (ORCPT ); Fri, 15 Jun 2018 09:30:13 -0400 Received: by mail-lf0-f66.google.com with SMTP id o9-v6so14674391lfk.1; Fri, 15 Jun 2018 06:30:12 -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=5mhg61cNBcKZnP5tMkiYLZdnaNctdRceKsnfgk25WsY=; b=ouGq2IpVb93mvVcA80fqHVrKq+/zhS5wuilR5nZsQE7NQHwpG7nOn5zYRZ8157zm+a FflPifTUqgkSq0EOS1l3El841sOH+PfJlk6N62vsvVRrCDXp5Q3sBbiuhCE6JAxxX7hu yN0xKjY7uk0ZUdT4Fsw5RFfr6++dVAdSISqsd0Ob68iOrFLbWcKOrOvWiD4gF2S32KWe ayn8qTvWK8yS0K3wB4FZKSLz37XJ0przb5OKvbrs1zedTpqguX8pq4mMZtgUhe4Z5mia qyzsxQJQS8gEwH/kUTmBoI0y/bVhdfgHi5OEsdWSNEr8VzLrNietvjh5IepC3MDMLTdR HIdA== X-Gm-Message-State: APt69E3Ur/s2YvtwUehKZsgqFaAqelDAsC80Dr4grpJbn29aEOd2NEac Lh2IRe9WF4oWbHd/K4BrCmE= X-Received: by 2002:a2e:1710:: with SMTP id l16-v6mr1451489lje.74.1529069411337; Fri, 15 Jun 2018 06:30:11 -0700 (PDT) Received: from localhost.localdomain ([213.255.186.34]) by smtp.gmail.com with ESMTPSA id x8-v6sm1444187ljj.54.2018.06.15.06.30.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Jun 2018 06:30:10 -0700 (PDT) Date: Fri, 15 Jun 2018 16:30:03 +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, arnd@arndb.de, dmitry.torokhov@gmail.com, sre@kernel.org, chenjh@rock-chips.com, andrew.smirnov@gmail.com, linus.walleij@linaro.org, kstewart@linuxfoundation.org, heiko@sntech.de, gregkh@linuxfoundation.org Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, mikko.mutanen@fi.rohmeurope.com, heikki.haikola@fi.rohmeurope.com Subject: [PATCH v6 2/4] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC Message-ID: 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 | 67 ++++++++++++++++++++++ 1 file changed, 67 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..67f2616288d9 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.txt @@ -0,0 +1,67 @@ +* 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. + +Datasheet for PMIC is available at: +https://www.rohm.com/datasheet/BD71837MWV/bd71837mwv-e + +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. + - clocks : The parent clock connected to PMIC. If this is missng + 32768 KHz clock is assumed. + - #clock-cells : Should be 0 + - regulators: : List of child nodes that specify the regulators + Please see ../regulator/rohm,bd71837-regulator.txt + +Optional properties: +- clock-output-names : Should contain name for output clock. + +Example: + + /* external oscillator node */ + osc: oscillator { + compatible = "fixed-clock"; + #clock-cells = <1>; + clock-frequency = <32768>; + clock-output-names = "osc"; + }; + + /* PMIC node */ + + pmic: pmic@4b { + compatible = "rohm,bd71837"; + reg = <0x4b>; + interrupt-parent = <&gpio1>; + interrupts = <29 GPIO_ACTIVE_LOW>; + interrupt-names = "irq"; + #clock-cells = <0>; + clocks = <&osc 0>; + clock-output-names = "bd71837-32k-out"; + + regulators { + buck1: BUCK1 { + regulator-name = "buck1"; + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1300000>; + regulator-boot-on; + regulator-ramp-delay = <1250>; + }; + /* ... */ + }; + }; + + /* Clock consumer node */ + + foo@0 { + compatible = "bar,foo"; + /* ... */ + clock-names = "my-clock"; + clocks = <&pmic>; + }; -- 2.14.3