From patchwork Fri Apr 5 15:02:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Th=C3=A9o_Lebrun?= X-Patchwork-Id: 13619169 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.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 AC4A216F83A; Fri, 5 Apr 2024 15:02:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712329340; cv=none; b=JoCch8eCAgZX4N+/tXA79mX9pTYNHXAdAJUJA5gfAEjV2s4k9wsJ2TDwGvj8TmqbcRyO5ESK1V6XGSVmHPkkXQsaIufBanNPvZnlaN7fJcydLFELM+V8DMsOGrYkGm5fqVFv0vM8IENZ5a+PRAO5cDrGz1eslovilNAPjaaj6Gw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712329340; c=relaxed/simple; bh=Fv59z7lNREOZ9zqggxggPs2+8dCuzPBU1A5Z3HcBFGY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=kbnL+GaLl+n/2iVSNhE6KHAATmkw4TKWQrNRoWk4st69WF4oj2NZ6alzznygFG2t3oR8Ys23MTfVV7z+0DVC5WgC48x9IgtHUbqpDmD9YmIM9EV9l/U1+rSq2ylYi9xNKUxqpxE91vNBDdI1U6Bh7SwUUIbPJZuIuDIK+artP4A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=NEXcKC/n; arc=none smtp.client-ip=217.70.183.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="NEXcKC/n" Received: by mail.gandi.net (Postfix) with ESMTPSA id 8027F1BF210; Fri, 5 Apr 2024 15:02:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1712329336; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RzJfFQbN8uRXN7g6fZUa72H4ER4DsHLI5fXnygcJqVA=; b=NEXcKC/nJoeOj4z85TKUHfO7Ufw4Hu1vLkHXsBoc4uu0qAxFacaLS3pPs8LFPGJapWNK15 pwgrBB5MQ1EfN2OdfFg3niRDEAdXnyMcjdR35QL0pUZKO0F6cfzfwMd0vF7jspYrraUQOq f9zK/ZFV72Z7Lmpjiw2JAmuN+BN53nmJy7uj4OU7vxU9P1fN0jEeuSKPqY6m7TLA5FGoPF wj1VtEwrBpco9jAOEj4x/kcloPVgIStfH6b6Cs7xJVNrPW5YfbLmG+RmreIq7FjouIOBPw G9hbkEfAsYr3i6ZDKHlRjYLdSNggg7rrA9rwSrEHtUcbB7+dvBEVuZ2sfiY3IQ== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Fri, 05 Apr 2024 17:02:11 +0200 Subject: [PATCH v2 01/11] spi: dt-bindings: cdns,qspi-nor: add mobileye,eyeq5-ospi compatible Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240405-cdns-qspi-mbly-v2-1-956679866d6d@bootlin.com> References: <20240405-cdns-qspi-mbly-v2-0-956679866d6d@bootlin.com> In-Reply-To: <20240405-cdns-qspi-mbly-v2-0-956679866d6d@bootlin.com> To: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vaishnav Achath , Thomas Bogendoerfer , Rob Herring 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 , =?utf-8?q?Th=C3=A9o_Lebrun?= , Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-GND-Sasl: theo.lebrun@bootlin.com Add Mobileye EyeQ5 compatible. FIFO depth shall not be passed; hardware can detect it. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Théo Lebrun --- Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml b/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml index cca81f89e252..5509c126b1cf 100644 --- a/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml +++ b/Documentation/devicetree/bindings/spi/cdns,qspi-nor.yaml @@ -61,6 +61,17 @@ allOf: cdns,fifo-depth: enum: [ 128, 256 ] default: 128 + - if: + properties: + compatible: + contains: + const: mobileye,eyeq5-ospi + then: + properties: + cdns,fifo-depth: false + else: + required: + - cdns,fifo-depth properties: compatible: @@ -68,6 +79,7 @@ properties: - items: - enum: - amd,pensando-elba-qspi + - mobileye,eyeq5-ospi - ti,k2g-qspi - ti,am654-ospi - intel,lgm-qspi @@ -145,7 +157,6 @@ required: - reg - interrupts - clocks - - cdns,fifo-depth - cdns,fifo-width - cdns,trigger-address - '#address-cells'