Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6334721imm; Mon, 27 Aug 2018 13:59:16 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbcpljPHAfbb60lbZF0ywV4REUMockzy8Inxis63ubNhz5yUjKTHOB6fVq6+eft/WbK6Ajs X-Received: by 2002:a62:5543:: with SMTP id j64-v6mr15733352pfb.188.1535403556659; Mon, 27 Aug 2018 13:59:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535403556; cv=none; d=google.com; s=arc-20160816; b=j333pG9NYt+JZjdTUDv4SkgLfVrMCqjzEIWHMn0/7ufhCyyPR6a+U87d1qLq+qKjcK 60tuwp0zUjWECdvpv9IfkoBM6y2hRQCGwlXXfSyAOvqB78kXpMYTHTRkBv/BDSztsa55 l3/2l46zSoZ37YmSCH6pvXAsTm1hC6Xzk6NMEew2KDYbx6qNJy4dh9u7trrWMWFdHrdu 15cd2JtTDMSuVbHEmUgW04BF/vjRhRMABkMe0vBOuSglmhizYTFBZOcG/eIkfIXQg8fD g9QvfmjSl+Fdu+TZH0o9P1LNn64t6aov1A46RqqyY6A0mjKxh8WxStANrGGmGhADUzy1 5mYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=xorRb7/cjaCm19NXG7RAkRdxlwkOkxO0ka1UNCQymGA=; b=weViEaQYDQ/KDjGTyIQAXesJhkGdTLgElvdZq/zny5NbEOzrw69ZP+y5sUABV8W2kj qqAdZG5637XuiOlnpDsKcvGXwS+8ibAw6aNXxDu3ze02PDJhlGUHICJQ0XlNfX4uPtny OFGKqIG9SWk7ZGbYJ7LQWNLKXPo+13pcNNaYZxmLaW+c1MPFTBDZFeMJOODMY+seu9g0 1f6HvL5WXkbK48juJwbDYSGbuBCucuNpDQE1kkxx4K2vnqLqi1KxyaDOECgY38IYVRi/ 13zxmxiMvB4hzbcLmDm6zzj9igRFXxqvuJPrOFIiK50LQs5FaXXn64/KVSgnwV7D+W/R O2mw== 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 m192-v6si235217pga.410.2018.08.27.13.59.00; Mon, 27 Aug 2018 13:59:16 -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 S1727490AbeH1ApV (ORCPT + 99 others); Mon, 27 Aug 2018 20:45:21 -0400 Received: from mail.bootlin.com ([62.4.15.54]:52380 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726958AbeH1ApV (ORCPT ); Mon, 27 Aug 2018 20:45:21 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id F127B207B0; Mon, 27 Aug 2018 22:57:03 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (unknown [88.191.26.124]) by mail.bootlin.com (Postfix) with ESMTPSA id C786320734; Mon, 27 Aug 2018 22:57:03 +0200 (CEST) Date: Mon, 27 Aug 2018 22:57:03 +0200 From: Alexandre Belloni To: Quentin Schulz Cc: Rob Herring , ralf@linux-mips.org, paul.burton@mips.com, jhogan@kernel.org, mark.rutland@arm.com, davem@davemloft.net, kishon@ti.com, andrew@lunn.ch, f.fainelli@gmail.com, linux-mips@linux-mips.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, allan.nielsen@microsemi.com, thomas.petazzoni@bootlin.com Subject: Re: [PATCH net-next 02/10] dt-bindings: net: ocelot: remove hsio from the list of register address spaces Message-ID: <20180827205703.GE24549@piout.net> References: <3558e538b55a2249b0a179c04c27e9d3715bbbaa.1532954208.git-series.quentin.schulz@bootlin.com> <20180813223103.GA16669@rob-hp-laptop> <20180814064953.vboz2gryq4jff34n@qschulz> <20180814124135.GK943@piout.net> <20180816142514.pf4eiqeditoy4uei@qschulz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180816142514.pf4eiqeditoy4uei@qschulz> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/08/2018 16:25:14+0200, Quentin Schulz wrote: > Hi Alexandre, > > On Tue, Aug 14, 2018 at 02:41:35PM +0200, Alexandre Belloni wrote: > > On 14/08/2018 08:49:53+0200, Quentin Schulz wrote: > > > Understood but it's an intermediate patch. Later (patch 8), the SerDes > > > muxing "controller" is added as a child to this node. There most likely > > > will be some others in the future (temperature sensor for example). > > > > > > Furthermore, there's already a simple-mfd without children in this file: > > > https://elixir.bootlin.com/linux/latest/source/Documentation/devicetree/bindings/mips/mscc.txt#L19 > > > > > > How should we handle this case? > > > > > > > There were child nodes in previous version of the binding. You can > > remove simple-mfd now. The useful registers that are not used by any > > drivers are gpr and chipid. > > > > And what about the use case I'm facing? I've got child nodes defined in > it but with a later patch (but they actually haven't made it to the > DT binding documentation, so that's for the next version of the patch > series). > I guess you should keep simple-mfd for hsio because it will have child nodes. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com