[PATCH] arm64: dts: ls1088a: update sata node
Shawn Guo
shawnguo at kernel.org
Tue Jun 6 23:02:26 PDT 2017
On Wed, Jun 07, 2017 at 03:41:03AM +0000, Andy Tang wrote:
> A: ls1088 is not a new compatible. For ls1088 soc, it should be "fsl,ls1088a-ahci".
Have you added the compatible support into kernel driver and bindings
doc?
> Previously, we thought ls1088 is compatible with ls1043, so that we defined compatible string as: "fsl,ls1088a-ahci", "fsl,ls1043a-ahci"; By doing so, we can reuse code.
>
> Now we found they are not 100% compatible because ECC register address is different. ECC register doesn't belong to SATA IP. It is a global register which controls many IPs. SATA ecc is controlled by only one bit in this register.
>
Okay, understood. It sounds like the register should belong to a global
system controller. If the SATA driver was designed to parse the ECC
register and bit from device tree with a phandle pointing to that
system controller, we do not need to have so many compatibles for the
same SATA IP.
Shawn
More information about the linux-arm-kernel
mailing list