From patchwork Fri Jan 24 13:49:04 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hao Chang X-Patchwork-Id: 859669 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) (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 EF6D3C8DF; Fri, 24 Jan 2025 13:49:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=60.244.123.138 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737726574; cv=none; b=QccwdqYkLk35IdyQwCYD7WhvccZBTi4O2+fWylufXjvvaHUDrY9NubxEulKXbVIdO8xL6xfBPJSN7EV54UnKxkGKEU7jALyuMPoL4DnibpOHBeM3iku+Ozol1/9HHyeVwhgWlNWh57L9upDCQteKaXAGh0leYSDk0joTrmq4eRA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737726574; c=relaxed/simple; bh=JobH/VufCuknsRFv5SDZ2/pDN2yJ0Ws2198+4DmWjtc=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=M/Zn5I5ACMGdJB2efXz3wOV0xJBnmDZXB/OwUV6RfIG6L1G7oujmN36H9Kg8O+A0HL8XAuLZcavG7J1uleRxKXN+VzdHMOqB/8Hz+EeQoxqFj/cxLMTMFl8ytoH+RaUyIxBEiQBPOUEMf2FSgRO4Ct94xj9IcXHphqMiRTWXvOk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com; spf=pass smtp.mailfrom=mediatek.com; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b=GctpTKJX; arc=none smtp.client-ip=60.244.123.138 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mediatek.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="GctpTKJX" X-UUID: 05e2683eda5a11ef99858b75a2457dd9-20250124 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=KpLfynM31yo/shZxF3ZUy2NRwhB39YpYEBEOuQQVK5g=; b=GctpTKJXrFyzooruAB9Qxs9S3SKhpcACyIzOO7lm0I76yMeT7w2Xb50L8mIKX2OATth63wB3Unb1q58QgayDg1nQEnGdRVXBfn0mZkIiWLJZX6o+j38oJbaevoGk59mjLgUY8QcjkT7FLiUsQw4sHiLQAIrix0Rgvg/KeDGSWK8=; X-CID-CACHE: Type:Local,Time:202501242140+08,HitQuantity:1 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.46, REQID:87f2aa74-490a-46aa-8815-c33ef2711d76, IP:0, U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:60aa074, CLOUDID:4568a53d-da39-4471-8a46-23da908abe46, B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0|50,EDM:-3,IP:ni l,URL:1,File:nil,RT:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES :1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0,ARC:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR,TF_CID_SPAM_ULS X-UUID: 05e2683eda5a11ef99858b75a2457dd9-20250124 Received: from mtkmbs11n1.mediatek.inc [(172.21.101.185)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 519820409; Fri, 24 Jan 2025 21:49:25 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs13n2.mediatek.inc (172.21.101.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.28; Fri, 24 Jan 2025 21:49:23 +0800 Received: from mhfsdcap04.gcn.mediatek.inc (10.17.3.154) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1258.28 via Frontend Transport; Fri, 24 Jan 2025 21:49:23 +0800 From: Hao Chang To: Sean Wang , Linus Walleij , Matthias Brugger , AngeloGioacchino Del Regno CC: Wenbin Mei , Axe Yang , Qingliang Li , Hanks Chen , Chunhui Li , , , , , Hao Chang Subject: [PATCH v3 0/2] Date: Fri, 24 Jan 2025 21:49:04 +0800 Message-ID: <20250124134918.2779-1-ot_chhao.chang@mediatek.com> X-Mailer: git-send-email 2.46.0 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Change in v3: 1)Add error handling to prevent memory leaks 2)Move the eint pin assignment action to eint for processing --- This patch depends on [v3,2/2] pinctrl: mediatek: add mt8196 driver [v3,1/2] dt-bindings: pinctrl: mediatek: add support for mt8196 Please also accept this patch together with [1] to avoid build and dt binding check error. [1]https://patchwork.kernel.org/project/linux-mediatek/list/?series=&submitter=215008&state=&q=v3&archive=&delegate= --- Hao Chang (2): pinctrl: mediatek: update EINT base retrieval method pinctrl: mediatek: adapt to multi-base design drivers/pinctrl/mediatek/mtk-eint.c | 38 +++++++++----- .../pinctrl/mediatek/pinctrl-mtk-common-v2.c | 50 +++++++++++++------ 2 files changed, 60 insertions(+), 28 deletions(-)