Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp459870ybb; Wed, 8 Apr 2020 03:28:21 -0700 (PDT) X-Google-Smtp-Source: APiQypJRjXCTc4xD9Jr2AKKBpTIR3fD+g71++y0H8ALUVey25FvkDPwPNdxAgH32jhVAjaubP5Ug X-Received: by 2002:aca:474e:: with SMTP id u75mr1856733oia.52.1586341701100; Wed, 08 Apr 2020 03:28:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586341701; cv=none; d=google.com; s=arc-20160816; b=uHQAvs47KJgEepoUTap7d6d4q/zvE58YCRm7GuRe/JfYmNQLsXPN5RMoT+r26xncX4 mzwiE7S85OT0DGmohAtgsmsU+B3kxTMB8CdlFJ0kgFN6jGk47kzqz94LP3QqRkubro4S 3VyucQBgUCGSyFaEBLmHGGDy6JOwExbL7hx/kXQ0N+T28tnIyuFOScJFopR2LMRLnngO PYZuS5u8ktxN5sr9zv4VPk8wjLPmOw4gh1HTnxsXhghnxFGmXOW2kwte0CiCMgkqjW1e +AobtEYLggiRYQQXQW4kkmPrUeB5mnWgGncH+aoWrIJXU5d0MlV+RL9Ufe3FNJSir/u1 P+eg== 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=25069VDYosEmyzjyjgB1Fr18hxU9v2CBSXz/PzXbBl8=; b=TBkq42On2M8TugdC8SLr1z/3UcIXoYv9w5zuP9vkBrgdBvD514D9s6XvDz9nrHhhFC jEYA7w7C4hC+tfjPvA3d2WZbjmNWDSYqzOG5sByOIkNjGUYH9zBhpmB9cOIwAlhp1KP9 oIOlcFmatSRLUeNjh36psGls9jj/LGfyAE+CqDAadDIeK6mHE195dNVidy1Sxv088xGg ngFsQepzy2ytUd/8ay9BZeRHcvSC9IXqiYwJ6VkbTX1KBssPaj19qUJCteR2xy6CSu9q kXHR+ulZCzw5dJxFktbXRfZnn6qIge0dA+spyYpjjq9zCTmE0E2bFj+LWFGRyt766RAB jNfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qH2Gq9of; 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 51si2422777oty.202.2020.04.08.03.28.06; Wed, 08 Apr 2020 03:28:21 -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=qH2Gq9of; 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 S1727998AbgDHKON (ORCPT + 99 others); Wed, 8 Apr 2020 06:14:13 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:35920 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727912AbgDHKOM (ORCPT ); Wed, 8 Apr 2020 06:14:12 -0400 Received: by mail-wm1-f68.google.com with SMTP id d202so4823371wmd.1 for ; Wed, 08 Apr 2020 03:14:11 -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=25069VDYosEmyzjyjgB1Fr18hxU9v2CBSXz/PzXbBl8=; b=qH2Gq9ofUudA1pSW/odMa2/8M3XmMMz4UqX2oplXnZzl9Zo6pq3fFKvWczVldbcoE3 rCblbFO7EivrifQ0yexwYerKq5cUSFOuFmSsm+ChZxBrayh9ItBM00FDUsvaif0CzZUT yXwnsYgQPkmmQec1o15WiCKzl7gZ5VKsbTqCIqd3B+4Vp56sx080HaaB3XlU92ixc7j+ lxi3bHPtjS9RgyNojZsXRodNFPBF4XYPZQdnvvXcwz+1uGfrkDexovaZic2rcBwRZ8ii 3QNtzuH4yGE4hmhzJEFo6vFePo89Z8YhFrjA40dtu/+8URe59utwIJ0kIMFqkLvlzLB5 qsaw== 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=25069VDYosEmyzjyjgB1Fr18hxU9v2CBSXz/PzXbBl8=; b=bFwV5UcIqdjK2J3o/NrIWT2hGoD4ASXlRezGRcLcnY6QJ1373TyNKZxsEtQYYXHHh0 zYsh8GunVm1civA4oFtauBf+nRLQ3xSD3T4X51YbmyPmF8BZa+WVISermhbHFO8FhsiE HipdqBpzDicL6klSYmREUTL+TJV4gSNsX3pdynMj4IcxC0DeCiX56WPctlZpQnx4ygru yw1mFhbqTsNk4lswTgdpR9BdQfl3LmO0v5e7Lw5SPwV8cn6GbYWwSXShD6zhtv8oFW9n 3kUeEb9DX0jEtVQ+PSuvKxIY64lwic765bZprm9fchpNEELKvwNnDA/dlWT/RiBBo4pJ 4Chg== X-Gm-Message-State: AGi0PuYUMuqI1XIa+N+qNVmaRxyxCJO7knAR9JtFlRiZ5C1rd3jztDm6 m/yN3mVBChNjc4fTpCCGoudeXg== X-Received: by 2002:a05:600c:2c06:: with SMTP id q6mr3967744wmg.42.1586340850731; Wed, 08 Apr 2020 03:14:10 -0700 (PDT) Received: from dell ([2.31.167.253]) by smtp.gmail.com with ESMTPSA id y7sm33984899wrq.54.2020.04.08.03.14.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Apr 2020 03:14:10 -0700 (PDT) Date: Wed, 8 Apr 2020 11:15:06 +0100 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: <20200408101506.GI30614@dell> References: <20200322224626.13160-1-sravanhome@gmail.com> <20200322224626.13160-2-sravanhome@gmail.com> <20200327080013.GG603801@dell> <20200330064630.GA30614@dell> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 07 Apr 2020, saravanan sekar wrote: > Hi Lee, > > On 30/03/20 8:46 am, Lee Jones wrote: > > On Fri, 27 Mar 2020, saravanan sekar wrote: > > > On 27/03/20 9:00 am, Lee Jones wrote: > > > > 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? > > > Not really, but as far my understanding needed for dt-bindings check > > Rob, why are these here if they just result in 404s? > > > > > > > +examples: > > > > > + - | > > > > > + #include > > > > > + #include > > > > > + i2c { > > > > i2c@0x???????? > > > Its a I2C controller node, I don't think address is needed. Mention like > > > this my previous other driver patches, > > This doesn't sound right. > > > > How do you control/operate the controller? > > > > Surely you read/write from/to registers? > > > Indeed, but each SoC will have different address so which address to mention > here. > For me it should be like &i2c {}, anyhow I respect maintainers review (I can > give RPi I2c bus address used for testing) > and wait for Rob's reply It's only an example. It doesn't have to match any real H/W. > > > dt_binding_check is also passed > > > > > > > > + #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