Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1154092rbb; Sun, 25 Feb 2024 23:38:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVTtVEzIfT/YT3mglN5Nq7qLP/ZyV7FGCGyDZ/9PaXtjcgT6Q/tlnfhSzSuW2rSlUWaQzsUrpkfP0OEsw5UjgAIvFRDQAPXNYlw93/ahg== X-Google-Smtp-Source: AGHT+IH3S/bQjmLJNKV9PNfU9YUT+/mdxn9kvNoOSe6P/t3ywK9P7Vtgh9plDTOAtU6VX6Jpe0Rk X-Received: by 2002:a05:6402:4490:b0:564:693b:7679 with SMTP id er16-20020a056402449000b00564693b7679mr4953322edb.10.1708933114064; Sun, 25 Feb 2024 23:38:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708933114; cv=pass; d=google.com; s=arc-20160816; b=ryI9cA8EzUrsw3z9tb7yXWUY3+IpAvr9E+RWfXUh08FoAVumv4MIE2/DOxDWX0/KrZ U3XpEWSN7fxjD1gLBHnD+ch8CBqsOv5ZO8RLr464ZPVwT9RiisuIEAd+A+jGCxgDtF2d h2y9rgLdBwODGkTJeyMP8n05L/yraHx4Azs161oveHd21MuQfDu63pAcVO0Gac0aiDTj 5n7q/736RmM5U9cAkME1plgpyp8M6b/8lTkRmJxOHv4ckOH+2ljIjTG08RAObpMzn15m orOPI3IYj5+HaO2AtuofU7kxvLJ08iOl2ExVb4TDSUtj1hK7wrK5n/STkJUlKhKquF5l EyuQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=G5dpoT30WwpJRCYcbjLtQHMA3vNXQ3Qe4SSQzbYOKfE=; fh=VrLXYdwdQJYKd3JKvNRVUHiJwHEKzbu2mFOk43GMXec=; b=YYTXDL2kI+iOr33Cr+04BPA76pwFvveBbYFNZA1G3zNUiJH3tSIM5+0rinSjxIs7zP 1cxYZl0QefjSbvwWnjLQF6Q0b7VVh1c/urMWlZWxcSNov6oGvSWeohwF/INM9Si8nmLs WK/lsoUsrEM6vgIEJnXQynP5noktSI6hLMaxdHRKZTD8KNF+28oLVqn8bBDpZCJhWkZZ Soumrxm7J6U3YXWbWsgROb46xx92rgda/RhcU5D8Lr5sIAzpJmlLICI3M6HGMa3rx5mx 2DR/IZrSk3HB2jlxKwi/BF3PF6oyohALmsqOUQZoaqf5ssqiZBAF8pdq11YaS+DG4TlR //ew==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GDETIlbx; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-80670-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80670-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id n2-20020aa7d042000000b0056417546b18si1857878edo.323.2024.02.25.23.38.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 23:38:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80670-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GDETIlbx; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-80670-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80670-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id CD1F11F218A7 for ; Mon, 26 Feb 2024 07:38:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6C8BD54F9C; Mon, 26 Feb 2024 07:31:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GDETIlbx" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 174941EEE7 for ; Mon, 26 Feb 2024 07:31:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708932685; cv=none; b=ncJmFHCbvZKBjpvRqOZ9e7GKU/CxZqShLQXFZJPeUrI/rqaMxWMaOyQ0nIrJ9IBdl5/iAL1OwcCxmKsYwNE2Xh0DyjGWxMRPoj5SVm43lzKBCxBH2PJf3GD7JAa+Ijgo8gKxhxx8ceRCHN15h0oPqxqnQmr9qHn24gv1Jg9odYE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708932685; c=relaxed/simple; bh=uZkJGnv5IDuO8+ZvDjL7x5PwIEPpvDDhlojaAu1G7Ks=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=sECOsRgK1yG3J17lFoEiK8ymHNCs8LSlxVBNuIvm2zFf7HDRCClC/BARPbZrTlHNYyXPeBq5CgHcW6tBE68yyiMaUehUvj/v5OkoX8N9XjTWvXgKcGA5UYKRYGVG8xo3NTXA8hUE5uh5MZV4cS0hlYRyE77h368A7rkb70WB4gY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GDETIlbx; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 09D12C41679; Mon, 26 Feb 2024 07:31:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708932684; bh=uZkJGnv5IDuO8+ZvDjL7x5PwIEPpvDDhlojaAu1G7Ks=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=GDETIlbxnBG5mil+Uivj9xnMmvWSFqucmd4YFTSKVm8AVed+5t2Na9DG/5iJpwN4q 1uBxGd2VVBwo+jyDt35JYVB4CuILAS3g0LnjOt/mA7eTbRbuzwbpDroziBX00LloW/ g//WVzLDZQlqCBHON3rNpBPCmfXigiDPNuxfzupxFV1ZuWmXnJw/P5++RqDRFUHHoW H1DD2fbWC4q8oVxzOIUdcyrEDLTSZVzB+iZAme/s1rZZcji+nxwS1Gj2mzaiIVzG/L QuTgQ4qloOfY4R1FDNrAtVEGq/k9Tey6GSKTSn86eFnwxFLJnCv6MqtWPu5fOg6awI RgbH6RVPw1kiQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED07AC5478C; Mon, 26 Feb 2024 07:31:23 +0000 (UTC) From: Nikita Shubin via B4 Relay Date: Mon, 26 Feb 2024 10:30:32 +0300 Subject: [PATCH v8 36/38] ARM: ep93xx: soc: drop defines Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240226-ep93xx-v8-36-3136dca7238f@maquefel.me> References: <20240226-ep93xx-v8-0-3136dca7238f@maquefel.me> In-Reply-To: <20240226-ep93xx-v8-0-3136dca7238f@maquefel.me> To: Nikita Shubin , Linus Walleij , Dmitry Torokhov , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Thierry Reding Cc: Damien Le Moal , Andy Shevchenko , linux-kernel@vger.kernel.org, Arnd Bergmann X-Mailer: b4 0.13-dev-e3e53 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708932678; l=3028; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=r88ZSksaS28Z3JM0eLBOGcjCM+5d/zZG8n9oNgV84Dc=; =?utf-8?q?b=3DMf/5CVsY6TLn?= =?utf-8?q?OaA/0VIZp+6p/GbA24vU7ElRPGNHpsue87ApSTEkweFzph4+esGUXusskTfEoSEL?= 4dwjFC1JBYKhfYOM7DbvX4beYwvAG0yIPoaCzWT444EWmQ9GVWZl X-Developer-Key: i=nikita.shubin@maquefel.me; a=ed25519; pk=vqf5YIUJ7BJv3EJFaNNxWZgGuMgDH6rwufTLflwU9ac= X-Endpoint-Received: by B4 Relay for nikita.shubin@maquefel.me/20230718 with auth_id=65 X-Original-From: Nikita Shubin Reply-To: From: Nikita Shubin Remove unnecessary defines, as we dropped board files. Signed-off-by: Nikita Shubin --- include/linux/platform_data/eth-ep93xx.h | 10 --------- include/linux/platform_data/keypad-ep93xx.h | 32 ----------------------------- include/linux/soc/cirrus/ep93xx.h | 13 ------------ 3 files changed, 55 deletions(-) diff --git a/include/linux/platform_data/eth-ep93xx.h b/include/linux/platform_data/eth-ep93xx.h deleted file mode 100644 index 8eef637a804d..000000000000 --- a/include/linux/platform_data/eth-ep93xx.h +++ /dev/null @@ -1,10 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_PLATFORM_DATA_ETH_EP93XX -#define _LINUX_PLATFORM_DATA_ETH_EP93XX - -struct ep93xx_eth_data { - unsigned char dev_addr[6]; - unsigned char phy_id; -}; - -#endif diff --git a/include/linux/platform_data/keypad-ep93xx.h b/include/linux/platform_data/keypad-ep93xx.h deleted file mode 100644 index 3054fced8509..000000000000 --- a/include/linux/platform_data/keypad-ep93xx.h +++ /dev/null @@ -1,32 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __KEYPAD_EP93XX_H -#define __KEYPAD_EP93XX_H - -struct matrix_keymap_data; - -/* flags for the ep93xx_keypad driver */ -#define EP93XX_KEYPAD_DISABLE_3_KEY (1<<0) /* disable 3-key reset */ -#define EP93XX_KEYPAD_DIAG_MODE (1<<1) /* diagnostic mode */ -#define EP93XX_KEYPAD_BACK_DRIVE (1<<2) /* back driving mode */ -#define EP93XX_KEYPAD_TEST_MODE (1<<3) /* scan only column 0 */ -#define EP93XX_KEYPAD_AUTOREPEAT (1<<4) /* enable key autorepeat */ - -/** - * struct ep93xx_keypad_platform_data - platform specific device structure - * @keymap_data: pointer to &matrix_keymap_data - * @debounce: debounce start count; terminal count is 0xff - * @prescale: row/column counter pre-scaler load value - * @flags: see above - */ -struct ep93xx_keypad_platform_data { - struct matrix_keymap_data *keymap_data; - unsigned int debounce; - unsigned int prescale; - unsigned int flags; - unsigned int clk_rate; -}; - -#define EP93XX_MATRIX_ROWS (8) -#define EP93XX_MATRIX_COLS (8) - -#endif /* __KEYPAD_EP93XX_H */ diff --git a/include/linux/soc/cirrus/ep93xx.h b/include/linux/soc/cirrus/ep93xx.h index 142c33a2d7db..3e6cf2b25a97 100644 --- a/include/linux/soc/cirrus/ep93xx.h +++ b/include/linux/soc/cirrus/ep93xx.h @@ -2,7 +2,6 @@ #ifndef _SOC_EP93XX_H #define _SOC_EP93XX_H -struct platform_device; struct regmap; struct spinlock_t; @@ -36,16 +35,4 @@ struct ep93xx_regmap_adev { #define to_ep93xx_regmap_adev(_adev) \ container_of((_adev), struct ep93xx_regmap_adev, adev) -#ifdef CONFIG_ARCH_EP93XX -int ep93xx_i2s_acquire(void); -void ep93xx_i2s_release(void); -unsigned int ep93xx_chip_revision(void); - -#else -static inline int ep93xx_i2s_acquire(void) { return 0; } -static inline void ep93xx_i2s_release(void) {} -static inline unsigned int ep93xx_chip_revision(void) { return 0; } - -#endif - #endif -- 2.41.0