Nathan Rossi
ed14666c3f
spi: orion: Prevent incorrect chip select behaviour
...
When clearing the chip-select mask, the controller will switch to chip
selecting the native CS0 line. Because the control register chip-select
mask is not updated in a single write this will cause undesirable
chip-selection of CS0 even when requesting to select other native
chip-select lines. This is additionally problematic as the chip-select
may still be asserted. With the ARMADA 38x SoC the controller will
assert both the desired native chip-select and CS0.
To avoid any undesirable behaviour with the chip-select lines, update
the control register with a single write. This avoids selecting CS0 and
causes the (de-)assert to apply at the same time.
Signed-off-by: Nathan Rossi <nathan.rossi@digi.com >
Link: https://lore.kernel.org/r/20210816050228.3223661-1-nathan@nathanrossi.com
Signed-off-by: Mark Brown <broonie@kernel.org >
2021-08-16 13:28:14 +01:00
..
2021-04-26 11:20:10 -07:00
2021-05-15 08:32:51 -07:00
2021-04-27 13:42:11 -07:00
2021-05-05 13:24:11 -07:00
2021-05-07 16:01:08 -07:00
2021-05-07 00:26:34 -07:00
2021-05-16 10:13:14 -07:00
2021-04-18 09:36:56 +03:00
2021-05-15 08:52:30 -07:00
2021-04-29 11:57:23 -07:00
2021-04-26 12:11:52 -07:00
2021-05-12 22:36:50 +03:00
2021-05-11 08:47:25 +02:00
2021-05-14 14:55:13 +02:00
2021-04-15 09:26:25 +02:00
2021-05-15 10:24:48 -07:00
2021-05-01 10:14:08 -07:00
2021-04-16 18:21:56 -07:00
2021-05-04 11:24:46 -07:00
2021-05-10 07:51:38 +02:00
2021-04-28 15:59:13 -07:00
2021-04-26 09:43:16 -07:00
2021-05-07 12:11:05 -07:00
2021-04-26 12:11:52 -07:00
2021-05-05 12:39:29 -07:00
2021-05-15 06:52:15 +10:00
2021-04-16 07:26:50 +02:00
2021-04-29 21:47:22 +02:00
2021-04-16 00:14:49 +02:00
2021-04-27 18:09:44 -07:00
2021-05-12 18:53:11 -07:00
2021-05-01 10:14:08 -07:00
2021-04-30 13:01:02 -07:00
2021-04-24 22:21:01 +02:00
2021-05-10 14:01:48 +01:00
2021-05-07 11:35:12 -07:00
2021-05-06 23:37:55 -07:00
2021-04-27 10:16:46 -07:00
2021-05-05 13:24:11 -07:00
2021-05-01 10:14:08 -07:00
2021-05-06 19:24:11 -07:00
2021-05-03 12:23:03 -07:00
2021-04-16 23:57:51 +10:00
2021-04-28 16:10:33 -07:00
2021-05-07 00:34:51 -07:00
2021-05-07 00:34:51 -07:00
2021-05-02 00:43:35 +09:00
2021-04-26 11:08:23 +02:00
2021-04-28 15:59:13 -07:00
2021-05-01 09:33:00 -07:00
2021-04-28 15:56:51 -07:00
2021-04-26 11:14:21 -07:00
2021-06-03 14:04:57 +01:00
2021-05-08 08:31:46 -07:00
2021-05-06 19:24:11 -07:00
2021-05-13 16:33:32 +02:00
2021-05-03 13:57:56 -05:00
2021-05-07 00:26:34 -07:00
2021-05-06 14:39:50 -07:00
2021-05-01 10:14:08 -07:00
2021-04-29 11:57:23 -07:00
2021-05-09 00:29:45 +09:00
2021-05-07 14:49:18 -07:00
2021-04-28 15:43:58 -07:00
2021-04-26 11:20:10 -07:00
2021-05-01 10:14:08 -07:00
2021-05-05 12:53:16 -07:00
2021-04-28 15:59:13 -07:00
2021-05-04 11:13:33 -07:00
2021-05-05 13:24:11 -07:00
2021-05-03 12:15:21 -07:00
2021-05-07 11:35:12 -07:00
2021-05-08 10:44:36 -07:00
2021-04-26 09:43:16 -07:00
2021-05-01 09:33:00 -07:00
2021-08-16 13:28:14 +01:00
2021-05-10 14:26:24 +02:00
2021-05-08 10:44:36 -07:00
2021-04-26 12:11:52 -07:00
2021-05-05 12:46:48 -07:00
2021-05-15 08:12:12 -07:00
2021-05-16 10:13:14 -07:00
2021-05-03 04:55:54 -04:00
2021-05-01 09:33:00 -07:00
2021-05-05 13:31:39 -07:00
2021-05-15 08:12:12 -07:00
2021-04-29 19:06:49 +02:00
2021-05-04 04:19:59 -04:00
2021-04-28 15:59:13 -07:00
2021-05-14 15:52:11 +02:00
2021-04-15 09:26:25 +02:00
2021-05-05 13:31:39 -07:00