From patchwork Thu Mar 7 19:50:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 13586192 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 9D1D0C54798 for ; Thu, 7 Mar 2024 19:51:20 +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=aazqd1evEnEvIfcYpE2sIFofWfB8HI/di5rxCNVE4yY=; b=0A9iP96ih9B1eL eA0XaLy9Zf0GmvQy83AdL8ulO88eGV+D4tH1J+512MBH2tVUTbD3Bg4LYRe5Bhe8hSdAN5EfEMN8r z0/SsOC8mfQ+6uR4Jt+518TP2FGv2ppY5ZVwkXr5D/hUFMfvFRNX9a0WkgtmVLe/uh3XHDJbE2YqE ak9YYEyjOu+gjGumR7g9byOTos43OfXaczUmf0SL33gRVLaNyLfcaqyDsxz/GaWom+e3mu0wZdIGu HjIXlG6kqLcsnN7KwZAS7thpKraA4YlwNLAEuItK496KFSqdhS+ne6tHsxXs4fEq+lYGKTpbOProF WCW+u1ez6o4mvtxerREg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1riJlj-000000068gi-1TwN; Thu, 07 Mar 2024 19:51:07 +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 1riJle-000000068dC-0onI for linux-arm-kernel@lists.infradead.org; Thu, 07 Mar 2024 19:51:04 +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 2648A2C0230; Fri, 8 Mar 2024 08:50:56 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1709841056; bh=/CsoqBaF4QQmh/yhUXEg5ykrKNTZyl8O9XO+0F9DFoY=; h=From:To:Cc:Subject:Date:From; b=0Yxn+aHBLhLVI4vQsytuVBOhyY7scTIrYQ6EqWoMMNi3GilElsy7wiB6CdixmjwBk celZTr7+VcTAyWTkWEzUR/8yX+u+M9h270eU6dkMf/d2oNjT05MgiJilyMyevnQtkE qowDnuaYO4B0ko4XZSUbJtDVcnoNDZOvhmXp1fBD/lszQo0CRgnCugUmg+Rk3V1ur4 9Sf2YN6Ibrgmgim1n1YPqwqFJcf53rpbJb40sF1L+q6IAReMRNRhaiRIetLFnbu2bR Az3tZBWiO9/Kuk0rcsO73BmBlZxygN2HFWDv1BbcZKZTZpCtPHJGj6PQNViwPgzy36 jgTyiMMlg6vAQ== 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 ; Fri, 08 Mar 2024 08:50:55 +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 BEC2A13ED8D; Fri, 8 Mar 2024 08:50:55 +1300 (NZDT) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id B69382808A5; Fri, 8 Mar 2024 08:50:55 +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 v6 0/3] auxdisplay: 7-segment LED display Date: Fri, 8 Mar 2024 08:50:50 +1300 Message-ID: <20240307195053.1320538-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=65ea1a9f a=KLBiSEs5mFS1a/PbTCJxuA==:117 a=K6JAEmCyrfEA:10 a=B6tuhtDmE4Oz97erSUUA: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-20240307_115102_755711_EB98387B X-CRM114-Status: GOOD ( 11.00 ) 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. 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