Message ID | 20191212033952.5967-25-afaerber@suse.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=Nccr=2C=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6324A14E3 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 12 Dec 2019 03:46:44 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4185B214D8 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 12 Dec 2019 03:46:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="RRZHnpee" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4185B214D8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=eC+Yw4QniP/kTk+h2jJpERKCD3zNU5AOzoq5eLWfi5s=; b=RRZHnpeeCp55Py 2eszx/xcODKPLlUKcTYJmUP9Osekk7x9uRXV04cEFjrzU25OZnzC9r/rPV5BWwrf9CwLD2kkVsLX4 87L1lU86egnh0tdiTMxG6sn784rOURKHcQEcB69VF9zzb50cWkykUj/9HpsaViDU9cr6mhCwTY3lk Q1Fl6MP+X0pu9CvDDc92Ln+xi4E370HXmgMtCjptP+DIboDpNzttK1xd6t3hmKmRnI/ijxdiozi0f I2b3iqj1KY8o+utrWwrjWiYbj16gcKGt1piJwOzmMGGum/KXQqVmTXmCa8u9x8kwmB5uwna6Kp5BI Carra75kKmSjUcmvl4XA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ifFR3-0000ij-Pa; Thu, 12 Dec 2019 03:46:41 +0000 Received: from mx2.suse.de ([195.135.220.15] helo=mx1.suse.de) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ifFKm-00015W-0e; Thu, 12 Dec 2019 03:40:18 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 578A8AF65; Thu, 12 Dec 2019 03:40:08 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= <afaerber@suse.de> To: linux-realtek-soc@lists.infradead.org, linux-leds@vger.kernel.org Subject: [RFC 24/25] WIP: leds: tm1628: Prepare FD628 keys Date: Thu, 12 Dec 2019 04:39:51 +0100 Message-Id: <20191212033952.5967-25-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191212033952.5967-1-afaerber@suse.de> References: <20191212033952.5967-1-afaerber@suse.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191211_194012_331661_E76B7D94 X-CRM114-Status: UNSURE ( 7.54 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [195.135.220.15 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: sales@fdhisi.com, linux-kernel@vger.kernel.org, Jacek Anaszewski <jacek.anaszewski@gmail.com>, Pavel Machek <pavel@ucw.cz>, =?utf-8?q?Andreas_F=C3=A4rber?= <afaerber@suse.de>, linux-arm-kernel@lists.infradead.org, Dan Murphy <dmurphy@ti.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org |
Series |
arm64: realtek: Add Xnano X5 and implement TM1628/FD628/AiP1618 LED controllers
|
expand
|
diff --git a/drivers/leds/leds-tm1628.c b/drivers/leds/leds-tm1628.c index 410f34234811..2caf1e63fc90 100644 --- a/drivers/leds/leds-tm1628.c +++ b/drivers/leds/leds-tm1628.c @@ -669,6 +669,8 @@ static const struct tm1628_info fd628_info = { .seg_mask = GENMASK(14, 12) | GENMASK(10, 1), .modes = tm1628_modes, .default_mode = 3, + .k_mask = GENMASK(2, 1), + .ks_mask = GENMASK(10, 1), .pwm_map = tm1628_pwm_map, .default_pwm = 0, };
Extend definition with key input lines. Cc: sales@fdhisi.com Signed-off-by: Andreas Färber <afaerber@suse.de> --- drivers/leds/leds-tm1628.c | 2 ++ 1 file changed, 2 insertions(+)