From mboxrd@z Thu Jan 1 00:00:00 1970 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 8AF18C433FE for ; Sat, 19 Nov 2022 23:51:38 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 43971852B8; Sun, 20 Nov 2022 00:46:50 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="Nu83Ve+C"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A1C6A85285; Sun, 20 Nov 2022 00:46:23 +0100 (CET) Received: from mail-qv1-xf2d.google.com (mail-qv1-xf2d.google.com [IPv6:2607:f8b0:4864:20::f2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 505FA85266 for ; Sun, 20 Nov 2022 00:46:21 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf2d.google.com with SMTP id k2so4645027qvo.1 for ; Sat, 19 Nov 2022 15:46:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=aqZpXSOB+zRNmJNNmHs/576cewiEWBp7g0WSw2sKLv0=; b=Nu83Ve+Ce8QuiMhCNr+cGyz0VnQvKyHYkOywNr3op1h+3IY0x31GZUoF668svDkkg6 mxRz+cMxKwKjrAg/j9AgAsusX+6HSomwMG8sY0BEvNrFfjHzRJELTG5JAh+fT8O5qdHh 9wcu9YOgrDks8byoR6YM4BP6WaNdMnX/k//dE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aqZpXSOB+zRNmJNNmHs/576cewiEWBp7g0WSw2sKLv0=; b=zHUK24+r3p1Son471PvHJ3y0K7fGUAZ/CFz/geHMHUdRaKukhPDiScA5Um7XGdF61x jgSh9JyCV7lBAuy1oDB0opJ+2C02YnaFZhANvIigDXRbEGpQdk7paFzS4PI06ZurXCOl A10E//pX72qU3tHuC1Gdhpgqmo76BNVGftw1XC0TF5nEd9rx7d/ZRb8+sFP3MeTHgZaK KagOdBJAfL+LDjgdXGx1261xlsW7MY6nGrcJJDtzFa77vQ0DcEKUnISEcdkKGqogzfzs hUodEqz2wr36tTiulFr+9MEd3gMOFPKCavXAfmPCUZjc1aI3btJ2+N7Z/el7Hc80Vh22 fpFA== X-Gm-Message-State: ANoB5pn8DeJT3VLtY+xhK82dSJ+bv00IBsEg+RMjswaq2ZGBCL1Msjpv mTYT886A6paTrL8WI/gAfPjuSjdMa2aS0Q== X-Google-Smtp-Source: AA0mqf5NBocHdOlD7W4dOxkLIe/UV2cQnApDMJZ2JSnWi57YLur+Bt9ZK6IqKICoi229BrPZAuV9jQ== X-Received: by 2002:a0c:ea47:0:b0:4c6:9d1f:b250 with SMTP id u7-20020a0cea47000000b004c69d1fb250mr1010474qvp.99.1668901560532; Sat, 19 Nov 2022 15:46:00 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-55ec-b699-c19f-3363.res6.spectrum.com. [2603:6081:7b00:6400:55ec:b699:c19f:3363]) by smtp.gmail.com with ESMTPSA id y11-20020a37f60b000000b006ce1bfbd603sm5169743qkj.124.2022.11.19.15.46.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Nov 2022 15:46:00 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 25/38] Convert CONFIG_SH_GPIO_PFC et al to Kconfig Date: Sat, 19 Nov 2022 18:45:32 -0500 Message-Id: <20221119234545.404563-25-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221119234545.404563-1-trini@konsulko.com> References: <20221119234545.404563-1-trini@konsulko.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean This converts the following to Kconfig: CONFIG_SH_GPIO_PFC CONFIG_TMU_TIMER Signed-off-by: Tom Rini --- arch/arm/mach-rmobile/Kconfig.32 | 4 ++++ drivers/gpio/Kconfig | 5 +++++ include/configs/rcar-gen2-common.h | 5 ----- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-rmobile/Kconfig.32 b/arch/arm/mach-rmobile/Kconfig.32 index a07eff71dfe7..31badc5a47dd 100644 --- a/arch/arm/mach-rmobile/Kconfig.32 +++ b/arch/arm/mach-rmobile/Kconfig.32 @@ -8,6 +8,7 @@ config RCAR_GEN2 bool "Renesas RCar Gen2" select PHY select PHY_RCAR_GEN2 + select TMU_TIMER config R8A7740 bool "Renesas SoC R8A7740" @@ -121,6 +122,9 @@ config TARGET_STOUT endchoice +config TMU_TIMER + bool + config SYS_SOC default "rmobile" diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 1e4b50ef72b5..365615a53f7e 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -596,6 +596,11 @@ config ZYNQMP_GPIO_MODEPIN are accessed using xilinx firmware. In modepin register, [3:0] bits set direction, [7:4] bits read IO, [11:8] bits set/clear IO. +config SH_GPIO_PFC + bool "Pinmuxed GPIO support for SuperH" + depends on RCAR_GEN2 && !PINCTRL_PFC + default y + config SL28CPLD_GPIO bool "Kontron sl28cpld GPIO driver" depends on DM_GPIO && SL28CPLD diff --git a/include/configs/rcar-gen2-common.h b/include/configs/rcar-gen2-common.h index a86180ead576..291c2a43d4d9 100644 --- a/include/configs/rcar-gen2-common.h +++ b/include/configs/rcar-gen2-common.h @@ -10,10 +10,6 @@ #include -#ifndef CONFIG_PINCTRL_PFC -#define CONFIG_SH_GPIO_PFC -#endif - /* console */ #define CFG_SYS_BAUDRATE_TABLE { 38400, 115200 } @@ -21,7 +17,6 @@ #define CFG_SYS_SDRAM_SIZE (RCAR_GEN2_UBOOT_SDRAM_SIZE) /* Timer */ -#define CONFIG_TMU_TIMER #define CFG_SYS_TIMER_COUNTER (TMU_BASE + 0xc) /* TCNT0 */ #define CFG_SYS_TIMER_RATE (get_board_sys_clk() / 8) -- 2.25.1