Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2712603pxb; Tue, 19 Jan 2021 04:23:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJxZoUzYPQEXJSuxyicdw0M0N+rfO+7BXhK5fLtr1BzQNTCVebuvt+JwlUiil/j92CnJGID1 X-Received: by 2002:a17:906:1914:: with SMTP id a20mr2859247eje.278.1611058996906; Tue, 19 Jan 2021 04:23:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611058996; cv=none; d=google.com; s=arc-20160816; b=QOjDJKinBo2HD1v3FCwzCRMzNBnnlWoz/Y4xg+dVrpW74pyaZNaP1iCJ8oNhqkJ/Q7 F87DLAMCi4n83xUTskLicEOATEDUPACRoNaB4Dtowrox5cXK/fC0EfH8DHBkguNRORAl r4eLhRNBC1PebrEExLS0CXE2uYPV5eFw0lvVQAs5X4Wwd06DkJmb8pbT6NazcocRE3oN SZTmDYH8vjwKR6V6+w+pR/Eb5v6USj3D62iHHDF1NomnZds/+jU4iKB+kbAkcKIgOe5x 8vr67z+cDFLoNHMVfi1cTRC0l+fLQ6QRWruRgCTursupvxZ3pgnmpu/tW+PNFhXX3cwF CGrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ZzzlZM79+je0IaX7qHpL9yVgFOtBxcnXULVGyLZiDbQ=; b=kLPnDCKpxBVyq9ZKxO/1hVT0v5nH06bgOg07+XBm7OoD6iQvHDgDSUKMMWMMCzvxh+ BUj3nDPRVUBEtJa9yXimN1Gpj2SlMhQxCLmiTrWCHhDZ6EkRPMj/cCHULOqmyb5ZFps7 Ddab5vio9dMGAJ0ra957VDaRxIZM2bJS2bJBl1QhOot61dJ6ljKCNjX7ESB/DfupcNpg e6RginrB2zNEdW6eq8t+9ENz9qOZ1nnDOqmQue7oJmqWXVA8U5lhTYdaSP3lTYgy5Drb 0TeNekrpBvIGWM0klxN2UMNP84/E3JYagNom/1xxDNCdA92P5EhXExzNp5aXkgkKjHcN RB+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=BjBn3aSU; 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 dk22si7407062ejb.736.2021.01.19.04.22.21; Tue, 19 Jan 2021 04:23:16 -0800 (PST) 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=BjBn3aSU; 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 S2389086AbhASLVx (ORCPT + 99 others); Tue, 19 Jan 2021 06:21:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405224AbhASLLz (ORCPT ); Tue, 19 Jan 2021 06:11:55 -0500 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CD1AC061757 for ; Tue, 19 Jan 2021 03:11:11 -0800 (PST) Received: by mail-ed1-x52a.google.com with SMTP id d22so10001240edy.1 for ; Tue, 19 Jan 2021 03:11:11 -0800 (PST) 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=ZzzlZM79+je0IaX7qHpL9yVgFOtBxcnXULVGyLZiDbQ=; b=BjBn3aSUCY5Lqy8Cqpp8fSn7FXd+k9Vfy4O6jRlJfNBNxExwSbKhm2hm7skaWWZ2Un RPzSzpy+qtbT0acBlFVorZtRxBDmMGDP5dzt3wYnVzx0NYsymAB1nc/W+N2Kt9wL0jxW ckXRc/ak0FPh/CA9Xv3+nflva9jZT+gOOGglaKaTA7QSsOWvrswV2YdmbgYMzYuKlpg6 65oLG1iDOqzOKVeMufg9gOl6q//FnvuIXSJPu6YssUXvAsXSDqTI1DKbRkBlnmxbdjvV M8YimzUoWp8g33VgE+E1We35nyXQbt8HyoPBBwmN7beT+liSOCRNy0y3F928+FVklkEn G6SQ== 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=ZzzlZM79+je0IaX7qHpL9yVgFOtBxcnXULVGyLZiDbQ=; b=QvAX99TcwQfSEkujtOv7jlQ8qhicsinrVtiMiDZ0chCohFwiD6NauMH8M9exIjAssH 6u/KdPAboriNCuItZ89EmXfhufF8c98h7Zjvu1gaKoW8VDs1WyveVKpQ/5g+363bYg1a hyge9u25xFZtmEuRorc4CqhbL8rbtLu1S2MiYBM0V6DdLSeO49axDFrCKrhKJfU5Wcst mBMHcumEF2gvLBwFYys8HaOj8pCKl8p4IK47Pm05mK/l6YfU9oClYE3z2BfWvGOzosN6 DfMiwRhf/Nv+oDrqBKPZ1vsEKTX/StbC216lvyaVYTpjY9VjKlHM1uUODcvrPo0+mnsL ofSA== X-Gm-Message-State: AOAM530Ppc+VWAjNYsLI3DorJyCpPYYejCKYTrvlBxEI/KfUsO8da809 vbkc3tJ91LwuWolMtw9nLvalduHDx1s2dS1hdl3aQuHMtTY= X-Received: by 2002:a05:6402:35ca:: with SMTP id z10mr3025956edc.186.1611054670036; Tue, 19 Jan 2021 03:11:10 -0800 (PST) MIME-Version: 1.0 References: <20210119031813.16980-1-rdunlap@infradead.org> In-Reply-To: <20210119031813.16980-1-rdunlap@infradead.org> From: Bartosz Golaszewski Date: Tue, 19 Jan 2021 12:10:59 +0100 Message-ID: Subject: Re: [PATCH] gpio: sifive: select IRQ_DOMAIN_HIERARCHY rather than depend on it To: Randy Dunlap Cc: LKML , Linus Walleij , linux-gpio , Thierry Reding , Greentime Hu , Yash Shah Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 19, 2021 at 4:18 AM Randy Dunlap wrote: > > This is the only driver in the kernel source tree that depends on > IRQ_DOMAIN_HIERARCHY instead of selecting it. Since it is not a > visible Kconfig symbol, depending on it (expecting a user to > set/enable it) doesn't make much sense, so change it to select > instead of "depends on". > > Fixes: 96868dce644d ("gpio/sifive: Add GPIO driver for SiFive SoCs") > Signed-off-by: Randy Dunlap > Cc: Linus Walleij > Cc: Bartosz Golaszewski > Cc: linux-gpio@vger.kernel.org > Cc: Thierry Reding > Cc: Greentime Hu > Cc: Yash Shah > --- > drivers/gpio/Kconfig | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > --- linux-next-20210118.orig/drivers/gpio/Kconfig > +++ linux-next-20210118/drivers/gpio/Kconfig > @@ -521,7 +521,8 @@ config GPIO_SAMA5D2_PIOBU > > config GPIO_SIFIVE > bool "SiFive GPIO support" > - depends on OF_GPIO && IRQ_DOMAIN_HIERARCHY > + depends on OF_GPIO > + select IRQ_DOMAIN_HIERARCHY > select GPIO_GENERIC > select GPIOLIB_IRQCHIP > select REGMAP_MMIO Applied, thanks! Bart