From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 57213C282C4 for ; Tue, 5 Feb 2019 00:17:52 +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 1DBF620821 for ; Tue, 5 Feb 2019 00:17:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="sNnwKV69"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=impinj.com header.i=@impinj.com header.b="f7JWKmBi" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1DBF620821 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=impinj.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.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: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:In-Reply-To:References: List-Owner; bh=sqxPk0ODG24t56I6O2UjsUBMPmA9DZQsjvpxcT3/d6w=; b=sNnwKV69msZT+4 j5yGsCAJZ4+gtY37qRsmkbjsus/4jrWrZ5c9rWiNNxsQQoHdK+yrf2z7NdE1QpwYrw36Pr0FrdUgh 4hJ68IOXElx82Ivqe2kGU9xQW9vo1ZzZbNAu9j8xg4JHGdWeMiKD3phemtasqaj5pRT052Q9FlT9I 2OhMlrQNT13SujFOG3SvRna93ecWMdo05nurgUIEp57vs6b4BdD16SCVIgvKyeZ9SqPZuSY+QixXy S9aRIs8PHkXYSyTScQYgmNzH0OCYLsnCG+I8JWUiZziN5Tv6Kzp+8txSxZ+pwR+9JobUAusPmV+fO 8+wNurCdzfJb9D1Cy1kQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gqoQr-0004FZ-Ea; Tue, 05 Feb 2019 00:17:45 +0000 Received: from mail-eopbgr730113.outbound.protection.outlook.com ([40.107.73.113] helo=NAM05-DM3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gqoQo-0004Ee-7b for linux-arm-kernel@lists.infradead.org; Tue, 05 Feb 2019 00:17:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=impinj.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/f5GvYP26A8mIQA/i+ulSdzntAuOmMBXlDLp+3tljg4=; b=f7JWKmBiMYWy+m7qrUbzMhab3qJn02csx2Kb9p3HkphPAL43s9BVQx6OxhsDXNM5KcVSIm8B3ktgAB+x+e03250KtB4E1ccUMKD0Xd4IAXR9DJzvfK0qnST4wazw35lHrc/0sa2XdXTHyG2UdxexNvUV8YAFwbWbBE7Co7FEaSs= Received: from MWHPR0601MB3708.namprd06.prod.outlook.com (10.167.236.38) by MWHPR0601MB3722.namprd06.prod.outlook.com (10.167.236.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1580.16; Tue, 5 Feb 2019 00:17:37 +0000 Received: from MWHPR0601MB3708.namprd06.prod.outlook.com ([fe80::ac0c:a03e:77c7:fa85]) by MWHPR0601MB3708.namprd06.prod.outlook.com ([fe80::ac0c:a03e:77c7:fa85%5]) with mapi id 15.20.1580.019; Tue, 5 Feb 2019 00:17:37 +0000 From: Trent Piepho To: "linux-pci@vger.kernel.org" Subject: [PATCH v2 0/3] Workaround for IMX7d PCI-e PLL lock failure Thread-Topic: [PATCH v2 0/3] Workaround for IMX7d PCI-e PLL lock failure Thread-Index: AQHUvOgyHlSpLFtcN0Os+r6exyadWw== Date: Tue, 5 Feb 2019 00:17:37 +0000 Message-ID: <20190205001721.18639-1-tpiepho@impinj.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BYAPR07CA0078.namprd07.prod.outlook.com (2603:10b6:a03:12b::19) To MWHPR0601MB3708.namprd06.prod.outlook.com (2603:10b6:301:7c::38) authentication-results: spf=none (sender IP is ) smtp.mailfrom=tpiepho@impinj.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.14.4 x-originating-ip: [216.207.205.253] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; MWHPR0601MB3722; 6:lv6tWS8WWFckIROI9kNCtkJ/ELc75Jawg748op2DXkUp40i8kLE/yWm2+lPvj1veFp7kZLmMbvHsmpAZ87TcVsgqcGWu95tanlKjE4cpz8wxJ6bTC3ka/RuKBp5dKWphVCRPCUfvBoYVIFdgsKc0MyvtDsXPniWtM4t1BZhnDAxrQ96Oy0fbWYKdR/ivysQz46/Lm4p/lmLuaD81XbY41P0WPlUskwFtppVp/1915U6rT6Ng88PzKcdjJraQ73tbxSxsJw0cFf9cSh18TwxHVfro61sKdsfTm/Fn4Gc6T0yR2oels3p1ta6zE3lFZqIn5bLGbAMe9VOAiWHuT80mhG4OcK6tOXoYy0kzzJKNFIW8aWPLuVYgPyRwOaylLnMbHFuz3/rxG66qBYdUI9oe9L2/NL5UKtZD3WYyRli+yG5Srk1WBIAdzB3TaFliWDSphJrrfWfmhWbD3ZB0IVPjGQ==; 5:7pxX755ESOdQ2KKHJpsGg6+xRSRwC2tFbLJ05y4ogXGYZb87rxf4iYXxdq4mwHgViPjEku/jWB2eDy/6zJbr52+ASkKEFyMCz3/8RtuRofeFz1HWKjFJIaFzlO51AISx2Bek9gN3VL0sOrftSz848dLJmTt1NWzY1rzDd5vn4fdRemkQVhYvCBiXhTDNudtQlxPsN4eQj8rF1mMSdTwT+w==; 7:hU0YkPV71dzjPD37eUoQwbCNTjmtYUli/jwDO2LPDVef13kMubDL/Qoo7+9NhYGdMC/BVZpJe29ecWj9J0jVwZ+Q341cCji/PEf23TCNTqcyYYlY+hbj3EdT5I1Dd6Sg+sA9PZrrwDhMTo8Y++bTzg== x-ms-office365-filtering-correlation-id: e28fe600-2297-4ce0-2a44-08d68aff5515 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(2017052603328)(7153060)(7193020); SRVR:MWHPR0601MB3722; x-ms-traffictypediagnostic: MWHPR0601MB3722: x-microsoft-antispam-prvs: x-forefront-prvs: 0939529DE2 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(346002)(136003)(396003)(39850400004)(366004)(199004)(189003)(2616005)(476003)(105586002)(25786009)(305945005)(7736002)(2906002)(6116002)(107886003)(3846002)(66066001)(486006)(86362001)(4326008)(97736004)(186003)(2351001)(1076003)(71190400001)(71200400001)(256004)(6486002)(102836004)(6436002)(26005)(50226002)(386003)(6506007)(53936002)(14454004)(6916009)(5640700003)(316002)(8936002)(478600001)(6512007)(5024004)(2501003)(99286004)(81166006)(81156014)(68736007)(14444005)(52116002)(54906003)(36756003)(106356001)(8676002); DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR0601MB3722; H:MWHPR0601MB3708.namprd06.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: impinj.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 5Zzc4vl2PyGnUfUDhktx17a9zpuPwClewXtJJizLSgEzX3SvUxQaWdySbrODrx7rS+v3sNzspjDmTiV1iHqiPItqGRfXFShzMyGeOGjk38Lkk7ZX4cmW2JHzZ1HceyP3z/rhhbPSCgPhexKIvTe/n0EXS246QJRal6SSsiqV6s9oGFkSASB7qUvz8SborFLP862cCseJwZgkNBMf1Y9p/mW4Db90rgLB636Y6ueZU6bIlFWct14SXyPASwlfkvaDrQ8w6kcnuaBA9foDO4uV1klV5JenjHvZUfEDJYjebSafOgy7hIi7knzunPBHj4M3VGqRmBtsJXQavM0FIZmOQTHq8nhq4B+CDmE4ts44xk1Q8QiiCGLcRDJyduuzMzAIbNRPc4Mz35IR3+wncth6EZdpQqxRkW6BF4O0pv/0Q+Q= MIME-Version: 1.0 X-OriginatorOrg: impinj.com X-MS-Exchange-CrossTenant-Network-Message-Id: e28fe600-2297-4ce0-2a44-08d68aff5515 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Feb 2019 00:17:36.4325 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 6de70f0f-7357-4529-a415-d8cbb7e93e5e X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR0601MB3722 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190204_161742_275993_BA62D9E1 X-CRM114-Status: UNSURE ( 8.90 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lorenzo Pieralisi , Richard Zhu , Lucas Stach , Shawn Guo , "linux-arm-kernel@lists.infradead.org" , Trent Piepho Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org This is the workaround for the IMX7d Erratum e10728, failure of initialize PCIe PLL VCO oscillation resulting in PLL lock failure and failure of the PCI-e link to come up. The registers used in the workaround are based on the latest patch in the NXP kernel. This uses a new node of type fsl,imx7d-pcie-phy to get the PHY's registers. The node is found via a phandle, named fsl,imx7d-pcie-phy, added to the PCI-e controller's node. If the phandle is not present, or otherwise incorrect, there is a warning message on IMX7d. While the PHY's register could be added as another bank in the PCI-e controller's register space, this isn't an accurate description of the hardware. The PHY is a different device and attached to a different AIPS bus. Changes since v1: Renamed imx-pcie-phy to imx7d-pci-phy since it appears this phy is specific to the imx7d. Split out dts binding change into its own patch. Changed error message to warning and improved it. Trent Piepho (3): dt-bindings: imx6q-pcie: Add description of imx7d pcie phy ARM: dts: imx7d: Add node for PCIe PHY PCI: imx: Add workaround for e10728, IMX7d PCIe PLL failure .../devicetree/bindings/pci/fsl,imx6q-pcie.txt | 11 +++++ arch/arm/boot/dts/imx7d.dtsi | 9 ++++ drivers/pci/controller/dwc/pci-imx6.c | 57 ++++++++++++++++++++++ 3 files changed, 77 insertions(+) -- 2.14.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel