From patchwork Tue Apr 4 09:43:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 7685 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2901881vqo; Tue, 4 Apr 2023 02:56:32 -0700 (PDT) X-Google-Smtp-Source: AKy350bAidH5Mv3aRaGV+SFI3YV/g6RZDIfHeLx9xKw4ikC2DVVnMeJIec1Bn7tw6c+/ugS6oV8I X-Received: by 2002:aa7:8fa7:0:b0:625:524b:9712 with SMTP id t39-20020aa78fa7000000b00625524b9712mr19932731pfs.2.1680602192314; Tue, 04 Apr 2023 02:56:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680602192; cv=none; d=google.com; s=arc-20160816; b=K2lSOiuRrXAyxEj9SIOry7bK0quGAUWdNhdLMv0Tct05jSeh9tgJjc2cmJPOhqIbro NYvLdnGAjmYncILHUmxTX3HqglGHkt+5DzL76/qtdSq3etDsDl6xf/aND8mAOYg0Y1T4 Nlo2zjXK8Fp47UK38t6mYL/E4niIlrVlF54BsKpm6tSb6d7licQ6FctHKiqn+9xA3teZ Tp3mBlGBiGBTh/kxOPxUboRHdsx0MIQnahEStFUEUC0RXaYjUG8/BIwykdajIhRXDdTW ZOAighw8YuAk70GUctBBMWs/FJYX7m9HGUJlGRgOJzbPKnRCtM1ZZEu3Sm03GJevfyle dejg== 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=KRzv9smVSuXlAiuE6nE47MRg/YlyfJfzc/qVDw1E+Jg=; b=GbL3XXONbqsDDCjP7qr9UEyMMLWegqgMaMejLbsH8CLLXJKpqDQevpENNzC1fvmHkv W8OLW/bQWTdgBVlN9s310nW6FZPmGbip/rNberFeFDtFzR3XCn9TSZQjdLurHNloVMWH 7qcGIyFazbsJjFDxLXJ7YYwZWH7RNuRb00HRMrBNhjBgInvMzkzEcyKz0oNlAr2LKd6c 2tjcayEWdseChd4lj0gNOCqWS0wi0WsOvg1D4yNBBJlAxyMIEKHPy4BfYyZ7jIl0xyDV SwgblQa8znLnbRXNyFueE260LD9vCwVwNOIAKWCoxp9vGvj9q1N7s14u1Kmw+srQbZcG LbQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YeuAYOJg; 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 h7-20020a056a00000700b0062b9c3cc611si10271213pfk.329.2023.04.04.02.56.19; Tue, 04 Apr 2023 02:56:32 -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=YeuAYOJg; 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 S234291AbjDDJnP (ORCPT + 99 others); Tue, 4 Apr 2023 05:43:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234268AbjDDJnN (ORCPT ); Tue, 4 Apr 2023 05:43:13 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4661C19BC for ; Tue, 4 Apr 2023 02:43:11 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id h25so41609516lfv.6 for ; Tue, 04 Apr 2023 02:43:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680601389; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=KRzv9smVSuXlAiuE6nE47MRg/YlyfJfzc/qVDw1E+Jg=; b=YeuAYOJg8RKBKpsfUQjs/kgAenYVEmVwzqJbLFsEPK/KvREOv8xHEoKRmXoFF7sPyG v2qbxWjM6hY16GcIoIv5VlHp1y3IWXkCvM033GOY60rNXlDxTma6lriRVkpEecryoOuI 4Swi+Hc4peb5e13297zht3+L7ukFfdsHE1oflRo/336tvzgz+SlmDq1uV/oG7cqiw3SQ ZDDW8p1Fg9K6mHpto+5dHuUssMgWQG9JwDkCUgkJMewCircHt2XNc5aqRRfRZVCQGN5L UcbwPZmtLWSbcIk7BUNj1Q0lKn6PxJYm2CxlJ+uzg+3ec3cyst41vGif/jvVpx6dTIIj Wt5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680601389; 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=KRzv9smVSuXlAiuE6nE47MRg/YlyfJfzc/qVDw1E+Jg=; b=ifvkZseQxVNU/V8H8AdFfwMdr1cJHh3AFHsajcVfhnJ11Ee+D/4tZtlxiJcxnfh453 Pv+SLDbAtyL5YQwVDZu2GZmp3h23q9uOG2BwBvX7BbvpR5atB5CoQWx53HPl7q49OCEw LQ8V+zfm3RBdp7PbF8lqhy+EfSrkPaCUPhhjee4BiywRcmLsuGQQNh0nxIv5MTg4LyLg UBDDxbNMTG6X3uNnXub+jN/pWQtVpvoM2+yTrLANR1UVY2+7AKJtg49bUtZSQwJB/536 FLuLOSdproIxrDs1MnmVpiNfyfvOIVP8J5hdWVOKttVt4bKIm+DMcf7y+nTexn6/48+I rkjg== X-Gm-Message-State: AAQBX9c1Q3/2e+jPH3uYqG5KopscqYGdklk0lkJl6zE9n4ewUzT6aZ/R 6poD5/UcQTTtJHrNk4YJbABhPQ== X-Received: by 2002:ac2:4c34:0:b0:4b6:f51e:b8b6 with SMTP id u20-20020ac24c34000000b004b6f51eb8b6mr517329lfq.56.1680601389522; Tue, 04 Apr 2023 02:43:09 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id l25-20020a19c219000000b004eb258f73a9sm2218443lfc.163.2023.04.04.02.43.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 02:43:09 -0700 (PDT) From: Linus Walleij Subject: [PATCH 0/9] Convert low hanging pinctrl irqchips to be immutable Date: Tue, 04 Apr 2023 11:43:02 +0200 Message-Id: <20230403-immutable-irqchips-v1-0-503788a7f6e6@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIACbxK2QC/22NSw7CMAwFr1J5TaS0qcrnKoiFkxpiiYZgU4RU9 e64rFmO5o3eAkrCpHBqFhB6s/KjGLS7BlLGciPHozF0vgu+98HxNM0vjHcT8kyZq7rjAdMY+j2 1wwAWRlRyUbCkvKVX/sz1T7dNq5Dp3//5sq5f3vhqFo8AAAA= To: Ray Jui , Scott Branden , Broadcom internal kernel review list , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Patrice Chotard , Maxime Coquelin , Alexandre Torgue Cc: linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, linux-stm32@st-md-mailman.stormreply.com, Linus Walleij , Marc Zyngier X-Mailer: b4 0.12.1 X-Spam-Status: No, score=-0.2 required=5.0 tests=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?1762239124383842210?= X-GMAIL-MSGID: =?utf-8?q?1762239124383842210?= This repeats the two-fold exercise in the GPIO subsystem by doing the same for pin control: let's switch over all easily identifiable irqchips to be immutable. Signed-off-by: Linus Walleij --- Linus Walleij (9): pinctrl: iproc: Convert to immutable irq_chip pinctrl: nsp: Convert to immutable irq_chip pinctrl: armada-37xx: Convert to immutable irq_chip pinctrl: npcm7xx: Convert to immutable irq_chip pinctrl: equilibrium: Convert to immutable irq_chip pinctrl: mcp23s08: Convert to immutable irq_chip pinctrl: st: Convert to immutable irq_chip pinctrl: stmfx: Convert to immutable irq_chip pinctrl: sx150x: Convert to immutable irq_chip drivers/pinctrl/bcm/pinctrl-iproc-gpio.c | 38 +++++++++++------ drivers/pinctrl/bcm/pinctrl-nsp-gpio.c | 23 ++++++----- drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 34 ++++++++++----- drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c | 34 +++++++-------- drivers/pinctrl/pinctrl-equilibrium.c | 22 ++++++---- drivers/pinctrl/pinctrl-equilibrium.h | 2 - drivers/pinctrl/pinctrl-mcp23s08.c | 36 +++++++++++----- drivers/pinctrl/pinctrl-mcp23s08.h | 1 - drivers/pinctrl/pinctrl-st.c | 16 ++++---- drivers/pinctrl/pinctrl-stmfx.c | 36 ++++++++++------ drivers/pinctrl/pinctrl-sx150x.c | 64 +++++++++++++++++------------ 11 files changed, 190 insertions(+), 116 deletions(-) --- base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6 change-id: 20230403-immutable-irqchips-98acd347e166 Best regards,