From patchwork Tue Jan 5 14:02:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 59185 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp5984596lbb; Tue, 5 Jan 2016 06:03:58 -0800 (PST) X-Received: by 10.66.90.133 with SMTP id bw5mr36817735pab.22.1452002638751; Tue, 05 Jan 2016 06:03:58 -0800 (PST) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id s63si67441518pfi.31.2016.01.05.06.03.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Jan 2016 06:03:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aGSCW-0000Lf-Py; Tue, 05 Jan 2016 14:03:04 +0000 Received: from mail-lf0-x22a.google.com ([2a00:1450:4010:c07::22a]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aGSCN-0000Ed-0T for linux-arm-kernel@lists.infradead.org; Tue, 05 Jan 2016 14:02:57 +0000 Received: by mail-lf0-x22a.google.com with SMTP id c192so118258671lfe.2 for ; Tue, 05 Jan 2016 06:02:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=m4zn0DxBgaEW0BQSHc3qz8ZIGt0RHBx/4mgCFOWU5FM=; b=LTbgh0vaMKUEQro/cEfUEQp9PXDByHiJlEev2gS5GlnzrtMM1HxKOBakq9tR5vNm2C ddT5L0OGkFOUKvoqMECoQlyNgceb++t4+ahqMlut2tNOkezxHRJwZSOrP9dyv0Rn+OHW G/m1AWsTYg1s5/PU7JINIpxMbmfV+fMXwfjBg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=m4zn0DxBgaEW0BQSHc3qz8ZIGt0RHBx/4mgCFOWU5FM=; b=CP+1lZ5JinSc8hmFqujGZ7tnpuKwqwS7P0uSyVuGC9GsWJwlas/IU56ag299sRu/XY Y59wHaDQB0D0LgZ3OJujRr4t4qqb2tqt63eM2DLx8n5xf8ryIcI62M/5rbTGAdx6UTTG o0cfk5IZor1RaJ6ef7P+4VtTBJCrQNBna6BMV9IwG9BVJzJmLCsSZ/OBal6OCdPMhpsd YjVBEreeBypfXdXubg3yPDw+vSLq2XZTf/o3vhNH4s4Dw8C7vkRW3hUTdlEtOIjLyC10 DeNfF9q2gPu0gXED/JeLKHuYLD3hjdeplGB3Weo4zaU2E9FcAsMAhJchaqfiFeWSyiDR PHKA== X-Gm-Message-State: ALoCoQlii+wbElCmQQA6kKWZvf/DavG6xvhBW4UZMlPPadCy5D09AAomP6kbQMtDB7N2k0DlWMuNyFyxqe4H4ADMgCqJME+29g== X-Received: by 10.25.16.104 with SMTP id f101mr31022060lfi.47.1452002553037; Tue, 05 Jan 2016 06:02:33 -0800 (PST) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id t9sm11439084lfd.13.2016.01.05.06.02.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Jan 2016 06:02:32 -0800 (PST) From: Linus Walleij To: arm@kernel.org, Rob Herring Subject: [PATCH 2/2] ARM: versatile: enable the right LEDs Date: Tue, 5 Jan 2016 15:02:09 +0100 Message-Id: <1452002529-3335-3-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1452002529-3335-1-git-send-email-linus.walleij@linaro.org> References: <1452002529-3335-1-git-send-email-linus.walleij@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160105_060255_389546_5E17F98E X-CRM114-Status: GOOD ( 13.60 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:4010:c07:0:0:0:22a listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linus Walleij , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org The Versatile now only has device tree boot support, and the device tree version does not support CONFIG_LEDS_VERSATILE. Instead select CONFIG_LEDS_SYSCON and MFD_SYSCON, so we can get LEDs support from the same generic driver that drives most other ARM reference boards. Signed-off-by: Linus Walleij --- arch/arm/configs/versatile_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.4.3 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/arch/arm/configs/versatile_defconfig b/arch/arm/configs/versatile_defconfig index 75ef20462030..295408ea9dc7 100644 --- a/arch/arm/configs/versatile_defconfig +++ b/arch/arm/configs/versatile_defconfig @@ -54,6 +54,7 @@ CONFIG_SPI=y CONFIG_GPIOLIB=y CONFIG_GPIO_PL061=y # CONFIG_HWMON is not set +CONFIG_MFD_SYSCON=y CONFIG_FB=y CONFIG_FB_ARMCLCD=y CONFIG_FRAMEBUFFER_CONSOLE=y @@ -66,7 +67,7 @@ CONFIG_MMC=y CONFIG_MMC_ARMMMCI=y CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y -CONFIG_LEDS_VERSATILE=y +CONFIG_LEDS_SYSCON=y CONFIG_LEDS_TRIGGERS=y CONFIG_LEDS_TRIGGER_HEARTBEAT=y CONFIG_LEDS_TRIGGER_CPU=y