From patchwork Thu Apr 25 08:32:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 162829 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1646252jan; Thu, 25 Apr 2019 01:32:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqzxnNN4SYZUuUtEdlE/SgVeUk1W4AKgTELWp9tP51L4FPRVxwvw0wi6HRerwputXVj8k7L5 X-Received: by 2002:a17:902:ba8c:: with SMTP id k12mr19304629pls.213.1556181171429; Thu, 25 Apr 2019 01:32:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556181171; cv=none; d=google.com; s=arc-20160816; b=CPTX2NqhZrhmx+jtakMJwMQsjR5IegR1VcbyJZeAg2yAbu1ScMahBSsZ2N/VM176ym khGBugsYjsUuFXUf2C5cqCFDkOMiQfGubaAxlohLVKnkVZD/VBNRcW101wrtqH9UrcwC hCP0XI3fHodfYpH1Mw07CzuGi7wuCAjWzHic7O4+ZXnPC03UpL4xzoLbI0gwNTjSqzhF UcAdPdJ3/rD+RkYW1SUu60gH4AsmUcYiA82UlwWqkcmDjn+topDVlE5MLg93jT8NChPr SPFEw8Bff9aXYC+dVOhmz7T36rD641m2qQ2ZkVuC4oQdrrA0OFJn1rdeLXGIbeqIXN/T n8Tw== 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; bh=jIW32WrHBs99jVmzDwkmowyofrzG8/2LnuHeALQVAA0=; b=pk0dx8aYHfSZzDxiBDM4iDqODf/mSybEZZGXIBITgmZeTU74yCiWIVTiQN9UnWUNib KBbWN+AXteea9VrfypLS9zdP3WTMXjjqLPQc/U/jgA0yHmoYmSdZnDpBzkq/6zGwb4oS 4Rs77RLNNq4PaxyNtwnf955uzCVMhJIOG0P0hVfGuYyErUNCJd+r76XXzBmIMhRVwq9w qG4wPXAyP3Z6JrTY6sCveGqVl0uKR5ubuMvIDvWiKO4QjEUzwI79IwyiFQ93FzhJxuvT RFud/2+3Diu3awS4XUFdoyYMlOq+N0Df6Arc0/RdaZVlKcbuaoKc741f+PUXwmom1XU9 mnbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PFrN8ifn; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1si11115712pln.91.2019.04.25.01.32.51; Thu, 25 Apr 2019 01:32:51 -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=pass header.i=@linaro.org header.s=google header.b=PFrN8ifn; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729235AbfDYIcu (ORCPT + 5 others); Thu, 25 Apr 2019 04:32:50 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:45600 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728397AbfDYIcu (ORCPT ); Thu, 25 Apr 2019 04:32:50 -0400 Received: by mail-pl1-f194.google.com with SMTP id o5so6390232pls.12 for ; Thu, 25 Apr 2019 01:32:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=jIW32WrHBs99jVmzDwkmowyofrzG8/2LnuHeALQVAA0=; b=PFrN8ifnasv9JFgkqMxUdwY4XqcumWQ4tFtku3YIX7Z8Xw3gMjGdXebz+mGKwVe3mf uqSpHaV6X97Jexjs0XQuwfh4lPnDY/ZIoIY8NOMTj6txsQpC4YKAxw8PNYDR4UQR4hTz iLfRvmxeD1AosROYrBQhfuGldifCGsN+T7ZywERZ9II2lIfeeNjxkRqKorY5Ey9eG7jD 8cv8Tjx32QphwlbVlbltaQKZxV5cYrozCgU9mKOBfHeCa/S8U1AkRLVKVDKbonGdR6Oy laSrH3cZYaKsWznCjnH3NYmvY00bF/ZJjJMu1tXB13Kb91C9hIaoB9eqY9ihRIWXScUQ hShQ== 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=jIW32WrHBs99jVmzDwkmowyofrzG8/2LnuHeALQVAA0=; b=lZquT+GAu1WOICkUcUQWFn2aJ9efNO9eNb210rh16n70Vxo0zYuXHQpwy3vIPosmeB OHNFmQBZeClALRKFZBtpnns8GCyMgIqAp7Bog41SxqahpqrmV93vBBDJx5A/Rq5QHIvC bp6Ti9yuMZZm7Gv+xx5IHmklDtrZInnbpXqNbMPpD/CLTtu62WZUYg75nJT5DqPVbT1y qrKhJszOs5YR54jUM2RMH4+7iWteRTQteUfGYRZ48toSywqJuD429v4Le5U74CtugB9r atymll+VkCnK4/E2oHrbvR2kVN3PeQS+HwkVzPuXiuKGMRL4G+OQfiZ/6HWqCuB7HaY3 C3Uw== X-Gm-Message-State: APjAAAUQbjGociiE+P5l4mDn8NzgO8UE96B0sCOa87CVZ8Jma4HFtryq UVjwlulX1bGUV/SQLcWkQvua X-Received: by 2002:a17:902:ab91:: with SMTP id f17mr39368241plr.151.1556181169837; Thu, 25 Apr 2019 01:32:49 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:81e:2691:7d48:1fca:4d86:743]) by smtp.gmail.com with ESMTPSA id d69sm41765166pfg.24.2019.04.25.01.32.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Apr 2019 01:32:49 -0700 (PDT) From: Manivannan Sadhasivam To: linus.walleij@linaro.org Cc: linux-kernel@vger.kernel.org, haitao.suo@bitmain.com, darren.tsao@bitmain.com, linux-gpio@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH] pinctrl: Rework Kconfig dependency for BM1880 pinctrl driver Date: Thu, 25 Apr 2019 14:02:24 +0530 Message-Id: <20190425083224.9762-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Make the BM1880 SoC pinctrl driver depend on COMPILE_TEST to get compiler test coverage and also select this driver by default for ARCH_BITMAIN platform. Signed-off-by: Manivannan Sadhasivam --- drivers/pinctrl/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index c4ac4bf1e1e4..19d8af9a36a2 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -110,7 +110,8 @@ config PINCTRL_AMD config PINCTRL_BM1880 bool "Bitmain BM1880 Pinctrl driver" - depends on ARCH_BITMAIN + depends on OF && (ARCH_BITMAIN || COMPILE_TEST) + default ARCH_BITMAIN select PINMUX help Pinctrl driver for Bitmain BM1880 SoC.