Hi Geert, Seems like my earlier reply didn’t make to the mailing list, so replying back again. On Tue, Aug 22, 2017 at 12:56 PM, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote: > Hi Lad, > > On Tue, Aug 22, 2017 at 1:06 PM, Lad, Prabhakar > <prabhakar.csengg@xxxxxxxxx> wrote: >> I am writing a Linux SPI slave driver, on the latest kernel, and >> wanted a suggestion on how the driver could fit in the latest kernel >> with DT. >> >> I have SPI controller which is connected to decoder [1], the SPI >> controller has 2 chip selects, but only one (cs0) is connected to the >> decoder. > > ... to e.g. G2A of the decoder? > the chip select is connected to the G1, which is active high, G2A/G2B are grounded [1]. >> The decoder has 8 slave devices connected to it, which can be can be >> selected by gpios from the muxer. > > So the A/B/C inputs of the decoder are connected to GPIOs? > Yes A/B/C are the inputs to the decoder which are GPIO's. [1] https://pasteboard.co/GGXwYM8S.jpg Cheers, --Prabhakar -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html