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: 11482647 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 66F5D81 for ; Fri, 10 Apr 2020 00:48:24 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 43E8E20768 for ; Fri, 10 Apr 2020 00:48:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="G5GVLWnG"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GAo1LCks" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 43E8E20768 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=f3ILdKmNnWlQ/s3bNtRe+3JTT7sE12Gex/UdKYzUdGk=; b=G5GVLWnG9/CHa3 UdZf2YfkGhZqTtEXvK7gxGrPAiGD2G0RffneU1Pf9SqdIHparPGNzHHiEigCOuEQxabuzNPi5KBKe oWBAWmci3RbL5cdNw76AHGp2IpcaB4GdTz+FcKsiphCC9wCK0Rxm5ZL87UPd8FfkpDMJrttmOsn2H 4oar8DExbrmUSGBuNTgAWREafVUwJsRU6+k+UStfC7LPVsiNXRx79HQ5J3SU52Y8xpwNK2ND1sUdq YAuQo8dTXxmRixBtekPsSaLP0kAdVlD5YzdiT9YAm9HmDBgxAPuM0s7mC67U9O+ELYhNa+OpGJRdO gg01nl++QHwWeyr2ujPg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jMhqF-0002sT-37; Fri, 10 Apr 2020 00:48:19 +0000 Received: from mail-ed1-x544.google.com ([2a00:1450:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jMhpp-0002Pv-Vi for linux-arm-kernel@lists.infradead.org; Fri, 10 Apr 2020 00:47:55 +0000 Received: by mail-ed1-x544.google.com with SMTP id p6so518938edu.10 for ; 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=NR7nWiqxgai+IEESv+3vTMAQWmSUh7G8NYgukKSTyOaohPStSwMZCT2SvWMxEDd7Tw qEMsCUFrCvkf6tOWQS9aZubjAZbsgN22jszy3f98ct533QHKF7un2RXb0xDFA+u9tMTw aY9LXprqv6lRTElXtSlKHqxs+E7cN0sodhfTYRD3DnfHe4axjbp5IZBoPeBMt+oA5+w6 VABNzyeNyFWzxMypqJaB7YS35p24WONQ4Vt4hSkn5bDBi/nazPKpMouoU5AAG1G/oaqb fw5FzrH+rnFMKS5TY+wDbvDzCPgrm7PSA9ltE2w7zmEoOxrH52iBdp5nSXAhUSQgdZW/ ax4Q== X-Gm-Message-State: AGi0PuaY3Hrq0WJBUVht/OS0XvcgAK1Fw7iTiqsC0/SNm0Nk1Crec1NL 14Unm7upjLFq6qQw1N8h6+c= 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200409_174754_022754_FF7DD03F X-CRM114-Status: GOOD ( 12.05 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:544 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [ansuelsmth[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Lorenzo Pieralisi , Richard Zhu , Fabio Estevam , Sascha Hauer , linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , linux-pci@vger.kernel.org, Bjorn Helgaas , Andrew Murray , Shawn Guo , Ansuel Smith , linux-arm-kernel@lists.infradead.org, Lucas Stach Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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: 11482645 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 5FDCC15AB for ; Fri, 10 Apr 2020 00:48:08 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3D0A320CC7 for ; Fri, 10 Apr 2020 00:48:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="dxObgHrZ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iesyHr/h" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3D0A320CC7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=G9gnJzKYVwOWDDMyxoZzySIiadjc70anFBVHDjXGq60=; b=dxObgHrZSZQeRR 3QzkG1HfPBd3oCQDCRIYfM9A0Vf80cA2Dtg2nKpaRsxOlQsLSY8lxrDaG5ms5FxKLUa1kIcwFV5pe rwFiL2EsdH93/G17DArGIw/eetusUkGQZgL6XU6sWCiTlQMXwGEj9Vx4qJLkE83rbm2pdn/85asvw 4iHnqKQdi7IH+laBeiCKbO1xDOzBwzn2cz+XJlZfaqEj1k4IlulrOssAf3ff4kASh5N0mXArR5zzn Ny9plG9dgmTot6l1vZ8lor9uFFXnxmJdlDp9ECyv/MiGV+92g/2W8nqua8ZV26/RzNyCiSv+DVyyB 1PYtGF4vC8WlcjzDN+7Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jMhpy-0002aY-TI; Fri, 10 Apr 2020 00:48:02 +0000 Received: from mail-ed1-x541.google.com ([2a00:1450:4864:20::541]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jMhpp-0002QK-WC for linux-arm-kernel@lists.infradead.org; Fri, 10 Apr 2020 00:47:55 +0000 Received: by mail-ed1-x541.google.com with SMTP id cw6so525590edb.9 for ; 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=ljAJYn0wN+cTJQlr23sPR3QZy4vZd3GAAVTgHiTa9D3JHcacEkl2fK0dl5RLCMROOD H9yBtpqMJWiO1jCyTMqhRw39Xh7AwmBhWVz6sXs5SNhE2cJx6vJ578gLE7dfB8JNEWvG z9lE7O0SxdrOCJJ621/cRIhev+7vyVNHaMf27Ho8ZL0Oo+g7LVT9exqRyruwC6p3FKw/ KtY574sMbzV0DPntwpt3FI62HPznBXfnD7mtVTUDn/2WM3zumSkNFW4P6E2tJ5/4E7JY rgZsBJhMcy/hlSN8C388oe3FZg+CKqvvA2z715cre5NBsZetjGZwKk8jMB9gV6mDxwsx Sxqw== X-Gm-Message-State: AGi0PuYjd7fhRmmnNjTu+5Vp2dBLBhJPg0FxEPZtu81pFWJAHzF3dN/W rjhXD3eodNtBCA9kAsAQ3Ww= 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200409_174754_051776_F2514299 X-CRM114-Status: GOOD ( 12.30 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:541 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [ansuelsmth[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Lorenzo Pieralisi , Richard Zhu , Fabio Estevam , Sascha Hauer , linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , linux-pci@vger.kernel.org, Bjorn Helgaas , Andrew Murray , Shawn Guo , Ansuel Smith , linux-arm-kernel@lists.infradead.org, Lucas Stach Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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: 11482649 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 20EF414DD for ; Fri, 10 Apr 2020 00:48:47 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D86E420768 for ; Fri, 10 Apr 2020 00:48:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="O96YfD9a"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="NP1VPhz2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D86E420768 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Gp9ukt4hZonV5WMofN2X20c+pVyoSVfRLRUvlePcA4E=; b=O96YfD9ayPA/Zd CvV484NKKLNTIc7GvLieyRxQBncYrW2000rRJAcztQ4QU93IShS0qdCv0Jb/qTZvgWUplCVkE6hAh iTyVydKqqUC5JYG7/q8qLrjML1W7sgwL6eJy5tNeUdBpFI5FT/3L2U2ybeAbZavMRKU0RNQn0Sy4C JYELohoAukVK7Kazopq2vWqhJiR8LvNzcNyNkzbfYGi4p6YemGJJFlnUblGICsqxa3CiCUyTAX6Kx gdm7CPrJ021vQ50CAfAdzFyXnjgOuQ811+GIBzJ/7m+5IJbjPfIL+uBTh07LKq/FxW0xWa/wn/8FA iL8pJaSyT/9+Kf3BxgOA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jMhqa-0003An-T1; Fri, 10 Apr 2020 00:48:40 +0000 Received: from mail-ed1-x544.google.com ([2a00:1450:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jMhpq-0002RV-QZ for linux-arm-kernel@lists.infradead.org; Fri, 10 Apr 2020 00:47:56 +0000 Received: by mail-ed1-x544.google.com with SMTP id e5so557206edq.5 for ; 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=Dp1/n1N+thmAzjnRl6YJxk0gFCy5CM0xFxrnd0KOtGojb0kfUmG9EuJ7r6j9bkOueB lmS6rNsX7CFecd2kiBANQ23MrLj5c2bZoUK/brCvFn9E2wSv2ddZzxSTYkPIAhVBCBIl lIk++DU1G+IknzM5C00x91R/YzaaYPNIJaa4bz//tH/hxA2VUKW3AkXGFwm1IWrKMdO6 6yMM5WAnV36Pi/keX2qDloCu3cGVGmYZ4P1OdtgaXpehpB9wbmlfZ0ugbJt8ewr2bXbd 0b7KlUEUQBnCoIeajrCoclhJcbXz1eXoRrirZ4dqdJ5bu5YZSNyotI4+z2GOZLgxmbXx jczQ== X-Gm-Message-State: AGi0Pubq3gYK14F2DME5g7KoyiqdN++kqqr98llItqgv0YZN04uqSn8P cPrXXgsQ5h0/KRwW7VHgxCM= 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200409_174754_869786_C65583C0 X-CRM114-Status: GOOD ( 14.27 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:544 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [ansuelsmth[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Lorenzo Pieralisi , Richard Zhu , Fabio Estevam , Sascha Hauer , linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , linux-pci@vger.kernel.org, Bjorn Helgaas , Andrew Murray , Shawn Guo , Ansuel Smith , linux-arm-kernel@lists.infradead.org, Lucas Stach Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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: 11482651 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 5352815AB for ; Fri, 10 Apr 2020 00:49:02 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C85D020769 for ; Fri, 10 Apr 2020 00:49:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ZF4O6Lbi"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="T54WVr0f" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C85D020769 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=VdHRDNeDYyEck5RfMrSuuVAyloPbATkjGqTkbu+N5LE=; b=ZF4O6Lbi4broZm K3lPop7pRr6Jd02NeCccxTP0hZbTLOLndgCvpqD0AHdZrNOARfuMRF4DH1qFAPxD/Ocu4/2n15H9C +OJsTtQcBHWJcFEPy0FOWPhfkJAe5qZlHwcI6Jr+sHkL8R1c1fpywUddYZD+pw7eLNaYuMxuQEn/A 8sZ6jOdy2CszVvVmjS0zkSEkfdZfTRZSRNgMZ08RO8sEngV/dwRAUXnluX49lhViPrv1uTgbUOEJl uf9s5VAA6KNKJU+MfcMwVTjQTJ80g6Xe9qip0XWs+smN8DowV7q6lDaB8dtxmlefIZHmyyEHPz5iM 8/+H6Rcx9Ewp2c6tYG7g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jMhqr-0003RC-QX; Fri, 10 Apr 2020 00:48:57 +0000 Received: from mail-ed1-x541.google.com ([2a00:1450:4864:20::541]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jMhpt-0002UZ-Cx for linux-arm-kernel@lists.infradead.org; Fri, 10 Apr 2020 00:47:58 +0000 Received: by mail-ed1-x541.google.com with SMTP id x62so593030ede.1 for ; 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=CrKZfInIDoWbhIASG/QxuYLnvBV3rfGo7SqtViqKRaAlao2nmpC6lpZ79REex3dJHL o4aFodFtALi3S8KEhrs515npfh6Q6WE9ENcU7hx9SyXwoK0nU63qhSFJrr2iDIc0hhT3 daGJBup/wknAe1t+Kn6Dy0RIiQLGM+RxZj2UJBiTeWGtTJF+PKtOGDoCJsm/UxGwtZ0A GP2qPQmD8xI0l2YmAzdh2fC9mXbhM0V/toIQrmnfbZ91UuD1PY8SIe2hkDloukRozgmh i+lJ7feSl9NBp24nGcl/CFYsUJwaPjQ0JbUxo7P8Wlv36nugD2wM8aFU9jzsi4gQC5zU xeFw== X-Gm-Message-State: AGi0Puaxa9AUaOpy7TGFnoqaAJOc+WzJ22b4OPXh3eFCf7pVX7Jb87CB uwmkMRADVbKvO+HOb5AVYQY= 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200409_174757_460852_144A7A30 X-CRM114-Status: GOOD ( 11.27 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:541 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [ansuelsmth[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Lorenzo Pieralisi , Richard Zhu , Fabio Estevam , Sascha Hauer , linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , linux-pci@vger.kernel.org, Bjorn Helgaas , Andrew Murray , Shawn Guo , Ansuel Smith , linux-arm-kernel@lists.infradead.org, Lucas Stach Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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.