From patchwork Fri Sep 20 11:15:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13808480 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 EF9A6C78828 for ; Fri, 20 Sep 2024 11:16:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To: Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date:Subject: 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=TJ9NqHXUSHxiyxcQjusCgad+8Q1rEeKcLOlI+n4WvTM=; b=I2JoRHlPHszo14 MH5+JDfCu1SM55Q2VyRBwVFP31r/3bf86FXl0C5cm735GVtRARPgB1I9IxJhhatiL+CSjwamP44hh vUBt5OwqxCkjE7dflstRs2bK2/pLR0EXulqma8G/YUpqDOmdRzDQlgEk4iH90UkwJuOpgthF+6Pfb +CkKnKdGXywulABn6+BkbsMtwsetWyV4o94KWKC7bHq5TWmhJGJTrFj4OT2JrRBCxV4QhyDqE3qVT i1PkdO8C4Y7tuP4Py2iY0/oDxFm7HepU0ayNMwMyNAMpBaT4PHYyi5pz831hL5GbVeJXSrAALUwfE vNmbPA/ubLhMiHomgwHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1srbci-0000000C4Bd-35hz; Fri, 20 Sep 2024 11:16:28 +0000 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1srbba-0000000C41r-0T4u for linux-arm-kernel@lists.infradead.org; Fri, 20 Sep 2024 11:15:19 +0000 Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-a8a7cdfdd80so250402866b.0 for ; Fri, 20 Sep 2024 04:15:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726830915; x=1727435715; darn=lists.infradead.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=TJ9NqHXUSHxiyxcQjusCgad+8Q1rEeKcLOlI+n4WvTM=; b=epZNHgEGqtPD/ETKaHcZVtz5kpOKPyha/PFWokyEod2feqv4oUTYOkGJ9CXjW5Ldlf WMfF907BuLvZdMaLK4td4FbGm7Yj/6e672eHbN9On8eGndxHhke3vdHYKiSvN3n0n8VC C5QEQbGrqU1u/4wNs9O4RdrVojScUoaa84yg6Cl0+0J1uMewda+o5RN4Bq1esLeiN1wb qj2I94OhalXsyOvIsjDr5o2CZpXcXLKBEJzEhfqhvaCfElal6iis376XiIjyZUj2aLv8 Znadkp/CFObSxTqzmw8zt7JGFYZuN6PPLER7xPOpY585H5qTCqTADs7kQdldQcKHzuEk J7lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726830915; x=1727435715; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TJ9NqHXUSHxiyxcQjusCgad+8Q1rEeKcLOlI+n4WvTM=; b=Q2oQZyXHnsJZWMTUFZEKdcnIigL/YKMqryE+RTyaMDOUjKA432Py9+8Vc89vQdEpQ9 7iBti1NSzvl3YFZkc1zgZdVFKtDpeeP2nImaV4sD9AWLjAVtPypklWjr2+nLH1wXxmNu 3XILtKT4ZCEHRoHUClg4IKwfxy2Jq0jHBO/z4GrlHbbZTaf+1Z02mALiEh7fs8Im57dn +Cu1EXBt/g2o+x/8nfHrNMYratll8NU94M9A9O/UL9D1ws67/7PREwhZlt4fXqOQvNLo h240YU7ltaLTtkliz88zXwuA4U8IMuda9HJ872iBZv4qu/CYGTKnpUVqJDx3q1fyK0Jt 6eWA== X-Forwarded-Encrypted: i=1; AJvYcCWP6QhrXYSw+09H/ZN8eFWdqvNgD712tlFt94MXwvEbpO7anyI4ek8G9LHUr+lgxFrLAtBuODdTcB0yU1m4E6+f@lists.infradead.org X-Gm-Message-State: AOJu0YwGCbAeEk1tSSDtzyLdYaQJzpe5zQ3t19eCNQmb5cEbY2ce8s1t V9SrtCPJEDP01IDCdbTbjm5Yw2UH78JCcb/MSkZE465Jp/kTYZ6x0FXbDVB8F3XuduQiXbfTOOm 8 X-Google-Smtp-Source: AGHT+IHnliuN/RkFq3L3GXDKde5hN1tDpf6axzJaFfQtxrEiWrsJoIHee+ltRqo6QGSk3aYNFWzCGQ== X-Received: by 2002:a17:906:c148:b0:a8f:f799:e7d4 with SMTP id a640c23a62f3a-a90d517fcc3mr227244166b.59.1726830915317; Fri, 20 Sep 2024 04:15:15 -0700 (PDT) Received: from lino.lan ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a90610f452csm838261266b.89.2024.09.20.04.15.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Sep 2024 04:15:14 -0700 (PDT) From: Linus Walleij Subject: [PATCH 0/2] leds: Add basic BCMBCA LEDs support Date: Fri, 20 Sep 2024 13:15:11 +0200 Message-Id: <20240920-bcmbca-leds-v1-0-5f70e692c6ff@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAD9Z7WYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDSyMD3aTk3KTkRN2c1JRi3VSzNEOzNFPT5LQUSyWgjoKi1LTMCrBp0bG 1tQCCdAxRXQAAAA== To: Pavel Machek , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , William Zhang , Anand Gore , Kursad Oney , Florian Fainelli , =?utf-8?b?UmFmYcWCIE1p?= =?utf-8?b?xYJlY2tp?= , Broadcom internal kernel review list Cc: linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linus Walleij X-Mailer: b4 0.14.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240920_041518_189003_D2984B85 X-CRM114-Status: GOOD ( 11.75 ) 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 bindings and a driver for the Broadcom BCA (Broadband Access) SoC LEDs. These LEDs can be either serial using 1-4 shift registers or parallel using unique lines per-LED. The LED controller supports hardware triggers from an integrated ethernet switch, this support can be added later, the modern hardware control framework is complex and will require phandles and elaborate lookup of the corresponding netdev etc. The patches were developed and tested on the Genexis XG6846B device using the BCM6846 SoC. Broadcom guys: if you would rather take sole maintenanceship of this or be listed as comaintainers, tell me, it's fine. Signed-off-by: Linus Walleij --- Linus Walleij (2): dt-bindings: leds: bcmbca: Add bindings for BRCMBCA LEDs leds: bcmbca: Add new driver for Broadcom BCMBCA .../devicetree/bindings/leds/brcm,bcmbca-leds.yaml | 88 +++++ MAINTAINERS | 7 + drivers/leds/Kconfig | 9 + drivers/leds/Makefile | 1 + drivers/leds/leds-bcmbca.c | 391 +++++++++++++++++++++ 5 files changed, 496 insertions(+) --- base-commit: 98f7e32f20d28ec452afb208f9cffc08448a2652 change-id: 20240920-bcmbca-leds-e6f16f55cfd9 Best regards,