Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1708665imm; Wed, 23 May 2018 23:00:07 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqxjOMGt+QuUW9n8BmUHOdDRfX9KHZW4ciGsZqi5/cpoqeJqiJJtoDsBs2DzKh/JyHlSBTr X-Received: by 2002:a62:1f03:: with SMTP id f3-v6mr5812224pff.213.1527141607230; Wed, 23 May 2018 23:00:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527141607; cv=none; d=google.com; s=arc-20160816; b=GQRd9NQw2tMMCwPRl1GETPQun5069xTp7TxKkHPRksvKOxreqn8Vtk5DrLpEABf2Pq TttlP0FaLolPO+RCdFvumj88cWSJNNgqNN/1vbH3MUOtC6+d/oFfQQXTqEP7fz85j2gM 20vJztvxOW1HV0Pc9I9nzatNXFdFHM/c069Vq6hCiesE+09id18uvYrXtLMJmYJQGm2d IhRLopcO7cfD9Rf2k4e4NaJ0MSgFgXabsi7mPBIM2NogqxxG7pg/YmSNKl4GdX0yA+LB zJSieBVOcW+0S/g0TldNQ/U8CqKoIWKo9B+Wp/sYwyCS3n0BhTqzdj+pYlqgcQvc+0jx fz3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-transfer-encoding :content-disposition:mime-version:message-id:subject:cc:to:from:date :arc-authentication-results; bh=VRLB/F6Rhn0DRaZ00qBxQ36MMMgK74nSt+OfnYnZjsA=; b=vPwNJ+3adRKSJuo9EvISdNU5NIl7pPOufNOiDS/wB/U7NxkmigDj9aQ/0brF6GJ2QD v3s+yLyPvqbN4UpYB4AYwqr7g7pLoSEKZefeKR/darrn+WPJGrJFXj8UMJtot8yuFXHj H5Fc3nPQeW0TdZuO8rzvIItnYC89IrRcygP+9yJPQfN+/s9D55cE8KnG4NAGbOV08rbx EmoFFD6er/ZAOW35VgeQYiRbWeuvttdT2qxzuqEKkXR9S+JAouScfPrBciafEjfPVoeT Tt4RvIeP+kQzeNLZP4OUvUY6auc8+ifYkVATWVKqRNjqssvMZG5mnMwguQmDnAXbVDxA XZLw== 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 b10-v6si20491405pla.282.2018.05.23.22.59.52; Wed, 23 May 2018 23:00:07 -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 S1755289AbeEXF56 (ORCPT + 99 others); Thu, 24 May 2018 01:57:58 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:46570 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755033AbeEXF54 (ORCPT ); Thu, 24 May 2018 01:57:56 -0400 Received: by mail-wr0-f194.google.com with SMTP id x9-v6so715554wrl.13; Wed, 23 May 2018 22:57:55 -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=VRLB/F6Rhn0DRaZ00qBxQ36MMMgK74nSt+OfnYnZjsA=; b=BCqsQa7+XruwfwZw+ADttC6XR2Mtu/K1myS+7as4P+EbpP8OvPIfdJipukbYzcm4ET ywC1H6UCE0Tp5UjDvd28mJ7y/yWY4SRudQu3E6vxuEf2XlQeN2UqMxAKNVr1YthHNoT6 67bfygH88TejLUKx9SRTXIXB4Lz3cMfMuiXoSDctU1hr4Kq2UfPkIjPlGMuliAw+NKli l2h8bDJ/T+apCsQ/SGokvKForejoZNFK0QiT7fbjlv2+hZWEz2XqcYIw8cdbamPxG/lm gkrNAI26Ge5AOWUcD8xQY3KMRJqi64XhdFN2//6VLCRLaYHIGkP+mFHNRetliiA0uwYW 6edQ== X-Gm-Message-State: ALKqPwfCD/tHjC9QEQUmnRE/eiFRO5s/k53g8OEBDR+t4ihrJiVON/Ig qdt5WB+NJsmI6yAaHvsGGiw= X-Received: by 2002:a19:949d:: with SMTP id o29-v6mr59753lfk.56.1527141474838; Wed, 23 May 2018 22:57:54 -0700 (PDT) Received: from localhost.localdomain ([213.255.186.34]) by smtp.gmail.com with ESMTPSA id k127-v6sm4778502lfe.21.2018.05.23.22.57.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 May 2018 22:57:54 -0700 (PDT) Date: Thu, 24 May 2018 08:57:52 +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 4/9] regulator: bd71837: Devicetree bindings for BD71837 regulators Message-ID: <20180524055752.GE4249@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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 regulators. Signed-off-by: Matti Vaittinen --- .../bindings/regulator/rohm,bd71837-regulator.txt | 124 +++++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/rohm,bd71837-regulator.txt diff --git a/Documentation/devicetree/bindings/regulator/rohm,bd71837-regulator.txt b/Documentation/devicetree/bindings/regulator/rohm,bd71837-regulator.txt new file mode 100644 index 000000000000..a43230143b66 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/rohm,bd71837-regulator.txt @@ -0,0 +1,124 @@ +ROHM BD71837 Power Management Integrated Circuit (PMIC) regulator bindings + +BD71837MWV is a programmable Power Management +IC (PMIC) 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 regulators 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-pmic". + - regulator-name: should be "buck1", ..., "buck8" and "ldo1", ..., "ldo7" + +List of regulators provided by this controller. BD71837 regulators node +should be sub node of the BD71837 MFD node. See BD71837 MFD bindings at +Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.txt +Regulator nodes should be named to BUCK_ and LDO_. The +definition for each of these nodes is defined using the standard +binding for regulators at +Documentation/devicetree/bindings/regulator/regulator.txt. + +The valid names for regulators are: +BUCK1, BUCK2, BUCK3, BUCK4, BUCK5, BUCK6, BUCK7, BUCK8 +LDO1, LDO2, LDO3, LDO4, LDO5, LDO6, LDO7 + +Optional properties: +- Any optional property defined in bindings/regulator/regulator.txt + +Example: +regulators { + compatible = "rohm,bd71837-pmic"; + #address-cells = <1>; + #size-cells = <0>; + buck1: BUCK1 { + pmic-supply = <&vmmcsd_fixed>; + regulator-name = "buck1"; + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1300000>; + regulator-boot-on; + regulator-ramp-delay = <1250>; + }; + buck2: BUCK2 { + regulator-name = "buck2"; + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1300000>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <1250>; + }; + buck3: BUCK3 { + regulator-name = "buck3"; + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1300000>; + regulator-boot-on; + }; + buck4: BUCK4 { + regulator-name = "buck4"; + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1300000>; + regulator-boot-on; + }; + buck5: BUCK5 { + regulator-name = "buck5"; + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1350000>; + regulator-boot-on; + }; + buck6: BUCK6 { + regulator-name = "buck6"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3300000>; + }; + buck7: BUCK7 { + regulator-name = "buck7"; + regulator-min-microvolt = <1605000>; + regulator-max-microvolt = <1995000>; + }; + buck8: BUCK8 { + regulator-name = "buck8"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1400000>; + }; + + ldo1: LDO1 { + regulator-name = "ldo1"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + }; + ldo2: LDO2 { + regulator-name = "ldo2"; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <900000>; + regulator-boot-on; + }; + ldo3: LDO3 { + regulator-name = "ldo3"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + }; + ldo4: LDO4 { + regulator-name = "ldo4"; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <1800000>; + }; + ldo5: LDO5 { + regulator-name = "ldo5"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + }; + ldo6: LDO6 { + regulator-name = "ldo6"; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <1800000>; + }; + ldo7_reg: LDO7 { + regulator-name = "ldo7"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + }; +}; + + -- 2.14.3