[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YvOtZtrRHd4AT+j+@sirena.org.uk>
Date: Wed, 10 Aug 2022 14:06:46 +0100
From: Mark Brown <broonie@...nel.org>
To: patrice.chotard@...s.st.com
Cc: Alexandre Torgue <alexandre.torgue@...s.st.com>,
linux-spi@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
christophe.kerello@...s.st.com
Subject: Re: [PATCH v2 1/2] spi: stm32_qspi: Add transfer_one_message() spi
callback
On Wed, Aug 10, 2022 at 11:32:14AM +0200, patrice.chotard@...s.st.com wrote:
> Signed-off-by: Patrice Chotard <patrice.chotard@...s.st.com>
>
> v2: _ use parallel-memories property
> _ set auto_runtime_pm to true
> _ remove pm_runtime_*() usage in transfer_one_message() callback
> ---
The changelog should come after the --- so that it gets automatically
stripped out by tooling. No need to resend just for this.
> + /*
> + * Dual flash mode is only enable in case "parallel-memories" and
> + * "cs-gpios" properties are found in DT
> + */
> + if (of_property_read_bool(dev->of_node, "parallel-memories") &&
> + of_gpio_named_count(dev->of_node, "cs-gpios")) {
> + qspi->cr_reg = CR_DFM;
> + dev_dbg(dev, "Dual flash mode enable");
> + }
Do we need to add something to the DT bindings to indicate that
parallel-memories is valid?
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists