Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2108403pxu; Fri, 18 Dec 2020 05:51:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJzJMIie3CsmUouHpW7QWv6XjWJvdcCw9UQu2XiYi6fdtCZMGZbllMwpyU4F65h54CSzBXyv X-Received: by 2002:aa7:c919:: with SMTP id b25mr4418036edt.108.1608299506149; Fri, 18 Dec 2020 05:51:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608299506; cv=none; d=google.com; s=arc-20160816; b=sCZhJzsFonEMrwtZhtqCJtKh6WxN8U/f2jHmf0YxGVlAbNWvvrKr3mWzxIG5wHRqm2 sYxbKY830GkdFjKACRuVzFJPgWNQRO+ZcTiL9PB9OYJ3txOEFFuHTjtbOibhouELxz2b N3BsZF5NxyLlkZwd17HS0HPHn1Zj2rAPXbqrGVqGnoTNok4N2jab8neCR/YSlZQN28Gp zYXsqBJUqzj01KwEyIzVc6ha7K+zj5a3KsVoyryaxs0nXg4MscUUCkw7uCuh9bGNzE2e 3rhIxlkCpIk/4YFMNNsjdAnvDH26eogXL5jvg7zN8T+QIzBveD4CzSZ1ihUR6RTT/ah/ SnBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from :dkim-signature:date; bh=mNOn5+9quU+r3CEb8vKTnA/j7aujfdJ8YqrTA7Zru9c=; b=V+YeFml98opEIb4QpjABZ2GZI4Yn2AezzT6u9l9Tt7k7x9zucAVkSYZG1PMliOzVdE bicdwZQ7c2rXAM5MgJLGRPclhxLEMKXXG1En7/umEf6u1hMwI9hlwUNFuCTmWbVKdDdt A2oDG9azJRzzFmUJ4Sri+ddroiayLL/coby2a0oEHbCOaiXbXPWLPIcrP1omybcIb+jg YVg4AaH7/RthiC/ccA5OrzjvsXwMZPIMEC7IEjUZP3RyUCohIe8tL2OcASXLQ1WL4285 IMhf1genjUkRsQk4GAvIb3Aj++fJhfcw/6lDMNqJQKiY2kM3jw4tIBsvtIQeEpM6/1V/ Jtvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=K8gcgeKn; 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 c26si6268473edv.182.2020.12.18.05.51.23; Fri, 18 Dec 2020 05:51:46 -0800 (PST) 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=k20201202 header.b=K8gcgeKn; 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 S1727665AbgLRNSE (ORCPT + 99 others); Fri, 18 Dec 2020 08:18:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:45628 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725710AbgLRNSE (ORCPT ); Fri, 18 Dec 2020 08:18:04 -0500 Date: Fri, 18 Dec 2020 13:17:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1608297443; bh=v6z69yu84QJf1R6RvlLOXcMX6c+Fwb3zy/Gr6WnNltI=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=K8gcgeKnC82VwJ4M0CQaQG76QT5VP10SRDtN8kNVWnNlu9I+CSCB07c6/MlHjQ0Uz UgHPhAhbKPEycfLmxUpE90p2yL9EEcFZB2xNdla2NOTYpt7Dvedq97d45Eke9KATbn P//PsnL7JlZCm5UW3XbqO8BpQots8yJ0Hvw9VmkWLEuVHMQ6ClLaHMe1M9wj523Qms GU5BMD3lgQIiQuNHn6YHpbMwYIjIBH9UAac0IYZo3CXmCZ3+QN0Yaw4Bs1HyzOjDlV e8ctID2YzuRNAFf3XpZ1a5+J+jjnmBAm5sfwb7gAk5F6fnqby1jOCOGCbGHp8OMyXh qm/zJM/YVhnoA== From: Mark Brown To: Greg KH Cc: Alexandre Belloni , Dan Williams , Pierre-Louis Bossart , alsa-devel@alsa-project.org, Kiran Patil , linux-rdma , Shiraz Saleem , Martin Habets , Liam Girdwood , Ranjani Sridharan , Fred Oh , Jason Gunthorpe , Dave Ertman , Jakub Kicinski , Netdev , Leon Romanovsky , David Miller , Linux Kernel Mailing List , Parav Pandit , lee.jones@linaro.org Subject: Re: [resend/standalone PATCH v4] Add auxiliary bus support Message-ID: <20201218131709.GA5333@sirena.org.uk> References: <160695681289.505290.8978295443574440604.stgit@dwillia2-desk3.amr.corp.intel.com> <20201217211937.GA3177478@piout.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Content-Disposition: inline In-Reply-To: X-Cookie: Password: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Dec 18, 2020 at 08:10:51AM +0100, Greg KH wrote: > On Thu, Dec 17, 2020 at 10:19:37PM +0100, Alexandre Belloni wrote: > > There is something I don't get from the documentation and it is what is > > this introducing that couldn't already be done using platform drivers > > and platform devices? > Because platform drivers and devices should ONLY be for actual platform > devices. Do NOT use that interface to fake up a non-platform device > (i.e. something that is NOT connected to a cpu through a memory-mapped > or direct-firmware interface). > Do not abuse the platform code anymore than it currently is, it's bad > enough what has been done to it over time, let's not make it any worse. I am not clear on why you're giving direct-firmware devices (which I assume means things like ARM SCMI where we're talking directly to some firmware?) a pass here but not for example a GPIO controlled devices. If this is mainly about improving abstractions it seems like the boundary here isn't great. Or perhaps I'm just missing what direct-firmware is supposed to mean? In any case, to be clear part of what you're saying here is that all I2C and SPI MFDs should be rewritten to use this new bus - I've just copied Lee in again since he keeps getting missed from these threads. As previously discussed this will need the auxilliary bus extending to support at least interrupts and possibly also general resources. --zhXaljGHf11kAtnf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl/cq9QACgkQJNaLcl1U h9Cf2wf/V/9ux9B/P6JhOdSp8/cnAt5M1bqV3QMIpBxKfkDzfpIhgCbQHcuTHohO GadrjXD1DMJSWcpx/mh1qNjeEYyROMYnVN7UrxVgTgrCD/HN/MqpgvWlLA8ubGTH S6/1XPHbMOsHIIXclMzGpmO4jA9hOwKz14gnvnWraHDojOhymTJV9Jl2wQ9UaOV/ FDPyY3zYA0fUvzSkIDkzHAcjhdpulnxztlYYH73f81R1L1NTdfMn1E4mZMBIBMMD 94BiLYMhjiFBXH2MkTbSugyxARIgOM9uKM3AIttLQq7l4deMDjvOX85wlcGA6JjM /jmS76XyUz+UNO505l7CrvuL0X37jQ== =ErBA -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf--