From patchwork Sat Dec 7 13:03:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13898432 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 91380E7717D for ; Sat, 7 Dec 2024 23:46:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 72EE810E319; Sat, 7 Dec 2024 23:46:22 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="LDbS3XzR"; dkim-atps=neutral Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5617010E231 for ; Sat, 7 Dec 2024 13:04:56 +0000 (UTC) Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-215810fff52so32554085ad.1 for ; Sat, 07 Dec 2024 05:04:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733576696; x=1734181496; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=GI/+h7CCb9MgzwwHAdhpRI41/S9p/ThoHoKHndB4Jrg=; b=LDbS3XzRFtwr9PDM368EppKgLM3mSv3+Efq5MNANP7D3GqwPRRtfQhmR4VO5vDoUpR JQrcv2YmPspeb2mOi0TqW0iRFNJsU5P9aEuansqSe0VLav+G39NkmC7VKUiB4i2Ggbab yljUAmKASI8zY9Io5xuhh9DdhahB5efXr84uY3lTXsodC16h7FfSPQSXb8vRsUytwANP aDBa6VLecUXw3ImJFhpFXWJXWX8O2dT605Zih6WDKFH1h2ZIJAnjVxyr3oZR2g1pEfE9 QsRRC6+rMA41xWUG0n5GNCir2beFrIhq103CQWNl6CRPORirlFmF5rmbXd2mUrVBcaJx P33g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733576696; x=1734181496; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GI/+h7CCb9MgzwwHAdhpRI41/S9p/ThoHoKHndB4Jrg=; b=jLZ70br+sQCJGUUe4IlcpoKDtm9Y0L8w9djuvJgIEqgXAA8iUH9eC37S9Dey/CvqoE a5kY9Gl1yrDRp1sWGDX8gVJA5yFSS0wAnKbxigqTeRCbyIlwhitzJ2wc5oF0w9dHjWUz z7INaynCv+gvEQpuG2Ln/TqtqO3zB+i1ft9XScTXcF8YxDEmseqdhMrKtJBSDoDRbxGu EFVvR6U9Fb80F2BebgprKIywIPr34kxTU7hcO5ZsfzS4SN0BqxYEFvAjYPYKx8N3wPAk lt2NaJJHJ9S+NgZ7VZcLgTc+WnEw4hkdMweFaOf066cs1BeuWQGW0MOsvbdxu3ViEtwZ KDmg== X-Forwarded-Encrypted: i=1; AJvYcCXLHDtNeC90rS7RkuFaalnKokUsG7UqJ4U+ufSEGlE35e/Jz6fMfbh7yyClO8FxgHx2X0ZIGz4hqi0=@lists.freedesktop.org X-Gm-Message-State: AOJu0Yz1nt3sJT6513QFdHPJsdJjA5B+bRMenkGoVCeLBR41AAKvNmSF VJ9DpZRTBnLH6Xez9RloFgy8q9GM68OOC8Lji18GAN6Rbi9m1LHv X-Gm-Gg: ASbGncutdezJKGupshbQxztILSW+VTN7MooleA8QzBWW9F+SA2ZM5jWz5yc0lEpV0hm TuELWxPwMCXrzmi7LAQzp31m9EIupe5/TTyS35j5ayFcuxspgN90QjH2j1i60w96GJyICWik33w SD8DhxxU7+H1btTioD5i/MmtQKodCNKwcD7CzoEy+iC9ebitD4IfC1RHYPCkkeCFtFx1V91v0Wa hDxgd4AITQTwNQ+yaHNjjywDRCRTruZTr3tAQBQRZDdcQefS7ZuJf1fyk+leycgjQ== X-Google-Smtp-Source: AGHT+IHSBn/pq77OCjYDKU4tqjEmdqZd8B5Zl+VAbPbKPPsQr8JFMXWjlUkJ7t8BCQ5XsnHByPmm6Q== X-Received: by 2002:a17:902:c40a:b0:211:ce91:63ea with SMTP id d9443c01a7336-21614d35675mr103444335ad.15.1733576695885; Sat, 07 Dec 2024 05:04:55 -0800 (PST) Received: from localhost.localdomain ([59.188.211.160]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-21628c59730sm12779715ad.105.2024.12.07.05.04.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Dec 2024 05:04:55 -0800 (PST) From: Nick Chan To: Lee Jones , Daniel Thompson , Jingoo Han , Pavel Machek , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Helge Deller , Hector Martin , Sven Peter , Alyssa Rosenzweig , Nick Chan , dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 1/3] dt-bindings: leds: backlight: apple, dwi-bl: Add bindings for Apple DWI backlight Date: Sat, 7 Dec 2024 21:03:14 +0800 Message-ID: <20241207130433.30351-2-towinchenmi@gmail.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241207130433.30351-1-towinchenmi@gmail.com> References: <20241207130433.30351-1-towinchenmi@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Sat, 07 Dec 2024 23:46:21 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add the device tree bindings for backlight controllers attached via Apple DWI 2-wire interface. Signed-off-by: Nick Chan --- .../bindings/leds/backlight/apple,dwi-bl.yaml | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/backlight/apple,dwi-bl.yaml diff --git a/Documentation/devicetree/bindings/leds/backlight/apple,dwi-bl.yaml b/Documentation/devicetree/bindings/leds/backlight/apple,dwi-bl.yaml new file mode 100644 index 000000000000..9d4aa243f679 --- /dev/null +++ b/Documentation/devicetree/bindings/leds/backlight/apple,dwi-bl.yaml @@ -0,0 +1,54 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/backlight/apple,dwi-bl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple DWI 2-Wire Interface Backlight Controller + +maintainers: + - Nick Chan + +description: | + Apple SoCs contain a 2-wire interface called DWI. On some Apple iPhones, + iPads and iPod touches with a LCD display, 1-2 backlight controllers + are connected via DWI. Interfacing with DWI controls all backlight + controllers at the same time. As such, the backlight controllers are + treated as a single controller regardless of the underlying + configuration. + +properties: + compatible: + items: + - enum: + - apple,s5l8960x-dwi-bl + - apple,t7000-dwi-bl + - apple,s8000-dwi-bl + - apple,t8010-dwi-bl + - apple,t8015-dwi-bl + - const: apple,dwi-bl + + reg: + maxItems: 1 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + + dwi_bl: backlight@20e200010 { + compatible = "apple,s5l8960x-dwi-bl", "apple,dwi-bl"; + reg = <0x2 0x0e200010 0 8>; + power-domains = <&ps_dwi>; + }; + }; From patchwork Sat Dec 7 13:03:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13898434 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 12F07E7717D for ; Sat, 7 Dec 2024 23:46:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 95C9D10E424; Sat, 7 Dec 2024 23:46:49 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="PlSwjHmq"; dkim-atps=neutral Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2162410E231 for ; Sat, 7 Dec 2024 13:05:00 +0000 (UTC) Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-2161eb94cceso8294405ad.2 for ; Sat, 07 Dec 2024 05:05:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733576699; x=1734181499; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=qHIXzgbPPD4fstMUw0DICfprbDFs+kDoHZiZBpx82hE=; b=PlSwjHmqmzt64/3DjyORqhs82z0A4u++Z5tYQNkEoQz44TLoRWe+6E8kUtsWs9pUk0 AR1yGCEmsv11tzMCy63OMLSby/fquz0h8QL7lRHKPcePnRv2dh4PGMfKBn/+wpjhwXot 7H/RUvFe6jXSyoMUE4Pxn8KEFjNzA5L5n1FFR3RUfo9GxO28T8J15M3u1nlxFUNeLuTa FpdOzS+WEdS4x4ifhQv3qeja2FzqCso4mgTdwPAGGuiVJE4twPFYXIgjNRypO9zsqTgo VmZdQmQiYcLIVcQhLLbr0CWCe7AUbGs8Bnb3dC0MHz4d8puMXZfnyrn3cVnvpwvmQcsu cgqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733576699; x=1734181499; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qHIXzgbPPD4fstMUw0DICfprbDFs+kDoHZiZBpx82hE=; b=bvAwEcSxkeqMcWH1RDRTxWtlhoNIQz6li0b/YFz4prpbowVzESwGMRupvfHQb9J6AF NOYawHLGFgdoMjLpMgKLZCA9FXaing3+f57Q4VtKtjTOPun7DkFPk+KUHKAM36SVSuqW 5gj2KeL5I7ntZOr+Tu6cqTifPojExPbemUGxVAra6aTLoyCkpUdIGFPn/YYPNvMk18Bu tmBlnQjIr9Ml25XrJkaj/6EsgHr7KYv2vRc/jhMfrzgbqM2GPfbEiSKm72xJAv7VaLxn Snwd4Ek/0O7BzqNj/09XLCJP+hwEmxBDmZaDynHxKQX+6yrqp5e7CcdGnl31fXkU0aXy 57AQ== X-Forwarded-Encrypted: i=1; AJvYcCX7OUByl+kR3VuD2MIFk/HkmhDD1zU8Rmmibbbtx5snkYC28Xv2JXif5Kilc/o+o1yYDXQCFJpbLuc=@lists.freedesktop.org X-Gm-Message-State: AOJu0YxxCYQHy8N38nksdqelTNUU1Yx1hPg/IJeQhcJQmLqmQPNCFPaq VWS4dCVlv/N6KSbJ16QgUmtI7pgyAp15LgC46q+e6BIoj1VKMEe9 X-Gm-Gg: ASbGncu0gYGWHLtdoJqmnXPOPpsO/8M9K7eFRquXm7GZQ6SrBsSie8kd7c+q1AJIG4f CZd345tWvAzh9/7mMz7+ViSjGy5YlByaOiacTD7R34+ymG5eWsWtSceW7OBpR112lpwKng/xqbS M+AB55t7Y3iSwKi2u9U+fCFgjAFcMbe0SkzQS82C6XV3mrd5gEpsX2+NOV3Xm39x2vhKrURO1T1 BYFgEdK2DkqVrycDX7tmjj9eMhHLR45ZyPSXno2sf3v7E6Z5rxy5adBFFk4kJeNiQ== X-Google-Smtp-Source: AGHT+IEDQeoGt4Ew7k231hhERT2d9WsKRLc2X38liJ7cpCgF7Y2V2yw87HksK3OB6TyrAZV3ss+7hw== X-Received: by 2002:a17:902:dacd:b0:216:1b4c:7396 with SMTP id d9443c01a7336-2161b4c7520mr77087385ad.3.1733576699637; Sat, 07 Dec 2024 05:04:59 -0800 (PST) Received: from localhost.localdomain ([59.188.211.160]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-21628c59730sm12779715ad.105.2024.12.07.05.04.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Dec 2024 05:04:59 -0800 (PST) From: Nick Chan To: Lee Jones , Daniel Thompson , Jingoo Han , Pavel Machek , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Helge Deller , Hector Martin , Sven Peter , Alyssa Rosenzweig , Nick Chan , dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 2/3] backlight: dwi_bl: Add Apple DWI backlight driver Date: Sat, 7 Dec 2024 21:03:15 +0800 Message-ID: <20241207130433.30351-3-towinchenmi@gmail.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241207130433.30351-1-towinchenmi@gmail.com> References: <20241207130433.30351-1-towinchenmi@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Sat, 07 Dec 2024 23:46:21 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add driver for backlight controllers attached via Apple DWI 2-wire interface, which is found on some Apple iPhones, iPads and iPod touches with a LCD display. Signed-off-by: Nick Chan --- drivers/video/backlight/Kconfig | 12 +++ drivers/video/backlight/Makefile | 1 + drivers/video/backlight/dwi_bl.c | 124 +++++++++++++++++++++++++++++++ 3 files changed, 137 insertions(+) create mode 100644 drivers/video/backlight/dwi_bl.c diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig index 3614a5d29c71..e64cc3d51ac5 100644 --- a/drivers/video/backlight/Kconfig +++ b/drivers/video/backlight/Kconfig @@ -166,6 +166,18 @@ config BACKLIGHT_EP93XX To compile this driver as a module, choose M here: the module will be called ep93xx_bl. +config BACKLIGHT_APPLE_DWI + tristate "Apple DWI 2-Wire Interface Backlight Driver" + depends on ARCH_APPLE || COMPILE_TEST + default y + help + Say Y to enable the backlight driver for backlight controllers + attached via the Apple DWI 2-wire interface which is found in some + Apple iPhones, iPads and iPod touches. + + To compile this driver as a module, choose M here: the module will + be called dwi_bl. + config BACKLIGHT_IPAQ_MICRO tristate "iPAQ microcontroller backlight driver" depends on MFD_IPAQ_MICRO diff --git a/drivers/video/backlight/Makefile b/drivers/video/backlight/Makefile index 8fc98f760a8a..0a569d7f0210 100644 --- a/drivers/video/backlight/Makefile +++ b/drivers/video/backlight/Makefile @@ -28,6 +28,7 @@ obj-$(CONFIG_BACKLIGHT_BD6107) += bd6107.o obj-$(CONFIG_BACKLIGHT_CLASS_DEVICE) += backlight.o obj-$(CONFIG_BACKLIGHT_DA903X) += da903x_bl.o obj-$(CONFIG_BACKLIGHT_DA9052) += da9052_bl.o +obj-$(CONFIG_BACKLIGHT_APPLE_DWI) += dwi_bl.o obj-$(CONFIG_BACKLIGHT_EP93XX) += ep93xx_bl.o obj-$(CONFIG_BACKLIGHT_GPIO) += gpio_backlight.o obj-$(CONFIG_BACKLIGHT_HP680) += hp680_bl.o diff --git a/drivers/video/backlight/dwi_bl.c b/drivers/video/backlight/dwi_bl.c new file mode 100644 index 000000000000..d4bfd74b3129 --- /dev/null +++ b/drivers/video/backlight/dwi_bl.c @@ -0,0 +1,124 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT +/* + * Driver for backlight controllers attached via Apple DWI 2-wire interface + * + * Copyright (c) 2024 Nick Chan + */ + +#include +#include +#include +#include + +#define DWI_BL_CTL 0x0 +#define DWI_BL_CTL_SEND1 BIT(0) +#define DWI_BL_CTL_SEND2 BIT(4) +#define DWI_BL_CTL_SEND3 BIT(5) +#define DWI_BL_CTL_LE_DATA BIT(6) +/* Only used on Apple A9 and later */ +#define DWI_BL_CTL_SEND4 BIT(12) + +#define DWI_BL_CMD 0x4 +#define DWI_BL_CMD_TYPE GENMASK(31, 28) +#define DWI_BL_CMD_TYPE_SET_BRIGHTNESS 0xa +#define DWI_BL_CMD_DATA GENMASK(10, 0) + +#define DWI_BL_CTL_SEND (DWI_BL_CTL_SEND1 | \ + DWI_BL_CTL_SEND2 | \ + DWI_BL_CTL_SEND3 | \ + DWI_BL_CTL_LE_DATA | \ + DWI_BL_CTL_SEND4) + +#define DWI_BL_MAX_BRIGHTNESS 2047 + +struct apple_dwi_bl { + void __iomem *base; +}; + +static int dwi_bl_update_status(struct backlight_device *bl) +{ + struct apple_dwi_bl *dwi_bl = bl_get_data(bl); + + int brightness = backlight_get_brightness(bl); + + u32 cmd = 0; + + cmd |= FIELD_PREP(DWI_BL_CMD_DATA, brightness); + cmd |= FIELD_PREP(DWI_BL_CMD_TYPE, DWI_BL_CMD_TYPE_SET_BRIGHTNESS); + + writel(cmd, dwi_bl->base + DWI_BL_CMD); + writel(DWI_BL_CTL_SEND, dwi_bl->base + DWI_BL_CTL); + + return 0; +} + +static int dwi_bl_get_brightness(struct backlight_device *bl) +{ + struct apple_dwi_bl *dwi_bl = bl_get_data(bl); + + u32 cmd = readl(dwi_bl->base + DWI_BL_CMD); + + return FIELD_GET(DWI_BL_CMD_DATA, cmd); +} + +static const struct backlight_ops dwi_bl_ops = { + .options = BL_CORE_SUSPENDRESUME, + .get_brightness = dwi_bl_get_brightness, + .update_status = dwi_bl_update_status +}; + +static int dwi_bl_probe(struct platform_device *dev) +{ + struct apple_dwi_bl *dwi_bl; + struct backlight_device *bl; + struct backlight_properties props; + struct resource *res; + + dwi_bl = devm_kzalloc(&dev->dev, sizeof(struct apple_dwi_bl), GFP_KERNEL); + if (!dwi_bl) + return -ENOMEM; + + res = platform_get_resource(dev, IORESOURCE_MEM, 0); + if (!res) + return -ENXIO; + + dwi_bl->base = devm_ioremap_resource(&dev->dev, res); + if (IS_ERR(dwi_bl->base)) + return PTR_ERR(dwi_bl->base); + + memset(&props, 0, sizeof(struct backlight_properties)); + props.type = BACKLIGHT_RAW; + props.max_brightness = DWI_BL_MAX_BRIGHTNESS; + + bl = devm_backlight_device_register(&dev->dev, dev->name, &dev->dev, + dwi_bl, &dwi_bl_ops, &props); + if (IS_ERR(bl)) + return PTR_ERR(bl); + + platform_set_drvdata(dev, dwi_bl); + + bl->props.brightness = dwi_bl_get_brightness(bl); + + return 0; +} + +static const struct of_device_id dwi_bl_of_match[] = { + { .compatible = "apple,dwi-bl" }, + {}, +}; + +MODULE_DEVICE_TABLE(of, dwi_bl_of_match); + +static struct platform_driver dwi_bl_driver = { + .driver = { + .name = "dwi-bl", + .of_match_table = dwi_bl_of_match + }, + .probe = dwi_bl_probe, +}; + +module_platform_driver(dwi_bl_driver); + +MODULE_DESCRIPTION("Apple DWI Backlight Driver"); +MODULE_AUTHOR("Nick Chan "); +MODULE_LICENSE("Dual MIT/GPL"); From patchwork Sat Dec 7 13:03:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13898433 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 49711E77182 for ; Sat, 7 Dec 2024 23:46:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F11A410E660; Sat, 7 Dec 2024 23:46:23 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="KRv3x5aD"; dkim-atps=neutral Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by gabe.freedesktop.org (Postfix) with ESMTPS id D9FB710E231 for ; Sat, 7 Dec 2024 13:05:03 +0000 (UTC) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-725abf74334so2613615b3a.3 for ; Sat, 07 Dec 2024 05:05:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733576703; x=1734181503; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=TFVSrkNiEMMJAigz7OiMiNZjcf3pYxRxO/MhDZIhBgc=; b=KRv3x5aD5e3LTR8VDFmTckoi7+wHZYJBQwWYbfaSCv/bUpy3jlIK9WAwfoiYfCB/Po vX30kMQ8ayArVSMxiHjircqbjr3HLrTup4klbN6kbI7cngROPSShUNuZrgiwqnK7w3HN 41LgiXe1gnw8zDVErULKqioESWy1QD752h6/yrxRzDkUENqEZGpUH0E1obpuXTXJoP62 Aohh7SBVeJpAm3sx4PhdCapxCVIb38uoml+dhqKqI+C7LCXpATdi3+bvkN0+33mD8xyv pRickfqJrKMgaR8C5XS/SNeKHodm1WVQtTkcPTfVElnw+sHh46QT1VzWK/ulPJ73Q+3p E13w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733576703; x=1734181503; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TFVSrkNiEMMJAigz7OiMiNZjcf3pYxRxO/MhDZIhBgc=; b=XxtEwQllnkWvb0zXVSDwXjndDOuEW7s4NszCkErrIe0y5feFogrOnmwfpxu4bYN7VU odZjG3Msz2z+U85cLHutI9FGeVARGV1GtlwiirIXx+HjVTSDqihgYdDuxVlLWUYfaai+ 0Ju3sBJRBwj/R/9WuMm844Oi0XxnU0CWIn6/N5iJjhOwrdKLl+JUqaLSEVJOH++Q2VEA No92egYoSQVuUchY1t6mZuu/mt1ECSZi7Ghl5c20IvaiorRn7+EUfkOftdZBgISPiIKt 1pWlXC+mp0IoRCkyeZcobtSdkQHcIAlQDzdkc2TRVQoEMSzzu0Ubhr30ldZ3EeK1itvF KiJA== X-Forwarded-Encrypted: i=1; AJvYcCWfhNS8ah5v3sSQiQoN8OoTcYzi6KgUNkGsPwxA7Y+2JJLQXAVD8vYtwrIKDeequq3DB3ZSbpNQyvs=@lists.freedesktop.org X-Gm-Message-State: AOJu0YwpYTBYyB9wino3epgF5HsDpu78yogy0nlXLSdFEBtXaS1h9LSr ymM4RQdqtvVFSK1Tm3DNFxHALNROYOojE6GG49vQY2Imo9+VF7wV X-Gm-Gg: ASbGnctTRMOExh+FAnyWTO8mJuYRp3RPHQ48m52kJ03Y+iJPROXOOHXG6tnWguaEDMJ ahqE+4gW4gQzIyR5knrafMro+WGUv9n65Zs4J3x1DfKLKglvsR3K+onQ4FQvM4udc5t+s9wMbCp Pz5wgNT8haPuo0VAQj5BlNcAt+1viuyIOrubHIrkx/x+D/4tFrIe+oC9nJCQW+6SGrt98hgj/9e FaxEp78uifejo1RdS63eMqw7ABwkr5qkKPwNB7aSPQAgUP/a7ShRMPypHoxV73jCQ== X-Google-Smtp-Source: AGHT+IH0D/Yd8zXEABvPSshTZ5GdofWvmFimE7bz/L0Dg8+hzOe7KfKe6Ge/tMmMUKD8ETbyZzILpQ== X-Received: by 2002:a17:902:e80b:b0:215:97c5:52b0 with SMTP id d9443c01a7336-21614dac17dmr93533435ad.38.1733576703350; Sat, 07 Dec 2024 05:05:03 -0800 (PST) Received: from localhost.localdomain ([59.188.211.160]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-21628c59730sm12779715ad.105.2024.12.07.05.04.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Dec 2024 05:05:03 -0800 (PST) From: Nick Chan To: Lee Jones , Daniel Thompson , Jingoo Han , Pavel Machek , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Helge Deller , Hector Martin , Sven Peter , Alyssa Rosenzweig , Nick Chan , dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 3/3] MAINTAINERS: Add entries for Apple DWI backlight controller Date: Sat, 7 Dec 2024 21:03:16 +0800 Message-ID: <20241207130433.30351-4-towinchenmi@gmail.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241207130433.30351-1-towinchenmi@gmail.com> References: <20241207130433.30351-1-towinchenmi@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Sat, 07 Dec 2024 23:46:21 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add MAINTAINERS entries for the driver. Signed-off-by: Nick Chan --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 1e930c7a58b1..36de76bc6fd4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2204,6 +2204,7 @@ F: Documentation/devicetree/bindings/pci/apple,pcie.yaml F: Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml F: Documentation/devicetree/bindings/power/apple* F: Documentation/devicetree/bindings/pwm/apple,s5l-fpwm.yaml +F: Documentation/devicetree/bindings/video/backlight/apple,dwi-bl.yaml F: Documentation/devicetree/bindings/watchdog/apple,wdt.yaml F: arch/arm64/boot/dts/apple/ F: drivers/bluetooth/hci_bcm4377.c @@ -2221,6 +2222,7 @@ F: drivers/nvmem/apple-efuses.c F: drivers/pinctrl/pinctrl-apple-gpio.c F: drivers/pwm/pwm-apple.c F: drivers/soc/apple/* +F: drivers/video/backlight/dwi_bl.c F: drivers/watchdog/apple_wdt.c F: include/dt-bindings/interrupt-controller/apple-aic.h F: include/dt-bindings/pinctrl/apple.h