Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1831392lqm; Fri, 3 May 2024 07:46:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVh1mqI2schGvr1z1JosG5Q6tHsvdXWcJIVe1XHpLwNV2ytzaelBmWl4XzBnctpz1UR9hWUZVw9yvxHHNjRNorc9ccR5DxeRYkemdvV2A== X-Google-Smtp-Source: AGHT+IH1fU/PX12klLZfPxNIQFC50WX2B71zZMXURkOgTXS5B3XRD5evoLp02O41iqzVhXDINs6u X-Received: by 2002:a05:6a00:39a6:b0:6ed:4288:68bc with SMTP id fi38-20020a056a0039a600b006ed428868bcmr2755971pfb.19.1714747588386; Fri, 03 May 2024 07:46:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714747588; cv=pass; d=google.com; s=arc-20160816; b=aKNXp6LZ9a+7TzoMUkPlX9mYQUw1779DO22YHCJi+6OBbT0TwZguDUWpskeeP8qJ4e pYl29RF9GGGWc+JFlO3AS7aNqMsfdQJqTHjSzt9+zzbYunjQT6qyYIjoOVQas+Angj2j 5G5QKBNsVD/U/ffi8H6AYSlh8RrgTQgTocOdCB3FbAvb+lgoWR40pigsArxYrtPm85sz 4yGmc47aiY2g+h+jXHrV2bcAeUfV9j/2mj+nrVHmuEn+Bn9F0Ld60wQiIg0uBqpfD/E9 I3MvU4PJKMrA7NC7GNSkV0YNxFmQd4ELQzxLW0NsvgCLxx+nir1KS278CXR01MAMsQTJ 90LQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=IjdXOldDgalLwlXhl9NxYaj3/WuB8XlsFllXsycNjP0=; fh=ndWO1UIuMgVvhaoi/++7yUD3aAgZ2FNuwtYtjlA7dX0=; b=Fwxxq889qnVMGAEqmTs/u7n+rRomeus+m1jjTUfXiOEat9Al+tTxImJ0DrJoBx6sQi fczFglwCQAuuAtaEgxVqqF1RNJMAT/MCDX0qc5juVg/zUT/RKqyi7KL7nNvsCyImSaN3 BwmtnhR9cBvux/spcnU+aj7ILwH3DGwFCKoNFean0cEQYlXzame/T87KxRyaYkZ7nID1 2f06lFMI8x68se5NGx6LpGmxw7z9f4WrNAO5ntqnomzIMUhkjl++hbhkrtAMit4GFNIb BTNEjZq3Z7Uqe5VDy/j5tmZFNkVGLtQ0F5cA1OMxE5b1BSIww16lP2YKoilzv25D4MLt 7Ozg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bItzuRmS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-167786-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167786-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id t7-20020a056a00138700b006f44ea147d8si867011pfg.292.2024.05.03.07.46.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 07:46:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167786-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bItzuRmS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-167786-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167786-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 036A6283D7F for ; Fri, 3 May 2024 14:46:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 364BF46557; Fri, 3 May 2024 14:46:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bItzuRmS" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F9B62E827; Fri, 3 May 2024 14:46:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714747580; cv=none; b=Jew/l4XYJ7Py/xDZvSLoE0UkWtTNfV2UJsHhttGeiZIdwa3UDd/ADdeVmg16YSk8+wlkjPB27ZOfd2v8aZRco1r6mxvu5iD8h9ZOqexucYvlFmRN2Va0RgqLU/sVlGZWpGtqBRqxRV2NV0pdb26xjxuG9ZKtaCim3HGtW7LRmRU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714747580; c=relaxed/simple; bh=NxNcbhOCjngDaCVHjRPwz5ihVV74qe9PSAym9R0E9Ck=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=nN2heyeS1BXkpKJywCChw1AjPnsUh8VaXyOSAlTOmG7F/98/DLyoHDFXds7iZnOszGJPLr8fLjg6g8TC00PoaWEhdV6ZX/JPCj/VpwPf4IFmdlhHXmNtUy1hUbp2zBt0NleSlEUbCukSIAY8d64nQZgMDQkqb3/6NfOGSqQsSH8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bItzuRmS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43C03C116B1; Fri, 3 May 2024 14:46:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714747579; bh=NxNcbhOCjngDaCVHjRPwz5ihVV74qe9PSAym9R0E9Ck=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=bItzuRmSftrASWXB8bfUvrheyly/NaMWMiZQW4eHmGkRMGYNww3pxYY64dpdozKTv d8AADK4gzmIXE6E7N0rxqaszsmistNyFl8eEu33s2Mub9zd8RxHzdQLTkt0M8R4+GT a2mtDcos4Bto0Kh9BEQEmVfoReSiE2DweXQ4m2KdP6CuawLqQ7Ek7fGf4Kpf8CDcTU muhTuAULZZlK//rOOyRwlegbaNd786nFfWkFBHBuJViUOKgaQpI6+8kHnYNOvW2s2m Vk2CDrVZ/4QpjcInj4czmf6wJxMHe6/UJe5qA7mckJbnTGF9Fd7S95r66jv3WfJpQv a6EzMyNiXXkHw== Message-ID: <7b6489b7-ec9f-4fc7-af72-4d5cc87acd7f@kernel.org> Date: Fri, 3 May 2024 16:46:13 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/3] spi: dt-bindings: Add num-cs property for mpfs-spi To: Prajna.Rajendrakumar@microchip.com, broonie@kernel.org Cc: linux-spi@vger.kernel.org, linux-riscv@lists.infradead.org, Conor.Dooley@microchip.com, devicetree@vger.kernel.org, robh@kernel.org, linux-kernel@vger.kernel.org, krzk+dt@kernel.org, Valentina.FernandezAlanis@microchip.com, Daire.McNamara@microchip.com References: <20240502143410.12629-1-prajna.rajendrakumar@microchip.com> <20240502143410.12629-3-prajna.rajendrakumar@microchip.com> <10671947-f418-4520-a29f-4ce129770e65@kernel.org> <1edb6c4c1a66c1a2009278b99f897e3a71b592c6.camel@microchip.com> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne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GS5M9RFWS+nYyJh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: <1edb6c4c1a66c1a2009278b99f897e3a71b592c6.camel@microchip.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 03/05/2024 14:54, Prajna.Rajendrakumar@microchip.com wrote: >> >>> + - if: >>> + properties: >>> + compatible: >>> + contains: >>> + const: microchip,mpfs-spi >>> + not: >>> + required: >>> + - cs-gpios >> >> I don't understand what you are expressing here. Did you actually >> validate it that it achieves exactly what you want? > > Since the controller supports only one chip select, the num-cs should > default to 1 and cannot exceed 1 unless GPIOs are used as chip selects. That's not really the answer... or you want to say you did not test it? Best regards, Krzysztof