From nobody Thu Oct 9 20:22:55 2025 Received: from out-179.mta1.migadu.com (out-179.mta1.migadu.com [95.215.58.179]) (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 A63C420E01F; Mon, 16 Jun 2025 22:01:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750111278; cv=none; b=FUc+e2Af9DyW7dta2ukupmefEsLHHh+WQCWEFSofvKUUf/dYR+O5i+b6ozliQsPv6MaKkS+tFIRqR+s9258GE8TVvIWvkbxJVNAucPa0moQzE9ImlEoqlKMlIwKILPdgSpHWFpi60Wa6R1HvTJGlV6f+ppQVW+WmI1YsB4Y76Uo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750111278; c=relaxed/simple; bh=Vhfy//Tt2j7qdqBp2swhp7LRoCz7fTH1cTzQHky6pzE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=CsmkiUiIav5+91Iho7eH+Om1gqPO042+Ls5acO+jShZmJnEGbucW8t86WRI6TRaqrp19CDsIkB/poH+yT+ivLQ8AzRpHnGvuAz/AG+c2LSjxSCBHpqtLOydIQGse86xpY+GBmFAXtC/cOp5Q+P1mwFu+agelEUoEjU3uHyq++xI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=F91ClS5f; arc=none smtp.client-ip=95.215.58.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="F91ClS5f" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1750111273; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DYNxKYy9tzRuJkdjCisZbvAuwLPriCoPPBBF8f3Xfak=; b=F91ClS5fDbY1agTH3+ZLkRlkBQZ4vz/bewBbT8pDW2tFKLX+Y9kaJNWbl5+/LuIdyC1lUV lIk4woGYrtDdmMW0/XhZ4A4XlBJ+fXUd/N2Gw7nB+NjzKOqa2n4U36ldOOO1ZA3587NDOl lk32sZWaPPtxaE824aC68ydUaZkfA9M= From: Sean Anderson To: Mark Brown , Michal Simek , linux-spi@vger.kernel.org Cc: Jinjie Ruan , Miquel Raynal , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, David Lechner , Amit Kumar Mahapatra , Sean Anderson , Conor Dooley , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH v2 2/9] dt-bindings: spi: zynqmp-qspi: Add example dual upper/lower bus Date: Mon, 16 Jun 2025 18:00:47 -0400 Message-Id: <20250616220054.3968946-3-sean.anderson@linux.dev> In-Reply-To: <20250616220054.3968946-1-sean.anderson@linux.dev> References: <20250616220054.3968946-1-sean.anderson@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" Add an example of the spi-buses property showcasing how to have devices on both the upper and lower buses. Signed-off-by: Sean Anderson --- Changes in v2: - New .../bindings/spi/spi-zynqmp-qspi.yaml | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/spi/spi-zynqmp-qspi.yaml b/D= ocumentation/devicetree/bindings/spi/spi-zynqmp-qspi.yaml index 02cf1314367b..c6a57fbb9dcf 100644 --- a/Documentation/devicetree/bindings/spi/spi-zynqmp-qspi.yaml +++ b/Documentation/devicetree/bindings/spi/spi-zynqmp-qspi.yaml @@ -69,7 +69,7 @@ examples: #address-cells =3D <2>; #size-cells =3D <2>; =20 - qspi: spi@ff0f0000 { + qspi: spi-controller@ff0f0000 { compatible =3D "xlnx,zynqmp-qspi-1.0"; clocks =3D <&zynqmp_clk 53>, <&zynqmp_clk 82>; clock-names =3D "ref_clk", "pclk"; @@ -77,5 +77,25 @@ examples: interrupt-parent =3D <&gic>; reg =3D <0x0 0xff0f0000 0x0 0x1000>, <0x0 0xc0000000 0x0 0x8000000>; + num-cs =3D <3>; + cs-gpios =3D <0>, <0>, <&gpio 5>; + + flash@0 { + reg =3D <0>; + spi-buses =3D <0>; + compatible =3D "jedec,spi-nor"; + }; + + flash@1 { + reg =3D <1>; + spi-buses =3D <1>; + compatible =3D "jedec,spi-nor"; + }; + + flash@2 { + reg =3D <2>; + spi-buses =3D <0>; + compatible =3D "jedec,spi-nor"; + }; }; }; --=20 2.35.1.1320.gc452695387.dirty