All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mario Six <mario.six@gdsys.cc>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 45/60] mpc83xx: Prepare usage of DM gpio driver
Date: Mon, 21 Jan 2019 09:18:08 +0100	[thread overview]
Message-ID: <20190121081823.6429-45-mario.six@gdsys.cc> (raw)
In-Reply-To: <20190121081823.6429-1-mario.six@gdsys.cc>

The MPC85xx GPIO driver was converted to handle a broader range of SoCs.

Prepare the MPC83xx code for usage of this driver.

Signed-off-by: Mario Six <mario.six@gdsys.cc>

---

v2 -> v3:
No changes

v1 -> v2:
New in v2

---
 arch/powerpc/include/asm/arch-mpc83xx/gpio.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/powerpc/include/asm/arch-mpc83xx/gpio.h b/arch/powerpc/include/asm/arch-mpc83xx/gpio.h
index b5ec50ba44c..385d651d200 100644
--- a/arch/powerpc/include/asm/arch-mpc83xx/gpio.h
+++ b/arch/powerpc/include/asm/arch-mpc83xx/gpio.h
@@ -17,7 +17,15 @@
 
 #define MAX_NUM_GPIOS (32 * MPC83XX_GPIO_CTRLRS)
 
+struct mpc8xxx_gpio_plat {
+       ulong addr;
+       unsigned long size;
+       uint ngpios;
+};
+
+#ifndef DM_GPIO
 void mpc83xx_gpio_init_f(void);
 void mpc83xx_gpio_init_r(void);
+#endif	/* DM_GPIO */
 
 #endif	/* MPC83XX_GPIO_H_ */
-- 
2.20.1

  parent reply	other threads:[~2019-01-21  8:18 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-21  8:17 [U-Boot] [PATCH v3 01/60] mpc83xx: Introduce ARCH_MPC830* Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 02/60] mpc83xx: Introduce ARCH_MPC831* Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 03/60] mpc83xx: Introduce ARCH_MPC832* Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 04/60] mpc83xx: Introduce ARCH_MPC834* Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 05/60] mpc83xx: Introduce ARCH_MPC836* Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 06/60] mpc83xx: Introduce ARCH_MPC837X Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 07/60] keymile: Make distinct kmtegr1, kmvect1, suvd3 configs Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 08/60] keymile: Move config files Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 09/60] keymile: Unroll includes Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 10/60] keymile: Make distinct kmsupx5, tuge1, kmopti2, and kmtepr2 configs Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 11/60] keymile: Unroll km/km83xx-common.h Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 12/60] keymile: Make distinct kmeter1, and kmcoge5ne configs Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 13/60] mpc83xx: Make distinct MPC8313ERDB targets Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 14/60] vme8349: Migrate to CONFIG_TARGET_VME8349 Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 15/60] mpc83xx: Make distinct caddy2 config Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 16/60] powerpc: Add LSDMR config values Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 17/60] mpc83xx: Make distinct MPC8349EMDS_SDRAM board Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 18/60] mpc8315erdb: Merge BR/OR settings Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 19/60] ve8313: " Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 20/60] MPC832XEMDS: Migrate to CONFIG_TARGET_MPC832XEMDS Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 21/60] MPC8349ITX: Migrate to CONFIG_TARGET_MPC8349ITX Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 22/60] hrcon: Migrate to CONFIG_TARGET_HRCON Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 23/60] strider: Migrate to CONFIG_TARGET_STRIDER Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 24/60] MPC8313ERDB: Remove CONFIG_MPC8313ERDB Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 25/60] MPC8315ERDB: Remove CONFIG_MPC8315ERDB Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 26/60] MPC837XEMDS: Remove CONFIG_MPC837XEMDS Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 27/60] MPC837XERDB: Remove CONFIG_MPC837XERDB Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 28/60] mpc83xx: Migrate legacy PCI options to Kconfig Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 29/60] mpc83xx: Replace CONFIG_83XX_CLKIN in calculations Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 30/60] mpc83xx: Get rid of CONFIG_83XX_CLKIN Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 31/60] mpc83xx: Kconfig: Migrate HRCW to Kconfig Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 32/60] mpc83xx: pcie: Read the clock from registers Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 33/60] powerpc: Migrate HIGH_BATS to Kconfig Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 34/60] mpc83xx: Migrate BATS config " Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 35/60] mpc83xx: Migrate LBLAW_* " Mario Six
