Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1782194ybl; Fri, 13 Dec 2019 23:31:12 -0800 (PST) X-Google-Smtp-Source: APXvYqyCnPDhYfbnOrm6nP4h4bM5LmI/OBWfjG0ASiS5zPhpHMm1AjF0iXLymRlG+TPTt179tuGj X-Received: by 2002:a9d:7984:: with SMTP id h4mr19573601otm.297.1576308672250; Fri, 13 Dec 2019 23:31:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576308672; cv=none; d=google.com; s=arc-20160816; b=EQTB9mzV2iP3cBJii2w7REJ/jSTO7YvRWFmEfLFMe2kOaZH6jm4MxxiaD4WHNPKgCK vBFW1b9bIinQFlscJy+BcQalDOYowUABR3Qw4VU82TC4idxGanP+a5YP6/lPKvb9qmek rlVW8rxFa8A1txtASrqmGV6BfuGObFXVO8qMWi6QBSMpSOOXiredRncNpdl+8SANuMx1 Ncj5aAiKM3tUOVRbB7ov9WHz91jfNdomR5aCbnmlj540tYjRb9dgSNQcZyS65MkBRDkv iBke9hRqPJ8Zl9/zOGKTGet1EdRAaM3VGSWPq1UglZsrflKLU6RziZswr2lZy7UGJ/Zy pcCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=jJtG71JXNYzYDF4z7ntC3bwNQLarVarmUswHWhluOuQ=; b=jXwY68KHI7IHM8U56kpRYki2QId/FGnwN4TrWX4QgvIt6L+vMsRrY+uMMwPczp5UmN 8gqOvi0DxlCL0pje46lWrPVU0T8WkyOUWTIn0kVlNXl77WcxqztB0N31a6XcTHxxGv84 fYJ5nB70braUM+l0dPNrL9wuxARuSlig/p0FKDKD7pAJURlCRduqzellpZph9ntZppCf XN8D679Z9x1mNaugOzukd1gDa2V9NeDH4cOgwQLT/J890+yx+TRvVam0ROEXmsimVlRL Veoxvsu1ysrQzwIqfGRBj+sq2h1X5qXfYvjFm+xz5Ywhw5PFOEQRVFxsGOIzpTGfg/sL X/Ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=QKTuuexY; 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 h22si6737577otk.294.2019.12.13.23.30.58; Fri, 13 Dec 2019 23:31:12 -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=pass header.i=@c-s.fr header.s=mail header.b=QKTuuexY; 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 S1726019AbfLNHaO (ORCPT + 99 others); Sat, 14 Dec 2019 02:30:14 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:17387 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725851AbfLNHaO (ORCPT ); Sat, 14 Dec 2019 02:30:14 -0500 Received: from localhost (mailhub1-ext [192.168.12.233]) by localhost (Postfix) with ESMTP id 47ZfM828F5z9v4kg; Sat, 14 Dec 2019 08:30:12 +0100 (CET) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=QKTuuexY; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id rXUFt3zZMGyh; Sat, 14 Dec 2019 08:30:12 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 47ZfM813fFz9v4kF; Sat, 14 Dec 2019 08:30:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1576308612; bh=jJtG71JXNYzYDF4z7ntC3bwNQLarVarmUswHWhluOuQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=QKTuuexYKKEPVIL8i2FVj9ntngPsKl2SiB7u/7pALV0PsyXDg/Aea96V+3KDifu1Y mslw9qUfpy3D4X6gNwmrP2n8zKN6Y2GPjsXcghjD65vUZkYbppmnD0JQKozphLtqSx LgOdj0j4PXqcDBaUN6qFU0nqsjPcXZIVjMUMutVo= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 0C4908B788; Sat, 14 Dec 2019 08:30:13 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id eEW_ZV8vhUP2; Sat, 14 Dec 2019 08:30:12 +0100 (CET) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 228048B755; Sat, 14 Dec 2019 08:30:12 +0100 (CET) Subject: Re: [PATCH] powerpc/devicetrees: Change 'gpios' to 'cs-gpios' on fsl,spi nodes To: Rob Herring Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Mark Rutland , Mark Brown , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, devicetree@vger.kernel.org, Linus Walleij , linux-spi@vger.kernel.org References: <7556683b57d8ce100855857f03d1cd3d2903d045.1574943062.git.christophe.leroy@c-s.fr> <20191213213418.GA17361@bogus> From: Christophe Leroy Message-ID: <678cdcce-9bad-519a-68a5-a43414c15f94@c-s.fr> Date: Sat, 14 Dec 2019 08:30:11 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <20191213213418.GA17361@bogus> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 13/12/2019 à 22:34, Rob Herring a écrit : > On Thu, Nov 28, 2019 at 12:16:35PM +0000, Christophe Leroy wrote: >> Since commit 0f0581b24bd0 ("spi: fsl: Convert to use CS GPIO >> descriptors"), the prefered way to define chipselect GPIOs is using >> 'cs-gpios' property instead of the legacy 'gpios' property. > > This will break using a new dtb on a kernel without the above commit. Or > with any OS that never made the change. Why would anybody use a new dtb on an old kernel ? I have not tagged this change for stable, it will only apply to DTBs in new kernels, won't it ? That's not the first time DTS have to change for new kernels. For instance, some time ago I had to replace all 'gpios' property by a set of 'rdy-gpio', 'nce-gpio', 'ale-gpio' and 'cle-gpio' properties to continue using 'gpio-control-nand' driver. > > I'm fine with the doc change, but you should keep 'gpios' as deprecated. Ok Christophe