From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj2-f13.google.com (mail-pj2-f13.google.com [74.125.227.141]) (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 BD99B55D86D for ; Tue, 22 Sep 2026 15:43:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.227.141 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790091839; cv=none; b=jbSQNEZAvuIH06iAU1kn2M3NfChHTpDxvVmHUMd4s8le7iFqf1VBaC830KYfLJBP7N6FMNGdjEDKBk9ubZoAcoGF8cQbid7lNO67aRud2/qyb5EfJt8UXBlimJsjlOnWYfy6AiiGKzDYIFM17WwzYhMA7ov+BKh2kC+I5NWmsgk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790091839; c=relaxed/simple; bh=MPJa407hEU35uhm5nNbxl1o7nH1It+GZNahj267Ph9Y=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UMRKpq4KzzVJugt9R5GwMMHxDYgU/2Xm2f8HV2JZYG7YjzuoRDZ0w49XrdwWVVI6g3OgT6aRayLG0Awnzi6Qq4swC9z0VLA8NRz/jIx3dLEbeHExmPIJ4evp5N1MYwU8SIiPsMJRV1TWZjakMzUW5nSmKFEPY33EIQKbmhmMzKI= 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=xDEQN812; arc=none smtp.client-ip=74.125.227.141 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="xDEQN812" Received: by mail-pj2-f13.google.com with SMTP id 98e67ed59e1d1-398c066106cso36133a91.1 for ; Tue, 22 Sep 2026 08:43:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1790091836; x=1790696636; darn=lists.linux.dev; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=M3+7e8iXJEjn74p0MvD+DqdSnpalQ9TYucgtTBbjy+c=; b=xDEQN812OykqFWBD+YpMJx+rqv9F6tjUrRrYd5yEzh0GF0kRwpeRIiVXvVlKmUvFfT dQkz1axgKiIE6PmYxd8K5Y0fY4GnUd0FguDhk1kKXi+1xwLIVvHymBXx/304m5ei12CW Vdd9SKK1n59tXLvXDaV4kbTg7MQTO+GKhAyHSTz9aSsoYXVpNxel+EI7Ij/tRhhW0grd rbTj0y/FurQRn2TkqpPde4qEX76K6p4CfkSkwADFjSPjOc3NmPGPtwQyaHk6ge3CHUuN mLQ+xLf5spW9xrLPk9MGnJjxCLbirtGQqO5XOiYB0708FJZflNqg+CUX5qyPfWUYNfxr WW1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790091836; x=1790696636; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=M3+7e8iXJEjn74p0MvD+DqdSnpalQ9TYucgtTBbjy+c=; b=J6X3iPCgYDO0Iz9pd6zDZGqK8fQZSUSA9lDS499GI/fmiR7nUCTLJKnSU4ugtXYH8j EDeursUIAPuuGUAG2NIOWozLUnew3QrzJ9/2AR9fYNg0aWsMKwjR4oifnOqOnP8A2kIq zJqRoikBFj9KWVpnHfH+N1bS4FsEIGuqXVL8fMQBGF4HGdAC5E+eSv6HZ3CAHp74RF35 oOXnA9p5y5mUzDlT+GlpMvS/EV0BoFTOy1BVna3IOEjsRYGxUGqPgV1y5eKUvVRPJJNp XDSlK+6uOeUOposbfCDliWN6zbqT+mXwjpTTiyLDPdol5Uv5tXEk07Q5+nBqOmyhljvt gOLw== X-Forwarded-Encrypted: i=1; AKwUvBzBnwzHe1wObKqN2heJ7Oq3Qx7qiXM630QAYvsUoFBAxnp8+PJGlQDuR+jDWSO9Om6KxXM=@lists.linux.dev X-Gm-Message-State: AFuF++ltbjvFgHnQN4a6JCJDw66cH3OGt1FAPmwImp3wtiNaztFXzAbP pxMz3PesnyvRDWStPcwsZ07AHHMMOhvMRrr5avBKFUbzcUiw/yQhUnaY6vM92U0WPgk= X-Gm-Gg: AYBFou36i8VFPAOmQlh6K5C05g/Y5eGcZTlWICzzDlBFr+gntQ+/RFE/z8d/z/8xUW9 bq0j24x8+gsa9m0EUCJ7KcjQKYMDoZKG8OVeUy+MaF2VN0yyu0Tzel1eGlyIMCX3JhC9qS+4H06 TGd16g9Z+j+LI3ljge5UTlUzhe+MKbUx0CwNeBslOZ1UpC5Klttsf5RuVokT6p93Ac/qibQKmbh NeTQgfM6S0+etkNI+mwYeuFR7P+0KPin9CLyqQsPV9ElLz9eLX6kPDPkmoOeA9O9bUQWYnI917c ufxPsVbDu7mdrQuIFkzeZvybLQXlKOiac91wcuM0FL+zi6yv90a/4LVNOB2Ky15Ual6ZmoZbOFP fuA7L1m+yBhxvG6aUcoJkZofcZoRIPhTgOgRLnFwst/smV3gVrWu6nGN5D5desr03cUo0aj6ZFP 6T9azSkEGegGzOve9HEY0bZIRPnR/kKXCsvpUYum2gv4OIKWnzPZ5IU2xklD8QaA5Yn0TFwEVDA oBG2DLCFos= X-Received: by 2002:a17:90b:1d48:b0:39d:efa9:cd25 with SMTP id 98e67ed59e1d1-3a07306c5d9mr1633442a91.2.1790091835796; Tue, 22 Sep 2026 08:43:55 -0700 (PDT) Received: from p14s ([2604:3d09:148c:c800:1046:ab8:737c:d2e2]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3a07dbf69f0sm34882a91.8.2026.09.22.08.43.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Sep 2026 08:43:55 -0700 (PDT) Date: Tue, 22 Sep 2026 09:43:52 -0600 From: Mathieu Poirier To: Francesco Valla Cc: Bjorn Andersson , Kees Cook , "Gustavo A. R. Silva" , Marek Szyprowski , Robin Murphy , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Frank Li , Peng Fan , Sascha Hauer , 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 Subject: Re: [PATCH RFC 12/12] PoC: arm64: dts: imx93-11x11-frdm: add multiple vdevs Message-ID: References: <20260916-remoteproc_virtio_map-v1-0-dac8c5eb4aa9@valla.it> <20260916-remoteproc_virtio_map-v1-12-dac8c5eb4aa9@valla.it> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260916-remoteproc_virtio_map-v1-12-dac8c5eb4aa9@valla.it> On Wed, Sep 16, 2026 at 11:10:57PM +0200, Francesco Valla wrote: > Add rings for multiple vdevs, as well as the required virtio nodes for > I2C, SPI and GPIO functionalities. On top of that, add example > peripherals using all of them. > > NOTE: this is a Proof-Of-Concept, not meant to be integrated! > > Signed-off-by: Francesco Valla > --- > arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts | 128 +++++++++++++++++++-- > 1 file changed, 119 insertions(+), 9 deletions(-) > > diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts > index bd14ba28690c..dfa3b122ac5f 100644 > --- a/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts > +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts > @@ -53,6 +53,32 @@ button-k3 { > }; > }; > > + gpio-keys-virtio { > + compatible = "gpio-keys-polled"; > + poll-interval = <100>; > + > + button-v1 { > + label = "Button V1"; > + linux,code = ; > + gpios = <&v_gpio 23 GPIO_ACTIVE_LOW>; > + }; > + > + button-v2 { > + label = "Button V2"; > + linux,code = ; > + gpios = <&v_gpio 24 GPIO_ACTIVE_LOW>; > + }; > + }; > + > + leds { > + compatible = "gpio-leds"; > + > + led { > + gpios = <&v_gpio 18 GPIO_ACTIVE_HIGH>; > + label = "LED V"; > + }; > + }; > + > reg_usdhc2_vmmc: regulator-usdhc2 { > compatible = "regulator-fixed"; > off-on-delay-us = <12000>; > @@ -89,11 +115,6 @@ linux,cma { > linux,cma-default; > }; > > - rsc_table: rsc-table@2021e000 { > - reg = <0 0x2021e000 0 0x1000>; > - no-map; > - }; > - Why is the resource table removed? There is no mention of that in the changelog... > vdev0vring0: vdev0vring0@a4000000 { > reg = <0 0xa4000000 0 0x8000>; > no-map; > @@ -105,12 +126,42 @@ vdev0vring1: vdev0vring1@a4008000 { > }; > > vdev1vring0: vdev1vring0@a4010000 { > - reg = <0 0xa4010000 0 0x8000>; > + reg = <0 0xa4010000 0 0x1000>; > + no-map; > + }; > + > + vdev2vring0: vdev2vring0@a4011000 { > + reg = <0 0xa4011000 0 0x2000>; > + no-map; > + }; > + > + vdev2vring1: vdev2vring1@a4013000 { > + reg = <0 0xa4013000 0 0x2000>; > + no-map; > + }; > + > + vdev3vring0: vdev3vring0@a4015000 { > + reg = <0 0xa4015000 0 0x2000>; > + no-map; > + }; > + > + vdev4vring0: vdev4vring0@a4017000 { > + reg = <0 0xa4017000 0 0x4000>; > + no-map; > + }; > + > + vdev5vring0: vdev5vring0@a401B000 { > + reg = <0 0xa401B000 0 0x2000>; > + no-map; > + }; > + > + vdev5vring1: vdev5vring1@a401D000 { > + reg = <0 0xa401D000 0 0x2000>; > no-map; > }; > > - vdev1vring1: vdev1vring1@a4018000 { > - reg = <0 0xa4018000 0 0x8000>; > + vdev5vring2: vdev5vring2@a401F000 { > + reg = <0 0xa401F000 0 0x1000>; > no-map; > }; > > @@ -149,8 +200,67 @@ &cm33 { > <&mu1 3 1>; > mbox-names = "tx", "rx", "rxdb"; > memory-region = <&vdevbuffer>, <&vdev0vring0>, <&vdev0vring1>, > - <&vdev1vring0>, <&vdev1vring1>, <&rsc_table>; > + <&vdev1vring0>, <&vdev2vring0>, <&vdev2vring1>, > + <&vdev3vring0>, <&vdev4vring0>, > + <&vdev5vring0>, <&vdev5vring1>, <&vdev5vring2>; Who is using vdev5 vrings? > status = "okay"; > + > + virtio { > + #address-cells = <1>; > + #size-cells = <0>; > + > + vdev@2 { > + reg = <2>; > + > + v_gpio: gpio { > + compatible = "virtio,device29"; > + gpio-controller; > + #gpio-cells = <2>; > + interrupt-controller; > + #interrupt-cells = <2>; > + }; > + }; > + > + vdev@3 { > + reg = <3>; > + > + i2c { > + compatible = "virtio,device22"; > + #address-cells = <1>; > + #size-cells = <0>; > + > + eeprom@50 { > + compatible = "atmel,24c1025"; > + reg = <0x50>; > + }; > + }; > + }; > + > + vdev@4 { > + reg = <4>; > + > + spi { > + compatible = "virtio,device2d"; > + #address-cells = <1>; > + #size-cells = <0>; > + > + sram@0 { > + compatible = "microchip,mchp23k256"; > + reg = <0>; > + spi-max-frequency = <20000000>; > + }; > + > + lcd@1 { > + compatible = "adafruit,yx240qv29", "ilitek,ili9341"; > + reg = <1>; > + spi-max-frequency = <10000000>; > + dc-gpios = <&v_gpio 21 GPIO_ACTIVE_HIGH>; > + reset-gpios = <&v_gpio 20 GPIO_ACTIVE_HIGH>; > + rotation = <90>; > + }; > + }; > + }; > + }; > }; > > &eqos { > > -- > 2.55.0 >