Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp561522rdb; Tue, 16 Jan 2024 08:40:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IE/Ts5uKu6T18YzrhFvbGOZ9IzJ5iElMXkhIbYhK8UOwuNv/3iGGkB3WgRpBBfeFkyDjODm X-Received: by 2002:a17:902:7d87:b0:1d5:7316:c9fb with SMTP id a7-20020a1709027d8700b001d57316c9fbmr3259748plm.37.1705423208392; Tue, 16 Jan 2024 08:40:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705423208; cv=none; d=google.com; s=arc-20160816; b=HfcOoz5xfcR+PLeJ++sFHndtn01yFWp1HZ8VKXFLrLvJfzz0iw40NMgY4OC7QFvl8E IhudgT3r+zHOmABTVrkUg4cxREtqbzdPBKMUOZJAI8RnLqiq0dcYv5jWWvqS9TIwz3Ue l932BSOFECR/kG2u8QRpsOHsAdU/hFrgLmNj+zSSLQEqqE4jonfWyaxRtMH6RdOIVK2m /B3e7aHhbgP0fyhxhrHNHsYt6mkbIJBPQIOVItH8XaQvEsOw8mHZeeLM3CjldHViqF1g vENcw9TL7KFedBgULeE+lECbjPD1q1m5m5jObO/P+Fl0jnp7ZK4Lbpmf8nXN0bu0oDCY Oq9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id :subject:cc:to:from:date:dkim-signature; bh=KEl6kU3+al3AOm6XoNVW4BjbHDYvbgbYPz89N7fuOAY=; fh=IYX0tRRmta9YzRkaTIaHuyyBmcZHGVcDYDTpAXAMzO8=; b=RJPmrkIWX8Stz7avY0mvbrE7vpDY1WlebmlSr1qhS9fkn9Es6Ys4cbn9Mg+vF+5/n8 07+51F/l8srSSsacF8d0XSWBtQzKEoFNXNrW9eZfus6oGTQagAVpxskU3Qkt554PB0Dw 10mjMifa7M7prUSvw9Oer6jZTqbzV7LSOxPW5F26OFU42tDmT6qa3mvkzweU3/qxoJc1 4rfNj9xQQ7YPZ4SN1lu15Ef2vtHzosvGNXNcnHVIZUJenqCVdtpMw3p/CM+4ADDNcHqn jKVb/HXuzCXDqyphZy/dB9wm0WK2OelRAc1zvY6ohxvOx5+KjlgwcsatYDZh2YTpJ8Be GBFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kxq9KwMa; spf=pass (google.com: domain of linux-kernel+bounces-27584-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27584-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id v3-20020a170902d68300b001d5a79a737asi9365162ply.259.2024.01.16.08.40.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 08:40:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27584-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kxq9KwMa; spf=pass (google.com: domain of linux-kernel+bounces-27584-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27584-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 0B42D285BE0 for ; Tue, 16 Jan 2024 16:40:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D98501C6B7; Tue, 16 Jan 2024 16:40:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kxq9KwMa" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 011B71C698 for ; Tue, 16 Jan 2024 16:39:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C82E4C433F1; Tue, 16 Jan 2024 16:39:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705423199; bh=SR2A1f8PnP1PWjPzOmsU5oBG3dc0Ul/izztt0Tjo0bw=; h=Date:From:To:Cc:Subject:From; b=kxq9KwMakTXEW2VBm85etfBs8rzAgVE0xyHNoccEVOFO68j/Q8ZpZ8Sx9irLzM9MC 5VLmNTbpOEWR5WKiPL4HJ3sqEnhPU87MUVdM/YvY7pUGt+UamrvThSZjTbiNhfxD7k NGMpl6Ql8DKvOwGP+5gygb0S0HW6osZciZuyIg2qSGfhizOiLpUZloKnhaGbSpWg3B VSe3gzT1GK5HLsObYqbQ6vpKqZWQrsQbtyIahRN0E0UGiOiKsI32gqfNGw0/CWtLZG nUsV9lQamt9UHlQNPNjMrGiJTw0FbR2a3k599x9I4pQlcbVi3qwhPALtSEw2bMPUBP mw9Cy8MFXSmsQ== Date: Tue, 16 Jan 2024 16:39:55 +0000 From: Lee Jones To: Linus Torvalds Cc: Lee Jones , Linux Kernel Mailing List , Pavel Machek Subject: [GIT PULL] LEDs for v6.8 Message-ID: <20240116163955.GK1920897@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Good afternoon Linus, The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86: Linux 6.7-rc1 (2023-11-12 16:19:07 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds.git leds-next-6.8 for you to fetch changes up to 4289e434c46c8cbd32cf8b67fa7689b3d2ca4361: leds: trigger: netdev: Add core support for hw not supporting fallback to LED sw control (2023-12-21 16:25:21 +0000) ---------------------------------------------------------------- - New Drivers - Add support for Allwinner A100 RGB LED controller - Add support for Maxim 5970 Dual Hot-swap controller - New Device Support - Add support for AW20108 to Awinic LED driver - New Functionality - Extend support for Net speeds to include; 2.5G, 5G and 10G - Allow tx/rx and cts/dsr/dcd/rng TTY LEDS to be turned on and off via sysfs if required - Add support for hardware control in AW200xx - Fix-ups - Use safer methods for string handling - Improve error handling; return proper error values, simplify, avoid duplicates, etc - Replace Mutex use with the Completion mechanism - Fix include lists; alphabetise, remove unused, explicitly add used - Use generic platform device properties - Use/convert to new/better APIs/helpers/MACROs instead of hand-rolling implementations - Device Tree binding adaptions/conversions/creation - Continue work to remove superfluous platform .remove() call-backs - Remove superfluous/defunct code - Trivial; whitespace, unused variables, spelling, clean-ups, etc - Avoid unnecessary duplicate locks - Bug Fixes - Repair Kconfig based dependency lists - Ensure unused dynamically allocated data is freed after use - Fix support for brightness control - Add missing sufficient delays during reset to ensure correct operation - Avoid division-by-zero issues ---------------------------------------------------------------- Andrew Davis (2): leds: tca6507: Use devm_gpiochip_add_data() to simplify remove path leds: tca6507: Use devm_led_classdev_register() to simplify remove path Andy Shevchenko (9): leds: trigger: gpio: Replace custom code for gpiod_get_optional() leds: trigger: gpio: Convert to use kstrtox() leds: trigger: gpio: Use sysfs_emit() to instead of s*printf() leds: trigger: gpio: Convert to DEVICE_ATTR_RW() leds: max5970: Remove unused variable leds: max5970: Make use of device properties leds: max5970: Make use of dev_err_probe() leds: max5970: Add missing headers leds: sun50i-a100: Convert to be agnostic to property provider Arnd Bergmann (1): leds: sun50i-a100: Avoid division-by-zero warning Dang Huynh (1): leds: aw2013: Select missing dependency REGMAP_I2C Daniel Golle (2): leds: trigger: netdev: Extend speeds up to 10G docs: ABI: sysfs-class-led-trigger-netdev: Add new modes and entry Dmitry Rokosov (3): leds: aw200xx: Support HWEN hardware control dt-bindings: leds: aw200xx: Introduce optional enable-gpios property dt-bindings: leds: aw200xx: Fix led pattern and add reg constraints Florian Eckert (5): leds: ledtrig-tty: Free allocated ttyname buffer on deactivate tty: add new helper function tty_get_tiocm leds: ledtrig-tty: Replace mutex with completion leds: ledtrig-tty: Make rx tx activitate configurable leds: ledtrig-tty: Add additional line state evaluation George Stark (7): leds: aw200xx: Calculate dts property display_rows in the driver dt-bindings: leds: aw200xx: Remove property "awinic,display-rows" leds: aw200xx: Add delay after software reset leds: aw200xx: Enable disable_locking flag in regmap config leds: aw200xx: Improve autodim calculation method leds: aw200xx: Add support for aw20108 device dt-bindings: leds: awinic,aw200xx: Add AW20108 device Heiner Kallweit (3): leds: trigger: Remove unused function led_trigger_rename_static() leds: trigger: panic: Don't register panic notifier if creating the trigger failed leds: trigger: netdev: Add core support for hw not supporting fallback to LED sw control Jean Delvare (1): leds: rgb: Drop obsolete dependency on COMPILE_TEST Johan Hovold (1): dt-bindings: leds: qcom,spmi-flash-led: Fix example node name Martin Kurbanov (1): leds: aw200xx: Fix write to DIM parameter Patrick Rudolph (1): leds: max5970: Add support for max5970 Rob Herring (2): leds: syscon: Support 'reg' in addition to 'offset' for register address dt-bindings: leds: Fix JSON pointer in max-brightness Samuel Holland (2): dt-bindings: leds: Add Allwinner A100 LED controller leds: sun50i-a100: New driver for the A100 LED controller Stefan Wahren (1): leds: gpio: Add kernel log if devm_fwnode_gpiod_get() fails Uwe Kleine-König (3): leds: qcom-lpg: Use devm_pwmchip_add() simplifying driver removal leds: qcom-lpg: Consistenly use dev_err_probe() in .probe()'s error path leds: qcom-lpg: Introduce a wrapper for getting driver data from a pwm chip .../ABI/testing/sysfs-class-led-trigger-netdev | 39 ++ .../ABI/testing/sysfs-class-led-trigger-tty | 56 ++ .../bindings/leds/allwinner,sun50i-a100-ledc.yaml | 137 +++++ .../devicetree/bindings/leds/awinic,aw200xx.yaml | 95 +++- Documentation/devicetree/bindings/leds/common.yaml | 2 +- .../bindings/leds/qcom,spmi-flash-led.yaml | 4 +- drivers/leds/Kconfig | 35 +- drivers/leds/Makefile | 2 + drivers/leds/led-triggers.c | 13 - drivers/leds/leds-aw200xx.c | 98 +++- drivers/leds/leds-gpio.c | 2 + drivers/leds/leds-max5970.c | 111 ++++ drivers/leds/leds-sun50i-a100.c | 584 +++++++++++++++++++++ drivers/leds/leds-syscon.c | 3 +- drivers/leds/leds-tca6507.c | 30 +- drivers/leds/rgb/Kconfig | 2 +- drivers/leds/rgb/leds-qcom-lpg.c | 63 +-- drivers/leds/trigger/ledtrig-gpio.c | 26 +- drivers/leds/trigger/ledtrig-netdev.c | 47 +- drivers/leds/trigger/ledtrig-panic.c | 5 +- drivers/leds/trigger/ledtrig-tty.c | 247 +++++++-- drivers/tty/tty_io.c | 28 +- include/linux/leds.h | 20 +- include/linux/tty.h | 1 + 24 files changed, 1449 insertions(+), 201 deletions(-) create mode 100644 Documentation/devicetree/bindings/leds/allwinner,sun50i-a100-ledc.yaml create mode 100644 drivers/leds/leds-max5970.c create mode 100644 drivers/leds/leds-sun50i-a100.c -- Lee Jones [李琼斯]