From patchwork Wed Sep 6 01:40:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 111758 Delivered-To: patch@linaro.org Received: by 10.140.94.166 with SMTP id g35csp186390qge; Tue, 5 Sep 2017 18:41:32 -0700 (PDT) X-Google-Smtp-Source: ADKCNb7qBFvs9KSGh8KR/GfYz/nx6wqFyNQqk14L1hXFZZed65UFBG6o3mSpIBIVMK7tdCoC5jcj X-Received: by 10.98.196.206 with SMTP id h75mr5653311pfk.55.1504662092001; Tue, 05 Sep 2017 18:41:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504662091; cv=none; d=google.com; s=arc-20160816; b=Iq1SWtyrFQoKGr9U9pOQ6lMYxjLbUo4HhLfys58STnJVJHGfX9kHC39DVzxxNoAS0a oGLcgE15xb8KyVRx3JaRzJl0cr7h7JkPZH8guh70innyYeaIhstpACOlcI0UuJafKKcg Qt02IIHvNjG6j9yjkKph94A7cpnmaQAbHuSuV4SeAssAaZw0DLG3gdEaGleIgiOsweaD a9pSzBRahghsgA7LRCAJFOGGbHBcv18rBULMdSMLuKGgSE475gSk3FlM7bGRYqBqm3bf Vbi41O2tjudZra4rtdGLKCidB8wQAqEqY49ecIjcpuLVyebk2ArEXxDCrtlJF6alUx0S xzbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=7yg+EkH4zy/zIMTDkrVP3sc2ZaorWZF1fOxCxOv7DqA=; b=nH2205NF3+f3Rf8NNvkWHldwoV7SOFZgroKiys6AfMATWIN40OzE7cUERwXUVNtscn glNejfP7YW4jQpErhKUzuSajobFU7jZYDkPC2dd7S6kK0Bn7b6guL48UNyRVmeeD31e/ qDQgUOuUiuxUpX7CiOr1ExQwAxSmWMB4hAFdvBmdFaHKK7wKpqOK+UNWHiYgjNhlhRVo iQEStqruByTW71GOrq4of7M3Og0hFYSOWSAlFhY1vaknHPRrFSKu5piReDXGwTh6sDg3 CrDiuf6U5kksuUixo5FbaQdSBgODaHEgvTienaKEEhzhn4tUS2YS+vm+RWqWBGy4fmn6 8hsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=rGayAm3h; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g18si251918pgn.610.2017.09.05.18.41.31; Tue, 05 Sep 2017 18:41:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=rGayAm3h; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753505AbdIFBla (ORCPT + 5 others); Tue, 5 Sep 2017 21:41:30 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:17225 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753474AbdIFBla (ORCPT ); Tue, 5 Sep 2017 21:41:30 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v861etHU030333; Wed, 6 Sep 2017 10:40:55 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v861etHU030333 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1504662055; bh=StCdSR3mElgXxanw8Fw/g9I9oBXbD6s90xXDjX/QV4M=; h=From:To:Cc:Subject:Date:From; b=rGayAm3hkmLW/jghsWM68jKrUBO3rWamXzusgUQKBD6jNOy0Of6vmZnxtltWkzfAV w0cOHD0KMVdNFwY8VIVuPlWR52hzISq7sgRWmbyqQHkBneNP2fO2bjbIN9v6A/+pve K4zjG0clEKU2JpxYEla8lpnYcCSjK/j8xEEFqqALziuLELFyGDI8l1rkWmkfN6L9yb ZtYd2gYZFdGKR+jmPeSYqkhrFfsUBvb+GwtbSPa80v60IHQQM+st0T4Gt8HiPBvQyy lf7rNLxkDlfJcmrpTMsUqZyravIAsBUMho6Z5jVmHhFcyy5VGPJHrNWeN1JY6IzZuv Gi4OOw4UhGNPQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-gpio@vger.kernel.org Cc: David Daney , Masahiro Yamada , Linus Walleij , linux-kernel@vger.kernel.org Subject: [PATCH] gpio: thunderx: select IRQ_DOMAIN_HIERARCHY instead of depends on Date: Wed, 6 Sep 2017 10:40:52 +0900 Message-Id: <1504662052-12478-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org IRQ_DOMAIN_HIERARCHY is not user-configurable, but supposed to be selected by drivers that need IRQ domain hierarchy support. GPIO_THUNDERX is the only user of "depends on IRQ_DOMAIN_HIERARCHY". This means, we can not enable GPIO_THUNDERX unless other drivers select IRQ_DOMAIN_HIERARCHY elsewhere. This is odd. Flip the logic. Signed-off-by: Masahiro Yamada --- drivers/gpio/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Acked-by: David Daney diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 3388d54..3f80f16 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -453,7 +453,8 @@ config GPIO_TS4800 config GPIO_THUNDERX tristate "Cavium ThunderX/OCTEON-TX GPIO" depends on ARCH_THUNDER || (64BIT && COMPILE_TEST) - depends on PCI_MSI && IRQ_DOMAIN_HIERARCHY + depends on PCI_MSI + select IRQ_DOMAIN_HIERARCHY select IRQ_FASTEOI_HIERARCHY_HANDLERS help Say yes here to support the on-chip GPIO lines on the ThunderX