commit | 2cfae685c2af3247685ffa02745b404816bc55f1 | [log] [tgz] |
---|---|---|
author | Jan Kundrát <jan.kundrat@cesnet.cz> | Mon Jan 29 11:11:44 2018 +0100 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Mon Jan 29 11:11:44 2018 +0100 |
tree | 7b8cb477efa7ffd21d7111af1d57f0e96aa66e33 | |
parent | da5d2334f6ee5c9704903f4d823e0ecf2a2682f2 [diff] |
clearfog: SPI: Fix GPIO-CS hogging I was asked for a patch to do what essentially all the other drivers but spi-orion are doing already. Now that the driver itself actually registers the gpio pin, we should stop this hogging. Note: this needs a yet-unmerged kernel patch. Change-Id: Iab5a4e95d01005464baf430eba267e4ca4de1fc2 Link: https://patchwork.kernel.org/patch/10187175/
diff --git a/board/czechlight/clearfog/czechlight-clearfog.dts b/board/czechlight/clearfog/czechlight-clearfog.dts index 260ab3b..c791104 100644 --- a/board/czechlight/clearfog/czechlight-clearfog.dts +++ b/board/czechlight/clearfog/czechlight-clearfog.dts
@@ -54,15 +54,6 @@ }; }; -&gpio0 { - gpio_cs { - gpio-hog; - gpios = <22 GPIO_ACTIVE_HIGH>; - output-high; - line-name = "MCP23S17-CS"; - }; -}; - &spi1 { cs-gpios = <0>, <&gpio0 22 GPIO_ACTIVE_HIGH>, <0>;