2019-01-21  8:17 ` [U-Boot] [PATCH v3 36/60] mpc83xx: Normalize BR/OR option lines Mario Six
2019-01-21  8:18 ` [U-Boot] [PATCH v3 37/60] tqm834x: Expand CONFIG_SYS_OR_TIMING_FLASH macro Mario Six
2019-01-21  8:18 ` [U-Boot] [PATCH v3 38/60] mpc83xx: Simplify BR,OR lines Mario Six
2019-01-21  8:18 ` [U-Boot] [PATCH v3 39/60] sbc8349: Remove SDRAM functionality Mario Six
2019-01-21  8:18 ` [U-Boot] [PATCH v3 40/60] mpc83xx: Migrate CONFIG_SYS_{BR, OR}*_PRELIM to Kconfig Mario Six
2019-01-21  8:18 ` [U-Boot] [PATCH v3 41/60] powerpc: mpc83xx: Fix MPC8308 IMMR memory layout Mario Six
2019-01-21  8:18 ` [U-Boot] [PATCH v3 42/60] powerpc: mpc83xx: Implement get_serial_clock() Mario Six
2019-01-21  8:18 ` [U-Boot] [PATCH v3 43/60] powerpc: mpc83xx: fdt: Use get_serial_clock() Mario Six
2019-01-21  8:18 ` [U-Boot] [PATCH v3 44/60] mpc83xx: Remove last CONFIG_MPC83xx Mario Six
2019-01-21  8:18 ` Mario Six [this message]
2019-01-21  8:18 ` [U-Boot] [PATCH v3 46/60] mpc83xx: Migrate HID config to Kconfig Mario Six
2019-01-21  8:18 ` [U-Boot] [PATCH v3 47/60] mpc83xx: Migrate CONFIG_SYS_IMMR " Mario Six
2019-01-21  8:18 ` [U-Boot] [PATCH v3 48/60] mpc8308: Migrate system io config " Mario Six
2019-01-21  8:18 ` [U-Boot] [PATCH v3 49/60] mpc83xx: Migrate arbiter " Mario Six
2019-01-21  8:18 ` [U-Boot] [PATCH v3 50/60] mpc83xx: Migrate SPCR " Mario Six
2019-01-21  8:18 ` [U-Boot] [PATCH v3 51/60] mpc83xx: Migrate CONFIG_LCRR_* " Mario Six
2019-01-21  8:18 ` [U-Boot] [PATCH v3 52/60] mpc83xx: Get rid of CONFIG_SYS_DDR_BASE Mario Six
2019-01-21  8:18 ` [U-Boot] [PATCH v3 53/60] mpc83xx: Get rid of CONFIG_SYS_DDR_SDRAM_BASE Mario Six
2019-01-21  8:18 ` [U-Boot] [PATCH v3 54/60] mpc83xx: Get rid of CONFIG_SYS_LBC_* Mario Six
2019-01-21  8:18 ` [U-Boot] [PATCH v3 55/60] mpc83xx: Add arch clock.h to make SDHC work Mario Six
2019-01-21  8:18 ` [U-Boot] [PATCH v3 56/60] mpc83xx: Don't define cpu_eth_init for DM eth Mario Six
2019-01-21  8:18 ` [U-Boot] [PATCH v3 57/60] mpc83xx: Replace ppcDWstore with inline assembly Mario Six
2019-01-21  8:18 ` [U-Boot] [PATCH v3 58/60] mpc83xx: Use pre-defined asm functions Mario Six
2019-01-21  8:18 ` [U-Boot] [PATCH v3 59/60] keymile: Remove CONFIG_SYS_APP{1, 2}_{BASE, SIZE} Mario Six
2019-01-21  8:18 ` [U-Boot] [PATCH v3 60/60] keymile: Factor out common includes again Mario Six
2019-01-22 16:16 ` [U-Boot] [PATCH v3 01/60] mpc83xx: Introduce ARCH_MPC830* York Sun
2019-01-28  8:13   ` Mario Six
2019-02-08  7:13     ` Mario Six

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=20190121081823.6429-45-mario.six@gdsys.cc \
    --to=mario.six@gdsys.cc \
    --cc=u-boot@lists.denx.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.