From patchwork Thu Jul 11 21:08:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 1959531 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector2 header.b=r7S9a3AH; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45e3:2400::1; helo=sv.mirrors.kernel.org; envelope-from=linux-pwm+bounces-2766-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org [IPv6:2604:1380:45e3:2400::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WKnRJ53Flz1xqx for ; Fri, 12 Jul 2024 07:09:32 +1000 (AEST) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 382B4281E83 for ; Thu, 11 Jul 2024 21:09:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F390419EEC6; Thu, 11 Jul 2024 21:09:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="r7S9a3AH" X-Original-To: linux-pwm@vger.kernel.org Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11011027.outbound.protection.outlook.com [52.101.65.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8C8772836A; Thu, 11 Jul 2024 21:09:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.65.27 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720732168; cv=fail; b=H5TzRJkZCt0vWUl/KxKn96+lVudDS2AbqDHen0u3Xsb2YrhDftWP221akAgzdm5GPoKD7/TpMuolXC1bFv/njavf87IZh3h4FH9+ro/ToIMe4+YA0tJZ+JaQBF5Ns98rRDpmCzfaDv2NADawLfBls339ywYrJuk1fm+4GQ6k6K4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720732168; c=relaxed/simple; bh=GLxyVDVzcZ3UEl8gtKcSzBScsOuqQDWNx2DhjQXwyuI=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=rux6H50Jx9Op1FQm+9tg3HjTC8F7DwPkTA7xy0SW2HQ//mMfkpmyZ2uzH5zZQgSZJV5+eGhlQOsmT2P8KL+GshVMR8VluLI3wU3VxIzfpgLA7UNzzprD+ttlAFZHpIau3DI6PKmDn1J5QkWfPMldzvjy5KWFGp6r5iO0mG4WutQ= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=r7S9a3AH; arc=fail smtp.client-ip=52.101.65.27 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=iFjX5lXq58AGnZRcoVIRISasaZ6kiUPC5lg0N63OJRDjx2xuuuGM0j5R/c4SbHQpZKeMU9HYBwyIsJQdrir7jqiZ9eV7VOMESXKDxz3MvamQbaA3gs/o6pv1+BJcwBodf3lTxJyiUWHOl9DVtB2qBnKob3UyquDPn5AzqoYHYyrtl59dxy8kuytNQgFOUqHRR/wGtdDzvcK+cbi6jESy5DxDgvMJJuOI0+IKfRv9vm3O776CzHndPauc5EbGlPCuogfg07eDDswTTX/2jKZZ2zsAtJCUvYaUGwEPkVBVkxx0XJ9uuoeaNPuq4wtRdlaTJ+G5OWLhGhcd+czLs0RFuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=pfqz+J11kO/oG2BWriRE0KCStDpXutGXgdlRzqyeQxU=; b=lb8wwINDERfCILvo6jL4jFhuayFa0t+YneYs+SRH03uGjyXNVOVHsNjEdAPBVEG0t4kJmW/UGu3x8HRW2oVOKSCH5cM2uoRQn/GnZ8ogRwYQIYbA1cYfV5H5qiH1lUIMaOMZSiZ7JLv8oxCckE7rg9nQOd0PbTD21sbf73nxfZjXVPrTBkEzNUO2BWPxhAMf+vXwSOodYLB9vggnvnZ1CUghLsGCco1EJTbP6pzRr4SM0FKDUdSjxiX/RCjaJ+2kwFeROjnwC48BcMxEA9vq3hFtzSPfONquqz0+M7x2Eym6sv3MzR4G7zbuXGc40a3yUqb34xbWccocHEX2TxNV7g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pfqz+J11kO/oG2BWriRE0KCStDpXutGXgdlRzqyeQxU=; b=r7S9a3AHyCZXyNk63rCmvjyC6Uf2DBj1p2YvvpHv+kP1rHgOmvHzjHCRFMcX/4tnumS5WCmPckCBaO2+j9RUkxu4fak4l8ODUiakYdVzj563+8pExulyPHYyxSiJfymMP85i+ZcMfozo12dFODxqLN8ijHMvXhb+WXEAUredFJ4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AS8PR04MB8753.eurprd04.prod.outlook.com (2603:10a6:20b:42c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.22; Thu, 11 Jul 2024 21:09:22 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7741.033; Thu, 11 Jul 2024 21:09:22 +0000 From: Frank Li Subject: [PATCH 0/3] pwm: imx: add 32k clock for 8qm/qxp and workaround a chip issue Date: Thu, 11 Jul 2024 17:08:55 -0400 Message-Id: <20240711-pwm-v1-0-4d5766f99b8b@nxp.com> X-B4-Tracking: v=1; b=H4sIAOdJkGYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDcwML3YLyXF1TS0vjVDMDo2TLJCMloMqCotS0zAqwKdGxtbUAwbHbp1U AAAA= To: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Philipp Zabel Cc: linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Frank Li , Liu Ying , Clark Wang , Jun Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1720732158; l=670; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=GLxyVDVzcZ3UEl8gtKcSzBScsOuqQDWNx2DhjQXwyuI=; b=2CFmPHUO5gRPqcrfevbLtg3QEgScFrEUIk4xOSiGMMjWGg3Eg/1y6FPEfo7pUwB108eQGSVD9 eagv46Eu5DCDIfYhJiFsBfVrc9L+H5ZbTF0fCnAU10/iVbM/g5yDiAK X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR13CA0234.namprd13.prod.outlook.com (2603:10b6:a03:2c1::29) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-pwm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS8PR04MB8753:EE_ X-MS-Office365-Filtering-Correlation-Id: 1e647e3d-37a5-43fb-def2-08dca1edbc99 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|366016|52116014|7416014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?U6tNhS2FeYdL/XUds5iEZ5tLwpfOrXc?= =?utf-8?q?wgIOmwJdMrL2Nu8kmxyBUX6xAVf8ypGReaQjAHHeyoOdBdAVONtk/y03+dN/e8hca?= =?utf-8?q?j35SeUYoMdhhkW4oCWAqx96nUANW1lcjNTNUBlsl9hMZ7Z+Zicja1KWBZ1hBgWYMG?= =?utf-8?q?oyXkp5Wo+MzdS8l0ORC6Sk7CvPBRhvk08eTi26QLxVPxF8zEiOWKdPSwS7TpV2Eh/?= =?utf-8?q?TSIIkM08Yz482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uI5ujdzGUu7uk87lthDT67DZc6qY3U8MZuy6Ih1SSqZ?= =?utf-8?q?zc0JIx/xolY3N8TFnxKl3M6voRn+bB9Qg8entf9HZDIrVa/u3nPs09W0koCdt88ZV?= =?utf-8?q?5J/0b/5mmPfwrDeqSu6TniinWujUQ9jSgxKztvx+tXAOc4kxi/EltPbdLunECCWBV?= =?utf-8?q?ePwowpQVxFPSGe1Twhk2V4opc5XY66SBEAsRrImP0cQfsnWCQ41Lxv1RAj5QNlCuM?= =?utf-8?q?I0AVb1lm6LWOLPspmTjOplkKujuN/4GBzg=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(1800799024)(366016)(52116014)(7416014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?mDO+5ReE7eAtvE+HqgRw+pPbY0bl?= =?utf-8?q?n4vLRlPYGesEe4FhfTVFL5lRjT3dA8yV9F/TJRW8gN+GlIlAeff0hTfPkHhe3FIRE?= =?utf-8?q?gpZlX9mMyCIi3FfOrdBuAnZbFDSL4U8AKA6KhSP5FAX0neVplAmfq6l7savzbod20?= =?utf-8?q?bOEg0jwhbpxI36TGkGnxHrZmlYQiIPbtcTKYEhv6ZETV5HINJEkmgE9l/iSp/0bmJ?= =?utf-8?q?2Nt3f4H53t1l03yxSqdR+oHgBiL/l09NdfzxPJn+xO8Bvp/04mWeQO2fRF2tXmo+w?= =?utf-8?q?NmwMW6LKTxD5HeLiSXV0Yyc/NJtPS78PEjI1htajPudK3N81TKunmIxalyGZSR9qR?= =?utf-8?q?R4pRjt229TL7h0OK9QnvizYn374JQ/iV5BEaht6TBh72zD8iDVXXbBA2q/2phKrew?= =?utf-8?q?ASHmuI7IDhjVJs9Hf562H+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DzxJJqHmdJ7lYTYw5w3Fd54asCPuEBxFw0?= =?utf-8?q?BzpVOJUiPOuyrja0A8jjgrW2dDL/r22CE+K3a6p/F0U9qNRvp5ZoEW1jF0le9vo3m?= =?utf-8?q?IR74OGR9PJBm2YMzNmuA/wqGIA8Fdv+L4J/At04LWTUz/poL1ECqUokQ5ESPDxfH0?= =?utf-8?q?0wi4A1jcT8X1mJlTV92OOPHcVm6H1vLwmAA0kJbziOceMSjTtt5VeZqWpnBxwKx5+?= =?utf-8?q?EaE8cGx3UG5a?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1e647e3d-37a5-43fb-def2-08dca1edbc99 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2024 21:09:22.4407 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 7RVXqhO+3OSkm05tX+VIkGYS4vaRt/N/HJncsPhxfByMG9zVlsM34BiEcgEuRXqkMSlEFm9mIKv3+Vu4Okajcg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8753 Signed-off-by: Frank Li --- Clark Wang (1): pwm: imx27: workaround of the pwm output bug when decrease the duty cycle Frank Li (1): dt-bindings: pwm: imx: Add compatible string imx8qxp-mipi-pwm Liu Ying (1): pwm: imx27: Add 32k clock for pwm in i.MX8QXP MIPI subsystem Documentation/devicetree/bindings/pwm/imx-pwm.yaml | 29 ++++++- drivers/pwm/pwm-imx27.c | 88 ++++++++++++++++++++-- 2 files changed, 106 insertions(+), 11 deletions(-) --- base-commit: 366b147e98c933f02176e84d73eea4b503bc5362 change-id: 20240708-pwm-5993e602c9b2 Best regards, --- Frank Li