From patchwork Mon Feb 19 19:13:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 128836 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp3800522ljc; Mon, 19 Feb 2018 10:22:16 -0800 (PST) X-Google-Smtp-Source: AH8x224iAi9eJ1asL6B2tfkGFQpbgPyEL4AySiJUyzTacu/5kCzrmTlICqS74DWMexBglI+QNgTb X-Received: by 10.99.116.28 with SMTP id p28mr13033286pgc.306.1519064536531; Mon, 19 Feb 2018 10:22:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519064536; cv=none; d=google.com; s=arc-20160816; b=lIlVQxWPhaiQAua30b+jXdv9sqGPWpG7nzebCKohu8X9j2gwQ/z2OsaYR1GLn5lQsq WztYHFM0EQfdUCZTfyv3N0gQuX6J1ALDjBinaTDg7O1xUbU3IH2T52aXOiS7LiLFFVyu NvJNnARTHY3pRgPTxxOZkKpBiKsqQ6AV2mvqIuHDdKwFEo+rMqCf/rqo/JqkxKw3XK+v 69KgocQ4sRH9Riu9m4CKFajg897UaKdfFrklezfJOwxLrZK5MEki+/LuzqFNneLFQPHr v+YnMDS56FlCnlJ+UB6aY4rS+aNEmIZFXoYjaOCUFKgoFwuzik7YSjZkUqFo51V+0IaH JdlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=G0NMaRB09BdXTRLOMWLHr6EP8ezdRFdJ1x4j6HuI7ps=; b=L1riMCQSbp1Ikq+UbiG7JTV94Eup+TclSpL/kjhROkDPF6I31LUbAmV8H5Els/HXFZ FcTRoyXWymp71i+4fO+xfgTH3+VYk2tCPncjud57NS5btgV2y68It7y1owBo+IukXh6h 4UYwg888DdbqDANoOhdrYP9lfjxDYO8KfEDUd3iLN7wDb39+U8jLk6sLAEv+eYexzN/J DGbUe6rUVJ4W7XWHh6J6fX5ejDGlBzRREU1lincZbIlVV1ukMimFbFpHFiM+JxOZ7ezF CWmiLd5A9PO7LDw+ZsJxMihRQQblCkf9lYjXLAdBDkE0rkgFoT/6IHMmP7mxhj4VJB/H 9SAA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k193si61236pge.377.2018.02.19.10.22.16; Mon, 19 Feb 2018 10:22:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753409AbeBSSWO (ORCPT + 6 others); Mon, 19 Feb 2018 13:22:14 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:5247 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753390AbeBSSWN (ORCPT ); Mon, 19 Feb 2018 13:22:13 -0500 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id C15E329C7A43F; Tue, 20 Feb 2018 02:21:59 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.361.1; Tue, 20 Feb 2018 02:21:52 +0800 From: John Garry To: , , , CC: , , , , Xiaofei Tan , John Garry Subject: [PATCH 1/8] dt-bindings: scsi: hisi_sas: add an property of signal attenuation Date: Tue, 20 Feb 2018 03:13:24 +0800 Message-ID: <1519067611-206638-2-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1519067611-206638-1-git-send-email-john.garry@huawei.com> References: <1519067611-206638-1-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Xiaofei Tan For some new boards with hip07 chipset we are required to set PHY config registers differently. The hw property which determines how to set these registers is in the PHY signal attenuation readings. This patch add an devicetree property, signal-attenuation, which is used to describe the signal attenuation of an board. Cc: Rob Herring Cc: Mark Rutland Signed-off-by: Xiaofei Tan Signed-off-by: John Garry --- Documentation/devicetree/bindings/scsi/hisilicon-sas.txt | 7 +++++++ 1 file changed, 7 insertions(+) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/scsi/hisilicon-sas.txt b/Documentation/devicetree/bindings/scsi/hisilicon-sas.txt index df3bef7..bd32ecd 100644 --- a/Documentation/devicetree/bindings/scsi/hisilicon-sas.txt +++ b/Documentation/devicetree/bindings/scsi/hisilicon-sas.txt @@ -53,6 +53,13 @@ Main node required properties: Optional main node properties: - hip06-sas-v2-quirk-amt : when set, indicates that the v2 controller has the "am-max-transmissions" limitation. + - signal-attenuation : array of 3 32-bit values, containing de-emphasis, + preshoot, and boost attenuation readings for the board. They + are used to describe the signal attenuation of the board. These + values' range is 7600 to 12400, and used to represent -24dB to + 24dB. + The formula is "y = (x-10000)/10000". For example, 10478 + means 4.78dB. Example: sas0: sas@c1000000 {