From nobody Fri Nov 29 02:01:30 2024 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2082.outbound.protection.outlook.com [40.107.249.82]) (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 7F6A613D891; Thu, 26 Sep 2024 14:31:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.249.82 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727361120; cv=fail; b=WU/A8s4AaurXW6OaiE1GpAFhm4MtZLyLwDjjY2bth5BWgkRrA7/lhwcej3PULic3zJlZFicrKMKV7kIOe+pi6lurJoRJ/lRSpdGKiw93ftJl6Vqa9ncocU2w6iKcaeyWcNniAW4jrIWQa7TayvMXqGj9XoP3VzyB+7GhHTingsI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727361120; c=relaxed/simple; bh=cg3nh/0xqyKrb8WS53QHlw0YioVf/qfpcdW8C+PUY/k=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=L2uRmylccvCE2F3wPEGszGqgrekLL/WRnFVSmNV6HS+83WK7Ktm44NuM7xa/bbrHIuTTobQ+zLtIrhGX9Mfd/jvvJf1eAi5fqTlvOCMsNi58X3ObK8WCIAPI8AqMYwhslVCBEkpY5VFwVffztukmHP5lHKi0y6m18DpmQMvbF4Q= 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=ng/5Itqx; arc=fail smtp.client-ip=40.107.249.82 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="ng/5Itqx" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ZEAXzThOUDLN8qRXLWhOjNlLQfMU4l2QNVAZEWYF2oiYy7Cvo5XvhCi6DRSZrPaDRaC252FHiuSqwk1zCk7mbzWvRGNL3ooc3ZOcl/lwaSU5XsXLmIK7DokTvrCJOjvPu0smGaXVBOIgE6PqcJgS40sHom4WyaFMxLMB84AEIs8gr3F7/LfsSYBr3HRK6n30Admk8YIU03l2jAAkCIN3JDjTwvk4TDKZ3EZImJTYDAvMhBoHVg6tQ6Wb6VX/4CDcxfSFBMQC8qtPhaUnxlo4kywAUnV4B7g2vaqT7+dKyzF5966sOuyTQz0GIULIQNYmPze68TR9zdXylW78qR1juw== 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=adzHJ1u+haq0OopMnC/hgMBYg+qqVAhJEhzx5nEN5VI=; b=Do3h+e2DgQAyFi8wJY10VNYpkRoinPp8kYLGULknSkFOSLPFJWFjnrxUaWBP8rVmOq8b48RiPmYmRs0Bksrw6DO0+qAoFB8ngV64zdzhHwWhgEyGh3Vfw1H8KgGnZFao8WNdeKgY7ra61QB0Ab3iZ2hIhVmUukNiK1M+4799Ou1oomCxwlmmMCT27rirxPFt0HOkl/QcBVtyyMcG6uwnG85CtmcHDGsBq6zQLd2SgXsvhzd+MPst84K+B/rFY4Mh1VG+Ivvxr5UyuW7Cci9ppcffCs6Angy3MCx3nufVHNEiBhFky3T6drZZ2bIytNXAPUO8U8zEeeZmNax/TtjXog== 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=adzHJ1u+haq0OopMnC/hgMBYg+qqVAhJEhzx5nEN5VI=; b=ng/5ItqxOWvq1qiDURaeChZ9LqDrpzZnwRarVBzYc1RuG39q8iOmwD4to28Cd/wK/8JlfPdQLwqPm1Akcfqcb+G8JWBlFcquUYykZFjZgteT13uu/k8S//GAeg/6h95xlEvYdQTkZGeStEkQHDdyEap5KogatfG1CUGpWrae2U6vy1Hv/Kx4euxHcTysTpPhA3lNWXewt2u9KjI3MzmE97r3zjX8s73mc7UlRgGcRgDT8Kn2Qcrj9WosmPqWGOr3q0jkVxyiSfvSlvOmlRWMliMh+2Uv1/D18EFPaE7lp13iQAQBJWWWOPzgmvDSTrrqKSZ9Idd3YlAD5WiuecHTbw== 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 GV1PR04MB10485.eurprd04.prod.outlook.com (2603:10a6:150:1d4::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.27; Thu, 26 Sep 2024 14:31:52 +0000 Received: from AM9PR04MB8487.eurprd04.prod.outlook.com ([fe80::6d7a:8d2:f020:455]) by AM9PR04MB8487.eurprd04.prod.outlook.com ([fe80::6d7a:8d2:f020:455%5]) with mapi id 15.20.7962.022; Thu, 26 Sep 2024 14:31:52 +0000 From: Andrei Stefanescu To: Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chester Lin , Matthias Brugger , Greg Kroah-Hartman , "Rafael J. Wysocki" 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 , Andrei Stefanescu Subject: [PATCH v4 2/4] dt-bindings: gpio: add support for NXP S32G2/S32G3 SoCs Date: Thu, 26 Sep 2024 17:31:19 +0300 Message-ID: <20240926143122.1385658-3-andrei.stefanescu@oss.nxp.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240926143122.1385658-1-andrei.stefanescu@oss.nxp.com> References: <20240926143122.1385658-1-andrei.stefanescu@oss.nxp.com> Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: AM0PR02CA0101.eurprd02.prod.outlook.com (2603:10a6:208:154::42) 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_|GV1PR04MB10485:EE_ X-MS-Office365-Filtering-Correlation-Id: 529dfb3d-41d8-4c50-ea2c-08dcde37f65f 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|1800799024|376014|52116014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?bjVKand5MHRsaHVMdE9NS2pHN2xTT0ZsRnFUTDEraVJrUHpjUGZjeklUa0Fq?= =?utf-8?B?ZUg4VFdQMC9NZHdVMXhqb3lxWFRMWEFRYVJGRDZ1MDdzQXp5STF2L0ZEeFlQ?= =?utf-8?B?dGRQMHlIbVMrNjE2Qzd1VG1aRG0vZm1xY1ZLR1JwS1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?Q?B/CHQ51wnbE=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB8487.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(7416014)(1800799024)(376014)(52116014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?d2tvRUhBUnZ4RUM5bWQvK2hzdW9RM3hUS0VGV3JjMGtkZk80MXdoZ2pDMUlI?= =?utf-8?B?dlN1RnpMVnJjYm1pSUQ0N053ZXpXdTdlNFozZDZ6cUdVMWtwTFFjNFpyOExP?= =?utf-8?B?N25DTmRncUE0Rko0NjV1cUpVdEdRaXorWm1XbDZ1NTJNSStYNVRMRTJFbjBm?= =?utf-8?B?emMzNEVHa1VkazN5dHltZmVoOE04S0hyaEJqenlhRTdXakNPRkl3Vlh1OTBy?= =?utf-8?B?WHF6VkQ4cTlpc3M1Mkg2MmVndzNGNFhBSnFmOURHeFJjdnUrcnZPVVYzY0c1?= =?utf-8?B?bnpEVSsrdVJ1WG5xQ2t3OWthNG9GTnZVQ1VLRDQzeGtTdXV6cnZwSFhHb2FM?= =?utf-8?B?ZU1PWnlSemQyaWRuaUQvdmJ6R1l2Q0tUcUtISkw4SEhGMXprRTJXL1hlVmJn?= =?utf-8?B?SUZRWmR1T1BlOFd0dGF0K1hDWnlKNmxMZEpzUGhMaCs1c3V3OERGT014YnFQ?= =?utf-8?B?Q2ZkTC9aeVh0bUhLQlI0T3pZc0dyVERyZDFEM09xN2JIK251enhuekFCSzc0?= =?utf-8?B?VGxpRXBueUw5bUV2R29HdSt2L0lZOVZOZmVXSk5vTUpSQTQ5M28vM3Y3OXlY?= =?utf-8?B?OW5ORnlDaEJ5dFZReEZHekdHZlQ5cGdxTWJON3o5eTVJRUNyRUtOOURURjFM?= =?utf-8?B?bWxyWXEvVG5B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= =?utf-8?B?dkxsMm1FVEZtL3dQSm5KMVJkaHNQSy9ldlVKaEtJcnJ2YmpDTVBNUmRyZVdl?= =?utf-8?B?bGsrVms5aTRsbDNxdEtPaHBDaGVOZXc4WFRkRkltd0NnZFcvNVRKcDhud3VS?= =?utf-8?B?NUE3NERWU3VtU1dtT2hzTXdjUlprMzdmY2x6NmNjTWpTSkxFYUw2S2c0RDk4?= =?utf-8?B?YkdiZU1oZXQvcXZadDNjbjQ5bjZoMUxFamMrRmdUbGFxRWlSS1lEdFVEMm5D?= =?utf-8?B?MmZ6TUJkSHNyRXBhYklBdG8weURJMDZDQTZaWUo4Y3RHYzFUc3JqbTNVRlRB?= =?utf-8?B?YVcvUHYxNENwL0NlcHZDNVpWTWxZU1l4Wnk1aFFHdk1NWFhWVVl3ODg5ZEt1?= =?utf-8?B?cWQra0VsY2Zuc3ptOEVhQ2pKN3dTRUJDWFh2OGJGQk1ZMmdRS294ODZjOTQv?= =?utf-8?B?VDVDVlFhV1pPNXVMT2V0UjNaVDRWS1ZHbzVYUk1PVHJlTzRUK0ZwQzhYNGR6?= =?utf-8?B?aDhSQ1AyN3N3cy9iZVljSlNpclNqYXFLODVFNzdINDNheGFna3loYjc3Q3VG?= =?utf-8?B?aE8xN3I0Z3JXZFFhTTI1M2N6V3BDSWMyYkdPZEVoVFpqdWttVFRYTjc1NnA4?= =?utf-8?B?b1E9PQ==?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 529dfb3d-41d8-4c50-ea2c-08dcde37f65f X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB8487.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2024 14:31:51.9238 (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: PUW2VS0RayO2Sef/gkdBcjMuMmzoCsmkngcvxIMchyFufrU/dJJn1+aUeMOw6GJXGXuBJ/0r8qYfxUbZpOOhkcxBIhl9CQ3B4GeSZ/VRr5c= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB10485 Content-Type: text/plain; charset="utf-8" Add support for the GPIO driver of the NXP S32G2/S32G3 SoCs. Signed-off-by: Phu Luu An Signed-off-by: Larisa Grigore Signed-off-by: Ghennadi Procopciuc Signed-off-by: Andrei Stefanescu --- .../bindings/gpio/nxp,s32g2-siul2-gpio.yaml | 110 ++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/nxp,s32g2-siul2-= gpio.yaml diff --git a/Documentation/devicetree/bindings/gpio/nxp,s32g2-siul2-gpio.ya= ml b/Documentation/devicetree/bindings/gpio/nxp,s32g2-siul2-gpio.yaml new file mode 100644 index 000000000000..4556505ee9c9 --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/nxp,s32g2-siul2-gpio.yaml @@ -0,0 +1,110 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +# Copyright 2024 NXP +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/nxp,s32g2-siul2-gpio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP S32G2 SIUL2 GPIO controller + +maintainers: + - Ghennadi Procopciuc + - Larisa Grigore + - Andrei Stefanescu + +description: + Support for the SIUL2 GPIOs found on the S32G2 and S32G3 + chips. It includes an IRQ controller for all pins which have + an EIRQ associated. + +properties: + compatible: + oneOf: + - const: nxp,s32g2-siul2-gpio + - items: + - const: nxp,s32g3-siul2-gpio + - const: nxp,s32g2-siul2-gpio + + reg: + items: + - description: PGPDO (output value) registers for SIUL2_0 + - description: PGPDO (output value) registers for SIUL2_1 + - description: PGPDI (input value) registers for SIUL2_0 + - description: PGPDI (input value) registers for SIUL2_1 + - description: EIRQ (interrupt) configuration registers from SIUL2_1 + - description: EIRQ IMCR registers for interrupt muxing between pads + + reg-names: + items: + - const: opads0 + - const: opads1 + - const: ipads0 + - const: ipads1 + - const: eirqs + - const: eirq-imcrs + + gpio-controller: true + + '#gpio-cells': + const: 2 + + interrupts: + maxItems: 1 + + interrupt-controller: true + + "#interrupt-cells": + const: 2 + + gpio-ranges: + minItems: 2 + maxItems: 2 + + gpio-reserved-ranges: + minItems: 2 + +patternProperties: + "-hog(-[0-9]+)?$": + required: + - gpio-hog + +required: + - compatible + - reg + - reg-names + - gpio-controller + - "#gpio-cells" + - gpio-ranges + - gpio-reserved-ranges + - interrupts + - interrupt-controller + - "#interrupt-cells" + +additionalProperties: false + +examples: + - | + #include + #include + + gpio@4009d700 { + compatible =3D "nxp,s32g2-siul2-gpio"; + reg =3D <0x4009d700 0x10>, + <0x44011700 0x18>, + <0x4009d740 0x10>, + <0x44011740 0x18>, + <0x44010010 0xb4>, + <0x44011078 0x80>; + reg-names =3D "opads0", "opads1", "ipads0", + "ipads1", "eirqs", "eirq-imcrs"; + gpio-controller; + #gpio-cells =3D <2>; + /* GPIO 0-101 */ + gpio-ranges =3D <&pinctrl 0 0 102>, + /* GPIO 112-190 */ + <&pinctrl 112 112 79>; + gpio-reserved-ranges =3D <102 10>, <123 21>; + interrupts =3D ; + interrupt-controller; + #interrupt-cells =3D <2>; + }; --=20 2.45.2