From patchwork Sun Feb 19 22:23:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 9581889 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7C52F6045A for ; Sun, 19 Feb 2017 22:25:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 67F1C287DC for ; Sun, 19 Feb 2017 22:25:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 597C1287DF; Sun, 19 Feb 2017 22:25:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CFB87287DC for ; Sun, 19 Feb 2017 22:25:08 +0000 (UTC) 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=S9I7YgCHZy05h4jcrAZ1Ql1+05/5P18s5opfdDBw3og=; b=JgKDpwJWEj8+oWFW7JprvF/MBT A1pX9NbkVtXB0E6ioMSmwsJH+PKalIAqw/pLf7YH141GnKwGaEBCDIb5B459kmYUAQXVj5Hx5wYKV stXs+9YfzJOFWUkWzMpq+m0tzzS/igzAEMpGHSx1OM6OoR9UlfrlLVoL+hbzfzIhJqfQAL1qJEPk5 tGmXcARkn6LgWRMan3ln2FlDmWQ05+anYUSe0jq2Tb0fBQu9AM1Wsugt5iwKfh4KGCCXji+mnbhCs RqkmXNhBJNenyt3Is1t/Uom7jUQM/uq3nx4Rbn/aP8SJT03simHmXxAHOLq31C3SlLoVcFHpNGmB0 B/x9HlRA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cfZuf-0004y5-Pu; Sun, 19 Feb 2017 22:25:01 +0000 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cfZtk-0004no-A2; Sun, 19 Feb 2017 22:24:07 +0000 Received: by mail-wr0-x242.google.com with SMTP id s27so1116288wrb.0; Sun, 19 Feb 2017 14:23:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=r9X6pmeo0VN2uY4ObZp3iT3wGUMFlo/uQCl0FA5vTLk=; b=egQRxymFC9rl8qMCJlwYQ/CB1+WmFYsEDKfV7uQl9JMW52RzJTlrA3pGDPguQ5aX1B V77I2fKagoL7ummwcUnJV4EcpEkqpYxu8TtEGt85K5sRBxh0WYNpnjlwXn7wY0AgYamL 7WF3C4wTJpLCe9Pd95g7/f1JOVvNehIalBTg0m4vlRjBaAdOq6uY+p0YCvVRr6vYUXr/ jIIz7ipt0/jwg/8Ey4vEa2nLV7Xse4Uek+UzFcCSx8+4KxgOPRB+2uPv4/dNN4AWx87b lP4opXAXbnpKAJScJj3XXNLALD3kB0zP0ZG59LbcPGyCzESeV+SCP3PJ62R52kbs19Q2 RuQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=r9X6pmeo0VN2uY4ObZp3iT3wGUMFlo/uQCl0FA5vTLk=; b=UrnatdamcNwr3beoaDdi8RsbNfRDy2qx3XhpaalIy1gDaLmQ6vXm0sqB5wR+AFeVgj SuWLGqLfbJnxuThINBCtPbyLn71sQccQL0SU7g9WTYml3CM6XOmj/gtFqw6h+B7oUqoM iTQiNROxkvIBjOI++PbSb7anf+HUvYEbEIFDmEgiCQPkzfKcoSHBHaR0L+4T77IRFuYQ k0VVDW7LWgoYpJuG/Gm7CfaLUz5UMq1mBRZT8YYiXUhOSTgtaXk+XJmZV04ejfYo+RZB CZpIftX3eiyukWDufiANI1VMo4VdXl2HBagd++O1Thzs/wSegWavMCjGwWnM5z7hO5Zu eUKA== X-Gm-Message-State: AMke39nWWgIrjDIQwXM4eyaOPSTbTUoGiMJ6t+c+LmySNJltNUwSEnxUW+XGglwfz6RIaw== X-Received: by 10.223.151.138 with SMTP id s10mr12995866wrb.65.1487543023968; Sun, 19 Feb 2017 14:23:43 -0800 (PST) Received: from blackbox.darklights.net (p200300DCD3D1DA04B05FF2CCBB42C4A7.dip0.t-ipconnect.de. [2003:dc:d3d1:da04:b05f:f2cc:bb42:c4a7]) by smtp.googlemail.com with ESMTPSA id s26sm22232006wra.26.2017.02.19.14.23.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Feb 2017 14:23:42 -0800 (PST) From: Martin Blumenstingl To: catalin.marinas@arm.com, will.deacon@arm.com Subject: [PATCH 1/1] ARM64: defconfig: enable the leds-pwm driver and default-on trigger Date: Sun, 19 Feb 2017 23:23:25 +0100 Message-Id: <20170219222325.7085-2-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.11.1 In-Reply-To: <20170219222325.7085-1-martin.blumenstingl@googlemail.com> References: <20170219222325.7085-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170219_142404_534367_26CBAE1D X-CRM114-Status: UNSURE ( 9.06 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Blumenstingl , khilman@baylibre.com, linux-arm-kernel@lists.infradead.org, arnd@arndb.de, linux-amlogic@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This enables the leds-pwm driver to support LEDs which are PWM-powered (and thus dimmable). Additionally we have to enable the "default-on" trigger - this was not required before because the gpio-leds driver has a separate "default-state" property which can be used to enable the LED by default. Signed-off-by: Martin Blumenstingl --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 33b744d54739..b36d02ce6154 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -394,8 +394,10 @@ CONFIG_MMC_SUNXI=y CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y CONFIG_LEDS_GPIO=y +CONFIG_LEDS_PWM=y CONFIG_LEDS_SYSCON=y CONFIG_LEDS_TRIGGERS=y +CONFIG_LEDS_TRIGGER_DEFAULT_ON=y CONFIG_LEDS_TRIGGER_HEARTBEAT=y CONFIG_LEDS_TRIGGER_CPU=y CONFIG_RTC_CLASS=y