From patchwork Fri Apr 10 00:47:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 11482643 X-Patchwork-Delegate: lorenzo.pieralisi@arm.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 028D514DD for ; Fri, 10 Apr 2020 00:48:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D7C9720CC7 for ; Fri, 10 Apr 2020 00:48:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GAo1LCks" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727331AbgDJArw (ORCPT ); Thu, 9 Apr 2020 20:47:52 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:44124 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726859AbgDJArv (ORCPT ); Thu, 9 Apr 2020 20:47:51 -0400 Received: by mail-ed1-f67.google.com with SMTP id cb27so513623edb.11; Thu, 09 Apr 2020 17:47:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Aeb6WaCv9+BqBEPfkzxDMWuTT6GpZmxwwCdelm77Gbc=; b=GAo1LCkscF+/t0GiJq5CqFhSJsAXoQCLXRI5K8wZlBDeenlGWbDDYRzgLHCR6NkbvL FOG8Jfcted4yeKOiTk+PjwUn16uZbLtfT7AAkLNkaYiQ9cIX+yQJx9Fq5TNKkwd8Yz4z OWvEaDD4aHUYV8/2bMW4HIyKtekvS5cDUdT801CK04XSzh8ddz3eDq8PzmpO1+Xv2w41 sYrSN9KHWYWg1bU7Y3pGrvdW1V+KlI2KUW1QxKGZcMNuyMi3jeGCWhFP8aBTAMTyHpO4 ETcztWRl11jYuTq4HqeYvSBhSjZQgwZau5fpgXnAn77d/+JMHRxDSMUiav8i/GfQejlm staA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Aeb6WaCv9+BqBEPfkzxDMWuTT6GpZmxwwCdelm77Gbc=; b=AA2eyH8o1+RxOomJtEJnysNxJflI1Ln3dIDrl1TTRQRZM2t4eybagjLqS6rsUZ9D5z dswsEAHjWUwp641La+GMXcsTw4GoakS7RX6YZlk1oVleTGDdNAJ6NwOWPl6xODwqPVqi KAhbQglWtgrH4uLSPQF5XOtl1VvpPuJaA9A7thcaeJu/h40AxRDETdnTSushHLKQ23Wh rD+3ZfaAdLPFzXI6iW5qqpqfiHTLGde4LG/B4hb9V8kWJPulXFk4mgY57t7U8Lc3hyZU LyTvr+bnkZPnImx4wgJmD09Y37iGQJbIEf2oQmcbWlZDefdpy8oh6Di/wPOe0RxY336s cvJQ== X-Gm-Message-State: AGi0Pub+70NKdoSxDmYYmvo0cMfPrgumAPLYiff1W3k7C4gBc7fMUndz filTKB0VplWZUTwtUnQOYbr9vd/9z+bQm49Y X-Google-Smtp-Source: APiQypIdEyfEOx5q5eI9Aq9XOBio5duIss+ITVGGn0sW+sZmX/FPNCSsU+kshlb3ePbWwBuwIagx3Q== X-Received: by 2002:aa7:c559:: with SMTP id s25mr2671184edr.2.1586479669036; Thu, 09 Apr 2020 17:47:49 -0700 (PDT) Received: from Ansuel-XPS.localdomain (host117-205-dynamic.180-80-r.retail.telecomitalia.it. [80.180.205.117]) by smtp.googlemail.com with ESMTPSA id z16sm30523edm.52.2020.04.09.17.47.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Apr 2020 17:47:48 -0700 (PDT) From: Ansuel Smith To: devicetree@vger.kernel.org Cc: Ansuel Smith , Richard Zhu , Lucas Stach , Bjorn Helgaas , Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Lorenzo Pieralisi , Andrew Murray , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] devicetree: bindings: pci: document tx-deempth tx swing and rx-eq property Date: Fri, 10 Apr 2020 02:47:35 +0200 Message-Id: <20200410004738.19668-2-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200410004738.19668-1-ansuelsmth@gmail.com> References: <20200410004738.19668-1-ansuelsmth@gmail.com> MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Document tx-deempth, tx swing and rx-eq property property used on some device (qcom ipq806x or imx6q) to tune and fix init error of the pci bridge. Signed-off-by: Ansuel Smith --- Documentation/devicetree/bindings/pci/pci.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/pci.txt b/Documentation/devicetree/bindings/pci/pci.txt index 29bcbd88f457..df37486f1853 100644 --- a/Documentation/devicetree/bindings/pci/pci.txt +++ b/Documentation/devicetree/bindings/pci/pci.txt @@ -24,6 +24,24 @@ driver implementation may support the following properties: unsupported link speed, for instance, trying to do training for unsupported link speed, etc. Must be '4' for gen4, '3' for gen3, '2' for gen2, and '1' for gen1. Any other values are invalid. +- tx-deemph-gen1 + If present this property will tune the Transmit De-Emphasis level for GEN1 if + supported by the driver. +- tx-deemph-gen2-3p5db + If present this property will tune the Transmit De-Emphasis level for GEN2 in + 3.5db band if supported by the driver. +- tx-deempth-gen2-6db + If present this property will tune the Transmit De-Emphasis level for GEN2 in + 6db band if supported by the driver. +- tx-swing-full + If present this property will tune the Tx Swing Full value if supported by the + driver. +- tx-swing-low + If present this property will tune the Tx Swing Low value if supported by the + driver. +- rx-equalization + If present this property will tune the Rx equalization value if supported by + the driver. - reset-gpios: If present this property specifies PERST# GPIO. Host drivers can parse the GPIO and apply fundamental reset to endpoints. From patchwork Fri Apr 10 00:47:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 11482639 X-Patchwork-Delegate: lorenzo.pieralisi@arm.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6180081 for ; Fri, 10 Apr 2020 00:48:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 41E1C2137B for ; Fri, 10 Apr 2020 00:48:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iesyHr/h" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727512AbgDJAry (ORCPT ); Thu, 9 Apr 2020 20:47:54 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:43119 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727308AbgDJArx (ORCPT ); Thu, 9 Apr 2020 20:47:53 -0400 Received: by mail-ed1-f66.google.com with SMTP id p6so519050edu.10; Thu, 09 Apr 2020 17:47:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=w7akJQeZgBAyvPhH/ChJKlP3JYPIrxMAGcuficQZtxY=; b=iesyHr/hnvI62Ueqr1Zv1c7YEhMlo24XbPFHaXZ0BayN5Lx8TPOkxfj1b2NeKaO55Y Eh1Jz9v/+GVO0TtkxoF19Kf9MkYEtSv7yI2Dku7cALzGaP7qpPVhrveu/VVr2qrO/2Yn mkpzOJo5JHYel/0KxdPpUfh+f3A7repRDnJyuATFVvFJE/OFJdVayvc5EaHbiTH5r85N 4MctnmC+wsVJblh6KMRqsC5MnzXrkPmF12N2q649moDDmhSe4TQQJItoMp7q7hGZvRrw VeBGT9qghaOJNFALVeGBNhRDUJZH7xk+oAwKAMyuF9sdxu4qV8+BOhCwbHN347nZsdDp muBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=w7akJQeZgBAyvPhH/ChJKlP3JYPIrxMAGcuficQZtxY=; b=JTNpQujHOkblHT8zQJf3tJY3rTc6zSx+jjUi+h/mLAFmf9uvHeny/+DoG3BILLAAKv vCJ9rFXc9FjyK6bY5OCsRPis2rW8+b8SsbJEyuhEVN95YVuarTYNL3sw4M7SJkF5NJFe crImWMyiFZR9RnFxkJKyLn+PveBmMpVttSHIAlvXL9Nd9mt16N3eE/dqfK0sBUDDvAmD Gelq+tHz9C+syQPDvm0JzDy2klcfpT3hpvwSULjggH3dV9LKSB3VtmiJgsJmd9/+9ANJ 73up99L5LGhEsTXBmVG3nuFPR1U/4Ut9wpjtbSB0XaQVkNyrvLdqQZClOjD3yQFfL0Y0 DJCA== X-Gm-Message-State: AGi0PuZm5JB2MpTOgl3JHU7gQUZHQmjXkafun3AfKMfJwqIJ4/oKocn6 nQ19ojL5wlcRzF4yBvnmgY1MnjKCg3yGCZVd X-Google-Smtp-Source: APiQypLsY/OE3plQ2JuqYCxhA/x+TXFMmkcH/bNCsm1jD7QvwkDIAIyneK4Vg11GYlMqsLFqQoiJ6A== X-Received: by 2002:a17:906:af81:: with SMTP id mj1mr1529524ejb.99.1586479671240; Thu, 09 Apr 2020 17:47:51 -0700 (PDT) Received: from Ansuel-XPS.localdomain (host117-205-dynamic.180-80-r.retail.telecomitalia.it. [80.180.205.117]) by smtp.googlemail.com with ESMTPSA id z16sm30523edm.52.2020.04.09.17.47.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Apr 2020 17:47:50 -0700 (PDT) From: Ansuel Smith To: devicetree@vger.kernel.org Cc: Ansuel Smith , Richard Zhu , Lucas Stach , Bjorn Helgaas , Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Lorenzo Pieralisi , Andrew Murray , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/4] drivers: pci: dwc: pci-imx6: update binding to generic name Date: Fri, 10 Apr 2020 02:47:36 +0200 Message-Id: <20200410004738.19668-3-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200410004738.19668-1-ansuelsmth@gmail.com> References: <20200410004738.19668-1-ansuelsmth@gmail.com> MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Rename specific bindings to generic name. Signed-off-by: Ansuel Smith --- drivers/pci/controller/dwc/pci-imx6.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/drivers/pci/controller/dwc/pci-imx6.c index acfbd34032a8..4ac140e007b4 100644 --- a/drivers/pci/controller/dwc/pci-imx6.c +++ b/drivers/pci/controller/dwc/pci-imx6.c @@ -1146,28 +1146,28 @@ static int imx6_pcie_probe(struct platform_device *pdev) } /* Grab PCIe PHY Tx Settings */ - if (of_property_read_u32(node, "fsl,tx-deemph-gen1", + if (of_property_read_u32(node, "tx-deemph-gen1", &imx6_pcie->tx_deemph_gen1)) imx6_pcie->tx_deemph_gen1 = 0; - if (of_property_read_u32(node, "fsl,tx-deemph-gen2-3p5db", + if (of_property_read_u32(node, "tx-deemph-gen2-3p5db", &imx6_pcie->tx_deemph_gen2_3p5db)) imx6_pcie->tx_deemph_gen2_3p5db = 0; - if (of_property_read_u32(node, "fsl,tx-deemph-gen2-6db", + if (of_property_read_u32(node, "tx-deemph-gen2-6db", &imx6_pcie->tx_deemph_gen2_6db)) imx6_pcie->tx_deemph_gen2_6db = 20; - if (of_property_read_u32(node, "fsl,tx-swing-full", + if (of_property_read_u32(node, "tx-swing-full", &imx6_pcie->tx_swing_full)) imx6_pcie->tx_swing_full = 127; - if (of_property_read_u32(node, "fsl,tx-swing-low", + if (of_property_read_u32(node, "tx-swing-low", &imx6_pcie->tx_swing_low)) imx6_pcie->tx_swing_low = 127; /* Limit link speed */ - ret = of_property_read_u32(node, "fsl,max-link-speed", + ret = of_property_read_u32(node, "max-link-speed", &imx6_pcie->link_gen); if (ret) imx6_pcie->link_gen = 1; From patchwork Fri Apr 10 00:47:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 11482641 X-Patchwork-Delegate: lorenzo.pieralisi@arm.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 898B714DD for ; Fri, 10 Apr 2020 00:48:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 69F8F20CC7 for ; Fri, 10 Apr 2020 00:48:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="NP1VPhz2" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727548AbgDJAr5 (ORCPT ); Thu, 9 Apr 2020 20:47:57 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:41885 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726859AbgDJArz (ORCPT ); Thu, 9 Apr 2020 20:47:55 -0400 Received: by mail-ed1-f67.google.com with SMTP id v1so532004edq.8; Thu, 09 Apr 2020 17:47:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BZSQSUlLJFkzUgf1NTHH5zpRsFkN3TikFBBnNLe5wGw=; b=NP1VPhz21BJ2RjboM81BtD5W0D5gGBZBCm+q7FPqOrKDHZqBmqJzCnXkCX5XinTmXu dksMqSUAbWADIl4wmV5wKtfqQd+azgiOqIGDi1Jag52UOKgEfdUvtD+wmiKvU0vlwFBI Rz6VmdU88kNS7oAi4ou7Bvh5A7+yeoCUvt04vm0ToapQxV9Cq0HT46abbl0O+Z/L1Pdc y7HXy5JIOmhNLF9MWCRqCKWEFZMfB7Ctz9ujAJU5mH1ht7XNJ3I4ctrzrdQzkyd1QFLf QUeBQoZ6kdUqkJvP4scZfPfsijmyv/DD/7bDXsWksrx2cIOvuKQskrEJl+RYqAi0Q1FS oxlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=BZSQSUlLJFkzUgf1NTHH5zpRsFkN3TikFBBnNLe5wGw=; b=QnNmO9X+cWib/ti7jVL0n+hBjhRW+GStgzkLPJ5a979TXKxP8D9/DNTw+4bfS8oKmN XEd54wG6jZEcuXeRcbGDApDt7l6fhNgpPpkvXPDu0dtBVVDoiTTeCFUVEBhGuCN53b4e H3HpCps9IP4Qqb3QgrIXZceITG2bWzD04NVlA+2/3M7/Fcws51Q1pvFscB0WJBTVk2WU foCdD14ARnwLIfvLIbu6DR1snDji7PNhxIToB+f70czpEi57Ig+145jJb3haOjl4zOXe a9V+007mnIMkrJz/3Wg7EY94tyzji5b4Vl/AxKmi32b6go72awv0e7hCxiJQG0twDoG/ m7nA== X-Gm-Message-State: AGi0PubOwr7KLotUfKZGZ9yCHM4e2V36tENwdBvBCFLTo0zIHEV3W2TD FLR+XwhfOQbp+c5BF5gfz8nYVqJhG+m5P0lU X-Google-Smtp-Source: APiQypKMU1IIRbXXOX7ZyvwbWFJXHKcSefqZALP0aOt7baR6EvEdcg5UT0zqWOvkir+IkPg5Rc6TiA== X-Received: by 2002:a05:6402:3076:: with SMTP id bs22mr2747689edb.24.1586479673383; Thu, 09 Apr 2020 17:47:53 -0700 (PDT) Received: from Ansuel-XPS.localdomain (host117-205-dynamic.180-80-r.retail.telecomitalia.it. [80.180.205.117]) by smtp.googlemail.com with ESMTPSA id z16sm30523edm.52.2020.04.09.17.47.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Apr 2020 17:47:52 -0700 (PDT) From: Ansuel Smith To: devicetree@vger.kernel.org Cc: Ansuel Smith , Richard Zhu , Lucas Stach , Bjorn Helgaas , Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Lorenzo Pieralisi , Andrew Murray , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/4] arm: dts: imx6: update pci binding to generic name Date: Fri, 10 Apr 2020 02:47:37 +0200 Message-Id: <20200410004738.19668-4-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200410004738.19668-1-ansuelsmth@gmail.com> References: <20200410004738.19668-1-ansuelsmth@gmail.com> MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Rename specific pcie property to generic name. Signed-off-by: Ansuel Smith --- arch/arm/boot/dts/imx6q-ba16.dtsi | 4 ++-- arch/arm/boot/dts/imx6qdl-var-dart.dtsi | 4 ++-- arch/arm/boot/dts/imx7d.dtsi | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/imx6q-ba16.dtsi b/arch/arm/boot/dts/imx6q-ba16.dtsi index 37c63402157b..55bf77fdd65b 100644 --- a/arch/arm/boot/dts/imx6q-ba16.dtsi +++ b/arch/arm/boot/dts/imx6q-ba16.dtsi @@ -328,8 +328,8 @@ &pcie { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pcie>; reset-gpio = <&gpio7 12 GPIO_ACTIVE_LOW>; - fsl,tx-swing-full = <103>; - fsl,tx-swing-low = <103>; + tx-swing-full = <103>; + tx-swing-low = <103>; status = "okay"; }; diff --git a/arch/arm/boot/dts/imx6qdl-var-dart.dtsi b/arch/arm/boot/dts/imx6qdl-var-dart.dtsi index c41cac502bac..45c7edea94da 100644 --- a/arch/arm/boot/dts/imx6qdl-var-dart.dtsi +++ b/arch/arm/boot/dts/imx6qdl-var-dart.dtsi @@ -392,8 +392,8 @@ MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059 }; &pcie { - fsl,tx-swing-full = <103>; - fsl,tx-swing-low = <103>; + tx-swing-full = <103>; + tx-swing-low = <103>; reset-gpio = <&gpio4 11 GPIO_ACTIVE_LOW>; status = "disabled"; }; diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi index 4c22828df55f..0ab55f66ea79 100644 --- a/arch/arm/boot/dts/imx7d.dtsi +++ b/arch/arm/boot/dts/imx7d.dtsi @@ -190,7 +190,7 @@ pcie: pcie@33800000 { assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_250M_CLK>, <&clks IMX7D_PLL_ENET_MAIN_100M_CLK>; - fsl,max-link-speed = <2>; + max-link-speed = <2>; power-domains = <&pgc_pcie_phy>; resets = <&src IMX7_RESET_PCIEPHY>, <&src IMX7_RESET_PCIE_CTRL_APPS_EN>, From patchwork Fri Apr 10 00:47:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 11482637 X-Patchwork-Delegate: lorenzo.pieralisi@arm.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3D5B681 for ; Fri, 10 Apr 2020 00:48:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1D84F20768 for ; Fri, 10 Apr 2020 00:48:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="T54WVr0f" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726859AbgDJAsA (ORCPT ); Thu, 9 Apr 2020 20:48:00 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:41887 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727593AbgDJAr7 (ORCPT ); Thu, 9 Apr 2020 20:47:59 -0400 Received: by mail-ed1-f65.google.com with SMTP id v1so532098edq.8; Thu, 09 Apr 2020 17:47:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=a14CUzpnGpaGv5dqUvAXTePxj5EaRSdIRWci/5zAkWM=; b=T54WVr0f4ocGL79xzwZP975p3f2YyA0/5A0mdP+YGo9pmXJJXsRDk7VPwQscwpAHx1 ZZppHBemzYJCtE2a+zH1yHdeKfugxwFT2mdIi+xKiYCCRjdMiIxyoMMx087hwYCA+4zj /OlxiFd56bzU1CH6KU+079LWF5Bq5o2K2QCck2uIzqgvukSiLwNw2eHGiuJU+PhxcBO4 VJhEuRBJTelU7depw9VQqFRvtvm6uZJpm0Tw3b+D08jRWamOWnKWQH+Htft4MyLDwFrR T+pX8yMu0s1SVAUczekj5wwpWK5bSHhCK72ESYuJppeFhhAgW5jP90N+OgJTFT0fG0tG 3y1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=a14CUzpnGpaGv5dqUvAXTePxj5EaRSdIRWci/5zAkWM=; b=mvEsrvuNw1XoCCNaOeWd7+pqp8WqP+UrqlXmz97IWXO3chOfwUZ9zoD12Z4YcJ2X/k BOOk4hW52fHKwu/nsC6m49ojnGj8lUXOkYCp2G+UpmqC4vVcF2/P0itNozfrThcLNT31 E33b1Zv67WpqcKl82ee7tNFMwlIMNHbgqBQU1pTxaqyiX0wr+cA/eLhp8yH081CXn6Pf u9XupcIXc4YVdx38s7KTQB5NeNV+/X4yoISTN4M8Pc8V0oCqc+5aYTAnQT+/505903OI FZrAvUCFgIzBHugE0lgqYXaEI7jlt4jhzmVCNkgNLXKTm+KN//LMkBWm3rhyn+vyryGB wT8A== X-Gm-Message-State: AGi0PuYKOaxTkFZsT2Atpfc2gbd1kauSQmyqkqui4dc1t1gRw7wkr3dQ 8QYZSjkHHBQCdA4YMMzTn+pBo8X3b/lo7Cba X-Google-Smtp-Source: APiQypLvgG31h2JAiJ4I9uBgeYyo/rkkcxrJMy4IA3mBlMc4DdltbrM21eJVNk/Yzl5aRHNkGsWTkg== X-Received: by 2002:a17:906:48c:: with SMTP id f12mr1637382eja.93.1586479675986; Thu, 09 Apr 2020 17:47:55 -0700 (PDT) Received: from Ansuel-XPS.localdomain (host117-205-dynamic.180-80-r.retail.telecomitalia.it. [80.180.205.117]) by smtp.googlemail.com with ESMTPSA id z16sm30523edm.52.2020.04.09.17.47.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Apr 2020 17:47:55 -0700 (PDT) From: Ansuel Smith To: devicetree@vger.kernel.org Cc: Ansuel Smith , Richard Zhu , Lucas Stach , Bjorn Helgaas , Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Lorenzo Pieralisi , Andrew Murray , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] devicetree: bindings: pci: fsl,imx6q-pcie: rename tx deemph and swing Date: Fri, 10 Apr 2020 02:47:38 +0200 Message-Id: <20200410004738.19668-5-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200410004738.19668-1-ansuelsmth@gmail.com> References: <20200410004738.19668-1-ansuelsmth@gmail.com> MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org TX Deemph and TX Swing are now defined in pci.txt, rename them to follow the new name. Signed-off-by: Ansuel Smith --- .../devicetree/bindings/pci/fsl,imx6q-pcie.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt index de4b2baf91e8..937442a4c2ab 100644 --- a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt +++ b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.txt @@ -19,12 +19,12 @@ Required properties: - "pcie_phy" Optional properties: -- fsl,tx-deemph-gen1: Gen1 De-emphasis value. Default: 0 -- fsl,tx-deemph-gen2-3p5db: Gen2 (3.5db) De-emphasis value. Default: 0 -- fsl,tx-deemph-gen2-6db: Gen2 (6db) De-emphasis value. Default: 20 -- fsl,tx-swing-full: Gen2 TX SWING FULL value. Default: 127 -- fsl,tx-swing-low: TX launch amplitude swing_low value. Default: 127 -- fsl,max-link-speed: Specify PCI gen for link capability. Must be '2' for +- tx-deemph-gen1: Gen1 De-emphasis value. Default: 0 +- tx-deemph-gen2-3p5db: Gen2 (3.5db) De-emphasis value. Default: 0 +- tx-deemph-gen2-6db: Gen2 (6db) De-emphasis value. Default: 20 +- tx-swing-full: Gen2 TX SWING FULL value. Default: 127 +- tx-swing-low: TX launch amplitude swing_low value. Default: 127 +- max-link-speed: Specify PCI gen for link capability. Must be '2' for gen2, otherwise will default to gen1. Note that the IMX6 LVDS clock outputs do not meet gen2 jitter requirements and thus for gen2 capability a gen2 compliant clock generator should be used and configured.