All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nikita Shubin via B4 Relay <devnull+nikita.shubin.maquefel.me@kernel.org>
To: "Nikita Shubin" <nikita.shubin@maquefel.me>,
	"Linus Walleij" <linus.walleij@linaro.org>,
	"Dmitry Torokhov" <dmitry.torokhov@gmail.com>,
	"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
	"Thierry Reding" <thierry.reding@gmail.com>
Cc: Damien Le Moal <dlemoal@kernel.org>,
	 Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	 linux-kernel@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>
Subject: [PATCH v8 36/38] ARM: ep93xx: soc: drop defines
Date: Mon, 26 Feb 2024 10:30:32 +0300	[thread overview]
Message-ID: <20240226-ep93xx-v8-36-3136dca7238f@maquefel.me> (raw)
In-Reply-To: <20240226-ep93xx-v8-0-3136dca7238f@maquefel.me>

From: Nikita Shubin <nikita.shubin@maquefel.me>

Remove unnecessary defines, as we dropped board files.

Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me>
---
 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


WARNING: multiple messages have this Message-ID (diff)
From: Nikita Shubin <nikita.shubin@maquefel.me>
To: "Nikita Shubin" <nikita.shubin@maquefel.me>,
	"Linus Walleij" <linus.walleij@linaro.org>,
	"Dmitry Torokhov" <dmitry.torokhov@gmail.com>,
	"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
	"Thierry Reding" <thierry.reding@gmail.com>
Cc: Damien Le Moal <dlemoal@kernel.org>,
	 Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	 linux-kernel@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>
Subject: [PATCH v8 36/38] ARM: ep93xx: soc: drop defines
Date: Mon, 26 Feb 2024 10:30:32 +0300	[thread overview]
Message-ID: <20240226-ep93xx-v8-36-3136dca7238f@maquefel.me> (raw)
In-Reply-To: <20240226-ep93xx-v8-0-3136dca7238f@maquefel.me>

Remove unnecessary defines, as we dropped board files.

Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me>
---
 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


  parent reply	other threads:[~2024-02-26  7:31 UTC|newest]

Thread overview: 95+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-26  7:29 [PATCH v8 00/38] ep93xx device tree conversion Nikita Shubin via B4 Relay
2024-02-26  7:29 ` Nikita Shubin
2024-02-26  7:29 ` Nikita Shubin via B4 Relay
2024-02-26  7:29 ` [PATCH v8 01/38] gpio: ep93xx: split device in multiple Nikita Shubin via B4 Relay
2024-02-26  7:29   ` Nikita Shubin
2024-02-26  7:29   ` Nikita Shubin via B4 Relay
2024-02-26  7:29 ` [PATCH v8 02/38] ARM: ep93xx: add regmap aux_dev Nikita Shubin via B4 Relay
2024-02-26  7:29   ` Nikita Shubin
2024-03-14  8:42   ` Alexander Sverdlin
2024-02-26  7:29 ` [PATCH v8 03/38] clk: ep93xx: add DT support for Cirrus EP93xx Nikita Shubin via B4 Relay
2024-02-26  7:29   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 04/38] pinctrl: add a Cirrus ep93xx SoC pin controller Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 05/38] power: reset: Add a driver for the ep93xx reset Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 06/38] dt-bindings: soc: Add Cirrus EP93xx Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 07/38] soc: Add SoC driver for Cirrus ep93xx Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 08/38] dt-bindings: dma: Add Cirrus EP93xx Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 09/38] dma: cirrus: Convert to DT for " Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 10/38] dt-bindings: watchdog: Add Cirrus EP93x Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 11/38] watchdog: ep93xx: add DT support for Cirrus EP93xx Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 12/38] dt-bindings: pwm: Add " Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 13/38] pwm: ep93xx: add DT support for " Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 14/38] dt-bindings: spi: Add " Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 15/38] spi: ep93xx: add DT support for " Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 16/38] dt-bindings: net: Add " Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 17/38] net: cirrus: add DT support for " Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 18/38] dt-bindings: mtd: Add ts7200 nand-controller Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30   ` Nikita Shubin via B4 Relay
2024-02-26  7:30 ` [PATCH v8 19/38] mtd: rawnand: add support for ts72xx Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30   ` Nikita Shubin via B4 Relay
2024-02-26  7:30 ` [PATCH v8 20/38] dt-bindings: ata: Add Cirrus EP93xx Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 21/38] ata: pata_ep93xx: add device tree support Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 22/38] dt-bindings: input: Add Cirrus EP93xx keypad Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 23/38] input: keypad: ep93xx: add DT support for Cirrus EP93xx Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30   ` Nikita Shubin via B4 Relay
2024-02-26 14:42   ` Andy Shevchenko
2024-02-26 14:42     ` Andy Shevchenko
2024-02-26  7:30 ` [PATCH v8 24/38] wdt: ts72xx: add DT support for ts72xx Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 25/38] gpio: ep93xx: add DT support for gpio-ep93xx Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 26/38] ASoC: dt-bindings: ep93xx: Document DMA support Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30   ` Nikita Shubin via B4 Relay
2024-02-26  7:30 ` [PATCH v8 27/38] ASoC: dt-bindings: ep93xx: Document Audio Port support Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30   ` Nikita Shubin via B4 Relay
2024-02-26  7:30 ` [PATCH v8 28/38] ASoC: ep93xx: Drop legacy DMA support Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 29/38] ARM: dts: add Cirrus EP93XX SoC .dtsi Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 30/38] ARM: dts: ep93xx: add ts7250 board Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 31/38] ARM: dts: ep93xx: Add EDB9302 DT Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 32/38] ARM: ep93xx: DT for the Cirrus ep93xx SoC platforms Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30   ` Nikita Shubin via B4 Relay
2024-02-26  7:30 ` [PATCH v8 33/38] pwm: ep93xx: drop legacy pinctrl Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30   ` Nikita Shubin via B4 Relay
2024-02-26  7:30 ` [PATCH v8 34/38] ata: pata_ep93xx: remove legacy pinctrl use Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30   ` Nikita Shubin via B4 Relay
2024-02-26  7:30 ` [PATCH v8 35/38] ARM: ep93xx: delete all boardfiles Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` Nikita Shubin via B4 Relay [this message]
2024-02-26  7:30   ` [PATCH v8 36/38] ARM: ep93xx: soc: drop defines Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 37/38] ASoC: cirrus: edb93xx: Delete driver Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26  7:30 ` [PATCH v8 38/38] dma: cirrus: remove platform code Nikita Shubin via B4 Relay
2024-02-26  7:30   ` Nikita Shubin
2024-02-26 13:34 ` [PATCH v8 00/38] ep93xx device tree conversion Mark Brown
2024-02-26 13:34   ` Mark Brown
2024-02-28  8:23   ` Nikita Shubin
2024-02-28  8:23     ` Nikita Shubin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240226-ep93xx-v8-36-3136dca7238f@maquefel.me \
    --to=devnull+nikita.shubin.maquefel.me@kernel.org \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=arnd@arndb.de \
    --cc=dlemoal@kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nikita.shubin@maquefel.me \
    --cc=thierry.reding@gmail.com \
    --cc=u.kleine-koenig@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.