| Message ID | cover.1744350640.git.koichiro.den@canonical.com |
|---|---|
| Headers | show
Return-Path: <kernel-team-bounces@lists.ubuntu.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4ZYpDS4gttz1yHt for <incoming@patchwork.ozlabs.org>; Fri, 11 Apr 2025 17:27:36 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from <kernel-team-bounces@lists.ubuntu.com>) id 1u38nk-00035a-JZ; Fri, 11 Apr 2025 07:27:48 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from <koichiro.den@canonical.com>) id 1u38ni-0002w7-MW for kernel-team@lists.ubuntu.com; Fri, 11 Apr 2025 07:27:46 +0000 Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 1A6CA3F169 for <kernel-team@lists.ubuntu.com>; Fri, 11 Apr 2025 07:27:46 +0000 (UTC) Received: by mail-pl1-f198.google.com with SMTP id d9443c01a7336-2254e0b4b85so14418045ad.0 for <kernel-team@lists.ubuntu.com>; Fri, 11 Apr 2025 00:27:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744356464; x=1744961264; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eyTUCfQJ2F9lPus4ty2e1eGVoaPpaBpFct6VOKyCnfQ=; b=uvPZCDQPXcl3z6ooz2xJdBqZqQkEN+HNtE5s2wzMhmJVVcQzErFAwVbr78F3cTX2yS SdnvcF/U5+HWC96b9TFhNslKy3ecmXsPCcucq3Wim4fppcPfClfJrL1iS0xuF+uxivh2 UT1JThGeceCymBKCJqSgx22LS6kD4wzBwA184jvO6zGu1A/crMuurMNt1MJhwWgVaTif t6RyJmPm3G8A+gF6s020b7cuhRdJzPXrFIsMC3ufSsk77HQEFi3Afi6etAdjvuYn3Bd0 mjvIL5VPLJMoWoEhZQfP02EGzOP6ILRqgxd1DOB3Pmo6DaniZzm03nXPxIOlDgfdgvPg hb+Q== X-Gm-Message-State: AOJu0YzfSugUtr19thatMY1+vWDjyUbYEPX/S8lfIFiqVxeR25spnIf+ CZvvuLmUoYgi52+kHnVPaOqtHvrRJWdQBRHaJdiVONLlTPsJgcpL7yjCRs4Tgf4W/jr0vPR/LEo m2CmbTqIXwrErAOs6L/QjFTS/1tRKQsUa6IAFdXckVVghiPsVdqF5o4M130s6fHNTOVfkh8Woun DZ9c/bdXFgZw== X-Gm-Gg: ASbGnctTkJFOpNG9VfBYhLty7oVo2/acZj3Q6VJiEdNOqvpuKUwQmiwz7SNscX0qQ3G 0GCR8HR5RpAFQFimGtG/e7RxPYrjCKDFKXXEujWEad0IL5Ovd3rmm2kz9IKbU2zTAQYtjQI2S6G V3kRp6/lgEjv7/fwwH6zGXsXHHipokf0JKEc2VYKzCLrZBph9tH35h2S+pcehBhPirF3b1LHr9u 6WJd2yykkCjQlBSTuOpqrXqZthO4vRNW2Zh7HXDEFKWObB1Rxi/Rxa+X93r+866l2c0iA/oQIyD frpEGSYkhPsXHxPrFhNdP7CbwZ5FYw== X-Received: by 2002:a17:903:2348:b0:223:807f:7f92 with SMTP id d9443c01a7336-22b7eaa31femr83366175ad.20.1744356463982; Fri, 11 Apr 2025 00:27:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHQbpfmBLzEElSboaXIfaXvl8asw4ks/gd5oLwiwVA+kC/x6+8mDTGDrZ2y/Z3y8Eyj9ZGtDQ== X-Received: by 2002:a17:903:2348:b0:223:807f:7f92 with SMTP id d9443c01a7336-22b7eaa31femr83365875ad.20.1744356463554; Fri, 11 Apr 2025 00:27:43 -0700 (PDT) Received: from localhost.localdomain ([240f:74:7be:1:f99c:bbee:3855:787c]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22ac7cda517sm42421105ad.250.2025.04.11.00.27.42 for <kernel-team@lists.ubuntu.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Apr 2025 00:27:43 -0700 (PDT) From: Koichiro Den <koichiro.den@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [SRU][N][PATCH 00/14] Introduce configfs-based interface for gpio-aggregator (LP: #2103496) Date: Fri, 11 Apr 2025 16:26:36 +0900 Message-ID: <cover.1744350640.git.koichiro.den@canonical.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <174435057828.183979.10447742120666677608@z790sl> References: <174435057828.183979.10447742120666677608@z790sl> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions <kernel-team.lists.ubuntu.com> List-Unsubscribe: <https://lists.ubuntu.com/mailman/options/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe> List-Archive: <https://lists.ubuntu.com/archives/kernel-team> List-Post: <mailto:kernel-team@lists.ubuntu.com> List-Help: <mailto:kernel-team-request@lists.ubuntu.com?subject=help> List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" <kernel-team-bounces@lists.ubuntu.com> |
| Series |
Introduce configfs-based interface for gpio-aggregator (LP: #2103496)
|
expand
|
BugLink: https://bugs.launchpad.net/bugs/2103496 Bartosz Golaszewski (2): bitmap: Define a cleanup function for bitmaps gpio: aggregator: simplify aggr_parse() with scoped bitmap Koichiro Den (12): gpio: introduce utilities for synchronous fake device creation gpio: aggregator: protect driver attr handlers against module unload gpio: aggregator: reorder functions to prepare for configfs introduction gpio: aggregator: unify function naming gpio: aggregator: add gpio_aggregator_{alloc,free}() gpio: aggregator: introduce basic configfs interface UBUNTU: [Config] updateconfigs for DEV_SYNC_PROBE gpio: aggregator: rename 'name' to 'key' in gpio_aggregator_parse() gpio: aggregator: expose aggregator created via legacy sysfs to configfs gpio: aggregator: cancel deferred probe for devices created via configfs Documentation: gpio: document configfs interface for gpio-aggregator selftests: gpio: add test cases for gpio-aggregator .../admin-guide/gpio/gpio-aggregator.rst | 107 ++ debian.master/config/annotations | 1 + drivers/gpio/Kconfig | 5 + drivers/gpio/Makefile | 3 + drivers/gpio/dev-sync-probe.c | 97 ++ drivers/gpio/dev-sync-probe.h | 25 + drivers/gpio/gpio-aggregator.c | 1091 ++++++++++++++--- include/linux/bitmap.h | 3 + tools/testing/selftests/gpio/Makefile | 2 +- tools/testing/selftests/gpio/config | 1 + .../testing/selftests/gpio/gpio-aggregator.sh | 723 +++++++++++ 11 files changed, 1903 insertions(+), 155 deletions(-) create mode 100644 drivers/gpio/dev-sync-probe.c create mode 100644 drivers/gpio/dev-sync-probe.h create mode 100755 tools/testing/selftests/gpio/gpio-aggregator.sh