From patchwork Wed Sep 11 22:18:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 173641 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp1328722ilq; Wed, 11 Sep 2019 15:19:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqxV2MSzgLsoSmXSsFqWCGzhPburgTTSdcA+xYIOOokNlcCo5ppf27pt6I4q2r1FysPXxV4z X-Received: by 2002:a50:fc94:: with SMTP id f20mr37741688edq.175.1568240351386; Wed, 11 Sep 2019 15:19:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568240351; cv=none; d=google.com; s=arc-20160816; b=EeDmvRmG1LxezFr9/SrPrmDVCTxHuCjKY1eYBBsU5nNmVlyt/gcEOuVZyg7rjKhHev 6reUT4bSg2twbVdx4EwLBiz5Pw0uCdLHf1kadkJtVyVsxbv8WVKo6TegVdDWaJDGnBAK jMlep0q4TriRl1pXGQjxZ5YO7b6a3lmJh+ArdtHZAds3W4y03ozVaGYTBJ+I4jypCFMa mL8JjJRHoDUJjDlfP+OclcJOUdYWidquwrN2fjPQC8hpbLex7gsLKUMCEz7mCpiYmaLo 6v1M9GKIm1dcWJhb1oQMRxJv7I3Tng8xINpnDPmsEIT1LcVRmrbxK/ppzkMEVlkzouka 7vrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=2X3SRzIwnpnErNdvMpQKEQIE0nPz8iNvb6s2mmkqEds=; b=d8D87t3Ya3d9Z450oq/MmxBfL9XAOiJARBDPvWpw7t/VW7Xxy/Z3th88nC6jWyzDcu bT36gA4RE4VKp6y959juVgz0XyCDmNuon2JdYjs/XESnTeVZP9rS02WlbdbfQk74EGY5 uwUxTsG5Iq8XZpS82RJupKxjuxMTlvzUD2Ec7ITaXP6sV2BbahqnKXx+6x20RJclUpcT M+aCm1NfzcZqClywvbNhqqbZm3bD730j0ePQWv0AtuDQDVkDls47dThWKX9pQtucL4Bx i5quyvgDVrjk4vr/NpWpEFEDeQfpHrW/I08m8YIVfzk8r8t49/A0ZHcXd7seQTtZ8Xh1 L5jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Swe/IstE"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 s52si14002941edd.34.2019.09.11.15.19.11; Wed, 11 Sep 2019 15:19:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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="Swe/IstE"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1729266AbfIKWTI (ORCPT + 27 others); Wed, 11 Sep 2019 18:19:08 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:45500 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728582AbfIKWTG (ORCPT ); Wed, 11 Sep 2019 18:19:06 -0400 Received: by mail-pg1-f195.google.com with SMTP id 4so12229493pgm.12 for ; Wed, 11 Sep 2019 15:19:06 -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:in-reply-to:references :in-reply-to:references; bh=2X3SRzIwnpnErNdvMpQKEQIE0nPz8iNvb6s2mmkqEds=; b=Swe/IstEy9pJgy/ebR3/loS/F6ULouZpNAU5NMAqHNylVvY3mNNAYA86S47/2tdJZd WhL6RXJs2HTYZjJf/1u5hRsPFPZDwLbJ1rKRh+ZuqFi7lWVF2c0cQKuhMhryOIltmXfo VnMRj/LeFqBgBI9QC6/OoUunbXEBEg0ebmry1bGY4S25ACVVx4TvuTFs2pJRPOrc2yzg nznWtz5O4489ZB7dlT5rF8uDp6/e08vlVO1GFK5zZCaGBPC4iTwYq84rt359mZJnMP+B oiy6sxWSDmSWSjNIaAlLZAbU9kGX6aMkw/nwNU8NRSOEblS36HObUny1W+IoD3t+5nX4 xjyw== 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:in-reply-to :references:in-reply-to:references; bh=2X3SRzIwnpnErNdvMpQKEQIE0nPz8iNvb6s2mmkqEds=; b=klsN6HKeqfb8M1EbHKDkzUq7E4fzx8kkBqLIrZiHHlwuCcDWCB/CeVpZhSoF96dMIn izbmQB7Vc7OWylA31JIbbPN3rEWynkNjcckUZ+IeJv8q428rXn+spctT/TF79iIepE9z NbSMMAskdle1dkSpKDoncOhFBpQ8iTOuYHAAjZWstPJ2H6aY4J44NSyOHbnanUsud0yw ZrjRgF16HkN+iLv+/LLHzfPo8Yn17DRqu37KjwTefffVcFgKKrUSTCRCzSQRP0Edfypn ZIRa94uZEzm/qGUHTg6EiiiDJVPTiFz2DVNGe/3do/wQrpPi16Gl7O9d7xe5nZU+ea7o nqtg== X-Gm-Message-State: APjAAAVeJ5okT2LfNXa5Jjrbu5rlpBSY8sDiYRpJPF2r9kLxhNHehbIq GNgsBGsQ5JqS/n5LNj/0Z2VqDSXHDGgvbA== X-Received: by 2002:a17:90a:37d1:: with SMTP id v75mr8187287pjb.33.1568240345437; Wed, 11 Sep 2019 15:19:05 -0700 (PDT) Received: from localhost ([49.248.179.160]) by smtp.gmail.com with ESMTPSA id 69sm30084787pfb.145.2019.09.11.15.19.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Sep 2019 15:19:04 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, arm@kernel.org, Bartosz Golaszewski , Catalin Marinas , Kishon Vijay Abraham I , Liam Girdwood , Linus Walleij , Lorenzo Pieralisi , Mark Brown , Michael Turquette , Sebastian Reichel , Stephen Boyd , Will Deacon Cc: linux-clk@vger.kernel.org Subject: [PATCH 3/4] arm64: Kconfig: Fix VEXPRESS driver dependencies Date: Thu, 12 Sep 2019 03:48:47 +0530 Message-Id: <8f539b28c25d22b8f515c131cd6b24c309f7ca90.1568239378.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Push various VEXPRESS drivers behind ARCH_VEXPRESS dependency so that it doesn't get enabled by default on other platforms. Signed-off-by: Amit Kucheria --- drivers/bus/Kconfig | 2 +- drivers/clk/versatile/Kconfig | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) -- 2.17.1 diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig index d80e8d70bf10..b2b1beee9953 100644 --- a/drivers/bus/Kconfig +++ b/drivers/bus/Kconfig @@ -166,7 +166,7 @@ config UNIPHIER_SYSTEM_BUS config VEXPRESS_CONFIG bool "Versatile Express configuration bus" - default y if ARCH_VEXPRESS + depends on ARCH_VEXPRESS depends on ARM || ARM64 depends on OF select REGMAP diff --git a/drivers/clk/versatile/Kconfig b/drivers/clk/versatile/Kconfig index ac766855ba16..826750292c1e 100644 --- a/drivers/clk/versatile/Kconfig +++ b/drivers/clk/versatile/Kconfig @@ -5,8 +5,8 @@ config ICST config COMMON_CLK_VERSATILE bool "Clock driver for ARM Reference designs" depends on ARCH_INTEGRATOR || ARCH_REALVIEW || \ - ARCH_VERSATILE || ARCH_VEXPRESS || ARM64 || \ - COMPILE_TEST + ARCH_VERSATILE || ARCH_VEXPRESS || COMPILE_TEST + depends on ARM64 select REGMAP_MMIO ---help--- Supports clocking on ARM Reference designs: From patchwork Wed Sep 11 22:18:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 173642 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp1328810ilq; Wed, 11 Sep 2019 15:19:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqwqgs2CO5HnJfHhR3EUhcVlbedE8bep7MkFUkPJijx7vLOl04keoWvQLNHW/nJbyFBKxumI X-Received: by 2002:a50:ad2c:: with SMTP id y41mr38479592edc.114.1568240357690; Wed, 11 Sep 2019 15:19:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568240357; cv=none; d=google.com; s=arc-20160816; b=SVLN4GmeEmwy7qT59y0M7iFyajhZxFAFdF6qZ8djtzqa/2hIhkBN/aOMS24emKuWPb ABZY9afWpLSTZ9grNyQfj5c04oyZdxv8LAl7G4oq96R3dsv2jihp6gxJs3IiqQIQNJW6 jXyCI8AvkYWahzIikfJRZsANkjnTH2vmwjJF/Kba6PoLGeFY7IVPMreeRkQVF8YOY2t0 UZL2esiRPSO630GFfHtRbDbBvVhb+9ZWa1HQS9oVlA0N4UwsssN8BULXmVQGMcxFRHcU 6sqmWHeKRv5uzpP0ttUodmEkyRvynS0EYXkkOZ63EcaIGYtyTjJKJlY6vyr4UKf5Cejy Lv6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=mMNl63FO67KUuEHw42vIWKlthSpMwd5FVOOXIHmqrU4=; b=fPlCJWGyqHkJcFqsioyUDvPXJSVh2MLkBu393Zq3Dj3qFQIAXPPZJALOTrkQaOHS4w nh8/z2SMsTlwYoDehyOMoweMMrgqF1f0DHOAwjZMsxErMUpY7pVU5ZSuYEmo111vNbut FsdcMmcGTgTQ/vu4ECDrw9w+swYHJI/wT2mqxFHSRlmnsz4QzIKwa7FISCPy0MODhLiz 2GjaJ3ato/2j4jJMaygRgV1RZtdprEYAG32PaszXrmzTe29YLbtEBbvAiomrAopAHbHr /xf1lupRuJemSnt/vtaBkChGlJ9OJzrB/Hxef3FEgv0cjU4xTmC3zHmBf4Lk1NSHvELs O3Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=a8PMTBBT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 t22si12065822ejx.202.2019.09.11.15.19.17; Wed, 11 Sep 2019 15:19:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=a8PMTBBT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1729355AbfIKWTM (ORCPT + 27 others); Wed, 11 Sep 2019 18:19:12 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:45830 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729267AbfIKWTL (ORCPT ); Wed, 11 Sep 2019 18:19:11 -0400 Received: by mail-pl1-f196.google.com with SMTP id x3so10772253plr.12 for ; Wed, 11 Sep 2019 15:19:09 -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:in-reply-to:references :in-reply-to:references; bh=mMNl63FO67KUuEHw42vIWKlthSpMwd5FVOOXIHmqrU4=; b=a8PMTBBTeeZyu/Wvz6ibbwLc/1cJ7vElKoSkSXAji0+1n+9jR/t/r7x/pf8m+oNx7I 7DSzXISCFD+sD00yT2TicutThMC9mFxdIcPpLvxkcBseFcgNlCwSKCbVM20+jp4pQGu3 CnExwUjzYpA2YT+AfVkJr/xlkDxC8joLHCGhWZBITmmkqldtD8BD3W30lM3IXT6t6Qcc Euk0Yp8DJlwSseJv53H0WKPmfZNPCnVsL5Z/CotAsmdO2tFTKSizohPZrDC6a/rbfzmZ kQfygH+3vorPTAqv2ENiOYfY5POKMqh2gH6PW3WeAfwSm2RyHHQFxOjzkCHBMgw8Ly1k PNrA== 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:in-reply-to :references:in-reply-to:references; bh=mMNl63FO67KUuEHw42vIWKlthSpMwd5FVOOXIHmqrU4=; b=a0MGrBxaTIu5cqfEMBVy6eQYmUqrQSOSZzHWzZPKGK9tm6IWGiRKBodTjPzMhwWrbg QPe07WzETskR0Ynk64CCl7HozIGeGnbkjsawTIn52qI9wz6H4gn+pi54R1lILyVA6DSl W1TPDbT6M9dzGE2NYzrpIg8iTJqg/zhIqutLgFnySmajI+//DjKiGOE3vB8/yLVy3nra jrteW9pwfakPx8qq8PTcWGGCVUEubfzzwWMYUdWljTEhO7ySu9QIbW8y1VW2EToG0Xcv TrQelVf2iW1nLomxX+QQlUC/WS03cmOsb8BFXE9+t1/aDhWLPwKn3Z915R9kW64v39w5 d7gA== X-Gm-Message-State: APjAAAU/Pe8FwepeY+1Vjij/M1rAeY2pP5vzknPjj/cYM8d6/4OgKdnh Dyb6bZGGAdDa03H8r9TbB/gRxUPG4awMTg== X-Received: by 2002:a17:902:8d81:: with SMTP id v1mr22729125plo.23.1568240348925; Wed, 11 Sep 2019 15:19:08 -0700 (PDT) Received: from localhost ([49.248.179.160]) by smtp.gmail.com with ESMTPSA id c2sm23999870pfd.66.2019.09.11.15.19.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Sep 2019 15:19:08 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, arm@kernel.org, Bartosz Golaszewski , Catalin Marinas , Kishon Vijay Abraham I , Liam Girdwood , Linus Walleij , Lorenzo Pieralisi , Mark Brown , Michael Turquette , Sebastian Reichel , Stephen Boyd , Will Deacon Cc: linux-clk@vger.kernel.org Subject: [PATCH 4/4] arm64: Kconfig: Fix EXYNOS driver dependencies Date: Thu, 12 Sep 2019 03:48:48 +0530 Message-Id: <79755cb29b8c23709e346b5dd290481a36627648.1568239378.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Push various EXYNOS drivers behind ARCH_EXYNOS dependency so that it doesn't get enabled by default on other platforms. Signed-off-by: Amit Kucheria --- drivers/clk/Kconfig | 1 + drivers/regulator/Kconfig | 1 + 2 files changed, 2 insertions(+) -- 2.17.1 diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 9b2790d3f18a..bdf164a7a7c5 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -194,6 +194,7 @@ config COMMON_CLK_ASPEED config COMMON_CLK_S2MPS11 tristate "Clock driver for S2MPS1X/S5M8767 MFD" + depends on ARCH_EXYNOS depends on MFD_SEC_CORE || COMPILE_TEST ---help--- This driver supports S2MPS11/S2MPS14/S5M8767 crystal oscillator diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index b57093d7c01f..a4c4f01343fd 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -797,6 +797,7 @@ config REGULATOR_S2MPA01 config REGULATOR_S2MPS11 tristate "Samsung S2MPS11/13/14/15/S2MPU02 voltage regulator" + depends on ARCH_EXYNOS depends on MFD_SEC_CORE help This driver supports a Samsung S2MPS11/13/14/15/S2MPU02 voltage