Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp2629836pxy; Tue, 3 Aug 2021 10:56:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/rJg47a6f8FtWJbOJczjcVLrLoHZkPuVkj0rst4wO9IwfhrX2ie4vp+9IAQeQaGc9wAyg X-Received: by 2002:a05:6638:624:: with SMTP id h4mr13119039jar.73.1628013377834; Tue, 03 Aug 2021 10:56:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628013377; cv=none; d=google.com; s=arc-20160816; b=zM6rYOr/8Ze7R2BWxjYEHZSwmEdi+dl2QYlVl3vwlN2+hQyi/0mjBkc8GdoICKKrbx YVS4FPPs/ZVzvHapVBEKSbeohVf4ISu6hGZJARug+8sp06vUQr4ldSDPUO7qYeItK3KX 3qR1lKJp1czJlxY01q+HRvwO3D+WrKo4quGCAwLdIEL6gLFhddfynD/i4mQGVz//JQ3t HX3/Nfy5Czb26BX7xvIsXqULwG1NWGSTpeskj364UFt0QW27Npin0DBDvh+91EMDGzSJ zb0sr80FOWXHmed+2IohSFuo44O7Emng5C6qLjFiQlaX4Een3RicJQefLNQ6lnG307xU wJLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=2Jzso76RJtqmPiQmRATmGcKxgIbQbKpN/RaylrUe1aY=; b=aUpEDrQEWYNCMznihiDIC3Uhs0NCZcqv0kvAh/niJHKWkEFwIa7LoFlVL/w97jfu/Y V1MWVrA61o00JqU5OSJXUDxplPhGdgOFShfRBKUK5V3q2JiHJIWez/+p1KNomacisOfg ChHqzCMx7OUxm8lkH8ND9nT+p4gqP1JlVzHw9WjpFLZL05R5V6kltDsx0ROcKCsrcDWM LGlCb1BVJ6VfoRkIHkwDnnFoAQkJmlpqB27SKfRy/E8n/90tkarBqN7Br05yNF4DUAvz F/Jxa911OgOUYfUcCJI46z2ZeK7mraWxZLBsDuWFfFI3kQsDSCtsIN1G8d/bT4id7SCV PYxw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k4si8278516iov.69.2021.08.03.10.56.06; Tue, 03 Aug 2021 10:56:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233619AbhHCQ1f (ORCPT + 99 others); Tue, 3 Aug 2021 12:27:35 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:51932 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233496AbhHCQ1c (ORCPT ); Tue, 3 Aug 2021 12:27:32 -0400 Received: from localhost.localdomain (unknown [IPv6:2804:14c:1a9:2434:b693:c9:5cb6:b688]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nfraprado) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 527AC1F423F0; Tue, 3 Aug 2021 17:27:15 +0100 (BST) From: =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= To: Pavel Machek , Dan Murphy , Bjorn Andersson , Andy Gross , Rob Herring , Jacek Anaszewski Cc: linux-leds@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Brian Masney , Luca Weiss , Russell King , Georgi Djakov , linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, ~lkcamp/patches@lists.sr.ht, =?UTF-8?q?Andr=C3=A9=20Almeida?= , kernel@collabora.com Subject: [PATCH v3 3/5] ARM: qcom_defconfig: Enable QCOM SPMI Flash LEDs Date: Tue, 3 Aug 2021 13:26:39 -0300 Message-Id: <20210803162641.1525980-4-nfraprado@collabora.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210803162641.1525980-1-nfraprado@collabora.com> References: <20210803162641.1525980-1-nfraprado@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable module for the Qualcomm SPMI Flash LEDs present on the PM8941 PMIC. These LEDs are used on phones based on the MSM8974 SoC like the Nexus 5. Also enable LED flash class since these LEDs make use of it. Signed-off-by: NĂ­colas F. R. A. Prado --- Changes in v3: - Made CONFIG_LEDS_CLASS_FLASH =m Changes in v2: - Enabled CONFIG_LEDS_CLASS_FLASH since the driver now depends on it. arch/arm/configs/qcom_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/qcom_defconfig b/arch/arm/configs/qcom_defconfig index 9c286861a9c0..1be619a12637 100644 --- a/arch/arm/configs/qcom_defconfig +++ b/arch/arm/configs/qcom_defconfig @@ -206,6 +206,7 @@ CONFIG_MMC_SDHCI_PLTFM=y CONFIG_MMC_SDHCI_MSM=y CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y +CONFIG_LEDS_CLASS_FLASH=m CONFIG_LEDS_GPIO=y CONFIG_LEDS_PM8058=y CONFIG_LEDS_TRIGGERS=y @@ -308,3 +309,4 @@ CONFIG_QCOM_WDT=y CONFIG_ARM_PSCI=y CONFIG_CPU_FREQ=y CONFIG_CPUFREQ_DT=y +CONFIG_LEDS_QCOM_SPMI_FLASH=m -- 2.32.0