I have several overlays that I’ve been using with an earlier (4.1.10) kernel. In trying to port everything to a more recent kernel, my two SPI overlays don’t create pingroups and don’t set pinmux attributes. I’ve recompiled them using the dtc that came with the new kernel with no effect. They load with no errors and appear in the slots file, but the SPI buses don’t work and there are no SPI pingroups.
Other overlays (for uarts, for instance) load properly and create pingroups as expected.
On the same hardware, the earlier kernel works fine with the same overlays - the overlays load and the expected pingroups are created.
The SPI overlays are the defaults, except that CS1 is enabled on spidev1.
What’s the next step in debugging this?
dmesg excerpt - same as with old kernel:
[ 6071.124287] bone_capemgr bone_capemgr: part_number ‘BB-SPIDEV1’, version 'N/A’
[ 6071.124320] bone_capemgr bone_capemgr: slot #4: override
[ 6071.124335] bone_capemgr bone_capemgr: Using override eeprom data at slot 4
[ 6071.124351] bone_capemgr bone_capemgr: slot #4: 'Override Board Name,00A0,Override Manuf,BB-SPIDEV1’
[ 6071.140084] bone_capemgr bone_capemgr: slot #4: dtbo ‘BB-SPIDEV1-00A0.dtbo’ loaded; overlay id
New kernel pin states:
pin 89 (44e10964.0) 00000027 pinctrl-single
pin 100 (44e10990.0) 00000027 pinctrl-single
pin 101 (44e10994.0) 00000027 pinctrl-single
pin 102 (44e10998.0) 00000027 pinctrl-single
pin 103 (44e1099c.0) 00000027 pinctrl-single
pin 89 (44e10964.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 100 (44e10990.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 101 (44e10994.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 102 (44e10998.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 103 (44e1099c.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
Old kernel (working) pin states:
pin 89 (44e10964.0) 00000012 pinctrl-single
pin 100 (44e10990.0) 00000033 pinctrl-single
pin 101 (44e10994.0) 00000033 pinctrl-single
pin 102 (44e10998.0) 00000013 pinctrl-single
pin 103 (44e1099c.0) 00000013 pinctrl-single
pin 89 (44e10964.0): 481a0000.spi (GPIO UNCLAIMED) function pinmux_bb_spi1_pins group pinmux_bb_spi1_pins
pin 100 (44e10990.0): 481a0000.spi (GPIO UNCLAIMED) function pinmux_bb_spi1_pins group pinmux_bb_spi1_pins
pin 101 (44e10994.0): 481a0000.spi (GPIO UNCLAIMED) function pinmux_bb_spi1_pins group pinmux_bb_spi1_pins
pin 102 (44e10998.0): 481a0000.spi (GPIO UNCLAIMED) function pinmux_bb_spi1_pins group pinmux_bb_spi1_pins
pin 103 (44e1099c.0): 481a0000.spi (GPIO UNCLAIMED) function pinmux_bb_spi1_pins group pinmux_bb_spi1_pins