Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp501029rdb; Thu, 18 Jan 2024 09:35:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IGoTKnn4kXzkEyaom6Xz9XrJf3LXEXGB5XSqEQku/0TheRBOP9G6kKV9j53v0kXOLBSfNOt X-Received: by 2002:a05:6a21:3286:b0:19b:434a:df3 with SMTP id yt6-20020a056a21328600b0019b434a0df3mr1343121pzb.18.1705599338117; Thu, 18 Jan 2024 09:35:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705599338; cv=pass; d=google.com; s=arc-20160816; b=avBKy0mOZCtju+P5VgxWpzTYrIxWOKl3oZIxwwpYliwI4H/sCpUGOTebAHb76ZWhoe LfUG9640HErVZBKUFioH634gABHAONOZDtUS29cQ1uH01DUfPJENXR0/akMfaV+YXIkM yN+hWZZKpmiBrNUCjnZUwBPiwVvgP608031QAeOqJsB2RICGydhngHNHWw1UXLZ6wI2i IRATc9qdv1tcv+Upzm+MU2p/u9qjidRrydKTCpUAE4GmuGsLtfBkPTH7VdMTWffUo2VV m1CFPJwhd1sUcT2OI68T56S/qrHJrtuLE2l+3kSlW+RDCYaj/lDGRwr5J48pqp4N+mYp 3x5Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from; bh=EcWwpqFWdRGE2W1epaLxqFN/YmEFtx+D6F7+bFWWEdA=; fh=FhQdQOXlRku5esRa9ccmZReXGSLTIoiw2Tc+62HSaGM=; b=uFQaaYzn5OCsVygFjK5t84Px10HKg7yX1MLnogbRZ2GAdNmEIo4wAAl6RpPgjmBuQx EwRe2DwruddQzg5jOnpzDZzxoKYHZTK7ieAkwFowBujgvIDJRRJcPlO+782vMV/Sqjwc RD6WFmpPdaJv1UPtF/H4vOMVbWzsDs1PogWvtLlHk8YBwlSAMKaseGGcORHlV3+tycKR umkoILftJYVZHMTHPKLP09LvPTRu/AeHpR+BkSatmpWd2QeBaLPLB4Zy2w5P9mr3DNjG ZjP3HqoJ4hC4/nZpL1+sKg2+/PlhtZP9SENFFI2C37faXPU5pShneDF6syfQXwPQPAzY GjbQ== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=skole.hr); spf=pass (google.com: domain of linux-kernel+bounces-30424-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30424-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id s14-20020a65690e000000b005c660a37af2si1750092pgq.255.2024.01.18.09.35.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 09:35:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30424-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=skole.hr); spf=pass (google.com: domain of linux-kernel+bounces-30424-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30424-linux.lists.archive=gmail.com@vger.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id CAE76B22188 for ; Thu, 18 Jan 2024 17:33:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E50BA2D604; Thu, 18 Jan 2024 17:33:35 +0000 (UTC) Received: from mx.skole.hr (mx2.hosting.skole.hr [161.53.165.186]) (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 EB7E32D78A; Thu, 18 Jan 2024 17:33:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=161.53.165.186 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705599215; cv=none; b=uT9EFRjfzGIJ/nAkCvUspR0vlR5O+uZMLqF95/bSBkStH2sfMLSsCbtZiqRmwwiDsFzQsrDMzWJPkaQpZECi0ez5d4h77+eUUKcqwpfca573JTEYqkAUJd1Um9tGqJrq78+Yt/PRUsRhMBfsmxqB2CCRmRoh180j2xbjMOk7SOM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705599215; c=relaxed/simple; bh=zSojkb9oa18GUBW1ZjAD4v5bdWLOPJhL+eDSN4oBcHs=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=CIge7drM6Hz9k5G95LfIyliIAeXFsDlfDMmRxFqBkDtg0ipgzW5457pMsvvS0q0lFimpBcg5ZDn7rwTDGqLfD+JOMK0za/fxQu2rtQeqAR5Cm01pVrqQTL2VCJ2smbc9ekgLcQcundi2yLU7srCHT1N4sCsoZiGKwRylz3sMRyM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=skole.hr; spf=pass smtp.mailfrom=skole.hr; arc=none smtp.client-ip=161.53.165.186 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=skole.hr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=skole.hr Received: from mx2.hosting.skole.hr (localhost.localdomain [127.0.0.1]) by mx.skole.hr (mx.skole.hr) with ESMTP id 344D3866EA; Thu, 18 Jan 2024 18:33:24 +0100 (CET) From: =?utf-8?q?Duje_Mihanovi=C4=87?= Subject: [PATCH v2 0/2] Kinetic KTD2801 backlight driver Date: Thu, 18 Jan 2024 18:32:37 +0100 Message-Id: <20240118-ktd2801-v2-0-425cf32e0769@skole.hr> 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-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIALVgqWUC/z3MQQrDIBCF4auEWdcyaiymq96jZJHopEpKDBqkJ Xj32kC7/B+Pb4dE0VOCa7NDpOyTD0sNcWrAuGF5EPO2NggUkiO2bN6s0MgZTlJraUbVWYT6XiN N/nVI976282kL8X3AmX/Xn6H+Rq4Ma6WxWo14Ed1wS3N40tlF6EspH+mznb2dAAAA To: Lee Jones , Daniel Thompson , Jingoo Han , Pavel Machek , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Helge Deller Cc: Karel Balej , ~postmarketos/upstreaming@lists.sr.ht, dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, =?utf-8?q?Duje_Mihanovi=C4=87?= , Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1320; i=duje.mihanovic@skole.hr; h=from:subject:message-id; bh=zSojkb9oa18GUBW1ZjAD4v5bdWLOPJhL+eDSN4oBcHs=; b=owEBbQKS/ZANAwAIAZoRnrBCLZbhAcsmYgBlqWDBb2YGGpgsgix8UXpwxFe4Vyv+qY/SOJaLM g8Eq0fu96SJAjMEAAEIAB0WIQRT351NnD/hEPs2LXiaEZ6wQi2W4QUCZalgwQAKCRCaEZ6wQi2W 4SPlEACZQl6p/zx4TzYIK7kXZhjzDR2FDa/QIbn50ad9nnDfWy6jkRd+lDv5gXm8ZVBjD01e3FK ECgsBBs9oft4nrZ35uY6iNTcNgyCwDL8fSbqZfuTye1yUP1yy06nPrUNmFULuyJ5HrcbGQN6We6 m4uEfEr5Rn7vLGviVuwK/rj+9YZSWAI2Wd/rqNd39yx8/MGo4oz4VnC9JbQhZhBw7PMtDL7mWUV ptjS0gmRx5sJK7YiOWhj8IC95h5U97ShkeUMMaVkvgoPpUVjQPpdTWVIGZ1x1BlJIDdh3RYjhHE DpiTjcvNWGxRa99NdqXb7Cb47auZTC/Z5Bb8N7jPH5N4WektAg7H+M9yefS8tkP+N3fJC142eYq 3IW0gwnZEghHWXxZZ6/My/wsElID+ykQbVY+YnNrmcfl0pjuogDjMOmlsRrvxWp79FetLSNG8CE zwOneEqUnD3SipnO4B8k85rIwGiIfE4IILfl6STltOpjnc27aRmE62HGgJ1iY2semAdicA/4gR6 s39lseXtoRyHYp9b0n/y7WNj3sCDykDybv0yMr0vz8AytVMgTu9bKM1RSQ619r2nVOMQfRxKsh1 Y7ZJFiUU9VozU84WtPsqHIEXHz6tU+bDIBNpqp0ok5Db4G8p7xf64JsdgPqzKu/x4Ylw5yDq70i lgpHmR+3Ow8kDqg== X-Developer-Key: i=duje.mihanovic@skole.hr; a=openpgp; fpr=53DF9D4D9C3FE110FB362D789A119EB0422D96E1 Hello, This small series adds a driver for the Kinetic KTD2801 backlight IC. The driver has been tested on the samsung,coreprimevelte for which support is still out-of-tree. Signed-off-by: Duje Mihanović --- Changes in v2: - Address maintainer comments: - Drop MODULE_ALIAS - Rename enable-gpios to ctrl-gpios - Rename ktd2801_backlight->desc to ktd2801_backlight->gpiod - Give time constants more descriptive names and note their origins in Samsung driver - Convert to GPIO_ACTIVE_HIGH - Update trailers - Link to v1: https://lore.kernel.org/r/20231005-ktd2801-v1-0-43cd85b0629a@skole.hr --- Duje Mihanović (2): dt-bindings: backlight: add Kinetic KTD2801 binding backlight: Add Kinetic KTD2801 driver .../bindings/leds/backlight/kinetic,ktd2801.yaml | 46 +++++++ MAINTAINERS | 6 + drivers/video/backlight/Kconfig | 7 + drivers/video/backlight/Makefile | 1 + drivers/video/backlight/ktd2801-backlight.c | 149 +++++++++++++++++++++ 5 files changed, 209 insertions(+) --- base-commit: 0dd3ee31125508cd67f7e7172247f05b7fd1753a change-id: 20231004-ktd2801-0f3883cb59d0 Best regards, -- Duje Mihanović