| Message ID | cover.1744350629.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 4ZYpD75sD4z1yHt for <incoming@patchwork.ozlabs.org>; Fri, 11 Apr 2025 17:27:19 +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 1u38nR-0002HT-U4; Fri, 11 Apr 2025 07:27:29 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.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 1u38nQ-0002HE-KK for kernel-team@lists.ubuntu.com; Fri, 11 Apr 2025 07:27:28 +0000 Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) (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-1.canonical.com (Postfix) with ESMTPS id 5A1B4400AF for <kernel-team@lists.ubuntu.com>; Fri, 11 Apr 2025 07:27:28 +0000 (UTC) Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-227e2faab6dso15158545ad.1 for <kernel-team@lists.ubuntu.com>; Fri, 11 Apr 2025 00:27:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744356447; x=1744961247; 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=mYM4RZLr/NAzlB5n6xdGXxJ4PZKEmTfIV4h/zkoBst4=; b=qyxSM7lfzUDJ4rcubDi175b/Gwd21w8KIkNO3IG8jV2/rA1qpfMAsG8KIE9LmccXE4 BybeKqgVdztKpezi6DIWyxBdxVZ438DEwyZhk5VU/xnDm3M3t5hgmNVcvbiaL3KhYbcT EWK2Eitr0JVdR7j1X++ZNq1XdKnYzaaqjOp5e3+Z9S0wohkNH0geCzde69g11qa5boI6 6SxZKNOzaAmldLiEZPhhs6QlrOpsykXNHPpU8V4/kYLD0/EzTWA4Kr/BplRMBDlJIu4/ +vKn/KwftyVJeG/Gk5Xo2/5W2B8GoKmqiWMInhWehmxAhGLMQiNUAIjWmFyFPS3rK5De Dg0Q== X-Gm-Message-State: AOJu0YxBng4qL7rf0A8d5ov9b8SwGSwil0tArw25PnlcQhW3QW0yBTtx jNWwTcNFhaH/1xwLjrembwCte4VDRQ2pZsPD6gTRq40HiW2s6wJWUXh34iNhxLTG0qxEvP6m79Q g0u8WSJb+XzWnvpPg4F6sR9uhhtdedcxJ1Ztgx7u3egroGbjG1dtQilKL1JyZuy0ll/mjqbz2Zg uKlb3x/UiomA== X-Gm-Gg: ASbGncuNUcYkTqIxSaWxtnljPFWEALF6uMjUHXjDApMYKWMt2fRDYbH4u2J8I4lR9EL v+pcdPk++kxIzB0MWhCmLOJ2D4wVcrrjSwP04dgj6/CXyaTz1wY7gslgCfydzbo9MASr46BRQ8M dGl+rF2MZPFCSb42zYcq+Hot8Q30/SJpkqUklWJHiRGYUtnTb9jmrWvZ2yqBytcnzdtd23JGCq5 7Z40TTfuMbCUoHDvHDiSLOFcQmU2Ksm5s0FIpFCWNZQM0lde3ZKuPkQngKnGG0iprqeT7JHxSr1 0DWQRQTdIp292VvZE9JLLbtnGFO5DQ== X-Received: by 2002:a17:902:fc4b:b0:21f:85d0:828 with SMTP id d9443c01a7336-22bea4f183bmr32320535ad.41.1744356446897; Fri, 11 Apr 2025 00:27:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGypp8MnUbx5iDDBVyMDVY6F3A4iftSkV0MGkcNzX4T9ILWNtnnRj5QNeIzSATxsq7icmsbXw== X-Received: by 2002:a17:902:fc4b:b0:21f:85d0:828 with SMTP id d9443c01a7336-22bea4f183bmr32320235ad.41.1744356446448; Fri, 11 Apr 2025 00:27:26 -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.25 for <kernel-team@lists.ubuntu.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Apr 2025 00:27:26 -0700 (PDT) From: Koichiro Den <koichiro.den@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [SRU][O][PATCH 00/13] Introduce configfs-based interface for gpio-aggregator (LP: #2103496) Date: Fri, 11 Apr 2025 16:26:22 +0900 Message-ID: <cover.1744350629.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 (1): 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 ++++++++++++++--- tools/testing/selftests/gpio/Makefile | 2 +- tools/testing/selftests/gpio/config | 1 + .../testing/selftests/gpio/gpio-aggregator.sh | 723 +++++++++++ 10 files changed, 1900 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