From patchwork Thu Sep 6 08:19:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AceLan Kao X-Patchwork-Id: 966860 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="u3Rbst7E"; 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 425YQJ6TBLz9s3l; Thu, 6 Sep 2018 18:19:36 +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 1fxpVg-0003Fn-4v; Thu, 06 Sep 2018 08:19:28 +0000 Received: from mail-pg1-f194.google.com ([209.85.215.194]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1fxpVe-0003Fg-9e for kernel-team@lists.ubuntu.com; Thu, 06 Sep 2018 08:19:26 +0000 Received: by mail-pg1-f194.google.com with SMTP id 2-v6so4834969pgo.4 for ; Thu, 06 Sep 2018 01:19:26 -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=HgQiZjFHeTPW+Jrf1I3x+7a0iznvwFqw3iVJ0V57dg0=; b=u3Rbst7EH95BdHT0AqNC71mBDx6vdrps1xVAU5oT8ylpk3gPRDjecNIdDGo9zHIhzZ xmzUW9qLOU1Z77YvvhsX5r/udVN/iuQmGTnn8y2HEZ4xOu6C0dKvShG0roBhXkxgu1m2 OZPwgL0imqlJAjxGPA8Z5Osb3vOUsdsm95utwr/WDVnQ26+15rshFaS4kjqAfG5PZjyT eBhcSvAhqx3wjG2JZxOQtfxbjH2LuiruV0z3y7vryW/YpU0QNu6f4RKR86b4JGc1pwfu KyMql+3jwpIBz3XQNIGvskZ+3G2DQWmsetFvaQvwuThEMaTHjoSIRuKjKWCrUQ/h02A0 Vokg== 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=HgQiZjFHeTPW+Jrf1I3x+7a0iznvwFqw3iVJ0V57dg0=; b=rwjEiwedJSBU+MMGYK1V3fGj5a5BqVMrLEht60+y7+LohQ2Bz2aFITe8h0sGqIqnSf QL84BL2aaQ4VESk1o+KsJmS8rnYBdnTUAFYYcImAgb+PSB2efwVr5K6PEFDqL3461tNL C7gmh5lBTGZuJRt74M0B6MXfRMSjbH1gf4WGXpnuwBXVAAPPk+GVlwKc8/R8dFkev9D/ CP2cdvsKiLL+Hr4JXwdNrN1NhLPSeXwCVdow+G8vvyFBv82Jk6nU2VSx4flaaHVvIcT0 qfvboe/zFcZV4QvOfEWI4DsuXs9K6eGiN9Y6ehRBIxUxdZUdObOOBklhADgOgd5JTm8X KIXw== X-Gm-Message-State: APzg51AtiMxXgauZtfbL5AnksaB0zYVTKeqzt5gaxgsNoDjJnL8Bkb25 on/qFzI9OEX6cnOcXDMRVBW4qTpF X-Google-Smtp-Source: ANB0Vdbip1GsWUd3yH5mJmH8935GQX4vAHbHAW9PM/gStODyrOvtRM6w9Glrnvkx0+xb7vOUK81dcQ== X-Received: by 2002:a62:3644:: with SMTP id d65-v6mr1623416pfa.133.1536221964325; Thu, 06 Sep 2018 01:19:24 -0700 (PDT) Received: from localhost (61-220-137-37.HINET-IP.hinet.net. [61.220.137.37]) by smtp.gmail.com with ESMTPSA id n74-v6sm6383817pfi.161.2018.09.06.01.19.22 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 06 Sep 2018 01:19:22 -0700 (PDT) From: AceLan Kao To: kernel-team@lists.ubuntu.com Subject: [PATCH v3 0/2]BugLink: https://bugs.launchpad.net/bugs/1727235 Date: Thu, 6 Sep 2018 16:19:18 +0800 Message-Id: <20180906081920.32298-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" [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 | 463 +++++++++++++++++++++ drivers/platform/x86/dell-uart-backlight.h | 36 ++ 5 files changed, 515 insertions(+) create mode 100644 drivers/platform/x86/dell-uart-backlight.c create mode 100644 drivers/platform/x86/dell-uart-backlight.h