Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3284755pxk; Mon, 7 Sep 2020 08:28:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJgS9qsWFoMFMaXp9hOqJe+w2uGhmewXil02OmG5aTf3kx3vR3fUVQYUAAKx/WHhjQHMIt X-Received: by 2002:aa7:c7c1:: with SMTP id o1mr23374433eds.368.1599492509397; Mon, 07 Sep 2020 08:28:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599492509; cv=none; d=google.com; s=arc-20160816; b=Nk5fMhydwr2oMlMVtJJy0kgbAQ9nIkDqc9SsoGCqqVijoS9nKjJ10WUdiVp7zTKs2q dykq7DcT4yTe83SjsVYVoJ633D/hjqV9acy/yPFihlAVHO9PxATLbAPbL2RSHE3XFgYB +W6iKwzLnxUGp4+Zm+jCChGXuJ4hoLcmweqEMe0b1UwvI0DjQT0f1o1MZCZXJ3rfP23R CwrkEzh+eejLNF01fgY2GRYrMnWmd37yYJcojmELhQiqCYLCRFn0YwnkbyVcfbLTeNH8 jbPKqnRVtoUc/S88kUMUg20sBczSKu/1oNHuyyuU90EO8todim34+t1A/6ETmSdnqfwD u5hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=Wvn2btk6OaWtKKqXcuwG3Mb/+3b+ZXDIOngM0aY6pjg=; b=SdvWwdpc8jXPIJOFMtEcVjvHqlEMmKyATkSiW7/7YWG3fp19vwIofUOmlNHaoi2Z+6 eVUYKET0ElLu2lYWISY02b/LJnQgfNC5j0kBr7AhcNZ4XKN+dV0VjH9HlbUdVoFaJWQ2 grMDmnUydJ5Wwz4bHKMDkd3o3M8soFvvBwenYjFSYkzAJjiF0XORA3JYOki0RDJjfnbq 8rQhmGt7MiBge9dlsvGxM7Vh/gHrOhrYA7dELlHQdKsvxgShHqEtc7fTufy+rbThu1Kr 3f7b4CfZxuQviqKCIIY+A3ZCHEiaymMm+VEesUZXOq+1trDPm9dZLT7XftMAp/9Z3ZV4 +NxA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bh4si10686807ejb.193.2020.09.07.08.28.07; Mon, 07 Sep 2020 08:28:29 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730052AbgIGPYm (ORCPT + 99 others); Mon, 7 Sep 2020 11:24:42 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:37592 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730160AbgIGPXl (ORCPT ); Mon, 7 Sep 2020 11:23:41 -0400 Received: by mail-ot1-f65.google.com with SMTP id 37so12538859oto.4; Mon, 07 Sep 2020 08:23:40 -0700 (PDT) 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=Wvn2btk6OaWtKKqXcuwG3Mb/+3b+ZXDIOngM0aY6pjg=; b=XaZEXWy8EsoZxu7hvbr+cnQ3Hin3RWQ1fuJLNPsMPjsPv6EDRziGnxqs2Fbr+dfjcG Ox6fVe4oOT8VJsy84s/NkwPMzos2s5zuEvQ0QflC0o1nIpszoE5y+9fCNZEzfaAnud/D zk6fV9oQPHhcvXleqvlXUamb99OtAr9zbImODajj5Msbtcl4hcv92KtrbsxGHV1FIdxe EZprnfRxnnE0X5IDVr+PPM8CNc9JoEx+oo8/XQJcD0PG/SBTc2yK5z+o8ha5rrdrS1js mQY3hkA0tPtBXeJiozZqeP/d9yNH2PhVQgryNLQkZK1flJTyZvq7iGLvoxVr+iTGAcIP y95A== X-Gm-Message-State: AOAM532o2EfFivRcmR3froIablVXkmDiCsY3Nkir9h2m4UP2rDsSmTn6 jjjV5JveTvQ7CoJJlJirP3j/gBSAkUUbupDD4m8= X-Received: by 2002:a05:6830:1008:: with SMTP id a8mr13928569otp.107.1599492220372; Mon, 07 Sep 2020 08:23:40 -0700 (PDT) MIME-Version: 1.0 References: <20200904154547.3836-1-brgl@bgdev.pl> <20200904154547.3836-24-brgl@bgdev.pl> <26ea1683-da8f-30e7-f004-3616e96d56b3@infradead.org> <20200907095932.GU1891694@smile.fi.intel.com> <20200907115310.GA1891694@smile.fi.intel.com> <20200907122238.GA1849893@kroah.com> <20200907140829.GL1891694@smile.fi.intel.com> In-Reply-To: <20200907140829.GL1891694@smile.fi.intel.com> From: Geert Uytterhoeven Date: Mon, 7 Sep 2020 17:23:28 +0200 Message-ID: Subject: Re: [PATCH 23/23] Documentation: gpio: add documentation for gpio-mockup To: Andy Shevchenko Cc: Bartosz Golaszewski , Greg Kroah-Hartman , Linus Walleij , Kent Gibson , Randy Dunlap , Bartosz Golaszewski , Jonathan Corbet , Mika Westerberg , linux-gpio , linux-doc , LKML , ACPI Devel Maling List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andy, On Mon, Sep 7, 2020 at 4:14 PM Andy Shevchenko wrote: > On Mon, Sep 07, 2020 at 03:49:23PM +0200, Bartosz Golaszewski wrote: > > On Mon, Sep 7, 2020 at 2:22 PM Greg Kroah-Hartman > > wrote: > > > On Mon, Sep 07, 2020 at 02:06:15PM +0200, Bartosz Golaszewski wrote: > > ... > > > > Yes it is. Or at least until you fix all existing users so that if you > > > do change it, no one notices it happening :) > > > > > > > Then another question is: do we really want to commit to a stable ABI > > for a module we only use for testing purposes and which doesn't > > interact with any real hardware. > > > > Rewriting this module without any legacy cruft is tempting though. :) > > Another thought spoken loudly: maybe it can be unified with GPIO aggregator > code? In that case it makes sense. You want to aggregate GPIOs out of thin air? From DT, that would be something like gpios = <&gpio1 2>, <0>, <0>, <&gpio2, 5>; ? For writing into ".../new_device", we could agree on something like "0" means not backed by an existing GPIO? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds