Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7477823rdb; Wed, 3 Jan 2024 18:43:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IFwWDyCemvffcEbZ8mdPt1tDxJDl5GI2xkOgdfL5sbUiUUPtGPpTjAEdxsTL2RAFnx1HETh X-Received: by 2002:a17:907:9693:b0:a28:b35e:93b7 with SMTP id hd19-20020a170907969300b00a28b35e93b7mr439684ejc.100.1704336222005; Wed, 03 Jan 2024 18:43:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704336221; cv=none; d=google.com; s=arc-20160816; b=FPNSorLAKP0HAwIn04sE4bPAd1rRlMzklawcsOiKCLLfzVq0XIwypT5wRiNoBJPa91 6RUwBmEUh2CF8nClAhKfoQveGQYNvGIuAYIQKtZ/l7sbcoHoOgp7Yn2YhcKHn9Srrc8N huFTEcjZLm5YlAf7QITawoYmObolv1bp2tAPLXdXI6yfpLg0OspTM3f2OrQMuD/T/WVq zuZh+5Bly2ZIH1XJ/FjQTF173WtFgwEiu9imK6i2VEzjZDpGfzrTgJ5b0zmxOWNZRDwh qMCMGQ+seAndql6EcxsGuTIrkzbWaDdrUi8JrZ6OUHHibelEFUW+tq6rc7J7D0YHCJIr JswQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:subject:cc:to:from; bh=b0/JBm7L0CGJetF0vqKqf9Z8ixAsCyHHC3HCUWTqpXE=; fh=C9TL9yCnGisUiZfdvbqmpU1FLQkakKnDf/rl0GO1YOw=; b=YeBsuG7itiZAmSX8kiircETBqevmCuxrY55EGEAqUanEqKoYXWfS7LpYVfq5+gCCOq H5yjFJinxFnrym5nd3mlKVxuNY37cge2iTP9iEAtpcBaWmUxj+lScKaS7ZV1CuWsUkP9 Kk95G1mmv6xHokQyh+13guXl8d5ZmBUraAbI9bqXvQELw+FOI395jLrT9PvAye2Q4Ozu VyLvS9bBgUzNFjAedG1uJORf0D5b+vfpgllfHIBtm5ObHlF0xOe3uPLljGmQkndfp8YO vidrCFH0ERv7OuEWJcF7ObCQcWB3p87l6j1Bcf7SU12rsPkw6QCWOmThTcy6M+iwhKW9 Ee6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-16205-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16205-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a2-20020a170906274200b00a2871a2fdb8si1365590ejd.911.2024.01.03.18.43.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 18:43:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16205-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-16205-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16205-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id BD4951F25ED9 for ; Thu, 4 Jan 2024 02:43:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7AEA54C89; Thu, 4 Jan 2024 02:43:34 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from SHSQR01.spreadtrum.com (unknown [222.66.158.135]) (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 B3AF1185B for ; Thu, 4 Jan 2024 02:43:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=unisoc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=unisoc.com Received: from dlp.unisoc.com ([10.29.3.86]) by SHSQR01.spreadtrum.com with ESMTP id 4042gto9001513; Thu, 4 Jan 2024 10:42:55 +0800 (+08) (envelope-from Wenhua.Lin@unisoc.com) Received: from SHDLP.spreadtrum.com (shmbx06.spreadtrum.com [10.0.1.11]) by dlp.unisoc.com (SkyGuard) with ESMTPS id 4T59gt69l3z2Qby50; Thu, 4 Jan 2024 10:36:10 +0800 (CST) Received: from xm9614pcu.spreadtrum.com (10.13.2.29) by shmbx06.spreadtrum.com (10.0.1.11) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Thu, 4 Jan 2024 10:42:52 +0800 From: Wenhua Lin To: Linus Walleij , Andy Shevchenko , Bartosz Golaszewski CC: Orson Zhai , Baolin Wang , Chunyan Zhang , , , wenhua lin , Wenhua Lin , Xiongpeng Wu Subject: [PATCH V3 0/4] gpio: eic-sprd: Modification of UNISOC Platform EIC Driver Date: Thu, 4 Jan 2024 10:42:40 +0800 Message-ID: <20240104024244.12163-1-Wenhua.Lin@unisoc.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: SHCAS03.spreadtrum.com (10.0.1.207) To shmbx06.spreadtrum.com (10.0.1.11) X-MAIL:SHSQR01.spreadtrum.com 4042gto9001513 Recently, some bugs have been discovered during use, and patch2 are bug fixes. Also, this patchset add optimization: patch1 can support eic debouce wake-up system and patch3 optimization the calculation method of eic number, and patch4 Support 8 banks EIC controller. Change in V3: -Using thread send 4 patches -Change title and commit message in PATCH 1/4. -Delete fixes tag in PATCH 1/4. -Change commit message in PATCH 2/4. -Move num_banks++ to the back of sprd_eic->base in PATCH 3/4. -Delete fixes tag in PATCH 3/4. -Modify misindented issue in PATCH 3/4. -Preserve reversed xmas tree order in PATCH 3/4. -Change related comments in PATCH 4/4. Wenhua Lin (4): gpio: eic-sprd: Keep the clock rtc_1k on gpio: eic-sprd: Clear interrupt after set the interrupt type gpio: eic-sprd: Modify the calculation method of eic number gpio: eic-sprd: Support 8 banks EIC controller drivers/gpio/gpio-eic-sprd.c | 65 +++++++++++++++++++++--------------- 1 file changed, 39 insertions(+), 26 deletions(-) -- 2.17.1