From patchwork Mon Mar 20 09:55:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 6883 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1125000wrt; Mon, 20 Mar 2023 03:07:23 -0700 (PDT) X-Google-Smtp-Source: AK7set/lfmlDe8ygQaZbQoFYukE/RFLcxJ1ZRFTLaY0IvwN7RFgBWa8RC4C3fO/Ew06xJ0Kd6PHT X-Received: by 2002:a17:90b:4c88:b0:23d:96ec:b910 with SMTP id my8-20020a17090b4c8800b0023d96ecb910mr12259008pjb.20.1679306842742; Mon, 20 Mar 2023 03:07:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679306842; cv=none; d=google.com; s=arc-20160816; b=W/NVxxFUO7GYav2CzphKEralVJDhjiBtoiC9nXKnByXER8AhRZ8S2N9C2XbnrZAs5Z Mmf7iA4oH1bROq8wQoxQdklFBwP1isB+4eHso4rG7T2vnr1iiPXw0C+wsdOaUAKqpyTt nPcEmHTu0k8mXHWM95mi+EOsjHGRrUifLdgIT1XAc8EZIF/QUgsRQrPF36WkI3vnODRe AUfxq7cAqcCW1eog1HM2AfLGhQz/GZ1abJQzwswVvh2jyPOnTZQFxqUVNYgt0lOgtW9s Jv/RQCo8XmsOFS0I/7HN0eGD8y60b3UrbXkHJAM0aY84r/Rn3XDqe8pC0Em4W7JmpuTI 61dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=KLcRecY4IurzeYGepE8N1+JONZ5XYr+wjjJNzOWAqBY=; b=c+HTrdF2KSdbQqIimqAvVCSwJwsdntnt3wz2zhnsNET7BfNCFhM+NiC4k58hdwz66s Q9UjMiFCTULuYMdwXiX8FxmoLrzX2qf9UzepRpx0jiQc3d4rgy8SQyzocbObxYePzkF1 0FPPPjE1UXm8drusY00XyJbbk1zysdRIcP8vTYw8AnMpifR2/m5AzwF0gXakG6xJeUmJ OhqgDqoeIDAAeql3wQA0HsubVP78XjM1mgZmRhSuGm/zUJvNJtf3LfDGfJ+tsNFQSbGj mWpyyv1x1yLFciiwgv8uAwAUwW5DurV176KzkxpusW26q4JaosL7ppwuk+zJiKAlvazD K/NA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HDoNBMSC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u64-20020a638543000000b004fbb8560349si10325790pgd.58.2023.03.20.03.07.07; Mon, 20 Mar 2023 03:07:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HDoNBMSC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229914AbjCTJz2 (ORCPT + 99 others); Mon, 20 Mar 2023 05:55:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229850AbjCTJzT (ORCPT ); Mon, 20 Mar 2023 05:55:19 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0040C5BB5 for ; Mon, 20 Mar 2023 02:55:15 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id x17so14132578lfu.5 for ; Mon, 20 Mar 2023 02:55:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679306114; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=KLcRecY4IurzeYGepE8N1+JONZ5XYr+wjjJNzOWAqBY=; b=HDoNBMSCxam0/t+IGp2epNMQAJJ5tUHM384qKl5sewn/e7sZZz8G//l0WjQGZ9Y0Hu MNfWTjcmCW8TaXaHvrHG1CyGWLzTm8U5zwY14JLETPIt+b537SqNtl4hzl6ZSWkSQj9H u5sP5KjumCZitZeUKfzimfI3EbobnA5rN26jszFk42YVNZchEkaKOXI+NX0RY8OcsSmR gc48XGUclmJLnpEhAEex34qOIarSP8bcwebuRmhEYvuor94Z0Liw29g0PRw20rhD3J/U GRue9v3d5c8J4uga5nn4Dha3qkV6eRVaeq9RmY1X/NAGQui5CvSoHZwWafDtbD0duIZq t8CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679306114; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KLcRecY4IurzeYGepE8N1+JONZ5XYr+wjjJNzOWAqBY=; b=0PsWH+UiYlrUdc2x4BzmSZP+WeE06PalyFaFWb6bQsRtSuLokuJl0T7x02F+24XR58 X7x7tX54hMZfQlFDc/lIOiy8Vo522pCZAul7ScxTGUfjWj7ZJrYzjmYgaIIXpeWq8Yc0 8cyawPz3sB52sV9APxYU02tAR+wCtxXG+Eh9fgJrs0S0OMp9aKuOLSb1az75R/noKBqN PRxmnInHzjI2+bnKVWWRmOba48wHciSUee93m5ZSidef9PSlTWap8U4UVo/b7G5yplju JaHp5gnnTpQOP6ZPNLz08/+PfzBkPziMlXMaKkBT4/A3qVsqTHZm5GWC6sJtMuQ5tYDY hvXQ== X-Gm-Message-State: AO0yUKUL0kMQDvcYjgqx7ZG89Gv1tNSMR6FwMeQX7YN6BUrMDxA00pQS pnZWvwNc1H7Pf4Apw7skxz9tQMBHeglsvimRAL8= X-Received: by 2002:ac2:51cc:0:b0:4e7:fa8a:886e with SMTP id u12-20020ac251cc000000b004e7fa8a886emr5392863lfm.51.1679306114054; Mon, 20 Mar 2023 02:55:14 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.219]) by smtp.gmail.com with ESMTPSA id c3-20020ac244a3000000b004e792045b3dsm1640104lfm.106.2023.03.20.02.55.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 02:55:13 -0700 (PDT) From: Linus Walleij Subject: [PATCH 0/9] Mass convert GPIO IRQ chips to be immutable part 2 Date: Mon, 20 Mar 2023 10:55:07 +0100 Message-Id: <20230316-immutable-chips-2-v1-0-053d6ede831b@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAHstGGQC/x2N0QrCMAwAf2Xk2UDXqRR/RXxI22gDto5kijD27 3Y+HsdxKxirsMFlWEH5Iyav1mE8DJAKtQej5M7gnZ/cNJ5Ran0vFJ+Mqchs6JGyDy7kGNzpCL2 LZIxRqaWyl5VsYd3FrHyX7392vW3bD6EzupF8AAAA To: linux-gpio@vger.kernel.org, Bartosz Golaszewski , Manivannan Sadhasivam , Thorsten Scherer , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Pengutronix Kernel Team , Maxime Coquelin , Alexandre Torgue , Robert Richter , Nobuhiro Iwamatsu , Ray Jui , Scott Branden , Broadcom internal kernel review list , Shubhrajyoti Datta , Srinivas Neeli , Michal Simek Cc: linux-arm-kernel@lists.infradead.org, linux-unisoc@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Linus Walleij , Marc Zyngier X-Mailer: b4 0.12.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760880852016722830?= X-GMAIL-MSGID: =?utf-8?q?1760880852016722830?= Following up on my first series with this second series concluding all the low-hanging immutable irqchip conversions in the GPIO subsystem. These are all I could easily convert. The remaining irqchips are not using the GPIOLIB_IRQCHIP for one or another reason, or too complex for me to deal with. Mostly they are using generic irqchip, and I guess those are fine as-is. Signed-off-by: Linus Walleij Reviewed-by: Marc Zyngier --- Linus Walleij (9): gpio: rda: Convert to immutable irq_chip gpio: siox: Convert to immutable irq_chip gpio: stmpe: Convert to immutable irq_chip gpio: thunderx: Convert to immutable irq_chip gpio: tqmx86: Convert to immutable irq_chip gpio: visconti: Convert to immutable irq_chip gpio: xgs-iproc: Convert to immutable irq_chip gpio: xilinx: Convert to immutable irq_chip gpio: xlp: Convert to immutable irq_chip drivers/gpio/gpio-rda.c | 22 +++++++------ drivers/gpio/gpio-siox.c | 75 ++++++++++++++++++++++--------------------- drivers/gpio/gpio-stmpe.c | 8 +++-- drivers/gpio/gpio-thunderx.c | 26 +++++++++------ drivers/gpio/gpio-tqmx86.c | 28 +++++++++++----- drivers/gpio/gpio-visconti.c | 50 ++++++++++++++++++++++------- drivers/gpio/gpio-xgs-iproc.c | 32 ++++++++++++------ drivers/gpio/gpio-xilinx.c | 23 ++++++++----- drivers/gpio/gpio-xlp.c | 14 ++++++-- 9 files changed, 181 insertions(+), 97 deletions(-) --- base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6 change-id: 20230316-immutable-chips-2-ad2808db8054 Best regards,