Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3462774yba; Tue, 23 Apr 2019 04:22:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxNWHGQs6XR55jxcoOvPHsNTsg6t6IUFzg8ynQD+9+RPP/aC3KvbeVzYV7D/RUHV+4AdQWI X-Received: by 2002:a62:304:: with SMTP id 4mr25412803pfd.99.1556018576922; Tue, 23 Apr 2019 04:22:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556018576; cv=none; d=google.com; s=arc-20160816; b=Cd0XG1N7PfOpnDkEWhQJT7MVZkJ69u0JINYmbJH0fRTLeW/LiCEBQ8SYnFHSXj2d7x vpJajS8CVK7bXNfepzJr6wpfHfb8O/eS7/KkTHMLTlkJoDJojXk0ysfXhSe9VHYYVajA ytYOPbOaVJUB97vnkUi3RPdIQaj+lhQjR/VyhIP1cesvr0zLXGnfW52ifg6n/VasuNSx RUC8gBDkb4K4a2vICugRcRh5lVGbGqbLucWuzzFtnJFcD8Tw3UX64BrQVXf6NWH9WUQS +Ctf7bKCmxW/BfIgmGeFvOX0v4IjLH/5SzqGo0Cq3g97uhEyV2Oz0C920+QenStQwdvd b98A== 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=TomhzLYdxJAmgBKbyFa13n2y6TbQP1ekz4AvvmoMxrw=; b=XQBcGjczJwn1N7b8qxVXGkT8E/zr57xGECwjjmZdMX5QKpaF9RcxQfHlWsN0kN0An7 acQ0tbUv/tse+bexELujs47aqYR2zhm3lVFJ5qxMiIdpmfkr1FQ8Qm0ut7WkPorBK2TP m0sqNIEH2Xvdc1cARgTEs+SIOiAoqQzkkeRnhTWQj9LIkfx/K6JK1PtK77VnSQHTXTFv wTkJrjQCnnuEbz7t/HFarUD0cqTuKxeApqX7t6dht17UlEV+mbnZBVUGn/bgtd4629dC 4k3ABP61jaUfliXG0KxydQX3XVpSap+WValoGaipKEQFHU0qZ1+/nGjwyjQZz9uir1Xw HHxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gnNuoWAP; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j23si8524929pll.272.2019.04.23.04.22.40; Tue, 23 Apr 2019 04:22:56 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=gnNuoWAP; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727347AbfDWLVj (ORCPT + 99 others); Tue, 23 Apr 2019 07:21:39 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:39696 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726150AbfDWLVj (ORCPT ); Tue, 23 Apr 2019 07:21:39 -0400 Received: by mail-lf1-f68.google.com with SMTP id d12so11445176lfk.6; Tue, 23 Apr 2019 04:21:37 -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=TomhzLYdxJAmgBKbyFa13n2y6TbQP1ekz4AvvmoMxrw=; b=gnNuoWAPXfjMQqMNFj7h1ZdUiLekrnL7iXNE6cSHXsg3gtTWV3HPFxJoteeNUz4y1X b+xSnQ02Ivtg3R/osTpasjJzs/EtFe0OBX08V8rYYbx1JInukLjUfPXIQVQNltV4v7VU cjmo29gH+vFboWc9m3dpdZZW3GYMaqRJhwm3/38TbE/8cm8IN5jcKNwVEVaIiSpdkGv+ WQejMOhPDROHjY3+Q5zz8jyU1P26LTeNz5Z//Kw1m7/97+bPgD7YJmAk5JW5Vh1G5sm4 y5wx0TUEkbHHg9WyboISrJGXeF/J9w/dkrAYL8IHcIthTGhJS3WW1SJXLiYSkoGPTL91 Te8g== 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=TomhzLYdxJAmgBKbyFa13n2y6TbQP1ekz4AvvmoMxrw=; b=szsOmZTByzN9RgVMG4Y1ZWboUlu8KQOMJ529pBBg9ILWwQlpq52JbkqT6UhjsRKV72 nIgREwwuUXW8tGteCCXaAHXOJQgxSEW4s/s9nHtMc/gW99RS7W6eB+LYtT+1aaZtd4Ky KeRK9g4gI1MW+SZkG8fKvolOTYj/xaNdXz67n/BM3KazVDE/IMX+mLEShXyJYpUNWL+O Jx/XpV+c2x2/dUSJZSdnXK/oT36Lud9ERLNxgctouk3W+GBWvlmLkVLe44wXyyQ8OGbH h0sxg46NwMXdR/9Y6OsQuLR++PMONdQVJCdqByAV6M3ZslwxBE6aNcHYGEtBE8f7InLh VFdA== X-Gm-Message-State: APjAAAXevJEwFzphbFROE6FEOBvJh7wQxxvJTwfp436Q2EuWHegXwodk RYeLKKKdJh7Kxko5S0MsDN4ZWob408J+/jiwumE= X-Received: by 2002:ac2:5a11:: with SMTP id q17mr13484586lfn.145.1556018496845; Tue, 23 Apr 2019 04:21:36 -0700 (PDT) MIME-Version: 1.0 References: <20190423104649.24483-1-xiaoning.wang@nxp.com> <20190423104649.24483-3-xiaoning.wang@nxp.com> In-Reply-To: <20190423104649.24483-3-xiaoning.wang@nxp.com> From: Fabio Estevam Date: Tue, 23 Apr 2019 08:21:34 -0300 Message-ID: Subject: Re: [PATCH 2/3] spi: lpspi: add multi SS support in PIO mode To: Clark Wang Cc: "broonie@kernel.org" , "linux-spi@vger.kernel.org" , "linux-kernel@vger.kernel.org" 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 On Tue, Apr 23, 2019 at 7:48 AM Clark Wang wrote: > > Add "fsl,spi-num-chipselects" check to support multi SS function in PIO > mode. This custom property does not seem to be needed as the number of chip selects can be parsed from the devicetree file directly. We got rid of "fsl,spi-num-chipselects" property in the spi-imx driver in this commit: commit b36581df7e788b674a4efbb8da7fe4a00c207e8b Author: Alexander Shiyan Date: Wed Jun 8 20:02:06 2016 +0300 spi: imx: Using existing properties for chipselects Patch reuse existing "chip_select" and "cs_gpio(s)" fields from SPI core. Signed-off-by: Alexander Shiyan Signed-off-by: Mark Brown and we should try to also avoid such property in spi-fsl-lpspi as well.