Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp2902442ybg; Sat, 6 Jun 2020 05:12:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycObE5Gzb4wklTeWw97WkyDQQDOTmy3QSByN/1tdsOO4rWljjW5nV7ijhZxqYBhl/nUGXS X-Received: by 2002:a05:6402:b37:: with SMTP id bo23mr13998111edb.24.1591445575000; Sat, 06 Jun 2020 05:12:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591445574; cv=none; d=google.com; s=arc-20160816; b=t2EjGB0cRp2aCPaq3sj8UWJBYUw29DV7g6PERgss5fuQidtYMQecJ2nejEvdd+SWJe WDy56J0fKFNhl9T9ordlzD/lZHu2ZdN+SEpIBmX7SA8Rlu0q0ZUAWldTzD/V0dq9v7Df MQkcwQ6IFtM86OBw4/c8irnwWxiUgsTdts/fgLadmuovhWnfzGyWCsyW9toA6T/A8sn1 IT6IwXia2wR7NAS/IJrjBcG/kfJeUXrlCOgLSwGdMG1vQmiDTIOHdu/5QjxuBdnHVvM3 n9ke6jumTmOOVuJfLlIGxSWO8R6W+gJuaquHdQkItPoowfLs9+qRVBdYdnmpZsBIjhae yMPQ== 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=Q1hE1By2w6tdlelWUzgDL9pNEpalt4sHuIMqHFjQjp8=; b=C4v6N+CkDNHDXua6/4EEbitnmyr/6OwNIVbO3PqLTUGW0BG7ecJTBY1TimUL8pi3zS UtYVxGkof8BulxnZRjtjAGLVZPnfKEPgziff+NU1rwO3Gh3YT/WReptjDqk+AlK1Cem1 /BTrmEzvmRLyp0BUFUhnV1o0AwKQxObIo1Hhnfj8qjibf+y5+h4VJfJQF1KAsikNN4ki xdL8ccqucP+kZwm+MOWFuX4j+MIIMCdQ3M4evaVKURTs5Yisd8VUzj0oG8ApxG3njpCH W1KL3voXGxlyPyyg+noMBpxAOHgw/QbX5z8TKTWASNDFyeG5ccZlx2a9+ubr7HsnkKB+ cPnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=k3fx9IKi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i93si5182904edd.396.2020.06.06.05.12.30; Sat, 06 Jun 2020 05:12:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=k3fx9IKi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728761AbgFFMKY (ORCPT + 99 others); Sat, 6 Jun 2020 08:10:24 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:43242 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725831AbgFFMKX (ORCPT ); Sat, 6 Jun 2020 08:10:23 -0400 X-Greylist: delayed 1382 seconds by postgrey-1.27 at vger.kernel.org; Sat, 06 Jun 2020 08:10:20 EDT 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=Q1hE1By2w6tdlelWUzgDL9pNEpalt4sHuIMqHFjQjp8=; b=k3fx9IKijx/wg1gi89wPskkRj qSJnkyjDFkHUduWjPiD4PsWrnb2+RVPaizPta11NotezqIsLn1oxzVSNvnszEdO6FARP/jF+sntaC MnUHGVN+Z24JRtKvk6f3h4BeEZnju966pPcxiFNt+ga2Sbf/VPisLqymd8KuYebH1Wqlw=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=fitzroy.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jhXHh-0004Y4-Ov; Sat, 06 Jun 2020 11:46:45 +0000 Received: by fitzroy.sirena.org.uk (Postfix, from userid 1000) id 3343CD06634; Sat, 6 Jun 2020 12:46:45 +0100 (BST) Date: Sat, 6 Jun 2020 12:46:45 +0100 From: Mark Brown To: Michael Walle Cc: Lee Jones , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-pwm@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linus Walleij , Bartosz Golaszewski , Rob Herring , Jean Delvare , Guenter Roeck , Thierry Reding , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Wim Van Sebroeck , Shawn Guo , Li Yang , Thomas Gleixner , Jason Cooper , Marc Zyngier , Greg Kroah-Hartman , Andy Shevchenko Subject: Re: [PATCH v4 02/11] mfd: Add support for Kontron sl28cpld management controller Message-ID: <20200606114645.GB2055@sirena.org.uk> References: <20200604211039.12689-1-michael@walle.cc> <20200604211039.12689-3-michael@walle.cc> <20200605065709.GD3714@dell> <20200605105026.GC5413@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="PmA2V3Z32TCmWXqI" Content-Disposition: inline In-Reply-To: X-Cookie: You do not have mail. 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 --PmA2V3Z32TCmWXqI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jun 05, 2020 at 10:07:36PM +0200, Michael Walle wrote: > Am 2020-06-05 12:50, schrieb Mark Brown: > > I have no idea what you are thinking of when you say "simple-regmap" so > > it is difficult to comment. > I guess, Lee is suggesting to be able to create a regmap instance via > device tree (and populate its child nodes?). Like > compatible = "syscon", "simple-mfd"; > but for any regmap, not just MMIO. I don't understand why this would be anything separate to simple-mfd. > But, there is more in my driver: > (1) there is a version check > (2) there is another function for which there is no suitable linux > subsystem I'm aware of and thus which I'd like to us sysfs > attributes for: This controller supports 16 non-volatile > configuration bits. (this is still TBD) TBH I'd also say that the enumeration of the subdevices for this device should be in the device rather than the DT, they don't seem to be things that exist outside of this one device. --PmA2V3Z32TCmWXqI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl7bgiQACgkQJNaLcl1U h9CJwAf9GDLvYJzqBwwJ8Wam2ddh4vI4HhG+7om7V0rPbtc+8urivLRpsn4PzyP2 VEDJVR0PhbtQTX11tUL9oNelTz+H+JHuuGMFCWP/DbbHsTKucuhkpelUnW17FukC sr8O5n3D6en4l8bj6vsfjqysrIAtZWKk+xStpf8bQ9Zu9rczpbIGa2XK6r10w27Y jcr5C4pQfl7DlyEwdfOw22i+q+dbBuPGPd/zk/7iRp8QzvmHjE9MCr20JO3s0cuO 4wwwbMMyNZAe2HjD1IOyVfJ42Yhd+Yf+IkgSShozuk03IuU1HEWpHTyV36pXBdvs N4lga9r/upJOfAP2iW7qqtIdU4NzZA== =M9Xv -----END PGP SIGNATURE----- --PmA2V3Z32TCmWXqI--