Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp1843926rwb; Sun, 6 Aug 2023 04:27:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH6bIvETsjNQPnkI6u46H5JgmjlhmoRnTbf7WYwWEQQ5kI22ZteJx0CutZF/9UAdBPySUhH X-Received: by 2002:a17:906:315a:b0:99b:cd46:844f with SMTP id e26-20020a170906315a00b0099bcd46844fmr6246862eje.58.1691321258706; Sun, 06 Aug 2023 04:27:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691321258; cv=none; d=google.com; s=arc-20160816; b=UpVBZxJu0Ff8121nSZY6tmYqjlrTl4hO+PJT95hMsQfsJ3/ER0Fn/jUbPudVAOdB+h bfwDUpiGHhDkqjV3daBN9Jf+0iyW7n/xxunQThtOzN9VFFLLNpCV+SZZUlQB28/b2/Zk QTzpUOgvoOUKu+vpYBomhJAZduNGb9jaW+lenNJowR0yMMNsrhi+e91lJ3wI7imjtru/ y3YV6r3Nt/oc1HEHdJ37SWcvzuv0Gfi7+3wgvnFgVpSOEMks9epiINZ8Ld0TmCN2zLIN tbj8qX4vVMxb5nDjTnGbwLba6fn84H3/ZYI2Aj9kkqJgox6177s0rXJKsoK9ODRaNC6C 51ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=1lD9UirxVRG5YeYTwrdRv7IOHm8gCZ0yVdN2EVm+Ju0=; fh=zdr9zQBsudor+BEaMoomzt0oNSIRAEEP0HbeiheE7kk=; b=Kr4d5sqTNO6tPgMRAfl/db3nh6FjYy7VtxBsHlWaq6yvP8TEPnvQJcjfAbjzG7/HHV XH+nqSNQb+y+qErutEmGJldXEJ+BC6SU0HAtRzqeo3bZnkSokT3tv5+wei2Lf4R7JRuX p99QNzukTTvR7VX2XpX2+tDDwUv80jH020Vr9brQKhwWiG0uYzLzwBMLPxtfkh9z2GEf qs/ziUZDU0irMyF4iamms5wvgz3ddHsHdBnMMvQ1kkwXQZ4/InxyXsAXQdHdsME4fQMa h+3tgQipNPLeVysu0AcVNxIWGygSvcsR3eHC58kaeEKpwUSKh+mM9HWBAbtkBZC1VzI+ yXKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zint.sh header.s=key2 header.b=foKChNOZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bj7-20020a170906b04700b009936afb1e23si4317126ejb.130.2023.08.06.04.27.07; Sun, 06 Aug 2023 04:27:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@zint.sh header.s=key2 header.b=foKChNOZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230055AbjHFJOn (ORCPT + 99 others); Sun, 6 Aug 2023 05:14:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjHFJOm (ORCPT ); Sun, 6 Aug 2023 05:14:42 -0400 Received: from relay.yourmailgateway.de (relay.yourmailgateway.de [188.68.63.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94A0A1BFD; Sun, 6 Aug 2023 02:14:32 -0700 (PDT) Received: from mors-relay8203.netcup.net (localhost [127.0.0.1]) by mors-relay8203.netcup.net (Postfix) with ESMTPS id 4RJYg90PmSz8Yl2; Sun, 6 Aug 2023 09:14:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zint.sh; s=key2; t=1691313269; bh=CsAs6d5wqQbLSpSawfmFHNKPVraikzHX4fB4qld+jzo=; h=From:To:Cc:Subject:Date:From; b=foKChNOZYTjtG8Jq+Y5DA9ZJ3R+TCw+qrRm82PcIYpcsKiY3MIg8sEjua3aeBZ9tu yZPDs5IIG51bTOH8W8xE0DGeyVuBSIRluRFR+87pbXIpvRBIkHM6RQrqE2TeRlcobR +Y81UAeGCkzjDdNTV46q04idYh2sphCG3LjnJ3fhFvpLEErVjztSY/C6ytipYUUf8u ViSREZi7sx34NvF9UZJ7oMhehDP+eTeIOkNbwg76BECzL6LZ6CRJ6OvJXqGGeE4S6E FRGSRvwyPPVndyPruNPTtNlDBRtRy727CqGuG0X0+JienspQWkwQXTDVdg8CiXA6kr 7Sw5cilH6BjJg== Received: from policy02-mors.netcup.net (unknown [46.38.225.35]) by mors-relay8203.netcup.net (Postfix) with ESMTPS id 4RJYg86pR7z8YWK; Sun, 6 Aug 2023 09:14:28 +0000 (UTC) Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy02-mors.netcup.net (Postfix) with ESMTPS id 4RJYg838ZJz8sb2; Sun, 6 Aug 2023 11:14:28 +0200 (CEST) Received: from thinkpad.fritz.box (p508baab3.dip0.t-ipconnect.de [80.139.170.179]) by mxe217.netcup.net (Postfix) with ESMTPSA id E07AA80A93; Sun, 6 Aug 2023 11:14:16 +0200 (CEST) From: Julius Zint To: Lee Jones , Daniel Thompson , Jingoo Han Cc: Helge Deller , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, Julius Zint Subject: [PATCH v2 0/1] HID backlight driver Date: Sun, 6 Aug 2023 11:14:02 +0200 Message-ID: <20230806091403.10002-1-julius@zint.sh> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: E07AA80A93 X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: YoaV/hJ3qfeZp9FORldPhNZL+/cOa7+7Fz+lH9pk X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,SPF_HELO_PASS,T_SPF_TEMPERROR autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Complete rewrite of [1]. Instead of a USB driver it`s now a HID driver and will work without being part of the early boot environment. The driver is no longer heavily tied to the Apple Studio Display, but should work with all HID devices, that expose a report containing fields with the Monitor - Brightness HID usage value. [1] https://lore.kernel.org/dri-devel/20230701120806.11812-1-julius@zint.sh/ Julius Zint (1): backlight: hid_bl: Add VESA virtual control panel HID backlight driver drivers/video/backlight/Kconfig | 8 + drivers/video/backlight/Makefile | 1 + drivers/video/backlight/hid_bl.c | 267 +++++++++++++++++++++++++++++++ 3 files changed, 276 insertions(+) create mode 100644 drivers/video/backlight/hid_bl.c base-commit: a33677b9211b6c328ad359b072043af94f7c9592 -- 2.41.0