Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp144179imm; Wed, 30 May 2018 20:02:13 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJVup0IRn565h/7hd3QYMk1Xlhldid2txAOKemwUN3gmmkDABeVtQkT1tCXfWXjhelciAlc X-Received: by 2002:a62:1549:: with SMTP id 70-v6mr5139553pfv.91.1527735733406; Wed, 30 May 2018 20:02:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527735733; cv=none; d=google.com; s=arc-20160816; b=Xe0wkaoZa1dWa5UxRn36tR5K6sQFNd2tnGqJqcOyvqtTxVThYVNyRWKAf0aEW/MAZO h7KMVPBvGwR302yTgmpSCsBDFKVeJtldck06czwes6qK6LtZUFpCkD1myyC5VPosTyCO ApxPxfXXyApOHxxuGtWEVHh5Fi72mTWsSTqn8l5KRpJ5l5qQD02Ps7fH4TiUR7NEoMZZ Yo7tLUjcamyF1DFg4a27OLKnp4PYgxJi4BI0U2p+mTAdRs/BW37VFCkgAhXnYuUzNV5l Oiu+s/t3xJcRpDx77Qjh+XqkcGawpxzq38MXqlbTYF8Yd4W3nfEw/EeM5qs4r5KKijmy s6UA== 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=hIcbWV2ldOV0Ogkul9teyxENBoyLrz0fwvgv2aPkYaM=; b=ZaVKt+NtEp7GCIUUkxe6MRL+BAxBr3+EvrT5T78RsTz3iKfjbQ0KCKWBkjRvpIAWCX O3WZTqZ9ohMQQ44IfsVpgpVWtdUjFmc6NED9FJZA639KrsDuElHj+DTkS0CKIZqwXAmt dZ34Y6CUxs6ty+tcpeYHQmB0LwILNivM1At/RMXCcdQHVcS/iyNzaXPLB8ABrSNmzdCJ Zgq/wAerkrYE93NRRXfIvmw7IlsYPCA+g4R+hJQx9S/lYBXrfB0iZtpLDTMEnnO31C5z M0v06r+77mzQXE92kt5OhkFTcvLlPCqfy7d4RAJTwm/qfZQzSJhNc+buS9wyq6ebEVlG EKJQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 5-v6si10208535pgb.430.2018.05.30.20.01.57; Wed, 30 May 2018 20:02: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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932667AbeEaDBd (ORCPT + 99 others); Wed, 30 May 2018 23:01:33 -0400 Received: from mail-yw0-f193.google.com ([209.85.161.193]:32877 "EHLO mail-yw0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932633AbeEaDBb (ORCPT ); Wed, 30 May 2018 23:01:31 -0400 Received: by mail-yw0-f193.google.com with SMTP id u124-v6so5565431ywg.0; Wed, 30 May 2018 20:01:31 -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=hIcbWV2ldOV0Ogkul9teyxENBoyLrz0fwvgv2aPkYaM=; b=hCZWvT8KWhSTjWZ8U+lXcusMcTr0eV6cgLoTQpt6wl/n7LoO57DbiOUJa3SEDCpaS9 2Ng7X5nmy2xz5mJFommmwKQgq3cAd8frLbqAqMUbctf8gaPeM3s517vJzOlBb7S/Bd8k wg/T7MYj+7y6YrJd1qydp0LATSIErWa9qSDpeQWqEWMyCbw26zSe3QslHaoI/TUc3Hpv 4qtJXdwct3Igpn48XMKWD79SDfrbu9P4Cop6ZVtW98WEuQpGQeSSyD86FakaY/85r2Mu xQN/9Gutn8kFiDqG4MOhpKZ7RYF1bKb0dHIdj/dILTrgWgi7JndVMtdz46teBn2orGpY 2a/A== X-Gm-Message-State: ALKqPweKgVoC6KmrOWp2jUEnN35dKXxSOggrRj7DRmqHQpBI5/HMUKqT IHrDqhNY3Sv3qaqAK1lhdQ== X-Received: by 2002:a81:48d8:: with SMTP id v207-v6mr17203ywa.403.1527735690771; Wed, 30 May 2018 20:01:30 -0700 (PDT) Received: from localhost (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.gmail.com with ESMTPSA id k203-v6sm17133257ywb.34.2018.05.30.20.01.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 May 2018 20:01:30 -0700 (PDT) Date: Wed, 30 May 2018 22:01:29 -0500 From: Rob Herring To: Matti Vaittinen Cc: mturquette@baylibre.com, sboyd@kernel.org, mark.rutland@arm.com, lee.jones@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, mazziesaccount@gmail.com, 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: Re: [PATCH v4 2/6] mfd: bd71837: Devicetree bindings for ROHM BD71837 PMIC Message-ID: <20180531030129.GA16122@rob-hp-laptop> References: <3b05ca98a671a762013c312f8b70543402ee7556.1527669443.git.matti.vaittinen@fi.rohmeurope.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3b05ca98a671a762013c312f8b70543402ee7556.1527669443.git.matti.vaittinen@fi.rohmeurope.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 30, 2018 at 11:42:03AM +0300, Matti Vaittinen wrote: > 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. What sub blocks have interrupts? > + - #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 { Node names should be generic ideally. So "pmic@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 { clock-controller { > + compatible = "rohm,bd71837-clk"; > + #clock-cells = <0>; > + clock-frequency = <32768>; Can this be anything else? > + clock-output-names = "bd71837-32k-out"; > + }; > + }; > -- > 2.14.3 >