From patchwork Mon Sep 19 05:11:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sanchayan X-Patchwork-Id: 9338529 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 7A56B60B16 for ; Mon, 19 Sep 2016 05:22:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D6D528E5D for ; Mon, 19 Sep 2016 05:22:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 61B7929028; Mon, 19 Sep 2016 05:22:26 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A618828F23 for ; Mon, 19 Sep 2016 05:22:25 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1blr0S-0004He-ND; Mon, 19 Sep 2016 05:20:40 +0000 Received: from mail-pa0-x242.google.com ([2607:f8b0:400e:c03::242]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1blr0F-0004Bn-9q for linux-arm-kernel@lists.infradead.org; Mon, 19 Sep 2016 05:20:28 +0000 Received: by mail-pa0-x242.google.com with SMTP id vz6so6427518pab.1 for ; Sun, 18 Sep 2016 22:20:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=/7R6LC7oMg/zb0ehRoh47fwpGh/KET04KNEEnHgwpHI=; b=D9L4QjlXc8JfLx1padPKG4tU0eglk5AATUfrSG8qWWyQWNipMmN00leQxhZE49rMli XHfPDxeEBfrxuVaT8aIqk7ogBzHCsP8fAMQb2V1Hy/JXZ1CYKskdE2wbhqMRdCnFij58 vRUPaePC5qu0gF5gQHuSKO02qe42gGRzEry9U2iaoBDTiIwfAI3KtJaOw5VNgoCC8yZ1 bUyJ7ewqXzfoy95rIF8dlJbkYy+B7DQLo1UdLIYdq6Y9r/xH/7fcJCBfDQuKVaYhOfhs d85V/iFXbUeHN7Yn2yrpICUepkaEZkFXakLJqKo81YSGr+xQRrbgym9YVybmtwNOqJ4Z g8QQ== 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:in-reply-to:references; bh=/7R6LC7oMg/zb0ehRoh47fwpGh/KET04KNEEnHgwpHI=; b=OXsCnteNI59vSpZRi1aRWj46sHNTuZ+Al4GnFEPToK4gCynf8aO9mCaA2ZtUOPIboM dQsbXNy2L1jEeimI05MVooLXShNZ2xfM0N1ysX++VhlG++b5LQN3J+8KPFefE6jpDwMv U1nUEVnjodLl5hYvUYlKgmucKI9UBUQpy5SdzNSm8L6pQfpbBPE1YhyncaxzjYcqiD6J dNlaJbQJPzdZi7Gy69CycNRhXwOvUcSLYmGKgctefZw0zKBmHMjX/+WC72+s9RkUiK02 F8IJIoyzNaNCILnMW8WpuXXdbv2/FAMpzAcM/qjR31UGaj9Dl/e1jCoyvaKi1mFzCjbW eD1A== X-Gm-Message-State: AE9vXwPGhYyOjwfsFFV+76gkxO5BmZgbB3CNCmb8OU+p39Ol0Df9C6mQS3bx1Cti/Ha2IQ== X-Received: by 10.66.185.14 with SMTP id ey14mr44499649pac.71.1474262406365; Sun, 18 Sep 2016 22:20:06 -0700 (PDT) Received: from localhost ([115.115.243.34]) by smtp.gmail.com with ESMTPSA id y201sm38658999pfb.13.2016.09.18.22.20.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 18 Sep 2016 22:20:05 -0700 (PDT) From: Sanchayan Maity To: shawnguo@kernel.org Subject: [PATCH v2 2/3] ARM: dts: imx6q-apalis-ixora: Remove use of pwm-leds Date: Mon, 19 Sep 2016 10:41:52 +0530 Message-Id: <1c9c910104414bdfbad077ccc3baca57974ba8c7.1474260360.git.maitysanchayan@gmail.com> X-Mailer: git-send-email 2.10.0 In-Reply-To: <2263d508999ada9476268138b2922702eb50131f.1474260360.git.maitysanchayan@gmail.com> References: <2263d508999ada9476268138b2922702eb50131f.1474260360.git.maitysanchayan@gmail.com> In-Reply-To: <2263d508999ada9476268138b2922702eb50131f.1474260360.git.maitysanchayan@gmail.com> References: <2263d508999ada9476268138b2922702eb50131f.1474260360.git.maitysanchayan@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160918_222027_503661_B86AC134 X-CRM114-Status: UNSURE ( 8.64 ) X-CRM114-Notice: Please train this message. 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: devicetree@vger.kernel.org, marcel.ziswiler@toradex.com, linux-kernel@vger.kernel.org, stefan@agner.ch, Sanchayan Maity , linux-arm-kernel@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 Remove use of pwm-leds and use the standard /sys/class/pwm interface from PWM subsystem. Signed-off-by: Sanchayan Maity Acked-by: Marcel Ziswiler --- v1: https://lkml.org/lkml/2016/9/14/55 --- arch/arm/boot/dts/imx6q-apalis-ixora.dts | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/arch/arm/boot/dts/imx6q-apalis-ixora.dts b/arch/arm/boot/dts/imx6q-apalis-ixora.dts index 82b81e0..383192c 100644 --- a/arch/arm/boot/dts/imx6q-apalis-ixora.dts +++ b/arch/arm/boot/dts/imx6q-apalis-ixora.dts @@ -146,28 +146,6 @@ gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>; }; }; - - pwmleds { - compatible = "pwm-leds"; - - ledpwm1 { - label = "PWM1"; - pwms = <&pwm1 0 50000>; - max-brightness = <255>; - }; - - ledpwm2 { - label = "PWM2"; - pwms = <&pwm2 0 50000>; - max-brightness = <255>; - }; - - ledpwm3 { - label = "PWM3"; - pwms = <&pwm3 0 50000>; - max-brightness = <255>; - }; - }; }; &backlight {