Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp441590lql; Mon, 11 Mar 2024 07:19:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWX+uEO4MapLoKTFB3Sw6izK+9uXCy5avdrUmzDtsizMMlfBqdh529QnxCebvQ5sXnaOIPxV0jHqQhXKVnZjduYwpyGTZeOrZ2ZyINSUw== X-Google-Smtp-Source: AGHT+IH8+dj3YQFRdAA4bvlrez7ysqSDG4kIy/5mdTCP2mfYUeaovt1NMbuM2egNDRCMLd9Fef/K X-Received: by 2002:a05:6830:1193:b0:6e4:dc62:4639 with SMTP id u19-20020a056830119300b006e4dc624639mr6709732otq.23.1710166799513; Mon, 11 Mar 2024 07:19:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710166799; cv=pass; d=google.com; s=arc-20160816; b=Fq1iT/O1Ryw7f4OJ0kOo5gc2yvNEQ4q7/Cu009yJwtAhZf9w0F5RAbmnttDp8de6so g9Rr9jKAMlBzFFjHku9WBLXoTCYIzNhxiaUtU0B26ch1sthzUP0zLC5BgsgjbVcePM6E ONU+FvLRZegLlf641wAaMLZw3XqZ0nP8S7mXGVcO9E2RvwrR4fOgDV+73CzcXFWvXfa+ YyggyVMvVvRViwrl4Ba2c8+nLiTDIMrp4bWWDXOB7Qr500TP7ZR8MYAuHSkTkL/FcFYt AjZjeyIxw3flga45goy/koPXTU9ktB1wM3w4ChzIjb00Lc/eSBcOiwj/5l88GH8vfKE8 bIbw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=oEfxD47P17376HaVN5QCqzhMLDLW1AovPI/CpxbhNnI=; fh=HBFczpaOzKSotRIyaElLAwtmfDOioSsMa/gvLS/xHMs=; b=QnozGDzA70MxA6w8kEcHqNK53Rche1spcWllFyUC4gQnUyzWfDE2kL6Nbe2mvvJqLm NBviZ86GJ6FjDVKYbEKcwJrm/RL4VA+6fsDtymxjetVtSRiFaT0834nLhkB7aaYqHrhy zWPstHaJTHvykGChZpV+A0BEO2WFU9NQMe4QjQBAD7TK2jamgElcH7bggon0FVBxau1y 0Y3Ppbgm1HCYkAEaNuCR6wOW1uGx/XIO7M0MIH7au9eay7U/W/1HK2xAPA9+2Z6hJAyw 95wlRjUzanRTuan6lpJXKyu5KKjh/TzqIj6x2fxOB4ChMcUEvRZQwok1OE+f37UTLEI4 STrw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Rqiaeyx/"; 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-98940-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98940-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id m22-20020a63ed56000000b005dc892988e1si4913495pgk.509.2024.03.11.07.19.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 07:19:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98940-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Rqiaeyx/"; 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-98940-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98940-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 8C1B8B22F2C for ; Mon, 11 Mar 2024 14:06:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 71C913FB87; Mon, 11 Mar 2024 14:06:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Rqiaeyx/" Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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 C908E3FB8A for ; Mon, 11 Mar 2024 14:06:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710165976; cv=none; b=DN+Z/9bjPi+Lk8zmwan91cqVka8eTjKGMGwJqRq4y7v5YAznqDWdrKbZKEU+TSJv0Dcimt9/8fsSRTfLzwqcIzOqk9KSJX1QgJrQKD8T+Rst5JOB1Io48PHWaKWwcVVt7+2TgiC5TRpDIpiGK7MgkOb4oAMI0ad/qaxV82KfR50= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710165976; c=relaxed/simple; bh=lgogrjy9kuME3sQy/ONRQafuDu2sN7ANTyoJLy+/q8Q=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=AO7yi1LU+jKhRzLCBKaXixO5lgH9TVE7GBlUVKl2mFFJTDBhBSrbaONy2Cf+Mvwf7ZiZocZckJOpNPArucqfao29BkjRFEyiIv0z3SEpQf+msztuwivEDGLKyIvV/z5c199KWpgsTcvdXJ9TNkR2YZb6yVz5T+1ntnjNBazE4IE= 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=Rqiaeyx/; arc=none smtp.client-ip=209.85.221.52 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-wr1-f52.google.com with SMTP id ffacd0b85a97d-33e92b3b5c9so1419793f8f.2 for ; Mon, 11 Mar 2024 07:06:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710165973; x=1710770773; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=oEfxD47P17376HaVN5QCqzhMLDLW1AovPI/CpxbhNnI=; b=Rqiaeyx/toJ2p9H8V5k5s2lZeXjSAfevgDrstKqf93y2dT7tIAs/iGkzz6qP0JZ3pk zf0eLqXAO5sz0lepKscfarucRxQGY9k2TBseTtoAi3hU/MS57cnktaPnelI25RccclxD 5wpvJm5HZQR8tH7KkCJzplv1680GxPSHqnP4yMMfy6rG6sJIvRYZ3cAtKmqAWBJDMNov fRB5XkKpQhKFl0D9MTfVyePcnw1ptr6DJzcIRxDKBZrQjOiD98jsn1x4U1AXNyCHMr8K F1dWlUO/8i+xu0bWwPqKe1EGbaTIHlmQTGO8uSBoxRf8SfUj/0Vj+uacunpD4eahTglG IAWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710165973; x=1710770773; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=oEfxD47P17376HaVN5QCqzhMLDLW1AovPI/CpxbhNnI=; b=Wn9+dx5lsFI0EFxLT0nD29CKOg4BX3WjQzK4Oj2Z5z3WJhuNLtTh5KuI5otRHI+za5 7TVgeYEQ3mFapErIt+mZ+UM0ViIITlQI93iS0+sX/iW8iAXW0rIsG5DWa76L1hOviQrP MJiSLEd3/ObN3dfd/JbfhlKSM6mQCfcKqU49x6VWiHgdN+EvjOrte6GqxkwevTjqpcGV czP3X/82BmU1lNSHjVL3AzkoNawPeMIiDGMSvzKAsCvXoUn+ONfgxpV1fvUcDKwRdgsZ eruEJHPGRu/VTe2MuEexPDpYu5rB9ejMD3Lv8hXqXxMVsINDevgHywUEB69kDJ+kcaUF QLkg== X-Forwarded-Encrypted: i=1; AJvYcCUw35uHMGarN6lnJh7ObQ8HzW4qHEnG6IrwkqjPq9prssYBpVYduwdJh/mLbbWXss12r0UegrFOAV/09kmhUcUZ3nE2ZzYGfZ6RPbNn X-Gm-Message-State: AOJu0Yyv1Zav7dRVTE8bV/DTP2kR1LuMQOmgbe1n+TOvrKX85lk4DIWX rnaM8Ok+g3scWEPj42/6au0IPplddQJx7N+0Dj3ZhlXg04EYBYmXKVkrSz8Hxos= X-Received: by 2002:adf:f1c8:0:b0:33d:f3c4:6002 with SMTP id z8-20020adff1c8000000b0033df3c46002mr4387671wro.1.1710165972907; Mon, 11 Mar 2024 07:06:12 -0700 (PDT) Received: from [192.168.2.107] ([79.115.63.35]) by smtp.gmail.com with ESMTPSA id m18-20020adffa12000000b0033d8ce120f2sm6531216wrr.95.2024.03.11.07.06.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 11 Mar 2024 07:06:12 -0700 (PDT) Message-ID: Date: Mon, 11 Mar 2024 14:06:10 +0000 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 11/11] MIPS: mobileye: eyeq5: add octal flash node to eval board DTS Content-Language: en-US To: =?UTF-8?Q?Th=C3=A9o_Lebrun?= , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vaishnav Achath , Thomas Bogendoerfer , "linux-mtd@lists.infradead.org" , Pratyush Yadav , Michael Walle Cc: linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Vladimir Kondratiev , Gregory CLEMENT , Thomas Petazzoni , Tawfik Bayouk References: <20240308-cdns-qspi-mbly-v1-0-a503856dd205@bootlin.com> <20240308-cdns-qspi-mbly-v1-11-a503856dd205@bootlin.com> From: Tudor Ambarus In-Reply-To: <20240308-cdns-qspi-mbly-v1-11-a503856dd205@bootlin.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 3/8/24 17:18, Théo Lebrun wrote: > Add SPI-NOR octal flash node to evaluation board devicetree. > > Signed-off-by: Théo Lebrun > --- > arch/mips/boot/dts/mobileye/eyeq5-epm5.dts | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts b/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts > index 6898b2d8267d..0e5fee7b680c 100644 > --- a/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts > +++ b/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts > @@ -21,3 +21,18 @@ memory@0 { > <0x8 0x02000000 0x0 0x7E000000>; > }; > }; > + > +&ospi { > + flash0: flash@0 { > + compatible = "jedec,spi-nor"; > + reg = <0>; /* chip select */ > + > + spi-max-frequency = <40000000>; > + spi-rx-bus-width = <8>; > + cdns,read-delay = <1>; > + cdns,tshsl-ns = <400>; > + cdns,tsd2d-ns = <400>; > + cdns,tchsh-ns = <125>; > + cdns,tslch-ns = <50>; These cdns properties look bad, they bypass SPI NOR entirely. I'd check if these timings can be determined at SFDP parsing time, then I'd pass them to the SPI controller. I see these properties are already accepted in the bindings file for few years now. Something to improve later on.