Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp329932ybz; Fri, 17 Apr 2020 01:51:46 -0700 (PDT) X-Google-Smtp-Source: APiQypLX6WwunVWheBWD2Ita/8Onxyai5u0NmWXKV/i674KdmUX4BbhhtjQ7cz3eVZs1NeSBXetI X-Received: by 2002:a50:ee0e:: with SMTP id g14mr1972872eds.34.1587113506211; Fri, 17 Apr 2020 01:51:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587113506; cv=none; d=google.com; s=arc-20160816; b=Zz6zcYZT6OAYa9MdGYODPftDXUoAjbXt+qPObrgNOAl6OtvoC7enRtJ7J5ihTi5qSy B3EzAT40FbsEK+ytx8wO+ciDMMvPHCZzz3AIPJeYDvlfjBIfORt9g3/M72UDflEispPi zJW3WS9fCIDMGlUnkDPBk6d60L5+RpVNQkGwZD8GtIVqDQxZfo/uF376ygI4XJOZEBsz wVNxIEJ9v4cv4V8xKKh9Mo+mE5HqjS85MWguyvzH/k7yIVtM2cAyhNfI/B1WMzV6QB1w 9gCnfHw17+llcV5Zyyz+nfr+0BLrmQfh02UMwa/pc1xo/LzD+GnGrFXh9zazG6W4Z6j/ VIfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=NCVZU/bSt76/hiidvSrjEJc/qNxlzUEMq/1bB2ttNxY=; b=xk/yP2yMVw8N5b6TryTWcC9iO6zZHyMgilDMtTnyGQwdL8a2xwoH9nQNGlqawcUKhg LCcHdjVWkU0MzlUft8Vp+bTKJt/NGFHxinocvQV//NukVAIvcYLes0AQhwsjqtevg/qW TN5gvMjer+zhmaggEUoouenRRwIOXsVNnomY0yu6z4arQy+aSy53jDvf5z4GbyvVOEbh SLjbSXGaJe6tSGb27FGRgZRyKI8VEx9YWDnpHyC7nZjYXEndF0RaztvVpwwH/uP5Rc/9 J5ubxoDxdg5+YwpA/oM9EZJ9oSXwIHQbo6LrTeEQ/knRiYNetjv1qlAOA5miVCPYFLSF EwRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=W5OxyGua; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y44si13721611ede.532.2020.04.17.01.51.23; Fri, 17 Apr 2020 01:51:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=W5OxyGua; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729937AbgDQIuZ (ORCPT + 99 others); Fri, 17 Apr 2020 04:50:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729748AbgDQIuV (ORCPT ); Fri, 17 Apr 2020 04:50:21 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF631C061A0F; Fri, 17 Apr 2020 01:50:20 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id k13so889797wrw.7; Fri, 17 Apr 2020 01:50:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NCVZU/bSt76/hiidvSrjEJc/qNxlzUEMq/1bB2ttNxY=; b=W5OxyGuanL+7DSyVsNAI8cIt5HT0/VgXRrpMmjaQI1BDXmK8Yxs0x7vOR1XUp3quYc dzU6XZejFy5lC+HqWU6Ayq0VY2qjpzYddZdj4EKfHK/FScdaXBscgJ6cEzVkeOYkwck4 1poskfy9VL94QkQPps57vIYyuPdLRkWCbAuDiOvL46aRJdEuHD5+ILOdfyhcGxQnHsrs qFkmPr1BtneHJaLZWAFF1BpG/FUYmIrNUeSghiZpeNsgw27deK342yxwrvg2ENc9ggvt xWpiwsbQ14O/qadvHmRhdzu+V76V4gfW8UnFj4auj7RpHkeuUGMzPbeWUFq/j6XjXpDT Nu/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=NCVZU/bSt76/hiidvSrjEJc/qNxlzUEMq/1bB2ttNxY=; b=FThjYW7yKVENIH7WG1y7LyCMCsk3e6ZwPY+4auqv9sNjnJQxQXnUrSF/C9GrBJ2lPy MHdos4D+NAMSH+wVX1xyN/8Tdoy1OZ+Q5/d/NEyRP9Qj3r3WhLZyfXXvatR3qEWGN4Lu WjYTqmni+pxwKSQ4m2f6+cyQ5A9dENDr4T9nzWaXqdENrrhs4T/LDPfSowvQEjrC8+ws JkDoDpy6O0tEZnHn/k28Jm+zs7li2z6D2Lo3twn6I+Wg7/8GE761XgOkX55cSND4pUSI bpb94FPAAVvmtbXN7sKEHGSFPA22Qd4UHI6TYCrBn1NwqIp8hfBF7XeJvqB+Hi77MZA1 89uA== X-Gm-Message-State: AGi0PuacyPwye3IQblDZfYCY2hFgjAR/JLqIlaCAL+7oyzNDJxLV1CoF 1EhsPoqWvKyKpRMYYlw4Q9E= X-Received: by 2002:a5d:60ca:: with SMTP id x10mr2641819wrt.407.1587113419736; Fri, 17 Apr 2020 01:50:19 -0700 (PDT) Received: from localhost.localdomain (p5B3F7443.dip0.t-ipconnect.de. [91.63.116.67]) by smtp.gmail.com with ESMTPSA id l5sm6807527wmi.22.2020.04.17.01.50.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Apr 2020 01:50:19 -0700 (PDT) From: Saravanan Sekar To: lee.jones@linaro.org, andy.shevchenko@gmail.com, robh+dt@kernel.org, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, sre@kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-pm@vger.kernel.org, Saravanan Sekar Subject: [PATCH v10 1/6] dt-bindings: mfd: add document bindings for mp2629 Date: Fri, 17 Apr 2020 10:49:58 +0200 Message-Id: <20200417085003.6124-2-sravanhome@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200417085003.6124-1-sravanhome@gmail.com> References: <20200417085003.6124-1-sravanhome@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device tree binding information for mp2629 mfd driver. Signed-off-by: Saravanan Sekar Reviewed-by: Andy Shevchenko --- .../devicetree/bindings/mfd/mps,mp2629.yaml | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/mps,mp2629.yaml diff --git a/Documentation/devicetree/bindings/mfd/mps,mp2629.yaml b/Documentation/devicetree/bindings/mfd/mps,mp2629.yaml new file mode 100644 index 000000000000..b25b29259d67 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/mps,mp2629.yaml @@ -0,0 +1,61 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/mps,mp2629.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MP2629 Battery Charger PMIC from Monolithic Power System. + +maintainers: + - Saravanan Sekar + +description: | + MP2629 is a PMIC providing battery charging and power supply for smartphones, + wireless camera and portable devices. Chip is controlled over I2C. + + The battery charge management device handles battery charger controller and + ADC IIO device for battery, system voltage + +properties: + compatible: + const: mps,mp2629 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + interrupt-controller: true + + "#interrupt-cells": + const: 2 + description: + The first cell is the IRQ number, the second cell is the trigger type. + +required: + - compatible + - reg + - interrupts + - interrupt-controller + - "#interrupt-cells" + +examples: + - | + #include + #include + i2c@7e205000 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x7e205000 0x200>; + + pmic@4b { + compatible = "mps,mp2629"; + reg = <0x4b>; + + interrupt-controller; + interrupt-parent = <&gpio2>; + #interrupt-cells = <2>; + interrupts = <3 IRQ_TYPE_LEVEL_HIGH>; + }; + }; -- 2.17.1