From nobody Thu Feb 12 05:16:14 2026 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 72ADE195381 for ; Mon, 17 Jun 2024 09:38:26 +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=1718617106; cv=none; b=OVi9z80vTprBNyufh5tUYXrJjHr6x8VTMuL8Hk1AK0ORQeZOjv7++pNwSx150Ef8gR0vfa0zEkAL448OAdHROEukImzUWZQsSw+BZZ0B23I93DNtSRCT6kBgyGsl7PUPD3WUSLXM32m//XiuSd2DC+YQ/xdoiT5ZKHcBvj1L5L8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718617106; c=relaxed/simple; bh=hrT9YKQg2KUsDmRru7R3dkbeDnKTBUt6lpZ4rhh69UQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JmE2vNfquie/KJaF2CLqh2dvpR2qgwXcfWlp+76rz7jHhGvmLnpCODtb54tnBlpJ1tOoSIx+s8foUWsCA794C7zAImm76wL6Dm8WNbFzHtdYint8XCuzZG/18I9KT4M9YyJAM+Fhqn7s6tcYuuWRrcUVNKyJXvdjGNcMo+3v+6A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Aww7GnjF; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Aww7GnjF" Received: by smtp.kernel.org (Postfix) with ESMTPS id 0118BC4DDEA; Mon, 17 Jun 2024 09:38:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718617106; bh=hrT9YKQg2KUsDmRru7R3dkbeDnKTBUt6lpZ4rhh69UQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Aww7GnjFSAV/l/99Dbc1YLaEnAJIXIYkq9bSM+puKVOi209CcPcS6hbdZW/plw3Wo P2ZU/bwemzRB6cs1xxj2sMEXsb7NR5wSQKqGYAz5/xeK2UI/TnOGDABZH4ZkRVMNYj 57co7KP0n2NUQEj08vLqF0eor+/lAD06wvaP7dFkuBdjAsI3dbCDn/7SUACIuIndOO Medrn9aT32U7gDLDIi+FqRgAVOrBWXb7/Dj7G3g1K7jbRycFGxz2/cwsOs8RJuV3D1 p4HEOi+vSUqXRjuDTlB7mLWSievzJrffs4DgSET3H52QJ1C6IBY4Fd/7Nr75K2q27i qV5LE1BU7Op2Q== 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 E91D0C2BA1A; Mon, 17 Jun 2024 09:38:25 +0000 (UTC) From: Nikita Shubin via B4 Relay Date: Mon, 17 Jun 2024 12:37:10 +0300 Subject: [PATCH v10 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: quoted-printable Message-Id: <20240617-ep93xx-v10-36-662e640ed811@maquefel.me> References: <20240617-ep93xx-v10-0-662e640ed811@maquefel.me> In-Reply-To: <20240617-ep93xx-v10-0-662e640ed811@maquefel.me> To: Nikita Shubin , Linus Walleij , Dmitry Torokhov , Stephen Boyd , Thierry Reding Cc: Sergey Shtylyov , 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=1718617100; l=3028; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=u3BDqN+H6aRDKVd8/5dcTI5HxRCeHm2XLxf66dN+WRE=; b=VDMJ1vo2sK3AriWdn4JY+JF0IAPjhzdDwj0xnzrIs4QFIgA9OX1TPZjcACaBZw+WhwJrDYDKi2p/ YdmBaWROCh2MueNVguI854e2Fl2QEmi5+PJEERMcB/KY2ITduDM/ 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: nikita.shubin@maquefel.me 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/platf= orm_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/pl= atform_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/e= p93xx.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 =20 -struct platform_device; struct regmap; struct spinlock_t; =20 @@ -36,16 +35,4 @@ struct ep93xx_regmap_adev { #define to_ep93xx_regmap_adev(_adev) \ container_of((_adev), struct ep93xx_regmap_adev, adev) =20 -#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 --=20 2.43.2