From patchwork Wed Aug 28 03:04:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bough Chen X-Patchwork-Id: 823248 Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11011068.outbound.protection.outlook.com [52.101.65.68]) (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 13E188BFC; Wed, 28 Aug 2024 03:03:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.65.68 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724814217; cv=fail; b=UT+jkEml/burJuZAPeoUTmJ7Ymeyhqm9sw++6sWPR1E9HBEblACkplPGuho5gzrzkGqH+pz8TuCRYNlj8Lu201vy+Fd5EKDJVsUIlu7focxozoKi6+ggXCsrDno1ySH2uyamGubz8x/8Yu+WfgmJrUWNrAZQJ30E7Qp+zoAtVOk= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724814217; c=relaxed/simple; bh=oGnS98lPhxczB6mDNEqYznk5hD/tpVTboa3OaF6wPM4=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=kUudnHNDYS7Yk/1Ua1Mao7sEW0MCeyAfF3/TCEPjZ1tuWw07ccVN6jAErluf8Wbl4BWiIXpc8SGDs32dtKhjyXNv4HTTS8AeaAwQ54D8jZDtHs+9+50BY67ob/Ud8pS5mWu36S7arLgV54RXiIGS1uJZpgUYFNhmU19AFeD6ovQ= 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=DsDFvKJU; arc=fail smtp.client-ip=52.101.65.68 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="DsDFvKJU" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=BR5Ybcdnbxf/jHlmS1z/qLFkAwk10v6ofNiPaqWsq9ptfW+jkVA60LxFDIxJLsCRcusl2baBVIXJSCfos7aLnVDi1aGQmpAIYQAJSq+N2Pa6czbF+KMSQ37X1nIgvg7UAP8iDT/GLx3lPKUWrTHg3hxUzywh4fTycCmJTvvO2IDMrn+RzTrma68s2Rf/ZVyYPmLht1A4bcYB4ElJBLHXQ+LfWk76G1jXG9BGB0h3pPOCXCRdti9pvTMHLWBJnxvuQ+V1H0en51b/w0tB54hbfKR2ciOcDpRxUpFkGuiqGBDzDaHpaYqLWFN7XGShzAPDTLMWMeL2tUNSQ4yhgFDquQ== 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=Wv29+WwzOerN4PtyS4OgAEeHrN9UH0oW88kxAAmhyPM=; b=JFYuH2mDoQ3arWn9RpK938qRzMp2YnFQyC75akFlwQ3NCZthI3UtlCImYq3Jh5KRNj6oD+Hg3RYzB/vsk6yoPqEnQ40JHmf0j/b1QfkiIGlFJDGKQdllTIdRCEPO3utzYpAQl0cdLpJ7Zpjow7u6Hz+Q7p1L+Z/LdFJ+y9vbVQDBksFjwen4ulB39ZQlnX1i8I/A7k+KnHCFWcvBuSCb348VyEiKaTrJrox/5PIrpO3Gwbxadb+Y6jGEZ9p1QNCnxE0L79m8w5pPYx8awpAue855efS1P0KIGAsN2XKGMYh4qPaxTOqNQMgkWcpR84M3A/Wf1pzADSNCB14cBQsxYw== 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=Wv29+WwzOerN4PtyS4OgAEeHrN9UH0oW88kxAAmhyPM=; b=DsDFvKJUCGhD7MA1O4QEwCs2aULqohwH5ID96SfFmdVMYUWSEbTkiLgrkgn78YysGM4VhNC83iG5y2jznwV/6AoqfISgHG3cCHnHYL7lUWEKnQl734BCixgHPMGNr11wqh8IiBSW+ObMyN3KSL8wgZHnhaTd5YxLjfWklzUZr5HcLwLfiAF7UW5tik8AXPWP5/7hmytpwzswa2Ck4b05baja/QeAxTsoADDMJ9Fwnj1iIUtFEQQf7S/xfj9j/fNdsPms5nJPSxbFejTn4jbEQNJiNrH0HHPaq8rINMeONvCovYiw+g24eVK7pGqimL7XAd0gNRYtmJ46laD65Gj9dg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU0PR04MB9496.eurprd04.prod.outlook.com (2603:10a6:10:32d::19) by AM8PR04MB7761.eurprd04.prod.outlook.com (2603:10a6:20b:248::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Wed, 28 Aug 2024 03:03:32 +0000 Received: from DU0PR04MB9496.eurprd04.prod.outlook.com ([fe80::4fa3:7420:14ed:5334]) by DU0PR04MB9496.eurprd04.prod.outlook.com ([fe80::4fa3:7420:14ed:5334%4]) with mapi id 15.20.7897.021; Wed, 28 Aug 2024 03:03:32 +0000 From: haibo.chen@nxp.com To: laurent.pinchart@ideasonboard.com, lee@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: linux-gpio@vger.kernel.org, linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev Subject: [PATCH v2] dt-bindings: mfd: adp5585: Add parsing of hogs Date: Wed, 28 Aug 2024 11:04:05 +0800 Message-Id: <20240828030405.2851611-1-haibo.chen@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SG2P153CA0014.APCP153.PROD.OUTLOOK.COM (2603:1096::24) To DU0PR04MB9496.eurprd04.prod.outlook.com (2603:10a6:10:32d::19) Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9496:EE_|AM8PR04MB7761:EE_ X-MS-Office365-Filtering-Correlation-Id: 44368176-7b32-4c9b-6962-08dcc70dffb6 X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|52116014|7416014|376014|366016|38350700014; X-Microsoft-Antispam-Message-Info: WQgfAOf/j9lu8DHBA8tdEftGjKiDkbTj3nGEGGZEUw8t7NeV/vqDzmfAvIejapTy6aE/3vGYuP5eCbs3FHJR1ghK1tMPXlIslL+oQxaLi79tMaHCQWp2aHJSIyoDsZNa3giqDtuvMboMFTHh93HQyzHJtFGVbQzdw8mY5O+SBuXR6x75X5OtZc8L5786abfOX6qlxDYpEtRAqFOZwtIfn4bkrKOP/JKur62S8wh9RJ3vlHbZ1ZVzw2iwkoNFqNKa07TiWqNmcrPE73hiCFtRiOQihwU4ggjJo89VgpjjjZNru7JLQ5qBqKNTFtvi1YznTo4W5wFkId1pqxZ7lZce6x+4ncTIvPFbUSU1HS7mbrdiq6+nNhktlKrTV0YcnRFZgBdYxZ3GAx71QRrlhhGS0q9LUwK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; SFV:NSPM; H:DU0PR04MB9496.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(52116014)(7416014)(376014)(366016)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: H0kgvCdm7Nzdr5bm6M2o7KTtsWBjkeuQTYVb94jJut+v26nB19GzE82P7yJv40rp/3nTl3LKEmP6IyaPTOxs8wYrIN7ghIkU8mLn/yBdTHCI9crpDYY+KM+V+hF/v6LaovMqWbi1pRH4gTppi5BI9KI6n3/LBe0hn5YQI8dvOoL/TFbymm20GoHZN/IsKLzvOxwBrmBztUv0uOhtHQQ+nKGOS6i5qdBFGoVKyWbUZ9NFJOcHNHZuklOh45RAMMjgGc0nQRy/p9KLsbNQR7a+++UpebXfrVMhmEahoCLG3rxDnuY0KhI5eJQldJEFyxkpIsFtv1jN6JxcQopYLDvQXBE6X4G0teI+K1fp9fHrNcvBKYIS6yyI1e6aEHey1/2NaXAXgkNuY/G4rl8TbTu7Asj1VGjJIYjPR0Ihrqvr0+A8AsNZxlZVwoNcSvbN1IUIG5y5a+3ugHZXQlVb5dI9kO3oV3TQSaZY8Gl5fy3iKei8xobPBtRgCGnIWtEUgjGHyt4HAfviCOpGOoOtpNtar18qr8Q8+/Yl3ofcg7eTBJ7+uajazTdET1Nd+x6szSGw0aONeW3eFN0C94o2dOSerNBSB+s8jpV3iX6B21YILztdt69aHlA/P4a8dPb74mwZYT0tOiPFjp6MIi1KamUCvE3xl2NiDvYEwpudbfuapNGR4t+yI1tSQ/zd8pzS5cH1nsJHQgD3axnh/sdEEcLZKhMy/Tv/HAEUqirek0Vc0y85kPTcw6qqDnfQwCtXJ+x8vq3ExEUQ0cFPd5bkWxd5qrWt5+Fn/nFUFtEgFZLw//fFb4BydJuaAw5Ieh4EW6bN7eaujesBKXFLZk5OLisN0MNcAdrAyjyu4CrkMiI8FlLjG5YxqY7KEqH9Dkx6Bwy1GXK38qzyqGFpGI1CYF4K9qBU/efNsZEeOW4XUbiVwGM24EHig0kTbqjvS4BNMbUhw+d/r5pkSF8Ts4gXXn8y86xoSV3W7nTvaWXnumzMKJ1N+K3+Gu4QGEb6tid5Po32QpZuL7wZgsiIWTTi/cv+m1Krv9lHP1JpRiay4dARfu1MlkC8eaWrju2RO9sNaJe0Ex/6M9bBrgBaBDBK0NSi3YPgrb2+vsr9aMKzFp9a/HwT4YO5uMWrBBDW2ij7XjkCqGbb9gIgZztZp33ZhE6vRBwztZ83FRxbI1flJNN3m4UGT38szML0Es2+FGTNzn2OKdaht4qIh34wuKmuUT6dEtMfeej3aACLRZJhXRuL6Hsweox2oxnTaMkVzMr8/Ey5ckjocMjn9o0BE6VZFfsZI+OnZxi+dDz8h/+a3bJGumxlptIENzXSR+2sZG58Bc36qq9TTai7n4DMDEyXuZkt5jPDBqbbOk14zIkhzaJH60yTMDo8muH7ODSuUPIinPtj3ABwiWhT6Xhv/mIOIk1QZeXIMhTSFZh+O15cEGoKSzdY+/EzQ1mCo8OZE6regWCHnzJjWZ/lsxv94KR2+dyz07rzDo0GE4OAL9aVqQebI0v48gBGrKMMDtW+5Oynu/lMY0uxRZbI+nSssyiyC6sGWZ7WScz9Fm48O55QXWmrJEixtkh7BoFFb2JrR/no1s4Q X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 44368176-7b32-4c9b-6962-08dcc70dffb6 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9496.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Aug 2024 03:03:32.1961 (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: 3AvcWZlSwkRoGzupTIFv8L1tYli90oM7rRuZztkxllZD3YlLnCNjmFlNsScD7ejxou4CPJTW0VkwxkCHHmb2Dw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7761 From: Haibo Chen Allow parsing GPIO controller children nodes with GPIO hogs. Signed-off-by: Haibo Chen Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mfd/adi,adp5585.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/adi,adp5585.yaml b/Documentation/devicetree/bindings/mfd/adi,adp5585.yaml index f9c069f8534b..ee2272f754a3 100644 --- a/Documentation/devicetree/bindings/mfd/adi,adp5585.yaml +++ b/Documentation/devicetree/bindings/mfd/adi,adp5585.yaml @@ -42,6 +42,13 @@ properties: "#pwm-cells": const: 3 +patternProperties: + "-hog(-[0-9]+)?$": + type: object + + required: + - gpio-hog + required: - compatible - reg