From patchwork Wed Sep 14 06:35:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sanchayan X-Patchwork-Id: 9330461 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 77C5560231 for ; Wed, 14 Sep 2016 06:45:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 67BA929554 for ; Wed, 14 Sep 2016 06:45:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5AC5529A28; Wed, 14 Sep 2016 06:45:25 +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 E89C429554 for ; Wed, 14 Sep 2016 06:45:24 +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 1bk3vG-0005bE-Us; Wed, 14 Sep 2016 06:43:54 +0000 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bk3ux-0005Qw-Vn for linux-arm-kernel@lists.infradead.org; Wed, 14 Sep 2016 06:43:37 +0000 Received: by mail-pf0-x241.google.com with SMTP id n24so313983pfb.3 for ; Tue, 13 Sep 2016 23:43:15 -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=Z9BlvtO3AKFdoYoE5qKN7QDy9BWNZNeVC+OMHBcOs9I=; b=o09tDnzfkyoDDRbFvpawXuMKetlqpdumbBUv0MA1hVrcFBMn1tQjDaDAt4V0dYWHge 2imSIuA0gQmWzqI7ky3uW3rlKCg8iA1vq+R+mVsZRVvGCu33bywBDXBR5E19DWDKQVmP UMO/tm9YjgD35sW6onKpgGbSmuubQLF4mZpZtfqynyDZESli8TnmmCWCrKpHWpwNd39D XaQCey9SJP0hMVKByRSYvilHFI0ia4gwH9wVOpADqaEEcPf3rJRx5NZWEa0QvXdi/p/n AoCKAAJ0/wCi8ACk7W1jT8gATectGsRdjJozdVd0PNWq5RA00hyYQJVk+UlMkFIhF6Km RQMQ== 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=Z9BlvtO3AKFdoYoE5qKN7QDy9BWNZNeVC+OMHBcOs9I=; b=Lh55kqRtvqblq/M+eK8AG0KkGU63KJ1W2eFYBJPlMHSyQfroRz06d/U8cDcHunDq2E jTj5IDA64GIsg9FOM7HCeNyJIh1K8Ny854+IsmxNX5LDIhw4CvRgSulzwHFaWXPqVCsb xMOSN5NYrE2kzAHMSZE71gYQmy15o8O4Qj4BF7nEIAKLIN+PryOExccNrm4YfcG79AcZ QvGDxop/h49tIygaW0qWIHPdMKzY32GvwGTO8ZuLNoUiC1izRTddJ6i4bQvfzh7HezVA vzMwG2n9iYMPt5wAAMMIpZWQuQhypVqLZ2srbtx/edmTrHB7KP/3R8yubSTtH2EQS4TF LEOg== X-Gm-Message-State: AE9vXwM4k2bPWrl511aIz/9PYZ3Amg7W7pt8mjmukMt/UQcUv6yHGRNzwyFjHJhxJzX8lA== X-Received: by 10.98.158.90 with SMTP id s87mr1649773pfd.117.1473835395231; Tue, 13 Sep 2016 23:43:15 -0700 (PDT) Received: from localhost ([115.115.243.34]) by smtp.gmail.com with ESMTPSA id w64sm35282867pfb.93.2016.09.13.23.43.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Sep 2016 23:43:14 -0700 (PDT) From: Sanchayan Maity To: shawnguo@kernel.org Subject: [PATCH v1 2/3] ARM: dts: imx6q-apalis-ixora: Remove use of pwm-leds Date: Wed, 14 Sep 2016 12:05:04 +0530 Message-Id: <6111feb57b5fbaa29eeb6ba089bb2824bbf2f8ff.1473833908.git.maitysanchayan@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <9d2c17aa2e00e6ff4349a53de8247860d2382607.1473833908.git.maitysanchayan@gmail.com> References: <9d2c17aa2e00e6ff4349a53de8247860d2382607.1473833908.git.maitysanchayan@gmail.com> In-Reply-To: <9d2c17aa2e00e6ff4349a53de8247860d2382607.1473833908.git.maitysanchayan@gmail.com> References: <9d2c17aa2e00e6ff4349a53de8247860d2382607.1473833908.git.maitysanchayan@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160913_234336_188190_DB521ADD X-CRM114-Status: UNSURE ( 8.36 ) 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 --- 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 d99979e..70a3da0 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 {