Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4422805rdb; Fri, 15 Sep 2023 01:23:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHzS0yJRBUJj0nNCIXnqDjFRpfVLMxnuo6XMzkZ0ZGtKuXYXttw/X9WiyzqBcvrlzYOOF+x X-Received: by 2002:a17:90a:5608:b0:26b:27f6:9027 with SMTP id r8-20020a17090a560800b0026b27f69027mr791631pjf.1.1694766231257; Fri, 15 Sep 2023 01:23:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694766231; cv=none; d=google.com; s=arc-20160816; b=ZwKxIyk6ftROKrk3FgejckWRSGUIuyxQSxlLoez+e+UiH6I7mQhuUx5mFTyLnx54ga /ymeKqIExc4gVnRrByJCU1FgBOeVfp7QO4ffw8yV7Je/2/uhMBvmH33ppA4C+5zmSXYK ecWKbOBOO08PRwM+a8D41PNt6iLVK/niAnU0nr5LEXIubxRiqEuK6SJT7ttVkn3kY2/u R7fghsV0Ah5j+A3hkLGQ6+eNpn+I+mTZ7ambXAKc78uotfv1P00eUVgWoR231qwsDatl zZ4etoJruO39ab5sUD4h0n98WI5criJMERMD7lZYddUmF7vSkfwJuEb9TQoD9cDKR/7l Ww9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=j/Nzrt8z5K38Pj27JV2JDGGPelvIs2UImKIRrZ6F7gQ=; fh=PateJJvXiUOs19H8v+N8415tgJ+YaoXfHDHTlpyLsrQ=; b=BB1GmLIP7Nx1KlSEQO1SyojISgZ4IaRNDg1tisBsa3Z9RhhiC6vTcsFuipKfYUWIYU IJ0DHGf10EAKmv41HeSB+MSDkQCYPY8KM0tcKoDCmVSyUV9mSqUx9kukZ7Hd336aXc7s LQCyxBfARsZVlGBeXwvtMh3O6NdedNYZByVMMFN+umerSoVzzlLZF2AqJl5AKYPPkm54 /ZW5vDjHzWHPhxzLR9pS3LCx42CoJBW1ANUrH9lFkRu1qYW1OqOoC9jfbHAhrMByG7FA TbkBS6qqBhsdbufffBhFqYBzjNQpvKF8prcsZDN5/uN+MhtwWSi/ve/ogB+Sr0GJyOLi 6gXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jxy5O2ew; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id x6-20020a17090ab00600b002634977e6e5si5101117pjq.142.2023.09.15.01.23.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 01:23:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jxy5O2ew; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 006AD856780C; Fri, 15 Sep 2023 01:14:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233300AbjIOINw (ORCPT + 99 others); Fri, 15 Sep 2023 04:13:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233104AbjIOINC (ORCPT ); Fri, 15 Sep 2023 04:13:02 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64C8A2D43 for ; Fri, 15 Sep 2023 01:12:16 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 87574C433BB; Fri, 15 Sep 2023 08:12:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694765530; bh=Ryyc4O+UjDaoiSIUnChIWQE2FZXqVLPtozhb4qkonJw=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=jxy5O2ew1X7MFoRmb4Y0ShkTg4uLiRA35qL0qZzChOWCzLMvU+1QM7BES7jStHwJt A/U1m5FMtJD94QFp6vg3Pu1SXWB9HfklC7R/oLa3EsSZMkBGk8QOv/fcNoASNfkjVc 0u0M7kNrtZc98ZIQnRTF8Vz8+tfxXjlEwI64YeLGW7eChhqQ+6hL7DOw/CGn4fw5iG Lcf7YAIpLlpnvkfrBM6O2bLqD2hwy2zNaqaJa/kup5dd77lI5Sohg2Ov7zhESEEEjQ 5a++yRQoqIts72J7WySywD3CGqLBafnmlGEs7DepUPZasFCNnGoMlApY17M/dIqQdu /9zy9XZaM+o6A== 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 74409EE643D; Fri, 15 Sep 2023 08:12:10 +0000 (UTC) From: Nikita Shubin via B4 Relay Date: Fri, 15 Sep 2023 11:11:22 +0300 Subject: [PATCH v4 40/42] ARM: ep93xx: soc: drop defines MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230915-ep93xx-v4-40-a1d779dcec10@maquefel.me> References: <20230915-ep93xx-v4-0-a1d779dcec10@maquefel.me> In-Reply-To: <20230915-ep93xx-v4-0-a1d779dcec10@maquefel.me> To: Nikita Shubin , Damien Le Moal , Linus Walleij , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Dmitry Torokhov Cc: Alexander Sverdlin , Sergey Shtylyov , linux-kernel@vger.kernel.org, Arnd Bergmann , Alexander Sverdlin X-Mailer: b4 0.13-dev-e3e53 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694765525; l=3354; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=eGe0oIR5ltAwpXa8VN2eQPSfHKPm73WhhZb9Tri1d9M=; =?utf-8?q?b=3Dq3fpInwQRNDP?= =?utf-8?q?M3JMYCI3fdBAYC7eBbOdLsB4icethmmRkHY8NTqJBEYpmOFA72fUnW7pbl+hLi5O?= Rb7SkqdCA7oAvSXiDvCVtyajD1e5nzxCjNXtTwap5UsccFspT7CA 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: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 15 Sep 2023 01:14:12 -0700 (PDT) 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 | 12 ----------- 3 files changed, 54 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 3212a145ae0f..c5ac75ee2d2b 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; #define EP93XX_CHIP_REV_D0 3 @@ -11,16 +10,6 @@ struct regmap; #define EP93XX_CHIP_REV_E1 6 #define EP93XX_CHIP_REV_E2 7 -#if defined(CONFIG_EP93XX_SOC_COMMON) -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; } - #if defined(CONFIG_EP93XX_SOC) void ep93xx_regmap_write(struct regmap *map, unsigned int reg, unsigned int val); void ep93xx_regmap_update_bits(struct regmap *map, unsigned int reg, @@ -32,7 +21,6 @@ static inline void ep93xx_regmap_update_bits(struct regmap *map, unsigned int re unsigned int mask, unsigned int val) { } -#endif #endif #endif -- 2.39.2