Message ID | 20250327-kernel-upstreaming-add_gpio_support-v2-0-bbe51f8d66da@blaize.com |
---|---|
Headers | show
Received: from mx07-0063e101.pphosted.com (mx07-0063e101.pphosted.com [205.220.184.123]) (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 4D45B2139B1; Thu, 27 Mar 2025 11:38:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.184.123 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743075523; cv=fail; b=VoXyO48RLTHrnWI9aegDvZLQKiFZItt3AYHdPLqmMd4/3NinGdmjaeOaEOnDSmWButVDwe/MSqdoQkPiK93V5NENHInBOoG2iKQ2geTZmnssDT5L0B8ofTon4eOcDAOC9YDRMAbODQMWLbEzvzzp2KiwVM2lU7QNKj/spM9nVBM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743075523; c=relaxed/simple; bh=5X08nBsRMYIb0Bj9JFt4qF9FtAnmWjIc5EVKmDvKT6s=; h=From:To:CC:Subject:Date:Message-ID:Content-Type:MIME-Version; b=gPBWTJZ0ZTGxXysit+jOI5bJzUCMNNt2GvpFbaj/8zFUxulTZNUCNqkyIeXA5Jge+i1zN0GtkTqCT8P2zN8sd4KNo+5IvpY0gVCf0PkiuGR3U04S2qxiUaUHsuWBBjfTgbWhJtFaMm5Cm3haqJuLiUcGLQ/bK1I7+FzweCImJ+I= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=blaize.com; spf=pass smtp.mailfrom=blaize.com; dkim=pass (1024-bit key) header.d=BLAIZE.COM header.i=@BLAIZE.COM header.b=N0mFlSHf; arc=fail smtp.client-ip=205.220.184.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=blaize.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=blaize.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=BLAIZE.COM header.i=@BLAIZE.COM header.b="N0mFlSHf" Received: from pps.filterd (m0247495.ppops.net [127.0.0.1]) by mx08-0063e101.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 52RB3Ix4019756; Thu, 27 Mar 2025 11:27:23 GMT Received: from pnypr01cu001.outbound.protection.outlook.com (mail-centralindiaazlp17010007.outbound.protection.outlook.com [40.93.132.7]) by mx08-0063e101.pphosted.com (PPS) with ESMTPS id 45hkb2thc2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 27 Mar 2025 11:27:22 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=BAqg7yJJ5+P3BiH70WeFqSfDkOWdCWLD04uNXRqE7/VlDkfqHb3IItm7EzpcFd6YhB4ISCOlnfegOEtsX6E8sQ9gUs3ZuXsL9ujeswaCtXqYim1ptl79sjUOd8dwSCcK4NRfr22MbGF17H0UBblwem8rOwgWLmTxJfvvX5rJBtZOip2wJNOXgrcbol9I01uxcVYxowQ2Mz1mNcmMS5YI0n9o+wMvKVGD4jmEATn2pEbqS15V/hWwNQUKJHx2FzKkePebF0sEX1lqmY24Bdu2KLFKLmS3kuJYHqnrq8bO/QYCS6rtuTiGgtxoWxotoyTNIRSinjSI3RjwEn+EWV2qJg== 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=5X08nBsRMYIb0Bj9JFt4qF9FtAnmWjIc5EVKmDvKT6s=; b=TgijDDRm88mgSmoUqKZ+32pnQ9FafjHl159Mw5FAbVx5hK7Q3pskT75M6NnNRzDsqTGOGS/83G8jpVYktmoEGIq7zrxgd/5R1G0JPZERpRUJUSE/TzdDcWdJnOXLS8/RM/Onduk7b+rYI1YOj7iLB8JRljNKQ7gDs+i1yZ0vW902F24lMHNGYDPhhPgBBsJcV2vnJvdhhJqKrc4ACn50ppNlDzTo9PN5U6h0zbpCS1MChPz2YAscrqczGEqSDovMWfyx2L32bqhG35fCA54VAEMBJ989VKG7u/WtD1IjHtSR8q5vh2Dut3Oz7vDWUBzkjzwz+qGi/AzqD0wHfUiJ8Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=blaize.com; dmarc=pass action=none header.from=blaize.com; dkim=pass header.d=blaize.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=BLAIZE.COM; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5X08nBsRMYIb0Bj9JFt4qF9FtAnmWjIc5EVKmDvKT6s=; b=N0mFlSHfYiMegIQJiY7LlvL/auR9lCRRS6VKZYIgtd74cOS4JXcYJw7lROytE1tYMJGpkUHdZ9vPQbBzMjEh2HsNRXCuSBuwG8fGIZZI1g2SFcEPyF36p477idsm+OaYwNsahDVfDTOERV5y+hH35A55V2JzwH3Wm9muDvE7hVc= Received: from MA0PR01MB10184.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a01:12a::5) by MAZPR01MB8910.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a01:cd::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.44; Thu, 27 Mar 2025 11:27:04 +0000 Received: from MA0PR01MB10184.INDPRD01.PROD.OUTLOOK.COM ([fe80::309a:12cf:74a4:5655]) by MA0PR01MB10184.INDPRD01.PROD.OUTLOOK.COM ([fe80::309a:12cf:74a4:5655%4]) with mapi id 15.20.8583.026; Thu, 27 Mar 2025 11:27:03 +0000 From: Nikolaos Pasaloukos <nikolaos.pasaloukos@blaize.com> To: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, James Cowgill <james.cowgill@blaize.com>, Matt Redfearn <matthew.redfearn@blaize.com>, Neil Jones <neil.jones@blaize.com>, Linus Walleij <linus.walleij@linaro.org>, Bartosz Golaszewski <brgl@bgdev.pl>, Matt Redfearn <matthew.redfearn@blaize.com>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org> CC: "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, Nikolaos Pasaloukos <nikolaos.pasaloukos@blaize.com> Subject: [PATCH v2 0/3] Add support for Blaize BLZP1600 GPIO driver Thread-Topic: [PATCH v2 0/3] Add support for Blaize BLZP1600 GPIO driver Thread-Index: AQHbnwsqtVjDC9q7okOSvaMO525NaQ== Date: Thu, 27 Mar 2025 11:27:03 +0000 Message-ID: <20250327-kernel-upstreaming-add_gpio_support-v2-0-bbe51f8d66da@blaize.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MA0PR01MB10184:EE_|MAZPR01MB8910:EE_ x-ms-office365-filtering-correlation-id: 222d5605-d61c-48fc-0c43-08dd6d224c8b x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|366016|1800799024|7416014|376014|38070700018|921020; x-microsoft-antispam-message-info: =?utf-8?q?+Vjg3Btd8CE4Z/mj/UpwML/TJSmjTTv?= =?utf-8?q?0OIBu9cFVLFW+ETMW+z7eUYANmAUT5//yG+JvwQk2RDa5YqWHrXeJ4Yu4hhSwuKJN?= =?ut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f-8?q?m9z2Crjj91lRlmIsVFFZEPuCHYTZyBBGJPNUdr991itDoywFyWwMBt9J1mXIGVZiA?= =?utf-8?q?oes+FLFhq+Xs0OOBw44EFfSJ4DtnXZa35voz7OPrfijlWzgXklfnZvGBt6sbpqb/8?= =?utf-8?q?7fZJMXW1R59TjJ1TfSo8qlv3FGpr/o5UYDccANX8eQgbTEU2ZpCOCZ+6v1BWW46Lw?= =?utf-8?q?xokM4v6jGSVWY3wTj/+2Ehdww0hp0KDikLBsJJojTD3AOeZnxRWZK2RklTG32yPJN?= =?utf-8?q?jpLvlI1HTCflWIhIuc/wG1QOd1LenADRS/ej4DayfPn1XVO20K13AhvBlBlB1V1Yv?= =?utf-8?q?+6ZU6GspenHbzKhA1gGkWgZHeZZ8jH5ZigeIvxfkhLftejwwcBZSSQofPmFR264CD?= =?utf-8?q?tacu301wtYoY2Gx2mDzq9Wv4Ruta3actBUCaE9nhH//KA2kPhfeo1Ex57AqSIZKy1?= =?utf-8?q?Rlm4+qLfyklUR4mBFwYzQHB2Dxm1Rdwbw=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MA0PR01MB10184.INDPRD01.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(7416014)(376014)(38070700018)(921020);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?q?4aaiwueMXd2usWlEqWRQkTvrF7lH?= =?utf-8?q?WipJjEmo5XTCH2LPBKVsXq6AZVkI3UabUbgqfzpoYXdEuNtfa1JTWOAGhoPbLuPR7?= =?utf-8?q?I3BiVZbezF0LXhj83oISi7S34Vo/nCvVKJEnBMFcX7sbhCPW/vg5eKf5NYdm8pNSK?= =?utf-8?q?wWPqa9dEJNYR3qgch6f+8wGFqDlS0udtSCMjW0nU4Ucx4fnnwrMZTCQAfR1qt6ogU?=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zMZsufUEcOCLGXtWbPAiUJf5ecBVp/Jbu1bkb8V+qiWPNpQA8xZA?= =?utf-8?q?+tP1CeYoKOG9MQ1w3uTbHejHbmnCDp4nvL/vqZ4od8HyVuTxZLUziwItwwsA3Tmkb?= =?utf-8?q?jHhFgEggWak6X3BfIAKH7GH7C1QsHIQTBBgndNbsaPVe9vtQnvUsVO0Pa3DG9DCih?= =?utf-8?q?sK8VFHeBsdp3u2rr4X29wG05wis5VyLLLtz1Qpv2X+3Z+4YpZ+AFrsHLZxgJzYT2j?= =?utf-8?q?OfSIe4VW3EoaDx3Hl8ICtu1cSE6aFkZleIs+qL8iR5+vTmGwGfynezlbrOgP04FGr?= =?utf-8?q?2FGwMjIJPB30PImSuAIjsuPfTEgBRPvfW1izx+FYGDq1UfHtw9pDD0Ew47U78y7Q1?= =?utf-8?q?re07trdsmampquWNOuj2hTPxTwGEzW0HnvountghM/fKXImGsaZ1LAv/qjhtCDepH?= =?utf-8?q?71YPlp0kr6V4MnJm3r5Au/67m9Z2my/b/A=3D=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <A30A95FC05193041891336B915AE2307@INDPRD01.PROD.OUTLOOK.COM> Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: <linux-gpio.vger.kernel.org> List-Subscribe: <mailto:linux-gpio+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-gpio+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-OriginatorOrg: blaize.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MA0PR01MB10184.INDPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 222d5605-d61c-48fc-0c43-08dd6d224c8b X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Mar 2025 11:27:03.6747 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 9d1c3c89-8615-4064-88a7-bb1a8537c779 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 0xycFSBWPzqLczZI5Nncm0g0rHkOwhX4/78qUGOG2x6dcXYF8JX4LOFwb/lPJhPJR9670vg9xpNTQ6g2EPpbCAHxsOzjOQU/1c0rLLvuXlc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MAZPR01MB8910 X-Proofpoint-GUID: 1DjZlkO5FIGVGRES6xneFKFrFVhxsxw0 X-Proofpoint-ORIG-GUID: 1DjZlkO5FIGVGRES6xneFKFrFVhxsxw0 X-Authority-Analysis: v=2.4 cv=JvjxrN4C c=1 sm=1 tr=0 ts=67e5361a cx=c_pps a=5CkbgoO2JNAQOP1ij0Zt3g==:117 a=lCpzRmAYbLLaTzLvsPZ7Mbvzbb8=:19 a=wKuvFiaSGQ0qltdbU6+NXLB8nM8=:19 a=Ol13hO9ccFRV9qXi2t6ftBPywas=:19 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=Vs1iUdzkB0EA:10 a=H5OGdu5hBBwA:10 a=-5LYVjoNHPMA:10 a=VwQbUJbxAAAA:8 a=SrsycIMJAAAA:8 a=4BuQaiKR39yFMr42yb8A:9 a=QEXdDO2ut3YA:10 a=zapPnUM7SFj2ezx6rUw-:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1095,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-03-27_01,2025-03-26_02,2024-11-22_01 X-Proofpoint-Spam-Reason: orgsafe |
Series |
Add support for Blaize BLZP1600 GPIO driver
|
expand
|
This patchset adds a GPIO driver for the VeriSilicon APB v0.2 hardware. This controller is used in the Blaize BLZP1600 SoC for its GPIO interface. It is essential for upstream support since it is used to provide signals for the Ethernet, USB, SD and many other interfaces. Adds the GPIO interface to the Blaize BLZP1600 SoC devicetree. The hardware itself consists of 32 I/O pins. It has programmable interrupt generation capability on the pins. The interrupts can be edge or level triggered and it includes a de-bounce circuit. Signed-off-by: Nikolaos Pasaloukos <nikolaos.pasaloukos@blaize.com> --- Changes in v2: - No longer adds VeriSilicon as a vendor. - Renamed the driver from vsi,apb-gpio to blaize,blzp1600-gpio Changed the driver function prefix to address the new name Removed IRQ_DOMAIN_HIERARCHY from Kconfig - Builds the driver as a module by default - Link to v1: https://lore.kernel.org/r/20250212-kernel-upstreaming-add_gpio_support-v1-0-080e724a21f3@blaize.com --- Nikolaos Pasaloukos (3): dt-bindings: Document Blaize BLZP1600 GPIO driver gpio: Enable Blaize BLZP1600 GPIO support arm64: dts: blaize-blzp1600: Enable GPIO support .../bindings/gpio/blaize,blzp1600-gpio.yaml | 77 ++++++ MAINTAINERS | 10 + arch/arm64/boot/dts/blaize/blaize-blzp1600-cb2.dts | 36 +++ arch/arm64/boot/dts/blaize/blaize-blzp1600.dtsi | 12 + drivers/gpio/Kconfig | 11 + drivers/gpio/Makefile | 1 + drivers/gpio/gpio-blzp1600.c | 283 +++++++++++++++++++++ 7 files changed, 430 insertions(+) --- base-commit: fe2280d094f95105a361dc88e07b1009d4cfeca6 change-id: 20250117-kernel-upstreaming-add_gpio_support-b4ce05eff7a5 Best regards,