Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2212865ybb; Fri, 27 Mar 2020 01:00:18 -0700 (PDT) X-Google-Smtp-Source: ADFU+vubiZMjB04fi9uoYHSgqhYRJsY1PoOv/5VTKQr4NvbkALyOXaXs9toUajzx/v1vVSVddc0r X-Received: by 2002:a54:4181:: with SMTP id 1mr3194750oiy.158.1585296018089; Fri, 27 Mar 2020 01:00:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585296018; cv=none; d=google.com; s=arc-20160816; b=ru9lfxl3svlXdJbZz4f2wjdzzx7STYIFgs5Szbpz5b8vi0AKspYZZ7r5yUjFd1fpV4 FlaG4j6ackh9M1i9XSOraQxQ0CnPbsPIlfFI12fjXWhUH3SvftOAzVKIphdNebaTEA78 eDfnLh+itCSdkJ3gU6JWhr9N6ogn6r/7t9U7touycj0TSAPclRJlHOyfNQkUEILWSaFl eeGjtRimADxeLV+HGEpw0b84qrGjRsDUAzXKJFjJj5JQWM7Jz5CHvt9rtYSoGtamewVR 1A0uWMb+3IWur76KVyTXOGSAujxpDL6hEymAv00vsHqA8YcDNx9yB67bcwb62zXz41tW fGHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=A3SXt9hKtlX1+t84Pw/hXlXdpS45L5XvfwgDMGD8Nko=; b=Vpx/KaKo2Yg35N1esWr7jyVz8siAQMvoyESKdmdmUFvQ8g+biqopsUwk1B+a0OwRjs Kf+VqhZJWKWYF56PZvZ9L9ozyjfCEYHOad0+NI5mBVQET91Y4IKkrC9h5l9+zndSRm0/ cw7Q47VFX5nxsZ3GhTZNq+Nn5rburHNoukXkmKb3lQ2GATII+NaJM7QypIgXzHEFdDqG eYWjctgSObWud/SyKR7eY3X8T3s30taAyTT/9vAVUcOXWmUq9d1oi9H4G8NrOPfF0KL8 g4WajFA9elmIZKvfc6v7qhn3gfH89g0ckGrLSFJTSvLEaYWUgWtJAyZZeQq8LkzGGnBc +nRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PH8Cpe40; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c203si2066485oib.273.2020.03.27.01.00.03; Fri, 27 Mar 2020 01:00:18 -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; dkim=pass header.i=@linaro.org header.s=google header.b=PH8Cpe40; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726193AbgC0H7Z (ORCPT + 99 others); Fri, 27 Mar 2020 03:59:25 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:51658 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726106AbgC0H7Z (ORCPT ); Fri, 27 Mar 2020 03:59:25 -0400 Received: by mail-wm1-f68.google.com with SMTP id c187so10480462wme.1 for ; Fri, 27 Mar 2020 00:59:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=A3SXt9hKtlX1+t84Pw/hXlXdpS45L5XvfwgDMGD8Nko=; b=PH8Cpe40EpSF7HB9AKeXxzJ1+XtwHVysz14bHbN16e+oAMowvX590ARQroH633UNUx f+rXTFoH9FEkJAs7AxlbINo7Io1KUh/QFsEU8hRJ9UckHHvOyK7uT0gnRWIn3lTqIZY4 VszUzEF1c3iVwZtq8xr/Rt/1h927SDlUfEc3OYlTsKwkk+jjDeGWQGxXLmy6eLqf4h36 lsPty8cviKyEar+HtlgyOxKTG96MgoiP5Z5fmuckNar2L1b07WKA6JgNmp3TVlz0JHUy MrUeIChjLJzTnqWcwr7loYjzbUPin3CRt93ie1JeIhqrWzu9HH6lGKmZfzWobXn9Sobi rl0w== 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; bh=A3SXt9hKtlX1+t84Pw/hXlXdpS45L5XvfwgDMGD8Nko=; b=Ml1j8/Dcp1U/jY2bbE2uSFqASY5OYUnZq7H181Q5dkJK1omyfj57HVbvSCoFu1i6N6 6PcKbXvJQcZymKOPt8X4d4+Oywgl0GRJZIUqLZqUuyeWQJmQ+e+QldFSOJIc+faYrPk4 iyMCyQKsF+QF7Mfv5GUrC41fHj+BmVoN8hVSUa9G9wTL3EdaerG0iwCw1cQPDsdSOl0z DzhdHkEQhxf8VxceMiMEfdOv6MrfU0ZRQ8oUb7KDqmMjh3MaCNq80Z2Ugy1b/ZMfRK2D 8UsWfx4J7tSGSpSXPuzx12N5pU1iOFMEnnO3IBF6YOFv5t8/DrOxN+2LK43D6sA9CHhx 8Y4w== X-Gm-Message-State: ANhLgQ1dk8ECWWHiW4ldFoyHESg/0qf0eAIAKnEFvEEs6zNAJuWVWF4N BmW1ahg7mq4Ko2W66PHBpHBHZQ== X-Received: by 2002:a7b:ca52:: with SMTP id m18mr3951832wml.156.1585295963787; Fri, 27 Mar 2020 00:59:23 -0700 (PDT) Received: from dell ([95.149.164.95]) by smtp.gmail.com with ESMTPSA id o9sm7378769wrx.48.2020.03.27.00.59.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Mar 2020 00:59:22 -0700 (PDT) Date: Fri, 27 Mar 2020 08:00:13 +0000 From: Lee Jones To: Saravanan Sekar Cc: robh+dt@kernel.org, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, sre@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH v4 1/5] dt-bindings: mfd: add document bindings for mp2629 Message-ID: <20200327080013.GG603801@dell> References: <20200322224626.13160-1-sravanhome@gmail.com> <20200322224626.13160-2-sravanhome@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200322224626.13160-2-sravanhome@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 22 Mar 2020, Saravanan Sekar wrote: > Add device tree binding information for mp2629 mfd driver. > > Signed-off-by: Saravanan Sekar > --- > .../devicetree/bindings/mfd/mps,mp2629.yaml | 60 +++++++++++++++++++ > 1 file changed, 60 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..314309ea91ac > --- /dev/null > +++ b/Documentation/devicetree/bindings/mfd/mps,mp2629.yaml > @@ -0,0 +1,60 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mfd/mps,mp2629.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# Are these links supposed to work? > +title: MP2629 Battery Charger PMIC from Monolithic Power System. > + > +maintainers: > + - Saravanan Sekar > + > +description: | > + MP2629 is an PMIC providing battery charging and power supply for smartphones, s/an/a/ > + wireless camera and portable devices. Chip is contrlled over I2C. Spell check! > + The MFD device handles battery charger controller and ADC IIO device for > + battery, system voltage MFD isn't a thing. We made it up. Please describe it as it is in the datasheet. > +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 { i2c@0x???????? > + #address-cells = <1>; > + #size-cells = <0>; > + > + pmic@4b { > + compatible = "mps,mp2629"; > + reg = <0x4b>; > + > + interrupt-controller; > + interrupt-parent = <&gpio2>; > + #interrupt-cells = <2>; > + interrupts = <3 IRQ_TYPE_LEVEL_HIGH>; > + }; > + }; -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog