From patchwork Tue Sep 10 19:07:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13799272 Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11011066.outbound.protection.outlook.com [52.101.65.66]) (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 ECDDE1AAE1D for ; Tue, 10 Sep 2024 19:07:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.65.66 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725995272; cv=fail; b=Qm28H6fI6znH9tM981CHKCtREfh4mFwH0KrRIsX5f0u5DJlUaRfwkE8paFj9q3bZR3dtF2wqIv//Yn8Ys0UJapTjZk8qZ469U1/+eHkc6ImF/ZZoADnWggdb2YqVa9tRAEV6JCtTGrfZ9N+wm+jQYw6dPD9tVEbsWSPKpYiuWnM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725995272; c=relaxed/simple; bh=7cPnhCSJUSFQl0yVoLJxwbOrnCIHH/QeAWGfdDS7p3I=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=k0tXtE+M2dR20Zqw1KIpjjbSfcotKUvmtIUSC6blsqZ4XFqT2EM9Y5+yhU0i7BQsvVvJic7Z2jNK/DeNM51zJHMViaw/QkS2OcnLDJ5JEdaAzxJH/xt1vHBgh+ylblm7HgI+S4GvZwKwJsJ/aAYo/NXQyj9QXpRP2wAG6BQrZHA= 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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=gjLAY4YH; arc=fail smtp.client-ip=52.101.65.66 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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="gjLAY4YH" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Op+sTRss2a/ybrnVnsykXl+jkyBHi1BV2IU4skeSKYRDIR1HfS3yid3h0O8MdiRlDnVozxbtTt4f1CnjmCKm+oyWc1BzcNVDqDHil1BOIpUCkM74GpPK3XJ/Tga4BgxWj6s/Si5vWQ5zFmxyV1ylmOmjNhDa4CwlKqsel1jxMq3J4aOCpS/6j09GrpekNFGEgElbB26/lfDo9rIi9kBva+edapDX1QowSXd5gM+NFaUZZpks3Hf9tlD3It6uSzFpz2epYBMRQekf7wmvCSbbASYgnJuen9zRnmEdZwy20chQVF5VQuwdt0XOqsw1NmZ4Q6b8j/1y00klaPO89DCE0A== 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=6S5qPC9dLd+uFJW3y7aEhwRdoqpfhTFn0U6wBratWY8=; b=EEUCoRAtnwe9wVVnbGbNLF42pa70bLlrkZRYKHRQ/pKc8e3q6iWHK7ZqAz9yrGvuCL3fdBbb3xkD+KtjNPSsdkBNYKN+kswUYZqYJqrBM/mcwVLCjVcGwkMLu+z4WjVPaS924w6ooWdqh9i4rBdkkfhiZLoYE3pyJ9MhjL04lm2tiaSS1HxGrz7ryEceqDv7dn1V20lFH539YmbyV4EyySNYehOnEOiaNOEVcop+7Il0OnM9+ZY1GEaGtSMRzMwO4B7Rm+KuBMcD7gxtEljxU9X4qI9HD9b0A7YzZIs8i4zcdiJex0AHdpz1iqLfdZl8GU9iq96aIzSXm6dyQsNerA== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6S5qPC9dLd+uFJW3y7aEhwRdoqpfhTFn0U6wBratWY8=; b=gjLAY4YHP7y+JL7bJrsVz4uvKu/W8KxGEXkwQTYb3F1huOA3iIR4UvdESnf0wcff+jyUpTWnNsrK2T7wJNI5IyeUGLByRoaak3k1HQW2YlRjOErPrl/cD4gS4zZZnZfwwDs2OkAH55ObdLI0i6pEpUZNaRuVHn+2zmmEdePzwKBmXCpb8SMkEU6uH1NymrA0mKisXu62JGyjpvbuLsWTVbT7iTaLttHDDfhDHJPUxf8cPkN7g56Vtg/k20RCYwtCE5gnN6nneEggsgeDfYEfxnWVwBgTQXigfJL8EUnnw5vXeo3ITAFjO63CzJZu8KlCFqXm78oVO6GuchCkF8+iUw== 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 VI2PR04MB10115.eurprd04.prod.outlook.com (2603:10a6:800:21d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.23; Tue, 10 Sep 2024 19:07:47 +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.7939.022; Tue, 10 Sep 2024 19:07:47 +0000 From: Frank Li Date: Tue, 10 Sep 2024 15:07:18 -0400 Subject: [PATCH v3 1/3] dt-bindings: pwm: imx: Add optional clock '32k' Message-Id: <20240910-pwm-v3-1-fbb047896618@nxp.com> References: <20240910-pwm-v3-0-fbb047896618@nxp.com> In-Reply-To: <20240910-pwm-v3-0-fbb047896618@nxp.com> To: Marek Vasut , =?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 , Conor Dooley X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1725995258; l=1015; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=7cPnhCSJUSFQl0yVoLJxwbOrnCIHH/QeAWGfdDS7p3I=; b=Bam3qE7LdW7I8HK40G++J9Q0EB+MBDWjitKUiXZu3VvyFX7WYHIGXD5FQeHsAq6Y1vE5HF6SR KunCul3BIqIA7SWUVYZMgADG8IdDa7Xoe9WV7R/v2+/MzERRUsmErMS X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR13CA0145.namprd13.prod.outlook.com (2603:10b6:a03:2c6::30) 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_|VI2PR04MB10115:EE_ X-MS-Office365-Filtering-Correlation-Id: 2358c602-47fb-4aaa-97a0-08dcd1cbdbcc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|7416014|376014|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?cZAAP8Ey5BXgnY031Zjh7FcNfSnrsmx?= =?utf-8?q?NJqbqmAkz8TXmGHpXQ6PVXMkNZV53C8gWmt0DPe3ksv1BAv11TwOf8+Z1gXEmnBBb?= =?utf-8?q?Xb7BWrrgvB8S+YTxyB6/PwrS19cpmnwSyrGN1VW+yr8sr1aS9qBg9M6RZmalkcWLM?= =?utf-8?q?BROQn6e3xc0OEPViZyIgAVGfQ8mKtzpH333M90ZGbOneiguEatcSMvvWUaD4hbOVi?= =?utf-8?q?H5faCRIu30aerPEstQLXv0Y8EgL796hKf10zDKc2aeyeSsy40Ug5Ptqn5ilXAovZu?= =?utf-8?q?VWg7fNYRwUAv2COSQdut3FMbCLfrctVJ5zd1FyMax7UFiX3jjfUvQ9NxNsyPl0zhh?= =?utf-8?q?dHlWC2XAsl2DY4oqUzGuBYOsu3WeJGVupPZqdci4aHVgrwmu1JYHN6/i3Ycqbp26I?= =?utf-8?q?FBYyzAZZ7+6zD78QGkSZwjuHSSIzZQWrbHpM4lwPX74IBx/LskOVoGgrfebjWQMBo?= =?utf-8?q?YD9QQBxGOB9KQkWTK6vagbRiGftVMUdB2Y9lUk53QVin1FiDBAyXJYt3MH9cCwN6v?= =?utf-8?q?m1ei8gX3lnRxodWSxPdPGmjrGJop+CtjA2IU/K3uy/jMzdIY3vm2wg8m2xA0VP1iY?= =?utf-8?q?4VVdFdG7WXwm4OMpF43k2IFkIh37Z73MMQWbxS/gVVyYrbeO2dyi79gvrM7RFZ9Az?= =?utf-8?q?JLBGSBmcXXq603QVe2Whl6YLveGL5tV7T16Gph54wbfH+/KGlw+0pdSUWunMv0J4S?= =?utf-8?q?wRhb3ws9j9xlADu8umlv2/klHZHofYNxvYzCDVdW+RliZyxk1mNdtlu+d0XYdrLaB?= =?utf-8?q?c8NJsh2t6tUG3hxyEtxh250WA6llY79YPD+EIl4K0lmL8TobxeuOuHGCvPuc90Nzd?= =?utf-8?q?KDAAXJo9Oxsg3iIEO0YtX6MPjhH3aGjtZE2O6lA33sc3eOkTQWcLzZ3Iww7lh3Pqj?= =?utf-8?q?XbiO3SpjV99SkeySEg/2+VhRcvIuoWVxPXMbqX3JUBDmuznSF6olc6/XVA+5GKuZz?= =?utf-8?q?yuuu6mPhX1HCtWGq5z3dns03S8T1bFyaACopO5trz1jX8nx1VuTgha5tqdYVgceQG?= =?utf-8?q?xsyzoNnwF1nwZj604uU7Bgdk45JuYAJSHEAys+mD1F8BCeOFe6dZKRugKHC5ggZpm?= =?utf-8?q?ckjTMXSzMfu84kDnXfm8vvNV5i7U9mbt8/qxpXtmjwQRrFh5L/jiuZCgIRHgMK+qL?= =?utf-8?q?i7j81dlFIzzqHzeEQfowEx97vyhHFPoMoeMz+KUsIgIiWXkHBS/tFD7LcmdBDmtDF?= =?utf-8?q?Nor0zOt0EeIdWC/f21Fvd1oANhNZDz13pI82OAtQF4C6OpFpzqHGFjJIx3q88hyB1?= =?utf-8?q?RxJpzW3QC8+e/tGpWiQfaH/nUC2RBPK7rPLleFcSmiQ92J0yeFAM0qq9BcCsL17nN?= =?utf-8?q?UJNHs05V7eTiJuU/udMLEVjY7trmMaGzrdc/E7Kus+WFEDKRBT2Fae8=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)(7416014)(376014)(52116014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?bdCYo+sExvuwlnd7L0O6s2lYvix8?= =?utf-8?q?8rZaS4f6Y82f6N2JbgNBNoMiAAl1roME18lWyMmKZa/Hiqp8bRc+g4uiTcZ/6D/dE?= =?utf-8?q?TReSQY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ztaaJedC0jeRHmcmn9+1WQn+kDQpWYzT6XAdqa32o4jf3dZE9IYqr1mFDR?= =?utf-8?q?urQPEDWNvbOFDyBPAijWTmDWdaVvrXclhcgzkYoTcvz8FSclOv4a3s12wdLNwOm/B?= =?utf-8?q?JR6DOHBbMzpUXfFqkv8dz/bY6CSVOAH2PJditQotnHo7Kneu5NKu6LS31cifeRCN9?= =?utf-8?q?LsF1PlPXW3a4TMRU0iWJC6hHC0S3eti5hljWpTILPfU/1Yr1mW35tcloDD/FNTHbg?= =?utf-8?q?4VKBotW9HUUqQ6oZd9Tdxb9uuaJBnhWjnj9WxWBiY2eClsJZE/tK8qSN9cpxX7v4S?= =?utf-8?q?3LThtm8xZSVjmB75ukpizxe4lCeX+Rjyi6odpFF4HalWwP2ULGLDAPZRZnEkafsbj?= =?utf-8?q?eZR+I/4pB0/+WFVTyVTVFgOhxfePoyXAWtTcS+E0z5ChVosk5FiFLRRxdjXQD90WF?= =?utf-8?q?8Xkomo58RSgaasnovsKd+FryNC3HNqgPhYBp38ySyUgSOIE4jHSV/cvb6hnG5YjHi?= =?utf-8?q?+tsiy/rpgDsrbVhutmU2afJVJ0wU5Yfba4KyjN+r+B9uEAX/eSKPhamE=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2358c602-47fb-4aaa-97a0-08dcd1cbdbcc X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Sep 2024 19:07:47.6981 (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: 4TrNZ2CmquKfk+8L0bSiUTMfyg8ocuWj/qWVtKcT04dSwIjeBJmSKZFiWVnPVWWa7LVabEjQBgrvwjrViSbwEw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI2PR04MB10115 The pwm in imx8qxp mipi subsystem require one extra '32k' clock. So increase maxItems for clock and clock-names. Acked-by: Conor Dooley Signed-off-by: Frank Li --- 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