Bug 203469

Summary: SPI SCK is high while idle on Allwinner H3
Product: Drivers Reporter: David Sawatzke (d-lbugzilla)
Component: OtherAssignee: drivers_other
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: ARM   
OS: Linux   
Kernel Version: 4.19.25-sunxi (armbian) Subsystem:
Regression: No Bisected commit-id:
Attachments: Pulseview session showing the issue when using software CE

Description David Sawatzke 2019-05-01 15:15:04 UTC
Created attachment 282567 [details]
Pulseview session showing the issue when using software CE

Regardless of spi settings, the sck line is high while not in a transaction. Before starting one, it goes low, but it still interferes in combination with a software ce pin, leading to corrupt data.

This seems to be a known issue to the broader community, but I couldn't find an existing bug report on the lkml or on bugzilla.

See here for further infos and potential fix: http://linux-sunxi.org/SPIdev#Bugs.2FCaveats

(Issue occured on orange pi one)