Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1557341pxk; Sun, 13 Sep 2020 07:16:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDQWJ9Ab9bxVJ8M1DYEB3TWJChve5F8yilbIwBTofoTuDaU7rVYdKQDATB8qOCbMqf554f X-Received: by 2002:aa7:d40f:: with SMTP id z15mr13137961edq.247.1600006612754; Sun, 13 Sep 2020 07:16:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600006612; cv=none; d=google.com; s=arc-20160816; b=brpgtK0RUJ+qzzDOQNPYD1Vt8bPf8Ej8tYYHMMze4Cd66czf6yn/zfTH/NodTyXnrt y9qDX6eHneG/KPz+4XBLaKmPOQeUr8lRzg0ill8M4DTlkhiZY7AVjgyefDQm3N4YZWQP M5tVhNYzn9QgOZQsyxN4MM/m8YeSEfDw2As/USCjfeXDTV01ptFR0UNwLbSVcpr7E0Ab Wesav6A4AcpZPAwurime5Qutk4KhkjUC9oDMUJyMBrpkoQweVrkN5FD1MD2PP5Nm1q1v 0CvNVJrlhJLd0td6nZbv32QNyXIM1pQLrqPttbfGcW6JjLkNDMG4um6pgYADsy5v1NPA WLZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=sXH1qyDcIcLtxMMXhvx1mrVm2YfWzsrHvfD5f0O11Xg=; b=codAOpxNG1o2uQITJKNBkdhFx6Z0ukBpcpNC5HT5GRfDTulDXhlkgCYO8GoKGA8tHb j9b7cLV56kQYj8V6ELy+OUFh9YdMvSEF9UAd0/5UA5EcAl2i3Uspq79oE5CcVZzYvDrG 2vtjtlgZ7qCfz/CgL/8WyZuXlp+hiQe69JhcF18wnlQDzAnNOWREPovamHL0EgLFBLPE /SO/XzknqK7MJh3G5j7NgCBkXYJL2omEa+y2+ty7OtTk51MSihNWHyN5gOMrFctl/td1 +Pwe58R3CghsYmO52mRiApx3vDjjhYgl42Dy1DwUb6a1g9UT3WUYwdNQ3eSSj2AQ62Om YeDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SesijJc9; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h10si863157eje.414.2020.09.13.07.16.29; Sun, 13 Sep 2020 07:16:52 -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=@gmail.com header.s=20161025 header.b=SesijJc9; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725943AbgIMOP6 (ORCPT + 99 others); Sun, 13 Sep 2020 10:15:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725932AbgIMOP5 (ORCPT ); Sun, 13 Sep 2020 10:15:57 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DED6FC06174A; Sun, 13 Sep 2020 07:15:55 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id u21so16357111ljl.6; Sun, 13 Sep 2020 07:15:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sXH1qyDcIcLtxMMXhvx1mrVm2YfWzsrHvfD5f0O11Xg=; b=SesijJc96H0LSyMpHDyE5omS+dD5Cq2JYQ140rAPMyuLDxNNy7cL2WB4tCC6jSQJ1T 1wbDnRaJPSRIsgCjJAjNNl6taoWbQ5Qra7wuUJliqFWxSjc7NLIDQzkmLcR2IcX0kQfs cwbHu/e2D/Jrm/TpBAq3IOhBhRQ6ri/hmtQuVzvDURcT1oUtFiejLbb0YmtJVfvg18Hi PDJ8WbvNdTlBgotU7xFb3qwtyM8oYNrdLVvld2ZAuygC324oAF1sZYTuWhe56HGMN4Nb HBOLQzwlKNhvBS05C9+p3nl6AkdTaiDT2H3nRsSvSuGdHBzr8hCbosCcLILCZrFiAZ3R KqAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sXH1qyDcIcLtxMMXhvx1mrVm2YfWzsrHvfD5f0O11Xg=; b=aXsjazwu0aAD6uOIT5Kvs8PcwT9tckBWt67pR1mtglD2sXsug7panIZNYbMgIRQGrd dpM77/Lea+WFYN6AJ+RoSUQnrcSPZGzeY0SHD+PMst1z56+2aot4TF+kmRb+bBR8Kh8h kjcu0X3BmvOdqHURs/HIGJpOlNXA+ab7d4h17vVqwlWV8qS/RqxDB7R3XZsHACzLhDo7 s49tRSG0Fl0epwzWGTpnb104Aq6yKNMjoDFEYTlvvClGHYOaOwFe2OktyaT4KUs4Y8TT m9zqlRsK3FGHB05yPJY/0emt6cNfBXRaoknuIpFzlDUr68rE7+jqXwKvh671ukZq0sXn dzug== X-Gm-Message-State: AOAM533hRiZLcJgfgq+es5ssrpsLKsG10FLsEqHSWu6UqHBXzYdQK7QD OkH0dLrgnZGaJkzdfd2HSCjK0drTAB7MVEL7xIPz+qRQ X-Received: by 2002:a2e:9b99:: with SMTP id z25mr3922268lji.403.1600006552764; Sun, 13 Sep 2020 07:15:52 -0700 (PDT) MIME-Version: 1.0 References: <20200903144028.20416-1-matthias.schiffer@ew.tq-group.com> <20200904150450.GG4625@sirena.org.uk> <6c353fa3cc60e8854404eaedebcebee07b103d7c.camel@ew.tq-group.com> In-Reply-To: <6c353fa3cc60e8854404eaedebcebee07b103d7c.camel@ew.tq-group.com> From: Fabio Estevam Date: Sun, 13 Sep 2020 11:15:41 -0300 Message-ID: Subject: Re: (EXT) Re: (EXT) Re: (EXT) Re: [PATCH] spi-imx: remove num-cs support, set num_chipselect to 4 To: Matthias Schiffer Cc: Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , linux-spi , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-kernel , Mark Brown Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Matthias, On Mon, Sep 7, 2020 at 4:40 AM Matthias Schiffer wrote: > My rationale here is the following: As broken as the native CS of these > controllers is, it isn't an unreasonable assumption that it is working > fine with *some* devices or for some usecases - after all the support > was implemented at some point, and has existed for a long time now. If > we really want to remove this feature, a deprecation period with a > warning message seems like the proper way to deal with this. > > Hypothetically, existing out-of-tree DTS could have used the native CS > with num-cs set to 4. Always setting num_chipselect to 4 ensures that > we don't break such DTS with the num-cs removal. I still think this is more of a theoretical issue rather than a real use case one. Anyway, I have a proposal that I think will make both of us happy :-) I will submit a patch shortly.