From patchwork Wed Mar 6 23:50:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 13584906 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8A032C54E41 for ; Wed, 6 Mar 2024 23:50:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=zxEIBCErsmzA0vR00fsHlYl9ylfMeoZ4thKIpxkdjHU=; b=KpRONsOnn6Sd4n e3T88A5c/yhnTE7M8LtxvqvogY85dh8n9PgwME+8YYOCV0mIPlNaII8khDMVq3QKJ/rHTsUCMesuW ZYe4I2c4h2X/v78GB0AEVyxxCnk70CcyErJipMGM6qqu2eNM7rAH/9VTx1B/1qsgCMqndC6SnO8IW 1BUwHCfv2L5Gfmufxo7T3LkE+TVKiubwSBqGsXcIVY2fAU6ysIkis/NHZFTT5bEsweA7Vu2CDUQaI 6T2jZngWahvSSLRnvovWqOldHjACPmUUOlDKRoXPl3fNSNtFjwdYnbg5Ts6b2TUCUAcGEuTu6U0Sw VB+QRJi9bFoZW5Q6428g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ri11y-00000002J1v-0Bsd; Wed, 06 Mar 2024 23:50:38 +0000 Received: from gate2.alliedtelesis.co.nz ([202.36.163.20]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ri11u-00000002J0H-1fbe for linux-arm-kernel@lists.infradead.org; Wed, 06 Mar 2024 23:50:36 +0000 Received: from svr-chch-seg1.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id D1A182C0220; Thu, 7 Mar 2024 12:50:25 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1709769025; bh=WyoWcZDwLyeyZEXFs2G2QnqK2+2LcM5zhvfqzAtSpNs=; h=From:To:Cc:Subject:Date:From; b=Joz90yLWp5uMkCO9Lc8+SnYx9+T1EOuPtCy5YimxKG8Ur4cFwGB5Z32gglTOC2Kcd 7JXtuKX2CJhLGl9eiiF5OODxh/q96wFLDcSu+8vcPcsUodoFz+l3VEzItLoLW40qcH DOmyDAs5i04Ild55lmKHyYzv0v2OrCdIoG69ZBV1AdFeKqc5UPaOLSzP/cRWEJIEOs tBtn614Ad2OHP/T2BtuBCWjtQHKid92BbToBcnSbdJ+QOZ4u8Tgu7UMMDx7901EnrB VL6jlIxE1KGuuM2EHXWTMK2oWFtXzDdyFZx7aSuzPOj/0YY8mepQi8z1L45a9dTzI7 WKm/hJOqOv2nw== Received: from pat.atlnz.lc (Not Verified[10.32.16.33]) by svr-chch-seg1.atlnz.lc with Trustwave SEG (v8,2,6,11305) id ; Thu, 07 Mar 2024 12:50:25 +1300 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.30]) by pat.atlnz.lc (Postfix) with ESMTP id 8220413ED56; Thu, 7 Mar 2024 12:50:25 +1300 (NZDT) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id 7AB97280B6D; Thu, 7 Mar 2024 12:50:25 +1300 (NZDT) From: Chris Packham To: andy@kernel.org, geert@linux-m68k.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, lee@kernel.org Cc: linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Chris Packham Subject: [PATCH v5 0/3] auxdisplay: 7-segment LED display Date: Thu, 7 Mar 2024 12:50:18 +1300 Message-ID: <20240306235021.976083-1-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.43.2 MIME-Version: 1.0 X-SEG-SpamProfiler-Analysis: v=2.4 cv=BKkQr0QG c=1 sm=1 tr=0 ts=65e90141 a=KLBiSEs5mFS1a/PbTCJxuA==:117 a=K6JAEmCyrfEA:10 a=vR_gaf37D5lytMZdZ5IA:9 a=3ZKOabzyN94A:10 X-SEG-SpamProfiler-Score: 0 x-atlnz-ls: pat X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240306_155035_129197_1A8B744D X-CRM114-Status: GOOD ( 11.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series adds a driver for a 7-segment LED display. I think I've addressed all of Andy's feedback in this round. I haven't heard from the ARM maintainers on any of the previous rounds. At Andy's request I've dropped the USB LED change as it's not related. I can submit the dts change separately if required, I've mostly been including it so there is an in-tree user of the driver I'm adding. Chris Packham (3): auxdisplay: Add 7-segment LED display driver dt-bindings: auxdisplay: Add bindings for generic 7-segment LED ARM: dts: marvell: Add 7-segment LED display on x530 .../bindings/auxdisplay/gpio-7-segment.yaml | 55 +++++++++ .../boot/dts/marvell/armada-385-atl-x530.dts | 13 +- drivers/auxdisplay/Kconfig | 11 ++ drivers/auxdisplay/Makefile | 1 + drivers/auxdisplay/seg-led-gpio.c | 112 ++++++++++++++++++ 5 files changed, 191 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/auxdisplay/gpio-7-segment.yaml create mode 100644 drivers/auxdisplay/seg-led-gpio.c