Re: [PATCH 01/23] devicetree: bindings: hisi_sas: add v2 HW bindings
From: Mark Rutland
Date: Fri Jan 08 2016 - 10:20:16 EST
> >>@@ -25,11 +26,28 @@ Main node required properties:
> >> The phy interrupts are ordered into groups of 3 per phy
> >> (broadcast, phyup, and abnormal) in increasing order.
> >> Completion queue interrupts : each completion queue has 1
> >>- interrupt source.
> >>- The interrupts are ordered in increasing order.
> >>+ interrupt source. The interrupts are ordered in
> >>+ increasing order.
> >> Fatal interrupts : the fatal interrupts are ordered as follows:
> >> - ECC
> >> - AXI bus
> >>+ For v2 hw: Interrupts for phys, Sata, and completion queues;
> >>+ the interrupts are ordered in 3 groups, as follows:
> >>+ - Phy interrupts
> >>+ - Sata interrupts
> >>+ - Completion queue interrupts
> >>+ Phy interrupts : Each controller has 2 phy interrupts:
> >>+ - phy up/down
> >>+ - channel interrupt
> >>+ Sata interrupts : Each phy on the controller has 1 Sata
> >>+ interrupt. The interrupts are ordered in increasing
> >>+ order.
> >>+ Completion queue interrupts : each completion queue has 1
> >>+ interrupt source. The interrupts are ordered in
> >>+ increasing order.
> >
> >There are no fatal interrupts in V2?
>
> For v2 hardware, broadcast and fatal interrupts are mutliplexed into
> the general purpose channel interrupt line.
Ok, that sounds fine, just thought I should check.
> >>+Optional main node properties:
> >>+ - am-max-trans : limit controller for am max transmissions
> >
> >Is this a boolean? Number?
> >
>
> This is a boolean. It is for dealing with a quirk in the chipset: an
> instance of the controller in the hip06 chipset requires registers
> set with a different init value.
Ok. I think the property at needs a better description for that.
It's not clear to me how "limit controller for am max transmissions"
maps to writing a specific value to some registers, but I don't know
much about SAS.
Is this some well-known thing, or values specific to hip06?
Thanks,
Mark.