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: 778993 Received: from gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [202.36.163.20]) (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 A0AC91369B9 for ; Thu, 7 Mar 2024 19:50:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.36.163.20 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709841061; cv=none; b=d7+qUAo0ksOkrZn3aqjNBNQjC7sd9EnP2XZE+wznG9LJ0jJlXYSG22T+KJpk4gtfeKMo9WsqJH8jpddVNzqzRriAPPUfUnhmQd0NViiaCMp8/1KpUbC4uyL0qZyvMXLdJ1QDx3XUTKlmkSamhHmZ8Nq6vR3QaKsW5s3pRsgAqck= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709841061; c=relaxed/simple; bh=cQnFoidiV8SbY3NpmvYiYVvmuFmU0SCpFFwSZGGyC14=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YRRjiWe/OUH+woSV6FHEkCMBM7s5HodIydIe7Oht+sm/B3KrZDQKZzr1PPWTfBc52GTWGBFCMLwvsmTz2hq0LlDRQOW3gCICzxBKExGZhWiss2/rGOwp2rJjK7J76UZMuG5Ou/tv0sGrlhpkG1xawn01Wb+9Pq/UYl3XtjBSccc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=alliedtelesis.co.nz; spf=pass smtp.mailfrom=alliedtelesis.co.nz; dkim=pass (2048-bit key) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.b=0Yxn+aHB; arc=none smtp.client-ip=202.36.163.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=alliedtelesis.co.nz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alliedtelesis.co.nz Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.b="0Yxn+aHB" 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 Precedence: bulk X-Mailing-List: linux-leds@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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