From patchwork Mon Jul 15 20:29:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13733878 Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazon11013008.outbound.protection.outlook.com [52.101.67.8]) (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 4A73413B5A0 for ; Mon, 15 Jul 2024 20:30:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.67.8 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721075422; cv=fail; b=YEo0MMqQjCvjofClWdNPzoCyX48yucpecZD5kJeEvuzStR+XMHe4kPS4vjr0Hd/d34KO94OopaSdt+2b0ISO/jSVrhjtSDLEZTv7LP80Sth44BmGPQcKeV7N3mGv1vFmK1un6PjogYgejhakZzXHBb0OS3p2GvHAgYSq0le7eBE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721075422; c=relaxed/simple; bh=N92j78PF7Ri+PngaXFFDMFFV6SHAvWi7UZCRPNN3Jsc=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=Ywe1JsxnG2SV+G+lDij6OXSaCb91EKRp5hqsRgC0Tpob27QmzHU7kjYzwohrjbMSVhovyArMHW++LHwYnOj9Jgn0U1Nrpk96QPXoj1GpogJhjAaY1tfTmJfj9FT9kHRKlkuFf0m2dts/QAm9El2BNke6L1Pd9lA/JAYjWdw/tdM= 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=PEnu84Lm; arc=fail smtp.client-ip=52.101.67.8 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="PEnu84Lm" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=e5ikpfqFV/zlYuZQ9T6diNOHOMn7/tJ9kQAux3rebzH9/LUW46bu8vU6Yq1LmH5dC1lC1ngys7UZZnk/8+tPnPuGRyZvofEIGSutIQJWrEkZrqKnlz4ILVuEJF0XIP/mInJriyiewFeqF5tEuoD1T5lDEz8zdOkjNy01I3RP7kqQWMlO3+A1NU+zptLuHH/8tl+2OYg7TmhATif27G6XOzFophMHZTbAvbCWzTL7di/QE1OQniSXkaF0IajcxLZT+5zgkxUfFWsOXC3p6cEZBQi7A0PwgMteXw6agUQgFkA1RyqCmzjI9XtG07zawS5hyQ4NjykgTXSsCH9usKIlRQ== 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=ObxXzQFhjjaq1HSh3InarSZnaei1qz4Q8BQ8Pedp2rY=; b=OvfCt5aj/r936Pf5piQIhkZRXAAWvPnsWmqEKplzazCsdn4WUYHWYkPtQcD7p5hIDou2VQjlic2cv9wZsok/j9Ff4DnJNzAVbP7FAKKt0WSyIkkAnVPL6g4CtlR0BiszDlOrXxpa7zOYV3BgsrJCmO72W/1efmy2qyli7WnB+0I/b5X1tjEq7gjOQhBMAmIi+TeNmPIMvhelztmZ0RCFLtN76O95X9OIYRyiGITqCl8L1Zm/15wofmwfUVvNQNVJwkNFnI5ElOrnT5TDWNLlUEcYEOVbPGoStzyzKEi6soMyZULfjyX/WDQOItbH9AuSRh9Pkt6WTkPEFp+3jUSUPw== 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=ObxXzQFhjjaq1HSh3InarSZnaei1qz4Q8BQ8Pedp2rY=; b=PEnu84LmDHhqsymqY2ym1EDwDTRfxgnbK0hzPVTH2aSFKhEw1IyJs0lpaU6t1hmMbiV14ZYY3Z/gJN445Z1TE/kEUFxHPSIrijbZuV7Y1Z2szUMzacslM+cQPtNDJbn50bsKcGdheVcdu6qgU+WKrbv/3Kpf5dBukgdiawSKyuE= 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 PAXPR04MB9253.eurprd04.prod.outlook.com (2603:10a6:102:2bd::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.28; Mon, 15 Jul 2024 20:30:16 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.7762.027; Mon, 15 Jul 2024 20:30:16 +0000 From: Frank Li Date: Mon, 15 Jul 2024 16:29:50 -0400 Subject: [PATCH v2 1/3] dt-bindings: pwm: imx: Add optional clock '32k' Message-Id: <20240715-pwm-v2-1-ff3eece83cbb@nxp.com> References: <20240715-pwm-v2-0-ff3eece83cbb@nxp.com> In-Reply-To: <20240715-pwm-v2-0-ff3eece83cbb@nxp.com> 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, pratikmanvar09@gmail.com, francesco@dolcini.it, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1721075406; l=962; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=N92j78PF7Ri+PngaXFFDMFFV6SHAvWi7UZCRPNN3Jsc=; b=sb8L0+kcfVcFhT6/BqjkO2Vsduepsk0r9dTSApE9oKrhLUT17iTIpAN1JMJssq1A4MIg7Aq3j Ha6VlMf/uTPA+HAX/ZRVzt8Cywjd88a+koKK5mHmAR5JX6+DgoJKiPR X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR03CA0166.namprd03.prod.outlook.com (2603:10b6:a03:338::21) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PAXPR04MB9253:EE_ X-MS-Office365-Filtering-Correlation-Id: 08769747-cba9-45d6-47d2-08dca50cefb4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|376014|52116014|7416014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?+U2PqdkVUwb2hS/Mldu5yKQtupCAFT5?= =?utf-8?q?RwMsjdfNvCLrbX3dWN0PCSRTEOloZZYoAH5Br436ogO2l35Wkg5OYywX/h/Zn2RN8?= =?utf-8?q?M5ll0Lql1sU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5i320w+UzGFRpJzsgVmUfyCYjuUMArJPpbxYPDojntJ8fP6dv?= =?utf-8?q?cBytpfDBxrmvDQ/uQPBXqq7J8XP4M0e1kaybLl3nO4MXaDbnxGoTy+SDOb9YWoxQ6?= =?utf-8?q?oQOPdP+Xk71ETOq3J7tyMrBcJhr7t1B2QDf5QXNbwtqae2MPqpFctmH55BBt1DusS?= =?utf-8?q?Un2gEGBP/WIlQkowlljOF+Cn2DeWfLjoS/NlowAOCNre73kSDBtcmgif3TbMMkaTu?= =?utf-8?q?qsCCExKm+R8xwRvWPSEwJe10d+4jgdB5SgPjIbUyRDc0FDCgkKBpUdHI5Px5c7Y/z?= =?utf-8?q?REhPXa7IIZI2IePrJdHUQxZtgWF64m8994uprqc7Y9pP0Sp6U/vE0+ynqNqm4wjEB?= =?utf-8?q?lZRwX+XzYbNzxTkwd9JTuSSTFmqQGzZ7Uw=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)(366016)(1800799024)(376014)(52116014)(7416014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?xuzOco00xlhgKcK30kQjD161b+v+?= =?utf-8?q?69MjfE7Ecmt/cgw8NhzlfNdHHDVq3y7BlqAiKQxaVFDBKh0iW/rtSGWCOBhweLyyF?= =?utf-8?q?Dh8cKXCHxzx2SiFvHFTJinADhg3jBF9LcCTTfuSAJBkr3XEDax4iPJrqUBdDksFXR?= =?utf-8?q?fZW237qwS8POvrN2kL4RAQImHg46mO0zjzdtkcAK93ZR3HPKnAAr1+GWPTo7C3O10?= =?utf-8?q?sSsfWVjVzXSlwYxdirjLYlszvKPMSqcCfLdnn7SMvHlywJQlEOafRxaEp+OFI66x2?= =?utf-8?q?S9ag5iulz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bhYgn/vFOCzPRWNYU0ccMVrAzwDNJynhyEhoCb6vklOxPJUuEerj?= =?utf-8?q?rql9jYnxFey9Y1kVMOBT73jWdVZJjFBamxzZwQzbq+f+pXzoA6UJ4HPerOAK8RAvq?= =?utf-8?q?puwEy1AtHrSBK/2DE/ZUj22M0skAFAHfijaTE4LKQQfBDi4ApEnQMohBO/biAEFEu?= =?utf-8?q?T6tdQ7zc8P3Ut7jE5Eh1WPxS+0J0DM9bArWKNgLH1UOIm+wPxT49vKuqC7KoAKxPO?= =?utf-8?q?Oh2PStm1kcLalHQjEGswS6/CdNuGrz5t9kbnSbctqWFESX6w1Qz7phqPoBm9BXrL6?= =?utf-8?q?oqFxxr7QdKaIOxuRxRZmzqf3VktSJ6pd2By2+9rvAKnPgJVNEqw4XV0c=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 08769747-cba9-45d6-47d2-08dca50cefb4 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jul 2024 20:30:16.0426 (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: Ht6rOyTDca03yTcHbb4LR3M4X6USDW5a635Q9ct3JAOoBRP8dGkelDvOLRzRgN2WG5wWmE+uJwlGa7dejWn0FQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9253 The pwm in imx8qxp mipi subsystem require one extra '32k' clock. So increase maxItems for clock and clock-names. Signed-off-by: Frank Li Acked-by: Conor Dooley --- Change from v1 to v2 - remove compatible string fsl,imx8qxp-mipi-pwm --- Documentation/devicetree/bindings/pwm/imx-pwm.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/pwm/imx-pwm.yaml b/Documentation/devicetree/bindings/pwm/imx-pwm.yaml index 04148198e34d0..bc6991bd466e1 100644 --- a/Documentation/devicetree/bindings/pwm/imx-pwm.yaml +++ b/Documentation/devicetree/bindings/pwm/imx-pwm.yaml @@ -51,11 +51,15 @@ properties: items: - description: SoC PWM ipg clock - description: SoC PWM per clock + - description: 32k clock + minItems: 2 clock-names: items: - const: ipg - const: per + - const: 32k + minItems: 2 interrupts: maxItems: 1