Message ID | AM3PR04MB11856946C0C3F88260E039CF91A60@AM3PR04MB1185.eurprd04.prod.outlook.com (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Scott Wood |
Headers | show
Return-Path: <linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org> X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xC6xV1JBxz9s8J for <patchwork-incoming@ozlabs.org>; Wed, 19 Jul 2017 16:46:06 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="vnrVP5gv"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3xC6xV05ttzDrVM for <patchwork-incoming@ozlabs.org>; Wed, 19 Jul 2017 16:46:06 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="vnrVP5gv"; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0078.outbound.protection.outlook.com [104.47.1.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3xC6vm3V63zDrTn for <linuxppc-dev@lists.ozlabs.org>; Wed, 19 Jul 2017 16:44:36 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="vnrVP5gv"; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=rLaiz1Nd0SK5mFfoQUi+zqf7gjhQLyH/0ma1KUIMnYo=; b=vnrVP5gv5Ns1CgEnCtVBV8iniiLzHwXpZGipp7WhoTTTZw5/YVYa3fboxdPvE1J9YDNtJtAQy1a6fqX5W3kcd8jRjWNTOOlf5sUjGAf5Sz7yJenfgF+UFIPpPknZPivuWkiEkzcVf4uZRPcrWfs/g2vPHybh7INfzD39d37xmOw= Received: from AM3PR04MB1185.eurprd04.prod.outlook.com (10.163.6.143) by AM3PR04MB1188.eurprd04.prod.outlook.com (10.163.6.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.13; Wed, 19 Jul 2017 06:44:30 +0000 Received: from AM3PR04MB1185.eurprd04.prod.outlook.com ([fe80::609e:f909:82f:6f47]) by AM3PR04MB1185.eurprd04.prod.outlook.com ([fe80::609e:f909:82f:6f47%14]) with mapi id 15.01.1261.024; Wed, 19 Jul 2017 06:44:30 +0000 From: Qiang Zhao <qiang.zhao@nxp.com> To: Valentin Longchamp <valentin.longchamp@keymile.com>, "linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org> Subject: RE: [PATCH 2/3] soc/fsl/qe: only apply QE_General4 workaround on affected SoCs Thread-Topic: [PATCH 2/3] soc/fsl/qe: only apply QE_General4 workaround on affected SoCs Thread-Index: AQHSiQjMeqJfgVuksEGsKDihm6PIJ6Jboi0A Date: Wed, 19 Jul 2017 06:44:30 +0000 Message-ID: <AM3PR04MB11856946C0C3F88260E039CF91A60@AM3PR04MB1185.eurprd04.prod.outlook.com> References: <1487327387-26370-1-git-send-email-valentin.longchamp@keymile.com> <1487327387-26370-3-git-send-email-valentin.longchamp@keymile.com> In-Reply-To: <1487327387-26370-3-git-send-email-valentin.longchamp@keymile.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: keymile.com; dkim=none (message not signed) header.d=none; keymile.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [192.158.241.86] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM3PR04MB1188; 7:aVKr8Z6+/3Yj2adEuHKCYW6NUENfDJdtuJo0+QegjjAAX++sJZYf2ng1BieSD1PYnZGWLd8qVuyoK78Y6+H2tIJpXTNl3Qr7QL0hPWPQ7hdeR6crtwI+IpZewKQZ/wZLHJLoc6fr3RrgGVKGP/OL8CLrE25Abm2b2mWCGcqaWYUQvkCPsJkVCNH4+vcQWaT2rESJ+S/yvFOE2CnQE4VyRPnqt9gMObG5db/c0CK4EHk7tBJdQ4sKc5aOP8cNAIkhWuUc+gc0KAOOhfMRuDmNzybHj13UmJpPv5ePJuLKw4hqDxPxBg6oKADGSS5C8GjDHZxf9mph0yumQIMjPl6JwxSEm6o99sf1DJZgXczXAFf9j6vATSwGEGVpVw4Gn83VF8S+OrTQ9kvfgxMQdVqc8IuSytJpUKH/wTJGsnCdmSN3spX3mHsINoA3ETFtBj7Ux0nve8hww6aRRhBHi0gshu1Dx1r9K7wF++eE6p1BjwBxL5TtL3DlVJhfBs1Pk8t5X77q45cWCy6szJfIN2VDMI9w17OPOXjS1DkM6cuxr8qvMNzKcmA9HSop7/UzGGwMjRDluVVpV2D1jYOqRvlRog3jOXTwPjm22D8C1EceWeDtEcI8bBhkWAmoCid230pPtd8HIf75S3hZMUV/f10swVRUV+gqGA7vEN6GCkAmIPtJaciFEz4+9ETSXUt/1mF3crhl6r+wQA7xEhaOwpJ3wXzye7agsGhEM++hEX828e9qREb078KwtKsuCbP+XRJ1dwuQpvoq6+abRYHKDfCvEgKhv4X/9XpS+yGvA/yIh9s= x-ms-office365-filtering-correlation-id: 6d935fa0-0cae-4299-8196-08d4ce719bca x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(300000503095)(300135400095)(48565401081)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:AM3PR04MB1188; x-ms-traffictypediagnostic: AM3PR04MB1188: x-exchange-antispam-report-test: UriScan:(236129657087228)(65623756079841)(185117386973197); x-microsoft-antispam-prvs: <AM3PR04MB11885FABD8B9090B56BB4D5D91A60@AM3PR04MB1188.eurprd04.prod.outlook.com> x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(2017060910075)(3002001)(10201501046)(93006095)(93001095)(100000703101)(100105400095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123558100)(20161123560025)(20161123564025)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM3PR04MB1188; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM3PR04MB1188; x-forefront-prvs: 0373D94D15 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6029001)(6009001)(39400400002)(39850400002)(39840400002)(39450400003)(39410400002)(39860400002)(13464003)(377454003)(8676002)(229853002)(14454004)(3280700002)(53936002)(8936002)(6506006)(5660300001)(7696004)(81166006)(7736002)(2906002)(74316002)(55016002)(6246003)(99286003)(9686003)(4326008)(25786009)(38730400002)(305945005)(6436002)(53546010)(6116002)(3846002)(189998001)(102836003)(33656002)(50986999)(2501003)(2950100002)(66066001)(2900100001)(76176999)(478600001)(54356999)(575784001)(3660700001)(86362001)(5250100002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM3PR04MB1188; H:AM3PR04MB1185.eurprd04.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jul 2017 06:44:30.5980 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR04MB1188 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Linux on PowerPC Developers Mail List <linuxppc-dev.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/linuxppc-dev>, <mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/linuxppc-dev/> List-Post: <mailto:linuxppc-dev@lists.ozlabs.org> List-Help: <mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/linuxppc-dev>, <mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe> Cc: "oss@buserror.net" <oss@buserror.net> Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" <linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org> |
diff --git a/drivers/soc/fsl/qe/qe.c b/drivers/soc/fsl/qe/qe.c index 03874df..b66157fc 100644 --- a/drivers/soc/fsl/qe/qe.c +++ b/drivers/soc/fsl/qe/qe.c @@ -202,6 +202,9 @@ unsigned int qe_get_brg_clk(void) } EXPORT_SYMBOL(qe_get_brg_clk); +#define PVR_VER_836x 0x8083 +#define PVR_VER_832x 0x8084 + /* Program the BRG to the given sampling rate and multiplier * * @brg: the BRG, QE_BRG1 - QE_BRG16 @@ -228,8 +231,9 @@ int qe_setbrg(enum qe_clock brg, unsigned int rate, unsigned int multiplier) /* Errata QE_General4, which affects some MPC832x and MPC836x SOCs, says