LTC2983 & Device Tree (ZynqMP Ultarscale+ ADRV9009-ZU11EG)

Hello,

I'm looking to customize the device tree on my linux target to incorporate the LTC2983 temp sensor. I've been referencing SPI device initialization here and the device tree customization on the target here. Does incorporating this SPI device initialization example into a .dts file expose the LTC298 properties to the devicetree after a reboot? And if so what dts file does the initialization example need to be place in?

Parents
  • Hi,

    How are you exactly defining your devicetree? You need to define the ltc2983 properties under the spi controller node where it is attached. Note that on this example, spi0 is just meant to be an example. It does not mean that you have to define it like that. On which platform do you want to use ltc2983?

    - Nuno Sá

  • Hi,

    So I've made changes to the HDL to define the SPI pins and the dts file to include the ltc2983 properties definition. I've also rebuilt the kernel image with the device drivers enabled. However, the spi does not seem to link to the driver. 

    Does the ltc driver need to be included in the bindings somehow? 

Reply
  • Hi,

    So I've made changes to the HDL to define the SPI pins and the dts file to include the ltc2983 properties definition. I've also rebuilt the kernel image with the device drivers enabled. However, the spi does not seem to link to the driver. 

    Does the ltc driver need to be included in the bindings somehow? 

Children
No Data