The issue is that sun4i_pwm_apply() calls sun4i_pwm_calculate() which
calls clk_get_rate() while holding a spinlock and clk_get_rate() may
sleep.
It's a bug in pwm-sun4i driver.
On Wed, Jan 8, 2020 at 4:19 PM @lex wrote:
>
> I am doing some experiments with LCD7" with the kernel 5.4.8 and
On Sun, Nov 24, 2019 at 06:29:02PM +0100, Clément Péron wrote:
> Hi,
>
> This is a rework of Jernej's previous work[1] taking account all the
> previous remarks.
>
> Bindings is still strict but probe in the driver are now optionnals.
>
> If someone could confirm that the PWM is not broken, as
On Wed, 8 Jan 2020 12:34:48 +0100
Emmanuel Vadot wrote:
Hi Emmanuel,
> On Wed, 8 Jan 2020 10:10:05 +
> Andre Przywara wrote:
>
> > The Allwinner H6 SoC contains two SPI controllers similar to the H3/A64,
> > but with the added capability of 3-wire and 4-wire operation modes.
> > For now
Hi Andre,
On Wed, 8 Jan 2020 at 11:10, Andre Przywara wrote:
>
> The Allwinner H6 SoC contains two SPI controllers similar to the H3/A64,
> but with the added capability of 3-wire and 4-wire operation modes.
> For now the driver does not support those, but the SPI registers are
> fully
Hi Uwe, Thierry,
On Sun, 24 Nov 2019 at 18:29, Clément Péron wrote:
>
> Hi,
>
> This is a rework of Jernej's previous work[1] taking account all the
> previous remarks.
Is this series ok for you?
FYI the device-tree bindings is merged in sunxi-next.
Thanks,
Clement
>
> Bindings is still
The Pine H64 board comes with SPI flash soldered on the board, connected
to the SPI0 pins (so it can also boot from there).
Add the required DT node to make the flash accessible from Linux.
Signed-off-by: Andre Przywara
---
.../arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 13 +
The Allwinner H6 SoC contains two SPI controllers similar to the H3/A64,
but with the added capability of 3-wire and 4-wire operation modes.
For now the driver does not support those, but the SPI registers are
fully backwards-compatible, just adding bits and registers which were
formerly reserved.
Even though the SPI controller in the Allwinner H6 SoC is more advanced
than in the previous generations (it supports 3-wire and 4-wire mode),
the register set stayed backwards-compatible. So we can use the existing
driver to use the "normal" SPI mode, for instance to access the SPI
flash soldered