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-02-11 13:15:12 +00:00
2021-06-04 15:27:11 +01:00
2021-04-20 17:26:41 +01:00
2021-04-20 17:26:40 +01:00
2021-05-11 10:06:53 +01:00
2021-04-20 17:26:40 +01:00
2020-11-23 20:42:05 +00:00
2020-12-07 14:18:59 +00:00
2020-08-18 17:52:37 +01:00
2020-07-17 16:38:54 +01:00
2021-05-24 09:51:38 +01:00
2021-07-11 23:44:39 +01:00
2021-01-22 16:26:21 +00:00
2021-03-12 14:30:42 +00:00
2021-03-10 12:25:12 +00:00
2021-03-12 14:30:43 +00:00
2021-07-20 13:34:05 +01:00
2021-05-10 13:07:52 +01:00
2021-03-12 14:30:44 +00:00
2021-06-01 14:03:12 +01:00
2021-03-10 12:46:05 +00:00
2021-08-05 20:18:10 +01:00
2021-07-19 12:58:44 +01:00
2020-06-16 00:38:39 +01:00
2021-02-04 18:45:59 +00:00
2020-07-17 00:55:26 +01:00
2021-04-09 13:44:04 +01:00
2021-04-09 13:43:57 +01:00
2021-02-12 12:41:49 +00:00
2020-12-09 12:14:22 +00:00
2020-10-08 23:00:18 +01:00
2021-05-10 13:07:52 +01:00
2020-10-08 23:00:06 +01:00
2020-12-09 12:14:22 +00:00
2020-07-17 16:38:47 +01:00
2021-03-12 14:30:48 +00:00
2021-04-21 16:07:04 +01:00
2020-08-23 17:36:59 -05:00
2021-05-10 13:00:27 +01:00
2021-03-12 14:30:49 +00:00
2021-04-09 13:43:59 +01:00
2020-07-17 00:55:25 +01:00
2021-06-01 14:03:12 +01:00
2021-05-10 13:07:52 +01:00
2020-12-07 14:18:54 +00:00
2021-06-07 16:24:12 +01:00
2021-04-12 17:07:38 +01:00
2020-11-02 15:53:25 +00:00
2021-07-28 16:39:22 +01:00
2021-03-24 19:51:09 +00:00
2020-09-17 19:56:02 +01:00
2021-05-20 18:00:34 +01:00
2021-05-10 13:07:53 +01:00
2021-06-14 15:05:00 +01:00
2021-07-22 16:02:22 +01:00
2020-07-17 16:38:48 +01:00
2021-05-20 18:00:37 +01:00
2021-05-20 18:00:36 +01:00
2021-05-20 18:00:35 +01:00
2021-08-02 12:20:20 +01:00
2020-12-07 14:18:59 +00:00
2021-03-24 19:51:07 +00:00
2021-07-22 12:40:06 +01:00
2020-12-07 14:18:52 +00:00
2020-11-18 18:00:26 +00:00
2020-12-07 14:19:00 +00:00
2021-05-11 15:42:48 +01:00
2021-03-25 13:59:42 +00:00
2021-05-11 15:42:49 +01:00
2021-06-01 18:33:33 +01:00
2021-05-20 17:58:33 +01:00
2021-06-01 18:33:33 +01:00
2021-08-16 13:28:14 +01:00
2020-11-12 15:16:34 +00:00
2021-05-10 13:07:52 +01:00
2021-05-20 18:00:40 +01:00
2021-05-18 14:05:35 +01:00
2021-05-21 13:13:42 +01:00
2021-06-01 18:33:33 +01:00
2021-05-18 14:05:35 +01:00
2021-03-16 10:14:11 +05:30
2021-04-09 13:44:03 +01:00
2020-12-07 14:18:55 +00:00
2021-02-04 18:45:57 +00:00
2021-06-23 12:35:43 +01:00
2021-01-11 16:39:09 +00:00
2021-06-23 16:33:52 +01:00
2020-08-19 21:40:14 +02:00
2020-10-24 10:33:08 -07:00
2021-04-15 16:07:58 +01:00
2021-05-21 13:13:33 +01:00
2021-06-23 16:33:53 +01:00
2021-03-12 14:30:45 +00:00
2021-03-23 17:19:45 +00:00
2021-03-24 19:51:04 +00:00
2021-05-12 13:01:43 +01:00
2020-11-12 15:16:35 +00:00
2021-06-15 12:51:55 +01:00
2021-07-07 17:33:52 +01:00
2020-07-27 14:55:21 +01:00
2020-10-26 23:29:05 +00:00
2021-02-03 16:23:07 +00:00
2021-03-12 14:30:46 +00:00
2020-11-09 19:44:27 +00:00
2021-05-10 13:17:18 +01:00
2021-05-10 13:17:19 +01:00
2021-03-10 12:25:09 +00:00
2021-05-10 13:17:16 +01:00
2021-05-11 15:42:52 +01:00
2020-09-17 19:56:01 +01:00
2021-04-29 14:06:06 +01:00
2021-04-16 13:44:15 +01:00
2021-07-22 16:02:23 +01:00
2021-05-11 15:42:47 +01:00