Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3043545ybt; Mon, 29 Jun 2020 13:45:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0X+Jb6EtKl0X6Q+ZSRe7TiVtwBJs5Fha4yC/ZIzj2mpSXLadEYhoSCyjZgHDRbewmmMXj X-Received: by 2002:a05:6402:1494:: with SMTP id e20mr7988278edv.2.1593463542373; Mon, 29 Jun 2020 13:45:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593463542; cv=none; d=google.com; s=arc-20160816; b=lEZUhbnaSTTeNmCpBfmS3gprpvRF4cMywMm9IT9NUpkeEoCKrTL8DVNCJEOEPDfcMT APH4VGlo5SJUPFh6V9Ywsc5gi8djkiib5I6pFnFDlKZhg0v0VzFd4poI84k7pAIQuQWu S0X+QUidBoujvUvY5KeF6G98cwEhAjcEs6rMCJJqlqo5iRQVfh2yQUAF6+Mqs6LaNvi9 NNc+wrUXvwZtd5HfyuXBAOqwaMxX3FVXhsD/QPVCmcTufMXQ8w+x6rCFl/am+524hz5t vYcucosXlJ0zWV+8lxpZevyH9ad4ECPs1NYSFSMQsNdyBrIKPwd4P2kXvBr8vDq0d+PH tOuQ== 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=h9h6iUTLSlaM8ZKedUbrDjAeuBkCXn2xjNjPFH6ekn4=; b=Mx+rbvon/hsDwo3tHZvhTVRXbmK/xgPCIizzBTDErg270YBhmuAOxVB8d8EBTfn8kS drOta2z2jUfViqqBHF/F7cY8gk1kOcCqI72fkDn5QEb75O/AdFuIRZrkRsmmaKXQZnG+ iB26D7nqWqcyaaIJOvloVzvLRxkiFupq8i42qPBL1476HG5GAoRwmMQVjXNy4hvTcMLX VA8S2Psl+Yg3O0iCZIqwqQB9rxFQw7eYpJUT1irlqRoDJF9SwRiObrin49PtaYtsk03m 2yecoX9ZnF5uKWI2oB4p7rVCz2AjKjyt5kl7BHrbtm4UOMWpJxfmtVS+6xjjbm3yZ5vT zSSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=T1IpLJ34; 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 i2si353074ejp.662.2020.06.29.13.45.19; Mon, 29 Jun 2020 13:45:42 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=T1IpLJ34; 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 S2389482AbgF2UoI (ORCPT + 99 others); Mon, 29 Jun 2020 16:44:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731547AbgF2TOA (ORCPT ); Mon, 29 Jun 2020 15:14:00 -0400 Received: from mail-qk1-x742.google.com (mail-qk1-x742.google.com [IPv6:2607:f8b0:4864:20::742]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD76AC02E2F1 for ; Mon, 29 Jun 2020 07:26:55 -0700 (PDT) Received: by mail-qk1-x742.google.com with SMTP id z63so15350626qkb.8 for ; Mon, 29 Jun 2020 07:26:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=h9h6iUTLSlaM8ZKedUbrDjAeuBkCXn2xjNjPFH6ekn4=; b=T1IpLJ344rgGaAa+SleIJFka/PpqQpfHOmwwxhlqA4Suwr5L752jeOu5N30x6rcKz8 KF20wG2FJZQGA4AztiZaX4TzOwDhVPTEKfW0sOaPHxxZXhHWKs5AlLiSCTAg8sFusRgp PeZguF1j71pS4edUg3CM/8vlS2RLY3+JL23breZejkSX4dCEFuIuecM+9Zp34UrFAdZY GWzcWmJsDujFB78JLRZS4i3yxZ8gc8y9UibuKmXikPPbfHYvTNqIpHPz2Vvto1L1wdFI 4Ri5cK36BuL8D113uj2oCGfqYuOBE5J0COAuRf5g6TIXA+LImkTnIQvPIvdfMRToNHqS ivpQ== 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=h9h6iUTLSlaM8ZKedUbrDjAeuBkCXn2xjNjPFH6ekn4=; b=Zm6cBiMtLukqlfBz+W4ASGk/HwQhei84uJ3Ekrcg+sNXcvekwftMcHXAN8vAsLmH4N qAKvIWd9kuigXIhG+JWCZJFttOJUXgR4aqIH5M+GeTie4VqvTPNiZMwv4TaCqytR5baz PswOPAPMCKMXImBFxX2fFJhUMhR2NZfRJw+3ommyiC8f6CtoM4RvpB8ruFMvWhgAi7Ip /G/sf7YIG4FGkXJwsmkVaX82f3WhWy95AuVM4gtapyAHC3ylRMRW2VoY/nXePLKM/9Fr XH5kiKHQkPHBJhMjS6DsGVwV2R+SzB6fJH4MztGKQx6UzZXy0XGnLWAwnJc4uuTnOXFy A/Gg== X-Gm-Message-State: AOAM5309Nbexwm5FIOjD0VqOYcVaOal8Px3f5aqQT+fENL9IpDyHpLfR kNLx3YCXTiQIF751oPHiFFkqEBTLIHwdDCsjZTtxewavkB8= X-Received: by 2002:a37:9c81:: with SMTP id f123mr14194552qke.21.1593440814965; Mon, 29 Jun 2020 07:26:54 -0700 (PDT) MIME-Version: 1.0 References: <20200623040107.22270-1-warthog618@gmail.com> <20200623040107.22270-16-warthog618@gmail.com> In-Reply-To: <20200623040107.22270-16-warthog618@gmail.com> From: Bartosz Golaszewski Date: Mon, 29 Jun 2020 16:26:44 +0200 Message-ID: Subject: Re: [PATCH 15/22] gpiolib: add build option for CDEV V1 ABI To: Kent Gibson Cc: LKML , linux-gpio , Linus Walleij 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 Tue, Jun 23, 2020 at 6:03 AM Kent Gibson wrote: > > Add a build option to allow the removal of the CDEV v1 ABI. > > Suggested-by: Bartosz Golaszewski > Signed-off-by: Kent Gibson > > --- > > This patch is before the V2 implementation, and is non-functional until > that patch, as some parts of that patch would be written slightly > differently if removing V1 was not considered. > Adding this patch after that would necessitate revisiting the V2 changes, > so this ordering results in two simpler patches. > > drivers/gpio/Kconfig | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig > index affc1524bc2c..b966a7dc1c9a 100644 > --- a/drivers/gpio/Kconfig > +++ b/drivers/gpio/Kconfig > @@ -81,6 +81,18 @@ config GPIO_CDEV > > If unsure, say Y. > > +config GPIO_CDEV_V1 > + bool "Support GPIO ABI Version 1" > + default y > + depends on GPIO_CDEV > + help > + Say Y here to support version 1 of the GPIO CDEV ABI. > + > + This ABI version is deprecated and will be removed in the future. > + Please use the latest ABI for new developments. > + > + If unsure, say Y. > + > config GPIO_GENERIC > depends on HAS_IOMEM # Only for IOMEM drivers > tristate > -- > 2.27.0 > As long as the series remains bisectable: Reviewed-by: Bartosz Golaszewski