[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87366akv7a.fsf@soft-dev15.microsemi.net>
Date: Thu, 2 Jul 2020 13:33:29 +0200
From: Lars Povlsen <lars.povlsen@...rochip.com>
To: Lars Povlsen <lars.povlsen@...rochip.com>
CC: Mark Brown <broonie@...nel.org>, Peter Rosin <peda@...ntia.se>,
"Microchip Linux Driver Support" <UNGLinuxDriver@...rochip.com>,
<linux-spi@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
"Serge Semin" <fancer.lancer@...il.com>,
Serge Semin <Sergey.Semin@...kalelectronics.ru>
Subject: Re: [PATCH v3 4/8] mux: sparx5: Add Sparx5 SPI mux driver
Lars Povlsen writes:
> The Sparx5 mux driver may be used to control selecting between two
> alternate SPI bus segments connected to the SPI controller
> (spi-dw-mmio).
>
> Signed-off-by: Lars Povlsen <lars.povlsen@...rochip.com>
> ---
> drivers/mux/Makefile | 2 +
> drivers/mux/sparx5-spi.c | 138 +++++++++++++++++++++++++++++++++++++++
> 2 files changed, 140 insertions(+)
> create mode 100644 drivers/mux/sparx5-spi.c
>
...
> +
> +#define SPARX5_MAX_CS 16
> +
> +struct mux_sparx5 {
> + struct regmap *syscon;
> + u8 bus[SPARX5_MAX_CS];
> + int cur_bus;
> +};
Yeah, "cur_bus" is a leftover. I'll remove it.
--
Lars Povlsen,
Microchip
Powered by blists - more mailing lists