Skip to contentSkip to conversation

Patch "ARM: dts: am335x-sl50: Fix cannot claim requested pins for spi0" has been added to the 4.11-stable tree

PATCH [email protected] 1 participant 1 message Jun 19, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

ARM: dts: am335x-sl50: Fix cannot claim requested pins for spi0

to the 4.11-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:

     arm-dts-am335x-sl50-fix-cannot-claim-requested-pins-for-spi0.patch

and it can be found in the queue-4.11 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From db145db99f5bf30acc12d7450b9ad0707072a7be Mon Sep 17 00:00:00 2001

From: Enric Balletbo i Serra <[email protected]>
Date: Mon, 22 May 2017 11:01:53 +0200
Subject: ARM: dts: am335x-sl50: Fix cannot claim requested pins for spi0

From: Enric Balletbo i Serra <[email protected]>

commit db145db99f5bf30acc12d7450b9ad0707072a7be upstream.

We don't need to bitbang these pins anymore, instead we muxed these pins as SPI, after this change, done in commit 6c69f726, we introduced the following error:

pinctrl-single 44e10800.pinmux: pin PIN85 already requested \
by 44e10800.pinmux; cannot claim for 48030000.spi pinctrl-single 44e10800.pinmux: pin-85 (48030000.spi) status -22

Fixes 6c69f726 ("ARM: dts: am335x-sl50: Enable SPI0 interface and Flash Memory")
---
 arch/arm/boot/dts/am335x-sl50.dts |    4 ----
 1 file changed, 4 deletions(-)
arch/arm/boot/dts/am335x-sl50.dts +0 -4
@@ -280,10 +280,6 @@
 			AM33XX_IOPAD(0x834, PIN_INPUT_PULLUP | MUX_MODE7)	/* nKbdReset - gpmc_ad13.gpio1_13 */
 			AM33XX_IOPAD(0x838, PIN_INPUT_PULLUP | MUX_MODE7)	/* nDispReset - gpmc_ad14.gpio1_14 */
 			AM33XX_IOPAD(0x844, PIN_INPUT_PULLUP | MUX_MODE7)	/* USB1_enPower - gpmc_a1.gpio1_17 */
-			/* AVR Programming - SPI Bus (bit bang) - Screen and Keyboard */
-			AM33XX_IOPAD(0x954, PIN_INPUT_PULLUP | MUX_MODE7)	/* Kbd/Disp/BattMOSI spi0_d0.gpio0_3 */
-			AM33XX_IOPAD(0x958, PIN_INPUT_PULLUP | MUX_MODE7)	/* Kbd/Disp/BattMISO spi0_d1.gpio0_4 */
-			AM33XX_IOPAD(0x950, PIN_INPUT_PULLUP | MUX_MODE7)	/* Kbd/Disp/BattSCLK spi0_clk.gpio0_2 */
 			/* PDI Bus - Battery system */
 			AM33XX_IOPAD(0x840, PIN_INPUT_PULLUP | MUX_MODE7)	/* nBattReset  gpmc_a0.gpio1_16 */
 			AM33XX_IOPAD(0x83c, PIN_INPUT_PULLUP | MUX_MODE7)	/* BattPDIData gpmc_ad15.gpio1_15 */

Patches currently in stable-queue which might be from [email protected] are

queue-4.11/arm-dts-am335x-sl50-fix-card-detect-pin-for-mmc1.patch queue-4.11/arm-dts-am335x-sl50-fix-cannot-claim-requested-pins-for-spi0.patch