From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77DC1C33C8C for ; Mon, 6 Jan 2020 22:51:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4A6EC2075A for ; Mon, 6 Jan 2020 22:51:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578351102; bh=B/wXOk/oeY27q+N8LW++JDRIC/yasJOWTsVm0Nvj+AQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=kBNnTaqQ4T2vkbeXX6Xb9abtjhsBXdXSKBsfzDz0SoMJEzC4pz5+mPY2kb1wtpUt+ uLFQPy2ADdg6rUbz0rOqZZBSqbxkBKRzd+jPxup6Anw3L9Px7lrIldkgbQcJkD2AI9 rmGOCvmrTv5zOPp3NpRIstozxhY/tOtsvjmaWgyA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727273AbgAFWvl (ORCPT ); Mon, 6 Jan 2020 17:51:41 -0500 Received: from foss.arm.com ([217.140.110.172]:50532 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726735AbgAFWvl (ORCPT ); Mon, 6 Jan 2020 17:51:41 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8B36431B; Mon, 6 Jan 2020 14:51:40 -0800 (PST) Received: from localhost (unknown [10.37.6.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0F02F3F6C4; Mon, 6 Jan 2020 14:51:39 -0800 (PST) Date: Mon, 6 Jan 2020 22:51:38 +0000 From: Mark Brown To: Chris Packham Cc: "dries.vanpuymbroeck@dekimo.com" , "anthony.derosa@syscall7.com" , "linux-spi@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: Multiplex SPI Chip Selects Message-ID: <20200106225138.GE6448@sirena.org.uk> References: <2db6a1c2463ca5cf41795b5348e17cfbd7de5fe3.camel@alliedtelesis.co.nz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xA/XKXTdy9G3iaIz" Content-Disposition: inline In-Reply-To: <2db6a1c2463ca5cf41795b5348e17cfbd7de5fe3.camel@alliedtelesis.co.nz> X-Cookie: It's later than you think. 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 --xA/XKXTdy9G3iaIz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 06, 2020 at 10:44:15PM +0000, Chris Packham wrote: > On Mon, 2020-01-06 at 08:27 -0500, Anthony DeRosa wrote: As documented in submitting-patches.rst please send patches to the=20 maintainers for the code you would like to change. The normal kernel workflow is that people apply patches from their inboxes, if they aren't copied they are likely to not see the patch at all and it is much more difficult to apply patches. > > This proposed patch does exactly what I need to do: > > https://patchwork.kernel.org/patch/2706151/, but I was wondering why > > nothing like this already exists or why that patch had not been > > included in the mainline kernel. > I don't know why Dries' patch series didn't land. The reason my one > didn't land was due to some implementation details and the ability to > do something simpler with a fake gpio. If you want me to review something you'l need to submit it; that patch was from 2013 so predates me maintaining the subsystem so I've never seen a copy. My general instinct with this stuff is that it's likely to be more sensible to describe this with GPIO chip selects, the state of controller chip selects is such that a lot of devices use them anyway even when the controller supports native chip selects as the controller chip selects often suffer from unfortunate limitations that mean they're not actually useful. --xA/XKXTdy9G3iaIz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl4TufkACgkQJNaLcl1U h9DY5gf9Ey9Cx3vviBl/VgE4d7KdqgHAeFFQId61b91GhZyC2lYi0zADQfViUXGp yXS01T4rA97hOYcGej7ryr63OdR8goERMtCz3Cxxwgcx92JSlyU0jDsmF+HQ1CC6 tQypSMSeduWrUx7ETJlK7jIruU4QrlKV234fg8hmpd2ar9NbUcnp66wsMkETd8p/ Bpl2J7eBVGVLn2xIc3x8htgLHHluSDDaVKXzEbzS+knUhilfk0GzMWJCWQIWLYHw IxiOzb4wTcKwcXa0qOe+KOLW56SHv+t5Z5FQ+tNb+j70rqNEKJbpMpakCunUWuT0 oajV8VNGug+3e7YrPM2A1q6yxqL7BA== =cNh2 -----END PGP SIGNATURE----- --xA/XKXTdy9G3iaIz--