I finally had success in getting a SPIM master running with a single SPI slave (Honeywell sensor running CS 4 on the Arduino R3 header) on my nRF9160DK. But now I need to add a second SPI slave device (a Crystalfontz LCD) and I need to control the CS via software vs the driver controlling it. I started by trying to add sub-nodes to the 9160 overlay file. And I do see those nodes being auto-generated in zephyr.dts. I thought I had a success. But when I call device_get_binding(), I just get NULL returns. I have included screen shots.
So my questions are:
1. Can I used SPI subnodes with the NRFX-SPIM implementation. I've read conflicting articles in Devzone.
2. If I can use subnodes, can you guide me through the implementation and configuration.
3. If I can't use subnodes, then I will want to control CS for all of my SPI slaves (I will eventually have 3-4). I read in spi.h for the spi_controller config that you can set the CS line to NULL (0). Will this work and is it an acceptable workaround if I can't configure subnodes. Thanks in advance for you guidance.