commit | 463be6577c2a0044fcc9a19189dee79233904578 | [log] [tgz] |
---|---|---|
author | Jan Kundrát <kundrat@cesnet.cz> | Thu Sep 20 23:44:04 2018 +0200 |
committer | Jan Kundrát <kundrat@cesnet.cz> | Thu Sep 27 14:01:48 2018 +0200 |
tree | 92bf6d828c3886ae010f879ef32061aec2ee83f0 | |
parent | 288f6afa6ae704d556147ca1898d461c4a070cc6 [diff] [blame] |
SPI: Use driver overrides for spidev for Lumentum OCM This new patch series [1] is much better than my patch [2][3]. Kudos to Trent Piepho for implementing this nicely. [1] https://patchwork.kernel.org/project/spi-devel-general/list/?series=21295 [2] https://patchwork.kernel.org/patch/10558889/ [3] https://gerrit.cesnet.cz/c/CzechLight/br2-external/+/931 Change-Id: Ie1794f86695c14123e3776c5a24007fca6277956
diff --git a/board/czechlight/clearfog/sdn-roadm-clearfog.dtsi b/board/czechlight/clearfog/sdn-roadm-clearfog.dtsi index 49ab283..f510fdb 100644 --- a/board/czechlight/clearfog/sdn-roadm-clearfog.dtsi +++ b/board/czechlight/clearfog/sdn-roadm-clearfog.dtsi
@@ -189,8 +189,8 @@ }; }; - spidev@3 { - compatible = "spidev"; + lumentum-ocm@3 { + compatible = "lumentum-ocm"; reg = <3>; spi-max-frequency = <12000000>; // The SPI slave is CPOL=1, but the rest of the devices is CPOL=0 and our SPI master