From patchwork Thu Dec 12 03:39:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 181398 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp371711ile; Wed, 11 Dec 2019 19:40:42 -0800 (PST) X-Google-Smtp-Source: APXvYqyUGLJEN41e7UkGkAfaR9EnSEG6hDgztz1AaZyG/5caNeAOxQ/9WtbR8XbnLYPPeL6VSQe/ X-Received: by 2002:a9d:c29:: with SMTP id 38mr5336949otr.1.1576122042210; Wed, 11 Dec 2019 19:40:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576122042; cv=none; d=google.com; s=arc-20160816; b=TLt7r5mmS6s2uFoPm2pOqlXLmffHy4p/hVKjvHkktZ47jRk99oNzNTTlB5l8ozxh4C ayH5pvlFgzA7i8MWYsKe/z1y6v9zyaQZIJ4XglQ499BJuNxC2yYeZut78LKdtPtXyCdj nZCGp78SX2pzOkon9vK3p3Tz9k5hQ9+0Fsh8RenuvoGqNFnd9Ow0r1lDQHcfK/1cFqGg l1XKln/uYp/L2QqNqMFNN3uodgO6G0LGplqLjNt3ybjbC4PI60Fk6E+UBVOjGvmkQKIt XlLG2WL0avPXp0m5FLL2XCYfFnfQPJN3vMcaF+KTX7G8FRBKkxTBbsNTv7PkUxngmEXl ql9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=XIN/qtbe0sgV17fx7vCISdgVqEloOxvucS4OeOEg8tc=; b=0U1Uw4Dr4+rVx55U3ub21+xS0bsXWhKy129ULlMLOjM58J4gybh/eggIkVFwdqLX5L oIQzKyXA9f84tW9ak1Id54CPqC/Jn1L/YvzdG6AFBGZpQnly2K7PlKcB3NvhFyzDfBzO O8EKDaL3TdFws83HoxYObdfF96Mm6UHuct+MZP1VJmI0di+Al9BbKFTAXd9LjBKPHmZF agZUSTT2FZ3wspTypySR9xSzcziq87Cq005XQNKWxcmJ0pgtieZ8WgSi/Xeyi5X9iflQ wL3lKp3TUSqeoBIrWrs7tl+Yty6e1qqaoanb/h3IBcemtTjeQn8dNBr8Zc6OCyGTD3k4 HOXg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k8si2823909otf.76.2019.12.11.19.40.41; Wed, 11 Dec 2019 19:40:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727953AbfLLDkk (ORCPT + 27 others); Wed, 11 Dec 2019 22:40:40 -0500 Received: from mx2.suse.de ([195.135.220.15]:58768 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727802AbfLLDkK (ORCPT ); Wed, 11 Dec 2019 22:40:10 -0500 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 CDFB0ADE1; Thu, 12 Dec 2019 03:40:08 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org, linux-leds@vger.kernel.org Cc: Jacek Anaszewski , Pavel Machek , Dan Murphy , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andreas_F=C3=A4rber?= Subject: [RFC 25/25] WIP: leds: tm1628: Prepare AiP1618 keys Date: Thu, 12 Dec 2019 04:39:52 +0100 Message-Id: <20191212033952.5967-26-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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Extend definition with key input lines. Signed-off-by: Andreas Färber --- drivers/leds/leds-tm1628.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.16.4 diff --git a/drivers/leds/leds-tm1628.c b/drivers/leds/leds-tm1628.c index 2caf1e63fc90..e28809d9a700 100644 --- a/drivers/leds/leds-tm1628.c +++ b/drivers/leds/leds-tm1628.c @@ -699,6 +699,8 @@ static const struct tm1628_info aip1618_info = { .seg_mask = GENMASK(14, 12) | GENMASK(5, 1), .modes = aip1618_modes, .default_mode = 3, + .k_mask = BIT(2), + .ks_mask = GENMASK(5, 1), .pwm_map = tm1628_pwm_map, .default_pwm = 0, };