From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C05C3019D6 for ; Mon, 2 Mar 2026 06:27:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772432821; cv=none; b=VQLcX5bO+fQLOQD5HitbtXADxsRIHRXCfeNBSOUsVMe2p2ECT1tIJldSaxRytGufwhuRRm/TJviZKWGtHIsMKnIKrsOvYQir3LXVhQ1JMBT7rhzn9mutwLdBx1vhj9thOT4NjQuD4fJcW5WbqZ0xM+Wnzf6p11PXC3Qf7ehvwEc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772432821; c=relaxed/simple; bh=zo6+Q8rEnySkoF/Ls1i+DHFGAQlp2Ml7zWL3tOI0U8Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=s68WOPY9VWlGdu+CaPdcxARwTFhIqXn2JbPXXN4fhMklwxrKIEp/appxEyHRfzsSR24fGFItG+gwiZXnx/cGzmQORb/FFRMjykE/IAbdSZ9vHvP6hZ1bFNEet80w43FpgSYg98M1ukIoTa494u9sX2RJDy/+XSG/A2qJLyua5xs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ZxrcUD37; arc=none smtp.client-ip=209.85.210.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZxrcUD37" Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-82746ed8cb1so1906240b3a.3 for ; Sun, 01 Mar 2026 22:27:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772432819; x=1773037619; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=L91Q8IatAKBkKu8hLYz+uIzJctBddoN9o5GCq8n1+hg=; b=ZxrcUD37oB1dB/urTG5HyZMSjPYMOkCe1JkdTpChSy82v6A40/GsvAnjKUPkkQ65u9 rvErQ5Q4li3JXXvTtYelREbyg2yRkXWdzRtX58q4Lv1kj3hS74uzjHygq8caCWLfy3mG KaLU0yE2+4evcCMpuODs87+Kvk4fPfRGTTD2c/meD4h7gXtDo5jSVR0717EVbc2g6dsd troK1Vx4gTg698smEouSKQmlhMYYg3Dju6OOI06PxBabhRLp5Ingn0fFBfI8e71s0fbh Xa8R4UiZVb0X8FxGPx/zs4u2sbHkF31H6DhgapLj4ScLK1ti8n+AOdqYO6vVRvqXeK3b 4vjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772432819; x=1773037619; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=L91Q8IatAKBkKu8hLYz+uIzJctBddoN9o5GCq8n1+hg=; b=LRopQ/rCSblCPjP9KyJWVcN2w3O899ikQ1Vh1l8vFDM+0C1SoZKSG+kTKFJgqBYZuq 5gGBOgDljAhc6YFswEwpHQg/lr+DvtsML80XtBgpAv0JHG+i5jKGl7AK2Lu9E0X03Kzw nw118e22F898EEHNk+Xi1bZUUa2ImG5zNSjWkyZHwpE2blrHdVP11aKewvaS14nEZu3o A8o3k/teA4L1h0FNpXEg1Dn6wwJiCQKm7jrxRLGlmkcXCMwynxFH6o7eAyz43T9MSqK0 7Oc5bRDOGZKBis8MPc7OU25bhnT4BFjJFqrOTELz0hO6ePepxJtoUwmx7GC1+P0nQRW2 xF7w== X-Gm-Message-State: AOJu0YwpMQRgTxQj2aT8LNNZ3crQX3AGJrwY6I1eYFMHAHYaXtutwmr7 5hns41qNFiKl3itAnK+X1adU4U8Kvq1+9rXjHLGFalrEP3gDY/xkVgJM X-Gm-Gg: ATEYQzzOuScpwbWPsbb2AHl1bi1tDaMar3BeXL8uHZUGuEdqx6heXforMXULuWqDivy h2Fhb6QdmbRNlM22tcExIeL/k42K4VPd+a36uUy0MHnKSqk0na9JvLAdILRkYf2viPUkkDYuc+L GmKfWW5xd9V3LvMGVFaCMhffGgeHMCeUAGEZAC+XXqH3r2lyDwbMDLTDylKBhL8EPx8XqwiwmNr 7EQRMoSVw3Co9sLBvue74PW/lznq+Ifoi967XXUpUTFhJDnYvKJ0F3qvC7edilX/uakIcslUn7f yItmR1zPNf7zHaeWe+966zajQ1KS5A/lZIOcgsMi5Hx87/SK4zQg1cSvwlhzWUK2q7juLI/f22O 8Ci64Q46rMqWKA0zwg8kMCXrJ8ELf3T/spCubHSpXYIqf2vMjN24IpKU4Htio13AucZ0Psr9bmb 87JL1DMq3LOiBeNVmTgNwRLPpPzXPgD+n+3YFjk0ORm/2i7HiZzfwuC0lxpB5FKA== X-Received: by 2002:a05:6a20:9404:b0:38d:e674:b60a with SMTP id adf61e73a8af0-395c3ae3834mr10889293637.36.1772432819513; Sun, 01 Mar 2026 22:26:59 -0800 (PST) Received: from localhost.localdomain ([202.63.77.193]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82739d4dc6dsm12274234b3a.6.2026.03.01.22.26.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Mar 2026 22:26:58 -0800 (PST) From: Bevan Weiss To: lee@kernel.org, pavel@kernel.org, linux-leds@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Bevan Weiss Subject: [PATCH 0/1] leds/build: allow tristate for leds-syscon Date: Mon, 2 Mar 2026 17:26:45 +1100 Message-ID: <20260302062646.938576-1-bevan.weiss@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit My first submission to a linux-kernel list, so apologies for any errors. In OpenWrt one core kernel image is built for a particular subtarget, after which it's only modules that can be excluded from an rootfs image to reduce the space consumed. Unfortunately leds-syscon currently doesn't seem to allow for being compiled as a module where it could be excluded from an image. In my testing, it seemed relatively straight forward to enable this however. I wouldn't anticipate issues for other systems, as they would still be able to request CONFIG_LEDS_SYSCON=y to get the current behaviour, identical to how they currently operate. Bevan Weiss (1): leds/build: allow tristate for leds-syscon drivers/leds/Kconfig | 4 ++-- drivers/leds/leds-syscon.c | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) -- 2.43.0