Received: by 2002:a05:7208:31d3:b0:81:e143:7c29 with SMTP id v19csp407282rbd; Fri, 5 Apr 2024 08:02:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXFP+pb9lKtDsS3p6EJVfZU7Duo4f7RoYVHB7T3diIja+OnJEzAEUgI6HrwL15Y0Al/mXgSD1U5PaiqQdTDIxDByQZxCFLwEeXwGdyonw== X-Google-Smtp-Source: AGHT+IGlouRz9mO//t55p4kt948KvSL1GeXMnVbAvDtP/Yk0/G3baNeKNK8SFbB1e1SAxJKwMa7L X-Received: by 2002:a17:902:e9c6:b0:1e2:b137:4f88 with SMTP id 6-20020a170902e9c600b001e2b1374f88mr1820938plk.30.1712329357860; Fri, 05 Apr 2024 08:02:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712329357; cv=pass; d=google.com; s=arc-20160816; b=AgqWuUDMAd4GPVrUCiovPG7Z706VDiGiFS0bRBIba7MadVAmo5kpJ7kTL3zy5u+Nh4 dsLp+ykVfrzFYISIZyJe5uNFW+3ryrAYMO3H1xiy6lFAuKXloO5JIkrebgDm1cLu1/PR QLIU5JkNSpn9Ho0FMBCwtlVInto1WbE9Ilv0+4BLFrGPuFlaXmbvHqqDVD28NHDLW3Xu XyWHkob1//32hQ5w+twSA2Nqhu1rPzWfNOF7C86MKYLJdMeaUpoNO+UnurIW3uBjnUMo pnC6Xd2uLQACID8KXurpeIUHnV1MeZRjfpRluPEKJ4UcmsPskL4tIAZ9iZ55r+DLb1oo FEzg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=RzJfFQbN8uRXN7g6fZUa72H4ER4DsHLI5fXnygcJqVA=; fh=IWuIS2i/bnSVGWyy+6tqnzsJo41dtYeGH4NDrSGIfTg=; b=EKlwh8N+sylklTWpF4Bnn6xL0+g8NszjsRpWgs0kJFGttpyDYMmONPEhTjLVCJV+UK FQxmfEcyYRLqbbI8t0cOfTPD4yJfalS6UU4+siAmaTzNQAqAqA4hN4d4H3d7Ir1YyRa0 tRPQ95nL6bVj9KSZ+bx8a4iorQRtB+EWtkOygd99UGCxOS2otOI76qcL7SqtlIWz4Zsx P5MEbYlALUO14+lyfI0Mt6dJ+4/0dRpUi96HTj8xH8VVdul5a4zBbwkNIGR8peK4KPyZ EGaVrkLsfyn9E9GMAgMqEFVYaFCE4hX6lJU0eoT4Lt+YmTADwPLWF6P7GcgOQ0Xtp8A/ qlng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="NEXcKC/n"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-133204-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133204-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e11-20020a170902744b00b001e0f6e811e1si1426182plt.500.2024.04.05.08.02.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 08:02:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133204-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="NEXcKC/n"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-133204-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133204-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 9938F28709D for ; Fri, 5 Apr 2024 15:02:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DE7FD16F8F8; Fri, 5 Apr 2024 15:02:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="NEXcKC/n" 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 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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' -- 2.44.0