Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3309678pxk; Mon, 7 Sep 2020 09:10:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIQ8+VQMU44ZKYOQWSIvgRAH/pt15p4DW2C2jlaNJ4iohP4R6OYimiqlRvxhN/QH7mhvYa X-Received: by 2002:a17:906:3552:: with SMTP id s18mr21480331eja.23.1599495004400; Mon, 07 Sep 2020 09:10:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599495004; cv=none; d=google.com; s=arc-20160816; b=y0s14w4QZntzillp0uNiLVyeHIiSPe9XVfbsn8X827uFOyarC4Njn1xyhIMEtLJlDD jvrzFuj3pZSqNA+wjUK7zOCV0BTMCQxipYD6bTHHQ3NPlTXJfAuJLne1kCuJvWA04bXv 93lJJJqOMyaQjUbhxKDC9FNuDElUQC9Uyofkn/FS8X8H8xxfpw2LNHVOAQ/V+jvXvRbH n/aiXnobb+MLbzpZv5+Qk/3wZUDqR4VJI+rIX1Fu5PdW32isR3uj8zKGC1JGBA1ngq6a pGKmLvJOYsz3LSnr+IV1hXSEsju4W9jBsmwNGhLahnbZhWyLsjmyiYYFP8W4xu1LNoRs d2sg== 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:dkim-signature; bh=JqN+Ld3wZPmbVgI62Wk3h0aeRwICf084UpC6lt1ISUQ=; b=noDp5HBN72eHgaq/jA2tzc4koqE9uSF2lx5rsn7WTrgzZky1D9EshZZOFpKrMO43Td Rqb71EuekXfMORnPbLNApn9j6Bi4DTObj1QcBs0EhtYONI3ZAXUEUB5i3UVkwb9dW54c yudxqyW8YIaacnolE3LIsp2j//QHpxGXO+z5xRFiIALVeIJy86aRyPS1BNVbES9YYtfS Jo7YA38c6K+u/vUaF2YUyVyyU/WFa8o8GlPlBCbnz/bG67tpJ0ffVv5BzxeJczER79a8 APa1/CG5WzegasBgn34UGIGVejMj38LPK+z6r0atc3btDmzg/5uXohPzR4ggV7+CFG5u UcZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=t+zrA6Za; 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 b6si5088300ejb.204.2020.09.07.09.09.42; Mon, 07 Sep 2020 09:10: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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=t+zrA6Za; 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 S1729973AbgIGQJF (ORCPT + 99 others); Mon, 7 Sep 2020 12:09:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730284AbgIGQId (ORCPT ); Mon, 7 Sep 2020 12:08:33 -0400 Received: from mail-il1-x144.google.com (mail-il1-x144.google.com [IPv6:2607:f8b0:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD5A0C061755 for ; Mon, 7 Sep 2020 09:08:26 -0700 (PDT) Received: by mail-il1-x144.google.com with SMTP id a8so7176094ilk.1 for ; Mon, 07 Sep 2020 09:08:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JqN+Ld3wZPmbVgI62Wk3h0aeRwICf084UpC6lt1ISUQ=; b=t+zrA6Zax5sYBKq6LQ+BBjT0mXvkgqo1EQagCOBiGh7Gw6vDfaDBc1h2BgAQD+5B5Z O4l+DjThBvV07ZhnkrV+Pxdm+gJOJVQTbav12VmkxLaeitbWMcKHcgJ/L263Nz8rCg2P NqYSoiyiMa85MFREwFmfpnKC/0OpLJaP/Ey8Fbd9bB9X2CtM5DjzcJTjUQbmbr01FHEW gAGVicIGl4/5IlJ9zuw5P+XJiOtxfiHinQtO257YEewAFwyVzWUvD96X/KFHHHXscKNv S82b21ElO1RRbvUyYFHUHv/2FKiWT8fwv79tt1LO4pk0JDOGn1lIB6JZaB5ZJTMVBN7P FRGw== 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=JqN+Ld3wZPmbVgI62Wk3h0aeRwICf084UpC6lt1ISUQ=; b=ddPLm2kSnTQpOMHhGuUMssmkYOEbbcweBRxolZPvChYANsgm1jeq6eadtfi3ZJxWKw n/jHL3feroNOa0KFR1dLN3M2mYCgFVO+rThFyzzBdhn3PBaLhJpqTDBYvz0YpYz68K5z WI7Pola7quG2gj7cY8sKhI+XzrbSE4J9NYkpvo+DzD8Y5u2bgUBFSXLaHJvMMgJLwKxY PNJVvnAeki8vzV33lq0SMOgrPmsQko1rdlwI33G9Add9WwD2G28wDyE1VjXQXijjLhcC /MlbMMqalh3t+bubDnexYkCDooOFIriko1xjZEFb4o7Ebo56ipOxCpgPLGhCIN94vhgp ET3g== X-Gm-Message-State: AOAM532UZAV73JUtlO8KlkynJ0HDhTRs4U/4o0OZNF4iPqeKdkaMIaVv b7o9nzwlQd7WaiifzXROQZsiK8W0SLQUJ9WM4sh+Pw== X-Received: by 2002:a92:cb4d:: with SMTP id f13mr16653071ilq.189.1599494905629; Mon, 07 Sep 2020 09:08:25 -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: From: Bartosz Golaszewski Date: Mon, 7 Sep 2020 18:08:14 +0200 Message-ID: Subject: Re: [PATCH 23/23] Documentation: gpio: add documentation for gpio-mockup To: Geert Uytterhoeven Cc: Andy Shevchenko , Bartosz Golaszewski , Greg Kroah-Hartman , Linus Walleij , Kent Gibson , Randy Dunlap , 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 On Mon, Sep 7, 2020 at 5:23 PM Geert Uytterhoeven wrote: > > 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? > I'm really not sure this makes any sense. Why complicate an otherwise elegant module that is gpio-aggregator with functionalities that obviously don't belong here? I want to add various parameters that would affect the way the simulated chips work - this really doesn't need to go into the aggregator. Bart