From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934097AbeAXOye (ORCPT ); Wed, 24 Jan 2018 09:54:34 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:36444 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933763AbeAXOyc (ORCPT ); Wed, 24 Jan 2018 09:54:32 -0500 Date: Wed, 24 Jan 2018 14:54:30 +0000 From: Mark Brown To: Ben Whitten Cc: linux-spi@vger.kernel.org, LKML Subject: Re: [RFC] spi: add spi multiplexing functions for dt Message-ID: <20180124145430.GD9366@sirena.org.uk> References: <1516661472-16452-1-git-send-email-ben.whitten@gmail.com> <1516661472-16452-2-git-send-email-ben.whitten@gmail.com> <20180123111123.GB7600@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="DiL7RhKs8rK9YGuF" Content-Disposition: inline In-Reply-To: X-Cookie: Love thy neighbor, tune thy piano. User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --DiL7RhKs8rK9YGuF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jan 24, 2018 at 02:01:55PM +0000, Ben Whitten wrote: > On 23 January 2018 at 11:11, Mark Brown wrote: > > level. Things that have their own transfer function would be better off > > just being first order SPI controllers I think so that they get access > > to everything the framework offers and can correctly advertise > > capabilities and so on. > This runs as a very simple fake SPI controller per bus that the mux is > controlling. Having this custom transfer message allowed me to pop > in the way my device exposes the downstream devices, through its > regmap. Which like I say is a problem - if your device (which just sounds like a SPI controller) has different capabilities and constraints to the parent then client drivers won't see that. --DiL7RhKs8rK9YGuF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlponiUACgkQJNaLcl1U h9DF9Qf/ZmVGzLukP8G7gRAoIfdmjqFSJrEMpkTAKiXR0CS8RAxbdkZDm1RIKhLZ JERqcAmaSv5f8JHVBZJ5/JYSf8C/BEeGqQt1YHOdBjRXvOeu2hj4qB9TZvCev4P4 RUJIe0qJbMGiD5mIXm0CNkJjg0eZ5tQctJjV84GAjC/qTllDY3qFZg3bPrMQuTbO x3hiPFbv9C40Yze/bL4uMm8KDkxSdte8rGyKG2kjH8CBZvZPEoh0MpkPgAzM/UIu jgtl96wWJSXgTSHL99vtwD5AghIhn+N4oTkpzkIVxlrUrqGP5kONZZjG3J4Uc+XJ UruYUIeEctmMeWLzieTfn8eu/kTR9g== =urIv -----END PGP SIGNATURE----- --DiL7RhKs8rK9YGuF--