Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp783278ybg; Tue, 9 Jun 2020 12:43:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznEKga1c73Bc8cV2QL9vYj3+EswIiRCN7ZLMMCIfwJypqRuAD4bKyCzxTW9YiuyWUT05iR X-Received: by 2002:a50:f289:: with SMTP id f9mr27922337edm.188.1591731814872; Tue, 09 Jun 2020 12:43:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591731814; cv=none; d=google.com; s=arc-20160816; b=tszPt73WgR0LwwnYbunqVZY/yhygRNT6nqsBhyKj2l+gYXpUe/kgRQyGMPd7MYwmen hPonT/90dMPDNMYLElndBnWCnLEPGW/l1lZmJ2hudzXZTnDTcy5cCx3I2Q0tq4gdFTZl g3NLcxKp1cVtHARsHP0N1hMqy/0RxuIYI/2rKfkV1tvE5gF1Ig7hb+OJgRzfxUGvWseK fS14s4T3PmkGbrwR4d/yhWIa96Hjdxvj9HUqT1z+n/2dLpPhCEt4BwhyhQ30uQFGb1Cy 6tP8YqHed/tlpvgJN6wFVFCtUyDOVjdhyVy1GZb7jvSIhVC4LoWvL88egat63NvO6QaQ ShCg== 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=Qmr3xU4Wr498BcrukotcukidPlKEgC2wLsO/I0prusU=; b=Iie590fq1RHp3yzDUsRGaYja5YB+zzb+MJuiPJrLTGMdZpYopk9GSUnhLWzWvjOeDH 80v82VEPT2OqCHgCjxeWOMlcTCxNuxakK6+PWLI+TUxobddeoBGqcD9J2HSu1WJKcL0y IK8tDwiP1iFVoLlzILzA2p0cIrzFiiZ5Y8jgThCOzleK1a5V024Z4TnQRmNyhU9VO0sJ /Vn03ruxcyjsyzD+5UQE6iCnlWRJPlGnMHCz5AAJPEXbSGIUK+exTc3Ld67tZmy6fnL0 0ofhH1rT5jo4O7GPD4muHN9Gdm2hOq1HuEzIxe5Ref8E8OGMQ4rPIDXZARN+q2UczXQK 9ALg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=19nG0JhF; 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 oq17si11302150ejb.666.2020.06.09.12.43.12; Tue, 09 Jun 2020 12:43:34 -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=pass header.i=@kernel.org header.s=default header.b=19nG0JhF; 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 S1731739AbgFIR37 (ORCPT + 99 others); Tue, 9 Jun 2020 13:29:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:43610 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727837AbgFIR35 (ORCPT ); Tue, 9 Jun 2020 13:29:57 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5C97A20774; Tue, 9 Jun 2020 17:29:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591723796; bh=Qmr3xU4Wr498BcrukotcukidPlKEgC2wLsO/I0prusU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=19nG0JhFpICXKRdbQSqtV0xLlrZOSFIZdBzGSyuzFEyQ2dbY5bUXfPdrnZ6jcWHUo 5oFSLLb0j1GAaGWDSmFkt13oJIr1GWQVeODfQGNwbTo6AcQi4rffXKZCSqX3WSqM3s CO4pnstLd/HBdIWUPNfNZy1qr8OFn5U3V2Azny5c= Date: Tue, 9 Jun 2020 18:29:54 +0100 From: Mark Brown To: Rob Herring Cc: Michael Walle , Lee Jones , Andy Shevchenko , Ranjani Sridharan , david.m.ertman@intel.com, shiraz.saleem@intel.com, "open list:GPIO SUBSYSTEM" , devicetree , Linux Kernel Mailing List , linux-hwmon@vger.kernel.org, linux-pwm@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-arm Mailing List , Linus Walleij , Bartosz Golaszewski , 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: <20200609172954.GM4583@sirena.org.uk> References: <20200608082827.GB3567@dell> <7d7feb374cbf5a587dc1ce65fc3ad672@walle.cc> <20200608185651.GD4106@dell> <32231f26f7028d62aeda8fdb3364faf1@walle.cc> <20200609064735.GH4106@dell> <32287ac0488f7cbd5a7d1259c284e554@walle.cc> <20200609144201.GK4583@sirena.org.uk> <20200609171520.GC1019634@bogus> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Pz/qqzCPDfGwIFOg" Content-Disposition: inline In-Reply-To: <20200609171520.GC1019634@bogus> X-Cookie: Be careful! Is it classified? 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 --Pz/qqzCPDfGwIFOg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 09, 2020 at 11:15:20AM -0600, Rob Herring wrote: > Find another driver doing this already and rename it 'simple-mfd' (no=20 > relation to the DT binding) and add your compatible string to it.=20 > 'Generic' or 'simple' drivers don't require generic/simple DT bindings. > Or extend the existing syscon driver to look up the bus_type and create= =20 > the regmap based on the bus type? You'd need a particular bus driver to instantiate for a given bus (or I'm misunderstanding your proposal) so it wouldn't even need a lookup, just per-bus ID tables (and ideally also data tables with the regmap and child descriptions). --Pz/qqzCPDfGwIFOg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl7fxxEACgkQJNaLcl1U h9DCLQf/bdNDdxW0Qpw6CjYiwGbdGhDPz2buR07hZ0HFwlLW/CCeJCk0naiEaRo1 P3qH84YQ2ka1vdYpGLWX6+vvXjU2ejaSPz9GmDxoUVkrxB8SjwVYWehydJkgE8Bs /f9vdLsoac0TjNNro7gumcUGE6bIGFDUvuOJkjn+O4dOBz3cTqhYsY4Sz14cyTxW maZmtiiVvFyP5Jrf0LTE2oQzqnTEKgoBY8Ku6f34K7EiNmIK/bgppdXsJvNGqZp9 tPbeGiW01Rg8XVNPYnjJf6TipJRvHLJh8hma6sFq5dqH0ZNDpFFW35xqWLPWL5Af 2Plbt+f89ibSJGeBNXMaaEPkfzTv7A== =lKAA -----END PGP SIGNATURE----- --Pz/qqzCPDfGwIFOg--