From patchwork Wed Aug 24 19:22:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 9298239 X-Patchwork-Delegate: horms@verge.net.au 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 5778E607EE for ; Wed, 24 Aug 2016 19:22:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4899929096 for ; Wed, 24 Aug 2016 19:22:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C598290E3; Wed, 24 Aug 2016 19:22:29 +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=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C812B29096 for ; Wed, 24 Aug 2016 19:22:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755466AbcHXTW2 (ORCPT ); Wed, 24 Aug 2016 15:22:28 -0400 Received: from mail-lf0-f44.google.com ([209.85.215.44]:35550 "EHLO mail-lf0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753762AbcHXTW1 (ORCPT ); Wed, 24 Aug 2016 15:22:27 -0400 Received: by mail-lf0-f44.google.com with SMTP id f93so19148481lfi.2 for ; Wed, 24 Aug 2016 12:22:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=0XA2GeY3BOmDvzGC610tYgUc1ddd8jnrfO+cO87tkCY=; b=wjdgR+RGcdkTt87z9wczPbK/x8XU1sEwrpgacQmwmzyaFThUr3jmNhj+tkWwfcYipj Q56nzFHUb91lpx1NJ3UQSew4h4D7TzBFU6+7cisfWK5VnSwXil0WPqS6LPk9MjmdIaAZ ZIdy9Xn47rlr4bdSAxQ83Vdy8GANNGds2XQ2xMs4W+4IAoYVYAEmDgA2tNWV9x1Afx7i /9MPU5eW3A9McMXoHi7mi1tfjin+hljUL1qKmCr3IjkACYACM1tiry9o3+JF6HKfraYM mA1mxj1x0WdMCEh//J7BwXo2Nbd/6w+wNv/ZJ8k7ZeVRIs1mLLwzNhONr6HZkR9J3dLG eyWA== 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:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=0XA2GeY3BOmDvzGC610tYgUc1ddd8jnrfO+cO87tkCY=; b=j+pT7MXLTSTSzxSN+kGRGLQjEo/p0Wdq3l9yuu3g/Ke/jpL3V/ZalYIUt8lVBaqyF5 7F7UbRLfSroFP/fq+Lk6pPv3E+9LyslF+USHewzfbwY7gGf/eVMu/9a7HKH7pp+S73+Z Z5OmJIX6oiX24keWqPRq8DjjF2jN352FqHRiQvzyIMuoRR2pC+4bWlh/38lLtwjFmYjw RgPcVzTCtQemjhNsGEhYOaRQ+3emsw3sjgMenZ1xNGQ2/U5i9PiTJKkRNe36qwdymrkm zAflyGjobPAq1GP4KSnBsa22O9uPK0j+46IcycqQenH0hJHl47kwf5WCSGnRVHSuWIw0 kP1A== X-Gm-Message-State: AE9vXwMssJ/s3cj3g/QYCAKstUKJD3r7a8P1wfY7MjfaYsdX1CJM59vu9bH4jmz1dUN9Rw== X-Received: by 10.25.83.85 with SMTP id h82mr1154683lfb.97.1472066545441; Wed, 24 Aug 2016 12:22:25 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.85.208]) by smtp.gmail.com with ESMTPSA id f139sm2249011lfb.11.2016.08.24.12.22.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Aug 2016 12:22:24 -0700 (PDT) From: Sergei Shtylyov To: horms@verge.net.au, linux-renesas-soc@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2] ARM: dts: blanche: add support for general purpose LEDs Date: Wed, 24 Aug 2016 22:22:22 +0300 Message-ID: <2604564.o6QQK9elnf@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.10 (Linux/4.6.6-200.fc23.x86_64; KDE/4.14.20; x86_64; ; ) In-Reply-To: <5383928.8UnDsUpmkz@wasted.cogentembedded.com> References: <5383928.8UnDsUpmkz@wasted.cogentembedded.com> MIME-Version: 1.0 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add support for the general purpose LEDs on the Blanche board. Signed-off-by: Sergei Shtylyov --- This patch is against the 'renesas-devel-20160824-v4.8-rc3' of Simon Horman's 'renesas.git'. Changes in version 2: - removed the "label" props. arch/arm/boot/dts/r8a7792-blanche.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7792-blanche.dts =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7792-blanche.dts +++ renesas/arch/arm/boot/dts/r8a7792-blanche.dts @@ -159,6 +159,23 @@ }; }; + leds { + compatible = "gpio-leds"; + + led17 { + gpios = <&gpio10 10 GPIO_ACTIVE_HIGH>; + }; + led18 { + gpios = <&gpio10 11 GPIO_ACTIVE_HIGH>; + }; + led19 { + gpios = <&gpio10 12 GPIO_ACTIVE_HIGH>; + }; + led20 { + gpios = <&gpio10 23 GPIO_ACTIVE_HIGH>; + }; + }; + vcc_sdhi0: regulator-vcc-sdhi0 { compatible = "regulator-fixed";