On Fri, Jul 06, 2018 at 05:18:15PM +0300, Anssi Hannula wrote: > Add compatible string and new attributes to support the Xilinx CAN FD > core. > > Unlike the previously documented Xilinx CAN cores, the CAN FD core has > TX mailboxes instead of TX FIFO, and optionally RX mailboxes instead of > RX FIFO (selected at core generation time, not switchable at runtime). > Add "tx-mailbox-count" and "rx-mailbox-count" to specify the mailbox > counts instead of reusing "tx-fifo-depth" and "rx-fifo-depth". > > The RX FIFO depth is constant 32, but allow it to be specified via > "rx-fifo-depth" to match DT usage with Zynq CAN (which has constant RX > FIFO of depth of 64). > > v2: Remove unnecessary "rx-mode" DT property. > > Signed-off-by: Anssi Hannula <anssi.hannula@xxxxxxxxxx> > Cc: Michal Simek <michal.simek@xxxxxxxxxx> > --- > .../devicetree/bindings/net/can/xilinx_can.txt | 35 ++++++++++++++++------ > 1 file changed, 26 insertions(+), 9 deletions(-) Reviewed-by: Rob Herring <robh@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html