AnsweredAssumed Answered

Is the ad5446 driver compatible with the Zynq spi-cadence driver "cdns,spi-r1p6"?

Question asked by EricCrawford on Feb 28, 2018
Latest reply on Apr 2, 2018 by EricCrawford

On a ZynqMP, should this configuration work? I'm getting a write error.

 

# echo 100 > out_voltage0_raw
-sh: echo: write error: Connection timed out

 

spi@ff040000 {
   compatible = "cdns,spi-r1p6";
   status = "okay";
   interrupt-parent = <0x4>;
   interrupts = <0x0 0x13 0x4>;
   reg = <0x0 0xff040000 0x0 0x1000>;
   clock-names = "ref_clk", "pclk";
   #address-cells = <0x1>;
   #size-cells = <0x0>;
   power-domains = <0x23>;
   clocks = <0x3 0x3a 0x3 0x1f>;
   is-decoded-cs = <0x0>;
   num-cs = <0x3>;

refdac@1 {
   compatible = "adi,ad5446";
   reg = <0x1>;
   spi-max-frequency = <0xe4e1c0>;
   spi-cpha;
   spi-cpol;
   vcc-supply = <0x24>;
};

Outcomes