spi: npcm_pspi: use ACTIVE_LOW flag for cs gpio and set default max_hz
authorJim Liu <jim.t90615@gmail.com>
Tue, 4 Jul 2023 08:01:56 +0000 (16:01 +0800)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 13 Jul 2023 08:46:59 +0000 (14:16 +0530)
commit9b768bf0e312170076823e9e4c8094f3a9351cc6
tree00af9ab6657faa480ddd4b848d230327598d2c74
parent41b5c79ea067d28ea27c0c48d4f7c4b89d76ea4f
spi: npcm_pspi: use ACTIVE_LOW flag for cs gpio and set default max_hz

If cs gpio is requested with ACTIVE_HIGH flag, it will
be pulled low(i.e. active). This is not what we expected.

Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/npcm_pspi.c