Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1212207rdb; Mon, 19 Feb 2024 07:45:48 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVeCW2byUe2Gxbbr4byiin7yvTiJfSf7gxzydQFn+I+6KDWzmOsH62TiZOMXALoL2Vo/18mJvWe1aMBZ2fb2hElugsA1gVkrTRVc0KWnQ== X-Google-Smtp-Source: AGHT+IGZ2g4JednjrflWMb4bQK4KJu7Fa+NCexugv/e+kB3bllelMmRSf2uLpVKNb8PBYbHRN7kL X-Received: by 2002:a17:90b:8d7:b0:299:75a9:9273 with SMTP id ds23-20020a17090b08d700b0029975a99273mr2764686pjb.21.1708357547844; Mon, 19 Feb 2024 07:45:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708357547; cv=pass; d=google.com; s=arc-20160816; b=qDqAvWsahuylCAWnywMi7CV0UwWWhtJ6Ch8gtDXug/8jCJAouLy7LMzU0S37jNJL6F D8PGHbeQsj+HIhlYcMXICBifb3ZRdAdQSk4Sf7Npks+e4BC/vhpZ/4HlLFKj+EO/2aCt LDuUQDGn3pQ/2Bz5Nnf7T7OpTH9/TZ4dAtdGrDFenK3249oc2dj9q4hCyc2SaUn4ajak ZIj/C4fyeRBlMqWJzt4Cz4/pS72OXyFmtDL6zhmPAKwZ0/44lGOfiAgpMuP+QmCajAkC SH3ZhZC3hqcypgkdaOUGoLi2GZr5Bhxbi6o9zA59y9GOe7eZ/7MgcrXlQhfSuRY2ns7W +5bQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=XGkPyHRZGdXnHCCK4TUPor1qkxga/sNFfj4wWfPCLlE=; fh=bnVKsS9zmSflm0VavcJCIhG/GT2MfPaQ/deGTTkkV4g=; b=dz+0BZryQNvF7IVwMRNHxN4M5Rb2keahmhzWFuOeiKbKjf+dLVtD4srY9pQXjcKy7u EmqCt79GfFN4vDvYLlhFviNYALxu/7NjJl4hSrLO7kYeGw6SeaIVIoJEeucjiVhOeJ5e amD05VhD7qJSkCDZ7zl7jAOaQn+8P8hovyXXJZWe1AKEaRphFfPxW/sWl+YSnhYVb8wy F4bwi2UyCQXtLAAyBzavsZlQV9x41s3m60XIm4jBVTvlSchd0Dhh3fQAOwlIwf7BfZ4l YSRl0rpz13zVzmfr2japn/POR6Zbv3NwlOkc00MnHYfQlNBR+FqgKomlCrQijFEXAR7t NYJg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=QhbFq6B3; arc=pass (i=1 spf=pass spfdomain=ucw.cz dkim=pass dkdomain=ucw.cz dmarc=pass fromdomain=ucw.cz); spf=pass (google.com: domain of linux-kernel+bounces-71590-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71590-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id ob1-20020a17090b390100b002992be954fasi4791379pjb.6.2024.02.19.07.45.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 07:45:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71590-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=QhbFq6B3; arc=pass (i=1 spf=pass spfdomain=ucw.cz dkim=pass dkdomain=ucw.cz dmarc=pass fromdomain=ucw.cz); spf=pass (google.com: domain of linux-kernel+bounces-71590-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71590-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 95263B221E0 for ; Mon, 19 Feb 2024 15:35:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0A80539AF9; Mon, 19 Feb 2024 15:35:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ucw.cz header.i=@ucw.cz header.b="QhbFq6B3" Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 12EB638398; Mon, 19 Feb 2024 15:34:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.255.230.98 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708356903; cv=none; b=IQrkQppQiwRzlQSKamiginByLZTqz/lxMR9wlXGDO6LIs+5iKMfgvYfFvkBm20iK5jxi9pZtR2nI7Cml1M7drXO3d65THuQGQ7aLoUxn8VbGXM/ItA4mjpx8f4k0tXItMYFjE9/lz7kPrUC5M3P3OCJkCtEzWiv1G69/JdjvvM0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708356903; c=relaxed/simple; bh=aqXyVlW3d+HoF9uReR/+Utxa70z7YXA2kyd8nwe/nkU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=IjVRYQx5UeWUdLNIng5vd0LbnytZqzaRm0+MqxOwyWIWmkKJ7cYxddaqb/2U2BUpLWZQG0U9548U8uTNA5MSnxhe+dfMchRoPRu2XK8u3TRxmmiVQ/IlqDmDGpv/9jXwq//DS/MXsnCSxUcOsLrEQKQG5FVaE81m72rFqffGQHc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ucw.cz; spf=pass smtp.mailfrom=ucw.cz; dkim=pass (1024-bit key) header.d=ucw.cz header.i=@ucw.cz header.b=QhbFq6B3; arc=none smtp.client-ip=46.255.230.98 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ucw.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ucw.cz Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id A78651C0071; Mon, 19 Feb 2024 16:34:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1708356891; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XGkPyHRZGdXnHCCK4TUPor1qkxga/sNFfj4wWfPCLlE=; b=QhbFq6B3Topv1qBT0xYd/ix9Em4Ub9RSJr+dwV5KWiSEbuprYBVo640m+4DoiBnbFCwhPU saQ4g26CApXHkDeM6jZRY8HzfUTinelTFjQCFsLMgHDQWs35RPfyi8P2kb3GLZAO9w2Hk9 gX5Uc1K6BXVy0OHAhKtxlCefSpRrDXg= Date: Mon, 19 Feb 2024 16:34:51 +0100 From: Pavel Machek To: Chris Packham Cc: "lee@kernel.org" , "linux-leds@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: Linux support for a 7 segment LED display Message-ID: References: <1f598a72-dd9f-4c6c-af7f-29751f84bd23@alliedtelesis.co.nz> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yPb17zyHgF1OuMIw" Content-Disposition: inline In-Reply-To: <1f598a72-dd9f-4c6c-af7f-29751f84bd23@alliedtelesis.co.nz> --yPb17zyHgF1OuMIw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > I'm looking for something that I figured must exists but maybe it's so=20 > niche that no-one has bothered to upstream a driver for it. >=20 > I have a requirement to support a 7-segment LED display[1] (one that can= =20 > display a single digit from 0-9). Hardware wise it's just a bunch of=20 > individual GPIOs connected to each segment (plus an extra one for a=20 > dot). I can't see anything obvious in drivers/leds but maybe I'm looking= =20 > in the wrong place. Or maybe it's the kind of thing on PC hardware that= =20 > is just driven by the BIOS without the operating system knowing about it. Look at drivers/auxdisplay. I believe we have segment displays there. Best regards, Pavel --=20 People of Russia, stop Putin before his war on Ukraine escalates. --yPb17zyHgF1OuMIw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCZdN1GwAKCRAw5/Bqldv6 8qdXAJ9M+scNVUZ8g1U6IPdv+E7AK/PlMACfTgZ/uvO9npw3kAX/VIEJtyVy/Bk= =vVrC -----END PGP SIGNATURE----- --yPb17zyHgF1OuMIw--