Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4244745imm; Wed, 30 May 2018 01:45:13 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIxFg+Xei6tFeB/R9ZRZ5BGoxaYBodRM8TAWdptpokTXEKrsgD3MgNyM5QyMARKDQr5iemF X-Received: by 2002:a65:5546:: with SMTP id t6-v6mr1505543pgr.363.1527669913454; Wed, 30 May 2018 01:45:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527669913; cv=none; d=google.com; s=arc-20160816; b=ln0Wc4Pl2of8tbYE8MOyjAoMqVPPTuRpM742BvbEPgucoXbHebleI20MiXZJnAKBFr aV4gYbFf+slNDpOR0Cw70rgjhcz6OV5yjYE5KJfu4JZDzXLfg8nmnpIBRd01Kko4MB/s Y666QuarnBRFKMUULHCCdXNMPAej2lFw1fxDjzkeml4V4ZJ547ygA/ydVIvzFjMdBlfl OCGsb2yvM2hGumA4AxV1NCBLZEJiVcA8JxDYXQQgBhuSjzI3b8s8dsD6JzDOvpsUitcV 0eYdnFDZVrrlls6lDaR3kE97ehtWoaixTt15duDlnvX/dehmrEeqE1unGpQ9ESZs5la2 Ym4Q== 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=xsfuEo7foyt4cgSnD+floAF7Nha4Bp0XJVwjC9fU5BJeti9Dxo2RP0Fil9Em6F3wCY pLN8zajQhbNsQ0TRoPvmPV0UQSMqV8JHAPnM+DFJ5OQZfgAQVI5eiIZ5BZeiR25lWYAq C/b59gvvecJcTo2yu1qrPSu1tARb4ZIwCbNVay1+199vqlWpc/AsspxsjyrEOaBoESk7 97cEGxQwqex/WrIvSMTp2Hhioo/05+lLxQgjjuMk91V5u65YeMv5cWO9x9GKBRkJvkZq F8lmb7oPLSm/oo1AX2a5BPv4iYu+hp9zzCSrNP6fmsS5LOhZ9awplofGcd1JOwNmsk9g MSXg== 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 w20-v6si22057558pgc.645.2018.05.30.01.44.59; Wed, 30 May 2018 01:45:13 -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 S936109AbeE3Imp (ORCPT + 99 others); Wed, 30 May 2018 04:42:45 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:40761 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936021AbeE3ImM (ORCPT ); Wed, 30 May 2018 04:42:12 -0400 Received: by mail-lf0-f65.google.com with SMTP id q11-v6so2994045lfc.7; Wed, 30 May 2018 01:42:11 -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=YT9Y2zsb4e2vvN2geWo6juKTX6io2h2q9QxOGXlnP+MdPTBDFaUMO4lxd829TY1+fs Z4tLWl5wlixskrXmoBAEOl8mlXBEhN22zsVRNJIr1S0QtJkxRpHvKe63VLRqFNP48mIb STdbtKBXG+seAdTUiA8034JdzkO7c0lRHJrWPcTjQBjlE1HxGY+cENcWTv66PFDfKxTX FwmTHGpMf7GvP+N68uYL6b5ImtfPpLjS6ca+GLhrsTn2OrH+lOFabgMiHVSbg2zqXfgH 2cZbO4000UikRYvnBGzGRoR6N27VccF93P0dSTJJubW9U4HQVkzWhQINJtcIzZMzNj1u 6QTA== X-Gm-Message-State: ALKqPweWGTRq4qzeD1gMPracgr3YD8u5UBSTMLRZMkiLxToHilVbQ0mC 8AI92wSn85QHh/49+nqL0EE= X-Received: by 2002:a19:f001:: with SMTP id p1-v6mr1148525lfc.77.1527669731202; Wed, 30 May 2018 01:42:11 -0700 (PDT) Received: from localhost.localdomain ([213.255.186.34]) by smtp.gmail.com with ESMTPSA id z5-v6sm1730491lff.87.2018.05.30.01.42.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 May 2018 01:42:10 -0700 (PDT) Date: Wed, 30 May 2018 11:42: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 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 v4 2/6] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC Message-ID: <3b05ca98a671a762013c312f8b70543402ee7556.1527669443.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