Commit 388f08ec authored by Serge Semin's avatar Serge Semin Committed by Damien Le Moal

dt-bindings: ata: sata: Extend number of SATA ports

The denoted in the description upper limit only concerns the Port
Multipliers, but not the actual SATA ports. It's an external device
attached to a SATA port in order to access more than one SATA-drive. So
when it's attached to a SATA port it just extends the port capability
while the number of actual SATA ports stays the same. For instance on AHCI
controllers the number of actual ports is determined by the CAP.NP field
and the PI (Ports Implemented) register. AFAICS in general the maximum
number of SATA ports depends on the particular controller implementation.
Generic AHCI controller can't have more than 32 ports (since CAP.NP is of
5 bits wide and PI register is 32-bits size), while DWC AHCI SATA
controller can't be configured with more than 8 ports activated. So let's
discard the SATA ports reg-property restrictions and just make sure that
it consists of a single reg-item.
Signed-off-by: default avatarSerge Semin <Sergey.Semin@baikalelectronics.ru>
Reviewed-by: default avatarHannes Reinecke <hare@suse.de>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarDamien Le Moal <damien.lemoal@opensource.wdc.com>
parent 9bd24070
...@@ -49,10 +49,9 @@ $defs: ...@@ -49,10 +49,9 @@ $defs:
properties: properties:
reg: reg:
minimum: 0 minimum: 0
maximum: 14
description: description:
The ID number of the drive port SATA can potentially use a port The ID number of the SATA port. Aside with being directly used,
multiplier making it possible to connect up to 15 disks to a single each port can have a Port Multiplier attached thus allowing to
SATA port. access more than one drive by means of a single SATA port.
... ...
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment