From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from delivery.antispam.mailspamprotection.com (delivery.antispam.mailspamprotection.com [185.56.87.5]) (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 BDAED481FBF; Wed, 16 Sep 2026 21:19:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=185.56.87.5 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789593592; cv=pass; b=r0xEmDKpJVoLNqneclcSdxKJWxRPuVCf4MpRydGbMWXnfB0zY92oN36b0c6mhMLieOe6n3PQ/TJ1Tq0QjdsM2Dp8jHjh4k+vBsBVdfcg0sNLpkMjKZoH4YMZwtBNQRo2azc7+i6Vv/M5p511M5ZcfykKD4O7l/GbcfEHu7xoT54= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789593592; c=relaxed/simple; bh=NrG1vMi7mjuK8rU8iFoqlOm+G1UagPSfu8bXcOD9Q8U=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=AaLQC8MQGyGc6MzHFrsQo+V2m9D6NsvpJdmo3CoaFzHOGS+Tco5vz0dr1ucF+wxo7yByTnMgaLzwIEt+F3iI+f4ahzwtAecm5voYV6ZF4Ui2cJIQXdrmVRqWnxmhbt9tCqFMKGkqfpQGO4MP5Fj3ciHGpVVkmjVhux73AYKslQk= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=valla.it; spf=pass smtp.mailfrom=valla.it; dkim=pass (1024-bit key) header.d=antispam.mailspamprotection.com header.i=@antispam.mailspamprotection.com header.b=AFezdYtc; dkim=pass (1024-bit key) header.d=valla.it header.i=@valla.it header.b=plO3sSjs; arc=pass smtp.client-ip=185.56.87.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=valla.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=valla.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=antispam.mailspamprotection.com header.i=@antispam.mailspamprotection.com header.b="AFezdYtc"; dkim=pass (1024-bit key) header.d=valla.it header.i=@valla.it header.b="plO3sSjs" ARC-Seal: i=1; cv=none; a=rsa-sha256; d=outgoing.instance-europe-west4-f940.prod.antispam.mailspamprotection.com; s=arckey; t=1789593578; b=Qe2EdSRNk9SRjXLNiwnj9rl0heaCU+CLDA/QSX9L6rOGv9ypfNXkwFiSNfUlhlnrm44/lSmjHl Rj2DtF7AtkCPCGhiRcblR07SgBJFmSP80kmgb/AUDngTOj0fo6LUGy65T6lgtfxB2O95WrgFfx IFiBrM8XVXc3FOppXUSE0i4WnnDMmYujQt0UhIUAUAUHKUMTacFPOQqnRlHUULtOL73MCnZp+f iP5yFRn5nG/WWyxjG5XDhOS+OB/f5obCEh78DikZRwgR4fk9N4Bz7csy43dvwiAgnkaM0e5+6N pChAHNiSW+25ccpMoGmpzaPUVyqu8rm4n9Qh1m4Ii+kU8A==; ARC-Authentication-Results: i=1; outgoing.instance-europe-west4-f940.prod.antispam.mailspamprotection.com; smtp.remote-ip=35.214.173.214; iprev=pass (214.173.214.35.bc.googleusercontent.com) smtp.remote-ip=35.214.173.214; auth=pass (LOGIN) smtp.auth=esm19.siteground.biz; dkim=pass header.d=valla.it header.s=default header.a=rsa-sha256; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=outgoing.instance-europe-west4-f940.prod.antispam.mailspamprotection.com; s=arckey; t=1789593578; bh=NrG1vMi7mjuK8rU8iFoqlOm+G1UagPSfu8bXcOD9Q8U=; h=Cc:To:In-Reply-To:References:Message-ID:Content-Transfer-Encoding: Content-Type:MIME-Version:Subject:Date:From:DKIM-Signature:DKIM-Signature; b=DCcd5/vr/QGGEHUherNFy9JjjseqbUsqYBi0zzyGwGrCO4YMXgyVV77civ1juT+nYIAmPvEAAr HkUCYDNWz/YkHXfUTfbj+Po3+hfw+V7dWUvQ+V4jUmSF2kSKchz30JcwU2dhAjmjwaGan0KYNl sVor7N4bBpd5OMJaH0cjteOl64LFcyzfG9tsZKkZ5/6ygpuiyH3p0f+o+tzsYsEFm2KcYb5rNE suXbDhSfSb3+kbtozTMR6iEEM6JEC2g41Dy0xl5Mst8abq3DlBaFEYTaWYL69UtHdC9KDMwHBl KoPkA11afqZSS6LI20rBLEoe8rwICUL/sKajBVzCrwWYMQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=antispam.mailspamprotection.com; s=default; h=CFBL-Feedback-ID:CFBL-Address :Cc:To:Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject :Date:From:Reply-To:List-Unsubscribe; bh=dtdxP9SpG3f91lH58tgZH/LmN4+UT+dL4jUVq/KII8w=; b=AFezdYtchn3igDjHtiv5izHePx ztkbZHg5S1fKOflfzY5JImbXHCkNKFl6Sga9CKIo6Gblv579KnIyr/CnfeT7d7lKbdFRLn5GKm9Bo jQZCxMKswb5UDZzzpzXmRCoGAYziL5zO6J2dRdrjksB0zjs4e35z9mh9uqIG/S7IHugk=; Received: from 214.173.214.35.bc.googleusercontent.com ([35.214.173.214] helo=esm19.siteground.biz) by instance-europe-west4-f940.prod.antispam.mailspamprotection.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.99.5) (envelope-from ) id 1x6wuT-00000002DTP-10nr; Wed, 16 Sep 2026 21:11:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=valla.it; s=default; h=Cc:To:Subject:Date:From:list-help:list-unsubscribe: list-subscribe:list-post:list-owner:list-archive; bh=dtdxP9SpG3f91lH58tgZH/LmN4+UT+dL4jUVq/KII8w=; b=plO3sSjsWcGLFhdB7DYHKt2QdW 6D5bmj/HOJeqC0VyeoZAt+2yYVUe5UPXvu7h5filkOqLeK6nJQ8rBExiC+QoS88XRauPLiT3I4Qkm xUBIqXaq1DN3RgpzHn/5hl5/RV5htN/BpfqfezSrMEDt0xOjGTLIqpOPtlZN77F6t84g=; Received: from [95.233.221.121] (port=62880 helo=[192.168.178.175]) by esm19.siteground.biz with essmtpa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.99.5) (envelope-from ) id 1x6wuO-0000000058P-1JHw; Wed, 16 Sep 2026 21:11:12 +0000 From: Francesco Valla Date: Wed, 16 Sep 2026 23:10:52 +0200 Subject: [PATCH RFC 07/12] dt-bindings: spi: add bindings for spi-virtio Precedence: bulk X-Mailing-List: virtualization@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260916-remoteproc_virtio_map-v1-7-dac8c5eb4aa9@valla.it> References: <20260916-remoteproc_virtio_map-v1-0-dac8c5eb4aa9@valla.it> In-Reply-To: <20260916-remoteproc_virtio_map-v1-0-dac8c5eb4aa9@valla.it> To: Bjorn Andersson , Mathieu Poirier , Kees Cook , "Gustavo A. R. Silva" , Marek Szyprowski , Robin Murphy , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Frank Li , Peng Fan , Sascha Hauer Cc: linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, virtualization@lists.linux.dev, imx@lists.linux.dev, iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Francesco Valla X-Mailer: b4 0.16-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1663; i=francesco@valla.it; h=from:subject:message-id; bh=NrG1vMi7mjuK8rU8iFoqlOm+G1UagPSfu8bXcOD9Q8U=; b=owGbwMvMwCX2aH1OUIzHTgbG02pJDFmrWZ98//l5341Ys0W3+DuPHQl5fmvt/v83e24Xz1okc UGp67lQW0cpC4MYF4OsmCJLyLob9/bMNf+WtoHxEcwcViaQIQxcnAIwkfh0hv+Jb7Z5Xfs0kft/ 1QTGr69cMp//j8k9sJhPnzPJZ/+Ecg9dRobl3truXMKyTPUWuWHnsr4839h8Ku3tpwzdF6rTLkt 0xHADAA== X-Developer-Key: i=francesco@valla.it; a=openpgp; fpr=CC70CBC9AA13257C6CCED8669601767CA07CA0EA X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - esm19.siteground.biz X-AntiAbuse: Original Domain - lists.linux.dev X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - valla.it X-Source: X-Source-Args: X-Source-Dir: X-SGantispam-id: 495f5553029f7f9c6a9ae771922972a0 X-AntiAbuse: ID - 495f5553029f7f9c6a9ae771922972a0 AntiSpam-DLS: false AntiSpam-DLSP: AntiSpam-DLSRS: AntiSpam-TS: 1.0 CFBL-Address: feedback@antispam.mailspamprotection.com; report=arf CFBL-Feedback-ID: 1x6wuT-00000002DTP-10nr-feedback@antispam.mailspamprotection.com Authentication-Results: outgoing.instance-europe-west4-f940.prod.antispam.mailspamprotection.com; iprev=pass (214.173.214.35.bc.googleusercontent.com) smtp.remote-ip=35.214.173.214; auth=pass (LOGIN) smtp.auth=esm19.siteground.biz; dkim=pass header.d=valla.it header.s=default header.a=rsa-sha256; arc=none Add bindings for spi-virtio, based on virtio-device. Signed-off-by: Francesco Valla --- .../devicetree/bindings/spi/spi-virtio.yaml | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/spi-virtio.yaml b/Documentation/devicetree/bindings/spi/spi-virtio.yaml new file mode 100644 index 000000000000..1a0a0763bd2f --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi-virtio.yaml @@ -0,0 +1,52 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/i2c-virtio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Virtio SPI Controller + +maintainers: + - Francesco Valla + +allOf: + - $ref: /schemas/spi/spi-controller.yaml# + - $ref: /schemas/virtio/virtio-device.yaml# + +description: + Virtio SPI device, see /schemas/virtio/virtio-device.yaml for more details. + +properties: + $nodename: + const: spi + + compatible: + const: virtio,device2d + +required: + - compatible + +unevaluatedProperties: false + +examples: + - | + virtio@3000 { + compatible = "virtio,mmio"; + reg = <0x3000 0x100>; + interrupts = <41>; + + spi { + compatible = "virtio,device2d"; + + #address-cells = <1>; + #size-cells = <0>; + + sram@0 { + compatible = "microchip,mchp23k256"; + reg = <0>; + spi-max-frequency = <20000000>; + }; + }; + }; + +... -- 2.55.0