Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp745370imd; Thu, 1 Nov 2018 05:05:28 -0700 (PDT) X-Google-Smtp-Source: AJdET5cAsTb50NVuMM3MsNdRIBeqdIMaV/Dwjv5rXZrnD/9u4LOs74otZr/xlSF61e21r8IqBCs4 X-Received: by 2002:a63:4904:: with SMTP id w4-v6mr6902855pga.303.1541073928160; Thu, 01 Nov 2018 05:05:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541073928; cv=none; d=google.com; s=arc-20160816; b=WNyiKh2acczfTxNHeRMRTpOD2xukCo+SCqwM/e8g8+K8pYJRSyMowSJBSWHIck0MVG 50jy2Lp5bWFICt3IH6xzPTC4d6fF/aXKEGh42S+yLc3dE2HL5JIrWxvdSrx0fl79B6oY qafrr2y+7JcmoYMUal/pju+LcPLb5nhm+bZe3QUn1h7IKmZYUiDLKgp8Phtr8O8xTnq2 LXyBbvdVMudFDzr0BHFpSmmEEWSnsRBmsvP95aIufAWPVstmestwn6uqZvNgw0BeTfXv Z/jVjUz+STTgjrFfedLABn9IJBp9YKGeG2r2mMUNn9K7fUL9lGUF+Y4LT8XkihQD0/zI tGEQ== 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:dkim-signature; bh=+5Ol0FkgtUsBlmsV899qrV7t6L/m0ec1TMayPN265mA=; b=oDcaYaBTET+dhi7rBJ6FqprRm/VM+jtQjG3yPvntop+22j1yq9mqChZ9zGWtYINU9x zNLCTj+XY1NyzlJxyPPQT5P8Vwts1jcp0pFlrO00thrl0Rru6nwmumQG25lnULV+UHB2 qPeCwTy0WKG04UHfvvv7cPCtyYkWxdQdfMZJqCsroioJ1ujulWsJsQR9+4010BbpqvAl aSIdjDYikeAWZdUTmC0149B6Dv1AMv2cHuJ83ChQyzhiIrNy3PuANNgfaSP0olKPyNdE q4aYjPMNMc+QbJAEvTaVpTGI6U0cZjpCMRxGKy7v5bn2MemejS8fCHbNZCXdcUkiGQ6A CSfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=wxCepGSQ; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r22-v6si29491386pls.185.2018.11.01.05.05.07; Thu, 01 Nov 2018 05:05:28 -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=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=wxCepGSQ; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728449AbeKAVHU (ORCPT + 99 others); Thu, 1 Nov 2018 17:07:20 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:43288 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728085AbeKAVHU (ORCPT ); Thu, 1 Nov 2018 17:07:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+5Ol0FkgtUsBlmsV899qrV7t6L/m0ec1TMayPN265mA=; b=wxCepGSQPUdA31KzKBH2HFx7p 3SxGr7/aQcNF+3Q29AvFZYHXEJqViHjGKgpGDAkSpGKuqQ8UDxSCi3CiOP+ZVRry/nXBR57udodoh +nhWxRS9oAIKMNR6Y9yLFne1Wk+k0dIbSsFvdNznhDINlN25dYceYlRomWh1m3ImCBJUQ=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1gIBiE-0005T6-4o; Thu, 01 Nov 2018 12:04:34 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id D4611112260E; Thu, 1 Nov 2018 12:04:33 +0000 (GMT) Date: Thu, 1 Nov 2018 12:04:33 +0000 From: Mark Brown To: Richard Fitzgerald Cc: Charles Keepax , Lee Jones , mturquette@baylibre.com, sboyd@kernel.org, linus.walleij@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, lgirdwood@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, patches@opensource.cirrus.com, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org Subject: Re: [PATCH v2 2/5] mfd: lochnagar: Add support for the Cirrus Logic Lochnagar Message-ID: <20181101120433.GC6425@sirena.org.uk> References: <20181025074459.GF4939@dell> <20181025082621.GD16508@imbe.wolfsonmicro.main> <20181025114205.GC4870@dell> <33ea391c-aa6e-2709-6faf-4905e84229e4@opensource.cirrus.com> <20181026080051.GK4870@dell> <20181026203223.GC27137@sirena.org.uk> <20181029110439.GS4870@dell> <20181101102828.GM16508@imbe.wolfsonmicro.main> <71938ce2-00da-8ee0-c010-58c2670ee327@opensource.cirrus.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TYecfFk8j8mZq+dy" Content-Disposition: inline In-Reply-To: <71938ce2-00da-8ee0-c010-58c2670ee327@opensource.cirrus.com> X-Cookie: Excellent day to have a rotten day. 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 --TYecfFk8j8mZq+dy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Nov 01, 2018 at 11:40:01AM +0000, Richard Fitzgerald wrote: > On 01/11/18 10:28, Charles Keepax wrote: > > So pulling this out from earlier discussions in this thread, > > it seems I can happily move all the child device registration > > into device tree. I will also try this for the next version of > > the patch, unless anyone wants to object? But it does change > > the DT binding quite a lot as the individual sub drivers now > > each require their own node rather than one single unified > > Lochnagar node. > We went through this discussion with the Madera MFD patches. I had > originally implemented it using DT to register the child drivers and > it was nice in some ways each driver having its own node. But Mark > and Rob didn't like it so I went back to non-DT child registration with > all sharing the parent MFD node. It would be nice if we could stick to > one way of doing it so that Cirrus drivers don't flip-flop between > different styles of DT binding. The basic concern I have is encoding the current Linux idea of how to split the subfunctions up into drivers into an ABI - the clocks in CODEC drivers is the obvious example, they might want to be in the clock API in future. If there's a very direct mapping onto individual hardware blocks that worries me a lot less since it's more obviously reflecting how the hardware is designed. --TYecfFk8j8mZq+dy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlva69EACgkQJNaLcl1U h9CNKQf+IE/F7jz5M6NjKEd2X3SqqJcqEP1+CXLXM3Ny1yMI272FpSrV6BiQczlY Xjy0PP+Y+YsAHtyfaybjuf1s5E8iq8SN5XJk5Tw1pobUGjIKAnESL/0h3bf+jHtM xXAxmCfZP8QjJ/Gy42AgUf7+UWjycAmBlwqecvsViEUWRVctxsGYRh7ZrYrs7kEz /pjPMF2QG8mMkqSVGvMQuPtQrKL3Thd/IMlzUmMCF8hpKKjEYe6Yj3mKvOD4X7lx dnxvYEnH5tlkHiaVQ7K3JIJKTftVPwxdXiTDj0RePWR9mMdbKXe6kn8f272Yyer2 fkAY/Ak3PYDPAH7NkXmYVp2xz1naAg== =l5Yg -----END PGP SIGNATURE----- --TYecfFk8j8mZq+dy--