From nobody Sat Nov 23 12:52:36 2024 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2051.outbound.protection.outlook.com [40.107.105.51]) (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 503551FB8B5; Wed, 13 Nov 2024 10:12:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.105.51 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731492760; cv=fail; b=MiKAH/Afvr4NxvgLqXGQFwm8Uo205wmCdijaq/iUo0W8YVqehc1FYYRJJvA61/37QcRVb/lEGLe6YRofIDVhlYrYhmwhCAzbKfrZa3F0MOpjw233uyDco4m4BOvCsyMoNGm9u5V9xyWRcZVMizUs4LfiiTMfCmTG2j5DNtecu9g= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731492760; c=relaxed/simple; bh=FRPrjdr+xuu/myXoZJW8WBf0xGo4kJxUmsFFubcL25E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=QVYrEj7m+6JWEJ8yYlKh7giFJqsMyReg6Ap5pUvnYjvfcl1s8SoACVN2nxdguunL48yQMhtfoRJQS5H+etGIYN+wLaHnYMyoTomVS5jb90sJebHo2XMyMD+30GYIlIBw0WHfm8wOahDrK4nSV/mktChcjCgKLrV4i+V8/hDjF/o= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com; spf=pass smtp.mailfrom=oss.nxp.com; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b=OHXGO76f; arc=fail smtp.client-ip=40.107.105.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="OHXGO76f" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=gSTHBWv12uvx2jtK377mVuhBSpBontOdL6GZiDYjXOk5Ggr2AddJrugK3ujOYgp/mX7gGvHyG3yQY9U+Z2EoTNQunijm+Xm+fR+A7SO6RBgkCHDSeot00MQgLUReI6MoRbKuJegbq2P5Xkj+yR+OWHIkCbHR/ElmTcgJB4EVgOFobjUaJhQGbwCOxeftmBhZ1HnaGEJHtumaSG+Ku692vD9qhTqpVi8MtoygHA+K5TMGbEkyzV+CggpCB6iPbjBLfwAOKBxF6FyoS2l9kM8TtoNyDR2cLj04Axs/mc8KED5r5SGM79Yv/lc/CypWG9TlabP1PWrlKU6Jy3MeNxvcSw== 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=2JMsIrNOcncD1mnEjvXrGMCWkZcNE+wVT8B+C65EkpU=; b=p/u6ONMpUxVTqOlPD3XIA0ga7bGeHdpcCFu+pgFplyDPTckkJccpCFg9E8Cd59jiObitml5ABb6v3pln34Sg3vTh7na59XcfZglqJ2gzn9yNWRjKcharGX+DH/81kOcjJPfH0b8hUVbBYgMICsbm4us2fRCTycMnhdL5/dc4wNRL94+epfoyxvRGJ2miE5YIFdGBOx1pipsOyBx23basDJ0oyGtLv3oLwXP4THsb9Nwk274sLzgMdQEDeTYI7uXUVxgksEIFfR5pAjB2qwGmvTqtiuQN7YtN6GAlcg+J020HHF5m+bMEOItuTYzVnbblal8qEuGxuBVPjD45bzgkxA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2JMsIrNOcncD1mnEjvXrGMCWkZcNE+wVT8B+C65EkpU=; b=OHXGO76f1ots/rmt2qUrocFxFhqD/Uou703B5EPbFYc1H1g/z7biUqu1ZTEBAfiSVXDo/XKcfPGAGAWftNIpE8ZTBWUy6f6jWJuQyTn+Lt5crVzEu1a2nGcyhex9StVK7g9nBSWWqdThvdmQLXFIbQ+XVsvKlehIvtPeQTxyLdBwFu2RfZ0t+FdegCav1EVNfU+jgIrRAjWDhSyYo+lcVQkEErLj67yp+875nI0dx1ZyoGm9t8SmOejA4NVMTzPAO+Gq09gKY//GQ3F9Hgzzf/rp8EgHBDyISSqUeEVmudwoQ9522nBfK+1TPhKkGSL0oIvCfbPbEd9gnxsDnKg0UQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from AM9PR04MB8487.eurprd04.prod.outlook.com (2603:10a6:20b:41a::6) by PA2PR04MB10129.eurprd04.prod.outlook.com (2603:10a6:102:3ff::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.28; Wed, 13 Nov 2024 10:12:34 +0000 Received: from AM9PR04MB8487.eurprd04.prod.outlook.com ([fe80::6d7a:8d2:f020:455]) by AM9PR04MB8487.eurprd04.prod.outlook.com ([fe80::6d7a:8d2:f020:455%4]) with mapi id 15.20.8158.013; Wed, 13 Nov 2024 10:12:34 +0000 From: Andrei Stefanescu To: Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chester Lin , Matthias Brugger , Ghennadi Procopciuc , Larisa Grigore , Greg Kroah-Hartman , "Rafael J. Wysocki" , Lee Jones , Shawn Guo , Sascha Hauer , Fabio Estevam , Dong Aisheng , Jacky Bai Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, NXP S32 Linux Team , Christophe Lizzi , Alberto Ruiz , Enric Balletbo , Pengutronix Kernel Team , imx@lists.linux.dev, Andrei Stefanescu Subject: [PATCH v6 1/7] dt-bindings: mfd: add support for the NXP SIUL2 module Date: Wed, 13 Nov 2024 12:10:53 +0200 Message-ID: <20241113101124.1279648-2-andrei.stefanescu@oss.nxp.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241113101124.1279648-1-andrei.stefanescu@oss.nxp.com> References: <20241113101124.1279648-1-andrei.stefanescu@oss.nxp.com> Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: AM8P251CA0005.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:21b::10) To AM9PR04MB8487.eurprd04.prod.outlook.com (2603:10a6:20b:41a::6) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB8487:EE_|PA2PR04MB10129:EE_ X-MS-Office365-Filtering-Correlation-Id: d88f97dc-57ef-432d-2b5e-08dd03cbb0d9 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|7416014|376014|52116014|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?B?MlRuV1hwb24rQSs3Z1BtaU52VkJnazF6VWo1NHZaT3l0WS91UUt5bVl4a2ts?= =?utf-8?B?RzAvSWhTWTJhMmYydDBQL3BmVU80VDg2ej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IPV:NLI;SFV:NSPM;H:AM9PR04MB8487.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(7416014)(376014)(52116014)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ek5mcmNDcTVZSDFJTlV4L3MxZWtoRTUveDkyMTJ2M1c5dXNPUmtMRnY3dVpq?= =?utf-8?B?Lzdkd1R3UmVmK1dvZ1QvemtLV2VvM3NsN0VZTGlxejNyeG1OVGx1OXhpMWtX?= =?utf-8?B?cmh5K1FNVk9EYTZ6Q1JWU2g3OFVqVFIzN0h0Wm9pQ096Q2k1bHd4L1lHV0Vo?= =?utf-8?B?bnQza29vUzZXalpyaG9JdmZDbmNEMnFMOE9jdUFTYU15ZnhUaW1VTTVRQkha?= =?utf-8?B?RGNrd05PV25zYU5xZHpNbjFjSE1FYU5RZlhVUWcyUWNmUDY2b0tNWGZYbnlS?= =?utf-8?B?RTRBSTRHa3lXMkpHeFZ4ZWI4bmVmak1ncjQvNUREdzVUeGZKcTVuc0FLQXNs?= =?utf-8?B?SzFIeFZPNlhld0hIRThPME9xdW10c2l0dm5iWHkyUklwWmFPdzBmUncraUtZ?= =?utf-8?B?cHpUZWs1WHE3NDVNZG9yMk1lT0U1N29Pa2Y5aTZuSklja2J2M2JsMkZ1eXZa?= =?utf-8?B?S2t5aDdvUDlYNnhueFJlcnIrRHhIUFd2L1NVRnN3VkdyTC9GUlhCNU83N0Vt?= =?utf-8?B?ZmJ1ek83WCt6RjEwWldMMFVKdVJ0Uk5jNW1DTmc2amp3L1ZDekk3NE1Da3BW?= =?utf-8?B?dVhTYU9lc3E4UXlXTVdnV1V1RWluSmo1VlpCd1JCUmliRXZ1Qy91RHUyQmJ2?= =?utf-8?B?TU1hdE9GNGlHR1JINFhnb2luSDlDQlZIVzVSRktOR0VTdjJ5RzYreCtCU1ph?= =?utf-8?B?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= =?utf-8?B?aW1DanBVci8rd29FR1NBc3FyZXZ4TnlkbmV6V1Fuc1BmekRKOGpCUTl5aWxl?= =?utf-8?B?RWIyZzNNeFBjN1FnYWp5WFUwalpNM2FYZVRzWjJPbktqd0lUWVI2bFhjN1Zq?= =?utf-8?B?WlJmeWZQNEJvWmZLaDI0dDhvTGVOY1BtOVBGVll5OG8rLzFteHVRc0RvZDNG?= =?utf-8?B?cDZsVk1WZEp0ZzZZRjA4T2xvZXRvbEdaenFOMXBGVXU2RG8vYjRSMUxNblZT?= =?utf-8?B?RVl4SDFWVnMrTlI2TVBDY2luU0ZYMEsvanh6ZTFPNDFhNzFaSzNYTlRnMHZH?= =?utf-8?B?ZTlTTThJZDlLdzgzbnRHa2lWUmd6cUhDdTc1b3BoaFlpMGxrbXlVeDUyMXBE?= =?utf-8?B?UEppVGpkNjR4STVIYjFHL2JZS2J4T0trbUVyOWtmUG9zVzNheDVsQ28vM1h5?= =?utf-8?B?L2k2WmFSN1VUblhjZXhJZXU3MndqMUt4WWl5NThmVDZLOHZQVUdJKzV5dGxM?= =?utf-8?B?dXlSZ3NCKzdwYWpHVkpuUzZHdjZyTTZ4ZWUzcVV3dU9lRUJmbm44Nisxb01w?= =?utf-8?B?Mmc9PQ==?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d88f97dc-57ef-432d-2b5e-08dd03cbb0d9 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB8487.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Nov 2024 10:12:34.0488 (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: jfbJhVdVpySr2Bb8JPaJpnpLiHT6ihksQpO8ziY5yAZb8OW/JsEtKN7hCbicmJ5/XYYna7tSEdVhVePEnFhLggid1mx/HJLzVZIywNWWeWs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA2PR04MB10129 Content-Type: text/plain; charset="utf-8" Add the dt-bindings for the NXP SIUL2 module which is a multi function device. It can export information about the SoC, configure the pinmux&pinconf for pins and it is also a GPIO controller with interrupt capability. Signed-off-by: Andrei Stefanescu --- .../bindings/mfd/nxp,s32g2-siul2.yaml | 165 ++++++++++++++++++ 1 file changed, 165 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/nxp,s32g2-siul2.y= aml diff --git a/Documentation/devicetree/bindings/mfd/nxp,s32g2-siul2.yaml b/D= ocumentation/devicetree/bindings/mfd/nxp,s32g2-siul2.yaml new file mode 100644 index 000000000000..a8edbea75bb6 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/nxp,s32g2-siul2.yaml @@ -0,0 +1,165 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright 2024 NXP +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/nxp,s32g2-siul2.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP S32 System Integration Unit Lite2 (SIUL2) + +maintainers: + - Andrei Stefanescu + +description: | + SIUL2 is a hardware block which implements pinmuxing, + pinconf, GPIOs (some with interrupt capability) and + registers which contain information about the SoC. + There are generally two SIUL2 modules whose functionality + is grouped together. For example interrupt configuration + registers are part of SIUL2_1 even though interrupts are + also available for SIUL2_0 pins. + + The following register types are exported by SIUL2: + - MIDR (MCU ID Register) - information related to the SoC + - interrupt configuration registers + - MSCR (Multiplexed Signal Configuration Register) - pinmuxing and pin= conf + - IMCR (Input Multiplexed Signal Configuration Register)- pinmuxing + - PGPDO (Parallel GPIO Pad Data Out Register) - GPIO output value + - PGPDI (Parallel GPIO Pad Data In Register) - GPIO input value + + Most registers are 32bit wide with the exception of PGPDO/PGPDI which are + 16bit wide. + +properties: + compatible: + enum: + - nxp,s32g2-siul2 + - nxp,s32g3-siul2 + + reg: + maxItems: 2 + + reg-names: + items: + - const: siul20 + - const: siul21 + + gpio-controller: true + + "#gpio-cells": + const: 2 + + gpio-ranges: + maxItems: 2 + + gpio-reserved-ranges: + maxItems: 2 + + interrupts: + maxItems: 1 + + interrupt-controller: true + + "#interrupt-cells": + const: 2 + + nvmem-layout: + $ref: /schemas/nvmem/layouts/nvmem-layout.yaml# + description: + This container may reference an NVMEM layout parser. + +patternProperties: + "-hog(-[0-9]+)?$": + required: + - gpio-hog + + "-pins$": + type: object + additionalProperties: false + + patternProperties: + "-grp[0-9]$": + type: object + allOf: + - $ref: /schemas/pinctrl/pinmux-node.yaml# + - $ref: /schemas/pinctrl/pincfg-node.yaml# + description: + Pinctrl node's client devices specify pin muxes using subnodes, + which in turn use the standard properties below. + + properties: + bias-disable: true + bias-high-impedance: true + bias-pull-up: true + bias-pull-down: true + drive-open-drain: true + input-enable: true + output-enable: true + + pinmux: + description: | + An integer array for representing pinmux configurations of + a device. Each integer consists of a PIN_ID and a 4-bit + selected signal source(SSS) as IOMUX setting, which is + calculated as: pinmux =3D (PIN_ID << 4 | SSS) + + slew-rate: + description: Supported slew rate based on Fmax values (MHz) + enum: [83, 133, 150, 166, 208] + required: + - pinmux + + additionalProperties: false + +required: + - compatible + - reg + - reg-names + - gpio-controller + - "#gpio-cells" + - gpio-ranges + - gpio-reserved-ranges + - interrupts + - interrupt-controller + - "#interrupt-cells" + +additionalProperties: false + +examples: + - | + #include + #include + + siul2@4009c000 { + compatible =3D "nxp,s32g2-siul2"; + reg =3D <0x4009c000 0x179c>, + <0x44010000 0x17b0>; + reg-names =3D "siul20", "siul21"; + gpio-controller; + #gpio-cells =3D <2>; + gpio-ranges =3D <&siul2 0 0 102>, <&siul2 112 112 79>; + gpio-reserved-ranges =3D <102 10>, <123 21>; + interrupt-controller; + #interrupt-cells =3D <2>; + interrupts =3D ; + + jtag_pins: jtag-pins { + jtag-grp0 { + pinmux =3D <0x0>; + input-enable; + bias-pull-up; + slew-rate =3D <166>; + }; + }; + + nvmem-layout { + compatible =3D "fixed-layout"; + #address-cells =3D <1>; + #size-cells =3D <1>; + + soc-major@0 { + reg =3D <0 0x4>; + }; + }; + }; +... --=20 2.45.2