Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2464435lqb; Mon, 27 May 2024 23:56:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWFCKgxI7D+UAufhL5+qGC+to00saPpznyqUSKRhiwhF72yc/f5Ev7a3rHCMSuieGdV6sNYbN2CRysKhWo8EQl3B72hpBN1HwkJHLPDsg== X-Google-Smtp-Source: AGHT+IFTTTNgZTK0qjz62o+9DtwpKtNEOBDUOILT/N+ar9yhZClWLQzBB9+myYpVNS63MJcjycD7 X-Received: by 2002:a05:6122:4103:b0:4d4:15d2:8b3b with SMTP id 71dfb90a1353d-4e4f0293533mr10738625e0c.9.1716879402270; Mon, 27 May 2024 23:56:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716879402; cv=pass; d=google.com; s=arc-20160816; b=lvhDYbfcqFT54QKlpEvAOwfSGIqQZj911ilBaTCfeX4A9iUY4UgPzqZAAuj/v8ouCa W517y2esnhekBORmAvI/1tb+tvqJcR2JFfeCSKHGkEjkMswOG/GkbunogmHeKjfjFU0t H3TXvgFs2SihM5d6kNfcp3U3s1rn7NhcIlztilRM1yfCGWxjQUXrw/Oxz6xeNUqS1Ue4 7EW5N4Jbv+tmMrYjWOA5e+c857Yhpe+DU06dD6mgU5xPOyfVV5FTpmUPKKrVfFwe1riD FXIMqAf3ZNz8BktwPX0Y3H8ycUayKJxnsMFwIt1HYKj7r+IXY2n269aoKwG/DWWb7dDK FEFA== 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=3Rb4BnC8a2t0b1yzK8hj7Hksoqy02E3Bi5yA3QhBbns=; fh=MWm56TSxNi7k6LObK2ikHmEZ1gaiH2GBI2Hz/zTaOIk=; b=0QlVRBwcF+p6QwtkdnF8oq/eWMrtPp7ntgYPACegUeNyS+Xd2mIkRhSwD1m3Q/w8T0 86wwH+67Q2EDKtXpQQiZzjqa9cOvSTGyHQDqA5bSVV+UoWLCqdGI3Us3Xh6Bd0lQj7Op ZVBi8QRK56Iy4hds4uI8Lq5LT8BeAZYaMHbcBNQVcpImzaWHbaqSabkkOxzRijqWO0ok kD8Y9dXKdwSzgDBZtIvGBAJD1SzGEPEksqfGUJBpDmd07zM632jUtR34f7vqKpApACkN VcWHxJingdT4ZaxdknxM30bPmxN4KwWntHDTa5y23jyYhyjj0iEZNTKPgpE0uMIjImYh Ni3Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IGaxTv8G; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-191829-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191829-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-794abd51cb2si934733385a.644.2024.05.27.23.56.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 23:56:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191829-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IGaxTv8G; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-191829-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191829-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id EB0471C21FF5 for ; Tue, 28 May 2024 06:56:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CF4716F08A; Tue, 28 May 2024 06:56:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="IGaxTv8G" Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3366C6D1C8 for ; Tue, 28 May 2024 06:56:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716879393; cv=none; b=asv746rCj6YdyaTtmkhIrjw5w/mZxGL2IuMlrGnq2DHw3WpwCdtHXoMQ9dMPc3dHCP5ivwnITIn8bQi148j7ACf7GNFO8AcWzl1iU67MMe4g1V59jCSMm9W1ty0PJI4zAiXtnIbZZR6yutlfcp+lFdJnftXADQPZDQfb8abYJTY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716879393; c=relaxed/simple; bh=xy04Y7Cl2ggATvVxFEFaLmatY5KPNXhFK1jAeCXe4uA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=IYh1o5gYcHyg1qcs848Q0uqlGgybLFl6aX3phk9OtNjl8fGYtLq5Dxwgeo9sEjW32/sZjlY+b+RW3MzCl2jcbA0sccqQ+CTKcZ+6YDH/yxd2BNgraVICEzramoq03MrXy0CMs6c0h1yIWYGPvAeC+d4dDKknA58jFBY6ukfdonU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=IGaxTv8G; arc=none smtp.client-ip=209.85.208.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-5788eaf5366so511613a12.2 for ; Mon, 27 May 2024 23:56:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716879390; x=1717484190; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=3Rb4BnC8a2t0b1yzK8hj7Hksoqy02E3Bi5yA3QhBbns=; b=IGaxTv8Gnn/jAe+eI5h3bTY0nUJ+hAPurnfFS3BpJx5iKOqS1zTz6aGV3ZA+v8Wgd1 HX9cijcPpB5W8XOEA5FBwRvD5LDnTI0TYeOfhWu1jbdwBYxrbgI61/oVmrB6P5dWhoj9 Jn6VaDujmEye0czfDyYoJtiydcwvbgbqGkG/NLnEmDcrtWV7fHYveEYwL6WA0LKKV8Kj s1BRweOOug3SeNhchk004DFcqC+OlYIxTbtsX6BJahKTzoLvI4aLg8cT7N1on/OGaQdc OFWSXAx2m5Ke1NynIlpd8d61kFKo0ZZDlTwZkRy167uBNSIjxSpzjUWkFONYrcvAuHQc 2EyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716879390; x=1717484190; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3Rb4BnC8a2t0b1yzK8hj7Hksoqy02E3Bi5yA3QhBbns=; b=G3xPeu7VttYXnxARUkVXUIT1bQRP5v7oeb5AhOQ4OTNev6Q3jRR8bn9a4QbSA+FNM3 pMMGePyq0x+/4D2Iucu17+RbEO7YdDw3DYqJkHjfrQp3PtVf5Dh6dszE8XAo1mjGc1/G /uptVMzoSZVHflFZ8cPxlHfPOxSZh0JWj+1FNBKvByIZpPYaaxcZD8sYz7pvvHAGS6sK jsPPcagb0JIH/9w1Z3deTIymKvBIYkHmXfelRYxUm1nGMXjZfGAXGj4E8dYKHdlIQQnE tSsE+WW34GhcaFENR/nmJuM/tWszKu7rZg0lSSjoinTTPkZghS6AIvY2EUb4x5anIhxm 45pw== X-Forwarded-Encrypted: i=1; AJvYcCUV7z1fRQBkRk3nrilmZZLw3AN5MDQgaAwz9hH6SQCxUwRSWYph5k4NwZOwgAnEAWy2Oc4cMEho55k2tspbUOXmq4/tNLuXK61/bknl X-Gm-Message-State: AOJu0YyeN/BWtXlQ7i48Au1gyhDPIK01ah2fy+Y9hWoFDqiMm0ONqtY5 +SwhTGwHP2Iye6fkGeyn5Pe2V8yDD6t0toYOw2YD3L2grVvfbJ8DSp4Ov82XzWw= X-Received: by 2002:a17:906:314e:b0:a59:c319:f1dc with SMTP id a640c23a62f3a-a62642daa92mr764191366b.4.1716879390492; Mon, 27 May 2024 23:56:30 -0700 (PDT) Received: from [192.168.1.20] ([178.197.206.169]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626cda48e6sm573976666b.203.2024.05.27.23.56.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 May 2024 23:56:29 -0700 (PDT) Message-ID: Date: Tue, 28 May 2024 08:56:28 +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 v5 2/5] spi: dt-bindings: cadence: Add Marvell overlay bindings documentation for Cadence XSPI To: Witold Sadowski , linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org Cc: broonie@kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, pthombar@cadence.com References: <20240527084216.667380-1-wsadowski@marvell.com> <20240527084216.667380-4-wsadowski@marvell.com> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzysztof.kozlowski@linaro.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 TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr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mGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240527084216.667380-4-wsadowski@marvell.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 27/05/2024 10:42, Witold Sadowski wrote: > Add new bindings for the v2 Marvell xSPI overlay: marvell,cn10-xspi-nor > compatible string. This new compatible string distinguishes between the > original and modified xSPI block. > > Also add an optional base for the xfer register set with an additional > reg field to allocate the xSPI Marvell overlay XFER block. > > Signed-off-by: Witold Sadowski > --- > .../devicetree/bindings/spi/cdns,xspi.yaml | 38 +++++++++++++++---- > 1 file changed, 31 insertions(+), 7 deletions(-) > > diff --git a/Documentation/devicetree/bindings/spi/cdns,xspi.yaml b/Documentation/devicetree/bindings/spi/cdns,xspi.yaml > index eb0f92468185..d6b8b2a2ecf5 100644 > --- a/Documentation/devicetree/bindings/spi/cdns,xspi.yaml > +++ b/Documentation/devicetree/bindings/spi/cdns,xspi.yaml > @@ -15,33 +15,57 @@ description: | > single, dual, quad or octal wire transmission modes for > read/write access to slaves such as SPI-NOR flash. > > -allOf: > - - $ref: spi-controller.yaml# > - > properties: > compatible: > - const: cdns,xspi-nor > + enum: > + - cdns,xspi-nor > + - marvell,cn10-xspi-nor > + > + interrupts: > + maxItems: 1 Items got re-ordered. Keep previous order which matches expected style (see also DTS coding style). > > reg: > items: > - description: address and length of the controller register set > - description: address and length of the Slave DMA data port > - description: address and length of the auxiliary registers > + - description: address and length of the xfer registers > + minItems: 3 > > reg-names: > items: > - const: io > - const: sdma > - const: aux > - > - interrupts: > - maxItems: 1 > + - const: xferbase > + minItems: 3 > Best regards, Krzysztof