From patchwork Fri Jul 13 07:29:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AceLan Kao X-Patchwork-Id: 943318 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="ToZh/tGm"; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41Rkvh3gZjz9s3R; Fri, 13 Jul 2018 17:29:20 +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 1fdsVs-0008FA-FV; Fri, 13 Jul 2018 07:29:12 +0000 Received: from mail-pf0-f195.google.com ([209.85.192.195]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1fdsVr-0008Ey-Lq for kernel-team@lists.ubuntu.com; Fri, 13 Jul 2018 07:29:11 +0000 Received: by mail-pf0-f195.google.com with SMTP id i26-v6so10728337pfo.12 for ; Fri, 13 Jul 2018 00:29:11 -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=t5mcxQ6tVlsYrQOD4Ql/tKNYQDuhnrPQpqKD9gAG9EA=; b=ToZh/tGmQ0v9HDUWaxN9K+dy2Cke6ED7zmbWXpXNBDp5h9cf9Z8i81S6EaqcIDhrNc 8yjBdCyKfi/4mU99pw04NtdJwKFk4JLZJxBcMLVsGRl/4VBrNLWn63bIP79pp9koxmu4 Ep3NX07pCXxkiJkrRDCovwalNMb1lRDGdI+3ikjnCZU0WXZk09ru1d8VJ8k+gFYxHedc U93OnkaTz6cA3zgx8GLtyS71BmGTTsgYsgscs55NJYrxHPlRusJyYETX6sI1zfu+j7xV 8Rf9PdGBkEnQEGH8/Io+AT5c3AXoV1oTCHveZgYscEZCyA/vV+MW+51+grsd/iNHMJ6X EL6Q== 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=t5mcxQ6tVlsYrQOD4Ql/tKNYQDuhnrPQpqKD9gAG9EA=; b=CSuWVhBn3WuumRd5zj4m5wDcT9redOpUwAhpAYXxcwudac/qhAq6jcTnFNQzaZ+vKF YFRCaGh4NcXbvwd7Jq89zkb7HelI4v87zaTl+TIv8OMBDRaljWMD53jMMJJlrfBGaIhQ WdIVYcMC9Yp9f5nhNe0BU95Tvo1qgjcCjpFDA8Gs3tb/YVFfQYewA8zugw1L80mtwniD rSqjXFc6rGifhMcft58SvUbUFS9t+PdELN62q2tWlZDEnZ7sk7p28Hiw4MbJB6HTj2o0 Ptf0cwz5yIYIb1VD3qIgbk+H/NDUyBA6i2JJx+36v5NpC7q4e/SW9C8dL4uNP89k1P72 1IpQ== X-Gm-Message-State: AOUpUlF0UOw/ZnuHg98LJd6kexBdVkGbCPmYMTqqZp891sjYXg6bddke sh+BgJKcR1UoSTVZ6DmnmPN10GYQ X-Google-Smtp-Source: AAOMgpdVJ32dnnRyVR0IXfBYQzlCMpt7rBp/Gt2U7FHOWFSfnDfe1wzLn/zRtrveecpScW5iBfEXZQ== X-Received: by 2002:a63:144b:: with SMTP id 11-v6mr5115828pgu.219.1531466949949; Fri, 13 Jul 2018 00:29:09 -0700 (PDT) Received: from localhost (220-135-103-219.HINET-IP.hinet.net. [220.135.103.219]) by smtp.gmail.com with ESMTPSA id v30-v6sm57943010pgn.80.2018.07.13.00.29.07 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jul 2018 00:29:08 -0700 (PDT) From: AceLan Kao To: kernel-team@lists.ubuntu.com Subject: [PATCH 0/1][SRU][Bionic][OEM-B]Dell new AIO requires a new uart backlight driver Date: Fri, 13 Jul 2018 15:29:05 +0800 Message-Id: <20180713072906.18184-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 (1): UBUNTU: SAUCE: platform/x86: dell-uart-backlight: new backlight driver for DELL AIO drivers/platform/x86/Kconfig | 14 + drivers/platform/x86/Makefile | 1 + drivers/platform/x86/dell-uart-backlight.c | 394 +++++++++++++++++++++ drivers/platform/x86/dell-uart-backlight.h | 88 +++++ 4 files changed, 497 insertions(+) create mode 100644 drivers/platform/x86/dell-uart-backlight.c create mode 100644 drivers/platform/x86/dell-uart-backlight.h