Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3108324ybb; Sun, 22 Mar 2020 15:47:11 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtXWknlgPZf8xDQdMb3nBoSkCmuCT3qa+cn77VBJ4V+jZDerB+Gj9zxQyaFgPe9+C64L8+g X-Received: by 2002:a9d:6418:: with SMTP id h24mr15715940otl.172.1584917230873; Sun, 22 Mar 2020 15:47:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584917230; cv=none; d=google.com; s=arc-20160816; b=hVjzb00eNasS2jrQteUum/2n1SZI5T/muPXnK6HMmpHM9RHeGdiO6yOqNiAo8OPq3N isB3lq+IHAVhc/asNMhrR/MBs/mNl/MAHAxo//YtKkwON78fNbjtmI63S//MJZ97Vis9 t7x8O4bGVtrl1RKcI/MI828vu2NVd4NlfUZhJyOsgXkAva4qk4g7gs7a/cQaigZ/naHw 7bbHLOXoH8vENBzBnJOdmkW8atYn60x7uWSLPMQCNDz6jyVva2njheYcVwhOcgdB0lba vw7DIdq0nk98PAX61JgH5rwfF7zXmvFjmEF67vDCUwYfPXROn2BPuY3iPC8pCeHICpSQ 96Dw== 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=zz9hBu718mZQ2dhsZQciqBHR8CZ+3iF/z6AsVOjjjyY=; b=O4zmhXbM672YmB07pteMZuIix8F/E06lAXdM1dV+7MOiw1vaXA4CK9Kt1rV5PMFOfZ EwUb+VNcFoqEFJLusHC+gmPLTZuCAH/xT7F6RnrNmNlrUwxV8/4MGkCi2A6YXx4G4zc7 LSJyYZR98IU7Kd+//fBMlpQ6osOFCrt9iX8BhdIEddFn9DxLZuvfR+pxtSay3fJXjjUu OC0Hna7CAXsoYORVh1DK3xvUSNCXxPt0s1toTIJ+8P0PKeJc+BXs0ldW2XQEGcBQ/T2k sxJrHiF2e/ezkLzwPz6vQCZuNGADBgkd3xXPMqG99VovHKK9QMsqkloLp2KTdZDAfRdH 3h1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cljqWDWN; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j12si1337756otq.21.2020.03.22.15.46.58; Sun, 22 Mar 2020 15:47:10 -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=@gmail.com header.s=20161025 header.b=cljqWDWN; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726945AbgCVWqj (ORCPT + 99 others); Sun, 22 Mar 2020 18:46:39 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:40087 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726816AbgCVWqh (ORCPT ); Sun, 22 Mar 2020 18:46:37 -0400 Received: by mail-wr1-f68.google.com with SMTP id f3so14677840wrw.7; Sun, 22 Mar 2020 15:46:35 -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=zz9hBu718mZQ2dhsZQciqBHR8CZ+3iF/z6AsVOjjjyY=; b=cljqWDWNVqYRVCD8vIg6A/pDDgMfzse7X+Aff2doKntjJdlGKdmq5lPOWiMpWGA/Im xP2m5sVtG2/sG7P+NLDRZbGDguX0bow4/SESqsspLwmHp4Pi3VCFvKVBB/SzGOWJBZPx xg9v/x4SSCagzSiIJJQaLYL2A3qnySWTcJi46OMDT3V8rOBBUDnkRuDVZTocWxdCNE/6 JN6FEO0nmxw5Owgp9ss5vAXlVlw0iBhovNRhCfMdHbRYZdEY0nfVN76Ncc1Y5QBajOym /JVJ0Lw/vab6CXaHxN8KKsMSKRrVUSQz09hpfasi7ubzGc1FRJsLwu1dV7JZ41iE5UG1 MD3w== 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=zz9hBu718mZQ2dhsZQciqBHR8CZ+3iF/z6AsVOjjjyY=; b=K7dlMmybAxX5dFsCIY6Lu4y2D6T1hdvDq27cG+F9PjFKLQf14FXpISVb82Uj/CuQLX CuRv3bTMAS3V2TE5sEbXDc+Q1hZ4HYinw/Ef2RRhu3Fom6EBroLx1AmyhTgBriqVnUuP EleCTMsUr2vZ2iz6xuQ3mqH4osfV0TcZuzY7b3Vw5iynVyXMYRQjmlP/d9OuMTAGUIVS WVc8uBMNxcbdC6+mMagrtTaYMs2PU7LuDpjfuSBbiN6rinM1wvSUvLcJqQYVvBTiemlU 6vqUvOKqzMZokMrHddN01CnyKIROd37TwIJ8Zs0pQmz+OikJuO6P/mMOpK9YN4+3qlqQ WxuA== X-Gm-Message-State: ANhLgQ1ka66g5e8EG+0p3iiwO1Bai/fGOgKck2CBROrUzAm4xY0H/sVK e5euYHSNsdvbJKfvmyGt2gFe+UNMvTQ= X-Received: by 2002:a5d:510d:: with SMTP id s13mr15739180wrt.110.1584917195266; Sun, 22 Mar 2020 15:46:35 -0700 (PDT) Received: from localhost.localdomain (p5DCFFFE5.dip0.t-ipconnect.de. [93.207.255.229]) by smtp.gmail.com with ESMTPSA id r9sm19158549wma.47.2020.03.22.15.46.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Mar 2020 15:46:34 -0700 (PDT) From: Saravanan Sekar To: lee.jones@linaro.org, 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 v4 1/5] dt-bindings: mfd: add document bindings for mp2629 Date: Sun, 22 Mar 2020 23:46:22 +0100 Message-Id: <20200322224626.13160-2-sravanhome@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200322224626.13160-1-sravanhome@gmail.com> References: <20200322224626.13160-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 --- .../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# + +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, + wireless camera and portable devices. Chip is contrlled over I2C. + + The MFD 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 { + #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>; + }; + }; -- 2.17.1