Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47055C433F5 for ; Fri, 8 Oct 2021 05:21:22 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C841061073 for ; Fri, 8 Oct 2021 05:21:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org C841061073 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sholland.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3E2F4835B0; Fri, 8 Oct 2021 07:18:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=sholland.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=sholland.org header.i=@sholland.org header.b="GpEMccTe"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="AJZhg36t"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1F01C8357B; Fri, 8 Oct 2021 07:18:47 +0200 (CEST) Received: from new2-smtp.messagingengine.com (new2-smtp.messagingengine.com [66.111.4.224]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9D5008356F for ; Fri, 8 Oct 2021 07:17:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=sholland.org Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=samuel@sholland.org Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id 25CE2580E42; Fri, 8 Oct 2021 01:17:42 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 08 Oct 2021 01:17:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=T7KrCa9CV5fqO lJU3aqEyO2Rj9ikqlaqrhp6wVtYdTw=; b=GpEMccTeYN9JihYMgjfHXW9o9hhxl gYVN3kpcO4urYY0ayUtAZghT81GZodI6qqn99QTxDZ0DmaQms2dY9E4v64Yieg2b w/AfipBBxivZZjF4lF1NeFOTY0ji6wO7Ec+FyGlgLdQXDqU+WRLWTder5XV2QCpf 01wtELgtM6bHiubXXNYQ7DIbONeBHt/btGRKEGUp9Ndu6vbIyb50M44qAug5zzLi Ip8RNUUicGMpIV3NzDL6hMontInotBA8bFTddpVPddXzlYzGccQcIL+EODUA3vBU TTLqIjL/4yLTBAc96xS1HHJjdB0lBuPYS9G+CZl8c/v6DS6/DC7dwBEfg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=T7KrCa9CV5fqOlJU3aqEyO2Rj9ikqlaqrhp6wVtYdTw=; b=AJZhg36t k0bVHRQajXIfSD8cCnAVJly+rlO8Sjwugot2+tuZyZBZ0iDAOaLFW8OBKwNjP/w3 pZK2vgeGQ6OTe0IS9bkN5eTMIgzrzp26hD9Yn1LAMK0UFZVijYV0f8roN8UD5ums M/9bo1zLRfju9WSYpY9O/qxBlGwvqzayXASjskBxNOrM4Tbz01vnyAsUIK3uptTG 8qxa1DcIkZUjFDlPoAs1jKF2ppA/jncmi1g7kWDnXcV5n5zmhtrP5Hf7HVpRtU5X yytyq+w6ykrsavElcuxv+c5WCWfVAHmdmG6Ma1jVHpgJ6d6O8YYoMMhX4tzQRM5H 6bznbmgg4UvESQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudelledgkeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpeduhfejfedvhffgfeehtefghfeiiefgfeehgfdvvdevfeegjeehjedv gfejheeuieenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhroh hmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 8 Oct 2021 01:17:40 -0400 (EDT) From: Samuel Holland To: u-boot@lists.denx.de, Jagan Teki , Andre Przywara Cc: Jaehoon Chung , Heiko Schocher , Samuel Holland , Anatolij Gustschin , Arnaud Ferraris , Bharat Gooty , Igor Opaniuk , Jernej Skrabec , Minkyu Kang , Rayagonda Kokatanur , Simon Glass , Stephan Gerhold , Tim Harvey , Tom Rini Subject: [PATCH v2 06/12] sunxi: pmic_bus: Fix Kconfig dependencies Date: Fri, 8 Oct 2021 00:17:19 -0500 Message-Id: <20211008051725.29401-7-samuel@sholland.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211008051725.29401-1-samuel@sholland.org> References: <20211008051725.29401-1-samuel@sholland.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean AXP_PMIC_BUS enables communication with a specific AXP PMIC at a PMIC-dependent I2C/P2WI/RSB bus address. It is automatically selected as a dependency of the PMIC driver. It should not be selectable by the user when no PMIC is chosen. AXP_GPIO uses the pmic_bus functions, and also depends on a specific PMIC header to pick up register definitions. Both of these changes have no impact on any existing configs, since the code does not compile if the dependencies are not met. Reviewed-by: Jaehoon Chung Signed-off-by: Samuel Holland --- Changes in v2: - No changes arch/arm/mach-sunxi/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index 677d4554173..4d8f0e17d40 100644 --- a/arch/arm/mach-sunxi/Kconfig +++ b/arch/arm/mach-sunxi/Kconfig @@ -106,7 +106,7 @@ config SUN6I_PRCM in A31 SoC. config AXP_PMIC_BUS - bool "Sunxi AXP PMIC bus access helpers" + bool help Select this PMIC bus access helpers for Sunxi platform PRCM or other AXP family PMIC devices. @@ -809,6 +809,7 @@ endif config AXP_GPIO bool "Enable support for gpio-s on axp PMICs" + depends on AXP_PMIC_BUS ---help--- Say Y here to enable support for the gpio pins of the axp PMIC ICs. -- 2.32.0