From patchwork Thu Sep 20 08:41:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AceLan Kao X-Patchwork-Id: 972232 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="FSc8853c"; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42G9F22Dkhz9sBn; Thu, 20 Sep 2018 18:41:26 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1g2uWV-0006TV-FZ; Thu, 20 Sep 2018 08:41:19 +0000 Received: from mail-ed1-f67.google.com ([209.85.208.67]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1g2uWU-0006TJ-BW for kernel-team@lists.ubuntu.com; Thu, 20 Sep 2018 08:41:18 +0000 Received: by mail-ed1-f67.google.com with SMTP id p52-v6so7121026eda.12 for ; Thu, 20 Sep 2018 01:41:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id; bh=XPSps5IzCTFro7yyAb6dxr9uTsLLBMJ1eHMCrePSV0g=; b=FSc8853cKf1McXDtNnxafMLA2WDH/a/rFZ5rO8EKZzMyyuTFUayfPz7R9wpt964ISa xcSelzsZMDXXYWHHoNTeJukUsITq8nTbI4oKjmRHMlBjwYRceavw2qhoJM7XATbij+0/ kQjmdCToFCeI8baYfQ7UsnQGzY/JCiWbL2aCxkEWd23b6B/xi4m5cEKQ/fOwywdayHEi smhW8dV5pR0v4Hio3qorVztMgYLcXIP0cAg89Nk8+UGR4vpZRdqJiYcrPQCOdC5gyhwO fp/Ja6awaioGaxfJujzqPBBtjk+XTOTApF8U5joTLKnSRndKFsXPgsoJE3GRuNfRxY6C CNSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id; bh=XPSps5IzCTFro7yyAb6dxr9uTsLLBMJ1eHMCrePSV0g=; b=no/rK6jqKxROURFKGiCtkgZD7bsxJFPXxbYjViE/zUoXmlED/IRf9WLpZG4N1XaCF2 2eiXKmzdPypapFI33UP5GAyhD7yKay4aY9Yts3rjj/WIvn4HqWx9wh6oW2U6gTvLbBK2 jkOziA6uBKGehk/6s82BssBe/vrazIGvi9TcorJMGyCEej7dgdjtsIf4TOzbtx1ric0M zXN99lZU7QhC8vAp21aRuT/28eQtkBoe19W7t77r736eH9ObI3D4GYN4dYorton8DpYv XtrkKB0Od2bEWFQKD79cSiGi8oyVjnDATrFcyPA6HSOnszdpxkgjvUCUHsCuzk0pAUz3 EM2A== X-Gm-Message-State: APzg51Bk7eZmD18BkW9A+EknzNyT6Rc73FubNqcMbbqmL2oRffegHsi0 ZgKs5q85rqx1Hnh8g63xVNxkkzs9bHE= X-Google-Smtp-Source: ANB0VdZoBHcscOVvfXddZEMbXCX9keW6qk8k3T4sRVP6LFZbvEYGJqIZzF7QTvL6XkjzaFfEAeEuXw== X-Received: by 2002:a50:ae83:: with SMTP id e3-v6mr3019382edd.16.1537432877254; Thu, 20 Sep 2018 01:41:17 -0700 (PDT) Received: from localhost (84-199-88-153.iFiber.telenet-ops.be. [84.199.88.153]) by smtp.gmail.com with ESMTPSA id x44-v6sm567927edd.1.2018.09.20.01.41.15 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 20 Sep 2018 01:41:16 -0700 (PDT) From: AceLan Kao To: kernel-team@lists.ubuntu.com Subject: [PATCH v4 0/2][SRU][Bionic]Dell AIO UART backlight driver Date: Thu, 20 Sep 2018 16:41:13 +0800 Message-Id: <20180920084115.1895-1-acelan.kao@canonical.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1727235 [Impact] New Dell AIO platforms requires a driver that can communicate with the scalar IC FW through UART interface to get and set the brightness level. [Test] Verified on some new Dell AIO machines and confirmed it works. [Fix] Write a new driver to handle this task. [Regression Potential] Low, it's a new driver for new interface. [Misc] Upstream maintainer ask use to re-implement this driver by the new interface, serdev, but serdev seems doesn't work with ACPI, so submit this driver as Ubuntu sauce patch for now. I'll try re-write it when I'm available. AceLan Kao (2): UBUNTU: SAUCE: platform/x86: dell-uart-backlight: new backlight driver for DELL AIO UBUNTU: updateconfigs for Dell UART backlight driver debian.master/config/config.common.ubuntu | 1 + drivers/platform/x86/Kconfig | 14 + drivers/platform/x86/Makefile | 1 + drivers/platform/x86/dell-uart-backlight.c | 471 +++++++++++++++++++++ drivers/platform/x86/dell-uart-backlight.h | 36 ++ 5 files changed, 523 insertions(+) create mode 100644 drivers/platform/x86/dell-uart-backlight.c create mode 100644 drivers/platform/x86/dell-uart-backlight.h Acked-by: Colin Ian King Acked-by: Stefan Bader