Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp76227pxj; Tue, 15 Jun 2021 20:33:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCCDpz4pSsNvxwkXNtoZuFGlCgdUzTIBQk0zgY318d/jq/eLKt3qb3C9LRr2mZGi+ph6FX X-Received: by 2002:a17:906:1815:: with SMTP id v21mr2906676eje.376.1623814384011; Tue, 15 Jun 2021 20:33:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623814384; cv=none; d=google.com; s=arc-20160816; b=LvPVglM38j4mEClP/8nqw5Yu0bdCfVrYE7nZhOMBfZtbGwvvhrW+LgPXG6O5AIbVFY IRoHg8ERFTV27kYHPhrxdGMRmCGla8wQ3ZYJj7xQBgW5gBoZMlPri3ofk5lOr5vWzMlj P4gBh1TNdj3P1AA245v9lvBRfUNstXaS9AbLPRJGViE6HWEzyYrazgP+SvtlcKNozHTh GikW8ziznfrEGuuQ+gzRS39IIZaZ2Ud6qw83sgJTKB/zvB1Oa44j9Z4gPY1vGKasC32v XsaYHCuLmfNEaB3k07FkFiYQW5EnHtb069OOdNkco+4xo40bUAgMH9fsIZH65U+zWAOM vbwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=i86DmE+FsyrX62awkaAfzqwF7YB8JnFdUJaPY+I8i5I=; b=Fpb4+4MV0LH8M441N4B50UfCqdqIzmk7tzS3hCQDPPMTA2RH8ZRNeDkjnPwnWvgwx9 cB66qk9MhrtFj/6/MvAHbR1VO79fUD5xyrDI83cei7HJXQSnATLNNE/17gLokyEM2kZL OP9dBH4KPXFbBc1ZTZ1IW8Cg4Gsv9R8a/sHwOfEX36hBxlKXrdDuULg3C76mgD+ZRcs6 L6IeR/HDy1Hc5jSEhg7jRzyG02t9mzqhM7wzb8BEfciUhJyHvwYzucLupm5RcYVBVrQt TVVptfc7M708DPO1vrmPXmxcybad/JLU8HNiO0zWRY8CMTMwl9waS9OMbKXArAqNDElE alyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Qfat5UX9; 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 ca12si844695edb.479.2021.06.15.20.32.39; Tue, 15 Jun 2021 20:33:04 -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=Qfat5UX9; 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 S230162AbhFPDcd (ORCPT + 99 others); Tue, 15 Jun 2021 23:32:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230055AbhFPDcc (ORCPT ); Tue, 15 Jun 2021 23:32:32 -0400 Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16475C061574 for ; Tue, 15 Jun 2021 20:30:26 -0700 (PDT) Received: by mail-ot1-x32f.google.com with SMTP id 66-20020a9d02c80000b02903615edf7c1aso1068942otl.13 for ; Tue, 15 Jun 2021 20:30:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=i86DmE+FsyrX62awkaAfzqwF7YB8JnFdUJaPY+I8i5I=; b=Qfat5UX9GV6c1Wcj/DNLp0BklvW/aL4PZmlQGmMT8PBMP3705UmFoBLCfCrelJbc4y moGxOAKoAQcQax47jPSfd5Rv3vKiemgt/Li6txlGUBX06uIYw/pA+1QB+psYJLstFFPS BRo7zqKLNQFn2V8xlKnTiRgCbLFNFCSH2PjyF2oT5v1rt3mhT0O7wdaLzuMqVd76fiP8 KezhGLs4e8NeKHF+o5VhG8nXGGxVA4LmxO21N9FPJgk/z2zw/DuuC/Yq3yfUGAkZ6yHF l5vyY3pioS41p6KtwHqJDUlK3ZWKWG+Bi3Agri8YqthjQmMIocqPgsQQNMan6Hrg+dY6 hspg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=i86DmE+FsyrX62awkaAfzqwF7YB8JnFdUJaPY+I8i5I=; b=AF/RRs3CmzwPykRIFNOz4+8sJUTar3kRV5jDL9pOOVlfLHzSPOq08H1P0oz5sIkKfo B8GbXxP7K59XZEAmT/68zdNPZYLQfPj3IMGXnAKZXOPJzFEeE97OT//9oVei9NU8EIKr ez5i5nvW8xoQ4dGkiCZon/8E9LTb+9JQnC0xVXrP6DBQmgLLwVg+ydOWYzA+k/O+YqJr dsSAQ1KFp1lKpLXuL4v5/vl9PruK8csfN4gHE0hXGQN3JpycFwRXnlotLAkqFUkvsHzo YsZGnsUu9SXdQYCKhjqJs9Mbyt9QtieLqns3Peq2UTIepo7+CGvABYsGtkP0cuV6bb49 t+ww== X-Gm-Message-State: AOAM531Gv7POHbMeAW0WFN2R3+LrRziJcYqaIa+D3vMLwHZB5Jao2tIv 5/N0vzUDWicsOtXzLCK77EwxOg== X-Received: by 2002:a05:6830:22e9:: with SMTP id t9mr2019636otc.327.1623814225341; Tue, 15 Jun 2021 20:30:25 -0700 (PDT) Received: from yoga (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id q6sm247309oth.10.2021.06.15.20.30.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Jun 2021 20:30:24 -0700 (PDT) Date: Tue, 15 Jun 2021 22:30:22 -0500 From: Bjorn Andersson To: Linus Walleij Cc: 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 Subject: Re: [PATCH V3 1/3] gpio: Add virtio-gpio driver Message-ID: References: <10442926ae8a65f716bfc23f32339a6b35e51d5a.1623326176.git.viresh.kumar@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 10 Jun 15:46 CDT 2021, Linus Walleij wrote: [..] > Yet another usecase would be to jit this with remoteproc/rpmsg > and let a specific signal processor or real-time executive on > another CPU with a few GPIOs around present these to > Linux using this mechanism. Well that would certainly interest > Bjorn and other rpmsg stakeholders, so they should have > a look so that this provides what they need they day they > need it. (CCed Bjorn and also Google who may want this for > their Android emulators.) > Right, your typical Qualcomm platform has a dedicated sensor subsystem, with some CPU core with dedicated I2C controllers and GPIOs for processing sensor input while the rest of the SoC is in deep sleep. 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. And I've seen similar interest from others in the community as well. Regards, Bjorn