Received: by 10.223.176.46 with SMTP id f43csp850448wra; Wed, 24 Jan 2018 06:55:41 -0800 (PST) X-Google-Smtp-Source: AH8x227Off1cs5Fp4Enx/Bj1JpYIEipUJi6zHJb4FY+rGha+EaSmZ5vNVQFcxgdTaMtfw6lD1sJV X-Received: by 2002:a17:902:e65:: with SMTP id 92-v6mr5526979plw.148.1516805741115; Wed, 24 Jan 2018 06:55:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516805741; cv=none; d=google.com; s=arc-20160816; b=Svy85Jeh6mNhWupRx6URgUmF4OCEoOtjKlSq3h/el6AJBLavO9ELUDc3zwiis7viKA /PeIeq3u8msQ+Rh7JWEtDZlx/TQpS8zIsRsbVn4Yg9v2/g5Uh9t3R+vwQg2NPl/Ud8ru lEmu9D+wXbFp0DSog413hHpiO81rgKRTbKsEFW6GZcNyHEx8Twa+oO8DPh+XBE2XTP6J bS9NUe0Kretxt+KLhYIbXg+LtpE6+oypbHzPyBE/PT0Q5aC0CVkG/I0y1VyqlNdq1i9P iPdCI+HWgfxbpEr2nlufrsF933naFVZnT+848BjoJiKskj+Mm/97O+2GJx4nbtwH/Yo8 2Ufw== 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:arc-authentication-results; bh=H5NQpy5QR7H+9rn0iHBRwNAg4lxldsAm+5Bt25BQH2A=; b=FeeXAIaB56vFy53fQPdKeTxBby8RnkPLwKeqyiKOlMbqyqVyZeZCfgTpirq16ExghP dS3qWVMqQD5pODzmjA9tCBWn3uXjkNHDLGI87ZxtpRoZ/+WbCHhxW3D3iQXeKL4FRk9E M8GYceB7zvzYTHrV7WUsjl7ks5OpPCSx1v1Vk6V8lmjYH85KiW1o9ClPR550rbDk4tQb d59O/7UWqzS1yPgxIC5BfEwMucFqognGFJAVxm0n9zK9Ia70m5BRlBZTgV79XjwqhzMS Zv/c6bUna6bMnNIP3hAg7bt1dudamCjyFaiw1/sCTDKhMhBE+umGxQO5p69kg9pQP4mM GGBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=DY0UBXsb; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g1-v6si303489pld.639.2018.01.24.06.55.27; Wed, 24 Jan 2018 06:55:41 -0800 (PST) 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=DY0UBXsb; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934094AbeAXOye (ORCPT + 99 others); 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 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=H5NQpy5QR7H+9rn0iHBRwNAg4lxldsAm+5Bt25BQH2A=; b=DY0UBXsbnMOJ7DcGJ5P5R46aH z5+7OxE52sQPOqgbYYOAuDwcRCprMZ1/LmxBu8lqT+mCOAEyvuHgIw3RIz73qRJSzQUCJgoa9AWmD Bo52vr6RaP0Bf40iLDvRj4EQYzGpyWFFSebStMPKXaCTYO+DwQQeqgc/TIH9YLHVCzsMg=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1eeMRb-0004Hd-7D; Wed, 24 Jan 2018 14:54:31 +0000 Received: from broonie by debutante with local (Exim 4.90) (envelope-from ) id 1eeMRa-0003If-Cl; Wed, 24 Jan 2018 14:54:30 +0000 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 Precedence: bulk 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--