From patchwork Thu Dec 28 16:01:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Breathitt Gray X-Patchwork-Id: 853482 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="hrba2ghO"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3z6vdD49vkz9rxj for ; Fri, 29 Dec 2017 03:02:56 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750899AbdL1QBt (ORCPT ); Thu, 28 Dec 2017 11:01:49 -0500 Received: from mail-yw0-f195.google.com ([209.85.161.195]:36780 "EHLO mail-yw0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750765AbdL1QBs (ORCPT ); Thu, 28 Dec 2017 11:01:48 -0500 Received: by mail-yw0-f195.google.com with SMTP id r205so8619728ywb.3; Thu, 28 Dec 2017 08:01:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=722J9hX7rbZ9VvzRTXvSdDhICcAAoUNIcMQRWaGxncM=; b=hrba2ghO1j3dC2zxdu7dihwmeUYSmOMKo6Jx3QDRxwZZuGOhbbmOKNVXAvHn0Ap/kS YnsxJD2sFGPlu2tRhIa7sPQmi6bQb35YOazfP7nYIzN5BL1DMCuJG9b30QxoUrQm8PkO 7c2IiKLcJdaOt4iRJAQHpySJ613eXsIWk63TqnOmzLnRXx48W+CKeTBlG+N0uVu/hUx+ gdI1KvHLAo4nZvFm8dBO4IzENnY0H1Yrzep3qHsNUl2HxEWetUkcvxNm3NAwzhNR6zMQ KiG8PpOq+oBpfjZ1CbZX237SBQOFrXwgySrrCaauuoewXW2Z65hfwg9y0R7hOch9sWTk gaZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=722J9hX7rbZ9VvzRTXvSdDhICcAAoUNIcMQRWaGxncM=; b=sdc2zLezhp5UeBJ4rKYqow1DNMspYafcYfyKAWjav62ukvjohPIeBcOEazDBIvfWYQ W7Bnw1r+EhNYBlM77QpPSNGYEFe7x3Q6vCZdogV09MZqSZEN2ihLhhbzHiPpuvUJ0tv/ gAc2+cyfAId4e8h77yRYQRthBFd6OORZOTSkr1NGeYhLpiApKZ11wr5LscXn2KfpWwKl pR8TUfEoSvw+mI9AEtCbXtU5thTYhRDeDPcOS2eBJAmAqGGbWttHwrZ6je6x5Dd5ZrDK VcZlZEP4SlX9wIiAolmvFhgt6i8LK0DVZOK5PJPFNJJDVr8ZbuXmSZeqj4LHtsVAQLlT JFVQ== X-Gm-Message-State: AKGB3mLUsW1E0u5FPE+Oyxv2P1Dr0KWJZaobnH3G0uRnaW4TRFtx+ew3 UejPu1J8jYhJr50Gcgsf5gA= X-Google-Smtp-Source: ACJfBosGDed+GZsSezYqdE7SDijhGXs2BLhqXI/X7uTmhHeqM9/ZDy8n8E3nWUDaR5JNb+qNa5FByA== X-Received: by 10.129.160.213 with SMTP id x204mr22354279ywg.498.1514476907522; Thu, 28 Dec 2017 08:01:47 -0800 (PST) Received: from localhost ([72.188.97.40]) by smtp.gmail.com with ESMTPSA id u194sm16393910ywe.71.2017.12.28.08.01.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Dec 2017 08:01:47 -0800 (PST) From: William Breathitt Gray To: linus.walleij@linaro.org Cc: mail@maciej.szmigiero.name, linux-gpio@vger.kernel.org, linux-iio@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, William Breathitt Gray Subject: [PATCH 0/3] Change ISA_BUS_API dependency to selection Date: Thu, 28 Dec 2017 11:01:27 -0500 Message-Id: X-Mailer: git-send-email 2.15.1 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The ISA_BUS_API Kconfig option enables the compilation of the ISA bus driver. The ISA bus driver does not perform any hardware interaction, and is instead just a thin layer of software abstraction to eliminate boilerplate code common to ISA-style device drivers. Since ISA_BUS_API has no dependencies and does not jeopardize the integrity of the system when enabled, drivers should select it when the ISA bus driver functionality is needed. Originally, when the ISA_BUS_API Kconfig option was introduced, it served a dual-purpose of masking drivers ISA-style devices not commonly found for desktop systems, such as the PC/104 device drivers. This secondary semantic was inappropriate for the ISA_BUS_API option, and proper masking of these device drivers is now accomplished via dedicated Kconfig options such as CONFIG_PC104. Linus, please pickup this entire patchset through your GPIO subsystem tree; a recursive dependency error is present if these patches are cherry-picked (see https://lkml.org/lkml/2017/12/26/235), so they should be merged together in the same tree. Maciej, this patchset resolves the recursive dependency issue you encountered, so now you should be able to submit your Winbond GPIO driver with the ISA_BUS_API selection as desired. William Breathitt Gray (3): iio: Change ISA_BUS_API dependency to selection watchdog: Change ISA_BUS_API dependency to selection gpio: Change ISA_BUS_API dependency to selection drivers/gpio/Kconfig | 14 +++++++++----- drivers/iio/adc/Kconfig | 3 ++- drivers/iio/counter/Kconfig | 3 ++- drivers/iio/dac/Kconfig | 3 ++- drivers/watchdog/Kconfig | 3 ++- 5 files changed, 17 insertions(+), 9 deletions(-)