Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1232506pxj; Fri, 18 Jun 2021 02:33:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTj/FGDdb8O3fkUlogzXcAgu9bvl4+OwiwLu48bw+0vaqwrQD3SeTBKFYpkUQfx+v+1E01 X-Received: by 2002:aa7:dd57:: with SMTP id o23mr3687882edw.6.1624008837503; Fri, 18 Jun 2021 02:33:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624008837; cv=none; d=google.com; s=arc-20160816; b=gpaehf6fFqzMpiakss+QfIPzHuFJHDLuiXgOThUa/IIE+5pEbmGmwn0c9Nt3X3BRIe N8jI90KA1sQ19l5pmf8l57h8t6/Vy3poGT65L3dlYzSxhQTa6s+CeA8smb0dl/WHnmYy tKyGE3dIfyvSw/1AuRGDnoStafJZvfAucHrZxSf9MrFfsplVVraGsZweYA0xoH4YC4u6 I7iTWNA7MLEDpz3Epl8o0Hi8RWxffMIahMeaf62ldzIbGNsQHM3zcwjxlbMpFmbslcSa Oe5xQyuDSVqYfcgE3YsfH2F9bouW5HbwUaudjuo18gpkva9Sl/h3InO2aFAf5bY+xU/J 0kkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=fk/g4Uf4e6ndK9NTLJ4fya67I6nyHsWdWmINzLkYxxQ=; b=rG/Ek0IATpox3gJqK4z/h4RvfZJEO2oU2zwqw0V0UxFAgIarN6++YG3jM5p3iDliHD Qt++EYX+8lIWcE9YJ65YE77lEDxcke9+8sf5mIopvolDUJ260OTO6VzHVaRRRu0v2kQ9 d8K5utsoEoIsB/HPJpQj5Dqh/Gdj0JrJl8NogIY4wj4PAwcG7BQoggEdEHVCijg7/Yxf bsLC15a5d4m/lp9HOzB8HYIit4FRLCv2dhXpNzJtA/wim9mhaDoW2tYz2olHGZKnGnl7 XG7WFSisqU1J26qk4FcMntj1SRqjvi+gpu/OQ3PrmwlF8HIdjY9I3jdVxS7I63fg7fD9 +n3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Ej/kae+4"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y6si7911560eda.29.2021.06.18.02.33.35; Fri, 18 Jun 2021 02:33:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Ej/kae+4"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229523AbhFRJQW (ORCPT + 99 others); Fri, 18 Jun 2021 05:16:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232009AbhFRJQU (ORCPT ); Fri, 18 Jun 2021 05:16:20 -0400 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9084EC061574 for ; Fri, 18 Jun 2021 02:14:10 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id b37so13032390ljr.13 for ; Fri, 18 Jun 2021 02:14:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fk/g4Uf4e6ndK9NTLJ4fya67I6nyHsWdWmINzLkYxxQ=; b=Ej/kae+4z4muiWg6EWVSQJZ0hKf207pahpJvxNxI5rzvReNLTOakQyMu0hPKFKQapC KdfIPU1/IY5qQj8piocGrYiAvwhAsKgD6Aac0EfK5OBIgHBnb0t9I5fWbElLuPl9j7uG f8EsIa72iX68DlTtcVZ2ZytW6itc2zcRTL2NmByb6VBTT/40OIdIokHxEx3crUwnaeej do28bIC90BwWHOqkQQANMqlKuQAUvGklT9o4LJ+nOW/mFuWiHSGCUkSA0RXj+USUl5Zu gL+aEhP1YsJsUvXvI7EYMZVd4VlDwDMgbNhmdQLYBjLy9adLLvADaViX2g39cl3yZ8oY AMCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fk/g4Uf4e6ndK9NTLJ4fya67I6nyHsWdWmINzLkYxxQ=; b=koREirlYylikC6RzluxudQAKSAjj7RZNXZtGCLbxBBlxn4H6j31ZPp2w9wnZbRYHkt o0VUGsAvaJ3PCoJOFg2neUT5VqjKYDIZ0cJa86rI/TCjdUXTup3dkI7+Ov30y30SXdeT eVqvxYCnPkhb1RIto33bNkXS0j2ve3sySyO8ONpEd4a1vvx23kOeChcqOC29d9SRq0HN KlExKt5r/KtltXR0EfhQtghC+g/v0KgO+2ZDEyL+rAtPIoJuzhy/tRkkOahAWpJvIu1r 4/ij/yEd+ws6l+jR8NX4Go0mpQm9MgnjMPg0KUsUkJI6ISEJswGLxlDf5ugmymfBRp5k bmgQ== X-Gm-Message-State: AOAM531ZkaZYoEf/1Cz9zELX8sgbb12JiFsE6giibPQPGqvig7n/MirM kQIMh4YxZEMNV9QcDvBEqKCbpxZyCQF/AtypjA8omQ== X-Received: by 2002:a2e:95d8:: with SMTP id y24mr2468745ljh.368.1624007648913; Fri, 18 Jun 2021 02:14:08 -0700 (PDT) MIME-Version: 1.0 References: <10442926ae8a65f716bfc23f32339a6b35e51d5a.1623326176.git.viresh.kumar@linaro.org> <8d58da79-8e54-048b-db89-8c1caaa0320f@metux.net> In-Reply-To: <8d58da79-8e54-048b-db89-8c1caaa0320f@metux.net> From: Linus Walleij Date: Fri, 18 Jun 2021 11:13:57 +0200 Message-ID: Subject: Re: [PATCH V3 1/3] gpio: Add virtio-gpio driver To: "Enrico Weigelt, metux IT consult" Cc: Bjorn Andersson , Viresh Kumar , Geert Uytterhoeven , Bartosz Golaszewski , "Enrico Weigelt, metux IT consult" , Viresh Kumar , "Michael S. Tsirkin" , Jason Wang , Vincent Guittot , Bill Mills , "Alex Benn?e" , stratos-dev@op-lists.linaro.org, "open list:GPIO SUBSYSTEM" , linux-kernel , Stefan Hajnoczi , "Stefano Garzarella --cc virtualization @ lists . linux-foundation . org" , virtualization@lists.linux-foundation.org, Alistair Strachan Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 16, 2021 at 5:52 PM Enrico Weigelt, metux IT consult wrote: > On 16.06.21 05:30, Bjorn Andersson wrote: > > > Combined with the virtio-i2c effort this could provide an alternative by > > simply tunneling the busses and GPIOs into Linux and use standard iio > > drivers, for cases where this suits your product requirements better. > > So, you wanna use virtio as logical interface between the two CPUs ? > Interesting idea. Usually folks use rpmsg for those things. rpmsg is using shared memory as transport mechanism and virtio is providing this. rpmsg is conceptually a child of virtio: when the subsystem was proposed by TI Arnd noted that virtio has large similarities in shared memory transport and as the potential reuse for buffer handling etc was excellent virtio was used as a base for rpmsg/remoteproc work. Yours, Linus Walleij