Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1372089ybk; Thu, 14 May 2020 07:25:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmnJDvrvL3r2LlI6KFaQQCBpgOQ2YdDEDBC5HtexB58GUVmn3T5Dcu1jNHLuiDzuQlH4VA X-Received: by 2002:a17:906:7ac8:: with SMTP id k8mr4259722ejo.235.1589466355748; Thu, 14 May 2020 07:25:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589466355; cv=none; d=google.com; s=arc-20160816; b=kCiwsX5zjbhAIkAutyVLE6J8+D5T0xnjsRP98T5wA0YKswoQ4meMmAyPMpGT9cGHsx ANo4rYMHgWVGghy+CMMOlM6Ix/nhkJFbirmEtf29ry/29DGtPRUIqqpt7jZ0D5m/jSa+ GzS2Hv9rfvCupGB3an/6xIP0kYrxogxazb57QeCWE1EoC6QUyQ5zoBCfwmltsQqnPk8K 6qwDo0wNRnRR9WOxAKwpzW5UbuCegD/7HBkti8+IsS0/edkb8MdWfGo5uNQCsMcTv8F6 9cUZbibigvycHDa79sRhbOF31dadqdwnXI9Oiwr78fltqB4x5Nzv1nWQc6LEPa9edGme 9aGg== 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=LygMeb3xw2M+fYo9Y148BP6Gr75CtgMVBn0ooIfMe/Q=; b=X6MlOlmag7yF5OzQMxIYgk8+3swm5a0OQdo0j8fN31utXIux5hZzPMleNCCOEEt7qJ c5rW7gXB31uCKKwTVWRSI//1ffXyC8TiuUdGf9Aa6Desv7N5i0TUrIPcrixJ1J6gPhko HaB0p4kupB0HYFm3dpbo0dZ75rXCxMdnNdvwiG0u0e54CEOMUGxbBUD20Od3BRECO2jj 85cEOSIwFVmX9QgRcecyCsBRD+LVnmlRClSh5eREWZZpPRo/nda+NFnEBOjVcPAMrKf3 BVtQylEwwie3Ft0fIIFMetzvCSjAc6y5mUklRTfh04gG3+HgfMRu/iQP3wQ2Kw2IcSg6 OzxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bzNKDoBh; 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 v13si1994178ejo.418.2020.05.14.07.25.32; Thu, 14 May 2020 07:25:55 -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=bzNKDoBh; 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 S1726550AbgENOVr (ORCPT + 99 others); Thu, 14 May 2020 10:21:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726073AbgENOVq (ORCPT ); Thu, 14 May 2020 10:21:46 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8691AC061A0E for ; Thu, 14 May 2020 07:21:46 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id g1so3690712ljk.7 for ; Thu, 14 May 2020 07:21:46 -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=LygMeb3xw2M+fYo9Y148BP6Gr75CtgMVBn0ooIfMe/Q=; b=bzNKDoBhuqkF+xVqWOHEYBqbN1w3pu9TzjOcEidsS0ILqixCnxG3B93lud+ForQ8OB nWaLYBBJ9dO9LsraTSGYDx911jXUnN1e6sazIdcKBq3LzOIF9ipctzW2B/Onl1241nnz x4ukE9wNVGxWPCJoeTjrS+AK3D3qof/ZDd+IQoUo/cytfC5wxzkfJcCqimRZDD7NtOWE 3mh//3JSXvqw5hJcyeF16GfBiDCgBY3ijz7MF+Z83CYHhFU+b4/rMWPPuA2WK9yNbUj9 o2wtYYTceFQ6fBKngfK9WBL4swDsPTBzkM/3G1ul2BrSqvI2bm5b+QrshY3i09zFONOE Q3Bw== 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=LygMeb3xw2M+fYo9Y148BP6Gr75CtgMVBn0ooIfMe/Q=; b=SFEpK/jYSu+y9A+MbqGm9a+UImMKZnXnbcS1OfgRennq0NgDkc9SfurKrUkyue/g+T s+9++/b4m0R4oBGvdaeRwcqNne2GgGSk/6jOnDK+eT8YZCiEg67+rQ7s5TxqbiOHKsck VW804oZiQcUgb2NJVT3QUxLwFBP6AC39zSoHI660sRQaVglm7GiDIhwjqlHaMzSjmcQg ZKmZTIgKB0BD93WYhLTn9mLF6bc83n0kEv6PxfxXfeVFjFhgeLJLzVgnByQ6RBmEdJaX IVl7Vmz3d7Wy2aZUIsILjaT2DzVcUGpB+Q72jD/mnrZzw9xGGWOMoKWqerWr9g7hpNgp Pg3g== X-Gm-Message-State: AOAM532K9gXCI9nYTFSlzqP0Ml3Hn46HtnSDjvm1dNBimPhej1mxY4lF 7yWAXUSNWDTD6m682sjVgWZXz8azNG9iyGyI5T2+MQ== X-Received: by 2002:a2e:8805:: with SMTP id x5mr3075442ljh.223.1589466105014; Thu, 14 May 2020 07:21:45 -0700 (PDT) MIME-Version: 1.0 References: <20200419001858.105281-1-hector.bujanda@digi.com> <20200430145844.GA28588@sol> <20200507033954.GA13974@sol> In-Reply-To: <20200507033954.GA13974@sol> From: Linus Walleij Date: Thu, 14 May 2020 16:21:33 +0200 Message-ID: Subject: Re: [PATCH] gpiolib: add GPIO_SET_DEBOUNCE_IOCTL To: Kent Gibson Cc: Bartosz Golaszewski , "Bujanda, Hector" , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , Andy Shevchenko 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 Thu, May 7, 2020 at 5:40 AM Kent Gibson wrote: > > This would of course add a lot of cruft to the uAPI code. I'd start by > > moving it out of drivers/gpio/gpiolib.c into a new file: > > drivers/gpio/gpiolib-cdev.c. This way we'd have everything related to > > the character device in one place. It would make it easier to: a) add > > a config option for disabling it entirely and b) add a config option > > to disable the v1 of the ioctl()s. > > > > Ok, that is widening the scope of the change again, but I'm still willing > to have a go at it. I'm very happy if you work on it because you did a great job with gpiolib so far! Yours, Linus Walleij