[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180129172749.yvwiulwxebvvrcja@rob-hp-laptop>
Date: Mon, 29 Jan 2018 11:27:49 -0600
From: Rob Herring <robh@...nel.org>
To: John Garry <john.garry@...wei.com>
Cc: jejb@...ux.vnet.ibm.com, martin.petersen@...cle.com,
mark.rutland@....com, linux-scsi@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linuxarm@...wei.com, Xiaofei Tan <tanxiaofei@...wei.com>
Subject: Re: [PATCH 1/3] devicetree: bindings: scsi: hisi_sas: add LED
feature for v2 hw
On Thu, Jan 18, 2018 at 12:46:52AM +0800, John Garry wrote:
> From: Xiaofei Tan <tanxiaofei@...wei.com>
"dt-bindings: ..." is the preferred subject prefix.
>
> Add directly attached disk LED feature for v2 hw.
>
> Signed-off-by: Xiaofei Tan <tanxiaofei@...wei.com>
> Signed-off-by: John Garry <john.garry@...wei.com>
> ---
> Documentation/devicetree/bindings/scsi/hisilicon-sas.txt | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/scsi/hisilicon-sas.txt b/Documentation/devicetree/bindings/scsi/hisilicon-sas.txt
> index b6a869f..df3bef7 100644
> --- a/Documentation/devicetree/bindings/scsi/hisilicon-sas.txt
> +++ b/Documentation/devicetree/bindings/scsi/hisilicon-sas.txt
> @@ -8,7 +8,10 @@ Main node required properties:
> (b) "hisilicon,hip06-sas-v2" for v2 hw in hip06 chipset
> (c) "hisilicon,hip07-sas-v2" for v2 hw in hip07 chipset
> - sas-addr : array of 8 bytes for host SAS address
> - - reg : Address and length of the SAS register
> + - reg : Contains two regions. The first is the address and length of the SAS
> + register. The second is the address and length of CPLD register for
> + SGPIO control. The second is optional, and should be set only when
> + we use a CPLD for directly attached disk LED control.
Ah SGPIO, what nice memories I have of trying to support that after the
chip was done. Seems you have the same fortune. :)
What happens if you have a different CPLD or SGPIO control? Really this
should probably be a separate node, but the kernel isn't setup for
separate SGPIO drivers either.
Reviewed-by: Rob Herring <robh@...nel.org>
Rob
Powered by blists - more mailing lists