Skip to content
Unverified Commit 671c3bf5 authored by Chuanhong Guo's avatar Chuanhong Guo Committed by Mark Brown
Browse files

spi: make spi-max-frequency optional



We only need a spi-max-frequency when we specifically request a
spi frequency lower than the max speed of spi host.
This property is already documented as optional property and current
host drivers are implemented to operate at highest speed possible
when spi->max_speed_hz is 0.
This patch makes spi-max-frequency an optional property so that
we could just omit it to use max controller speed.

Signed-off-by: default avatarChuanhong Guo <gch981213@gmail.com>
Link: https://lore.kernel.org/r/20200306085052.28258-2-gch981213@gmail.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent bb6d3fb3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment