From patchwork Sun Sep 13 09:32:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 7168061 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B8E19BEEC1 for ; Sun, 13 Sep 2015 09:35:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E281C2067A for ; Sun, 13 Sep 2015 09:35:01 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id 9F3712065D for ; Sun, 13 Sep 2015 09:35:00 +0000 (UTC) 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 1Zb3eY-0000iO-Co; Sun, 13 Sep 2015 09:32:54 +0000 Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zb3eW-0000hC-0i for linux-arm-kernel@lists.infradead.org; Sun, 13 Sep 2015 09:32:52 +0000 Received: by padhk3 with SMTP id hk3so114724734pad.3 for ; Sun, 13 Sep 2015 02:32:28 -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; bh=hlzRS7Ev3T3Q/ZNGfImeeFpQV96yVbC49u1ExPygw1c=; b=xAB8S9dHO6da4w2HlxbpofOspuztUTQPYqVe3uqzuMmNQ67y3L99JV52dO7J8atBRL uW18DiWaQfNTebobMXfGA2+Z4mhWhGHKGv2Lb52FvIym2DtHlyhA4jfH6B7tLa0iX3AK ZiM8Tk2plBanr+C9DI7Jfdt2DgUM3ykasEK8E0hC+BfIztRejKDeXq8WhzBnzEftM9y3 /wVr4cJeGZvOOKokRwFsS3lJ/4SyeLIECId5FfT5IDKFv/45zUZMYIyg5p0ZgbHC7esD JZ4ol7Ns7s8lyuUL4DwxTFsGqRHNYhg7D44MjjuKMWwe8vqWq+JiNfwJx+aldKnz0Bup 5/Bg== X-Received: by 10.69.17.1 with SMTP id ga1mr20143727pbd.163.1442136748757; Sun, 13 Sep 2015 02:32:28 -0700 (PDT) Received: from localhost.localdomain ([125.130.175.98]) by smtp.gmail.com with ESMTPSA id f5sm9733163pas.23.2015.09.13.02.32.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 13 Sep 2015 02:32:28 -0700 (PDT) From: Krzysztof Kozlowski To: Kukjin Kim , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] ARM: dts: Fix LEDs on exynos5422-odroidxu3 Date: Sun, 13 Sep 2015 18:32:16 +0900 Message-Id: <1442136736-28672-1-git-send-email-k.kozlowski.k@gmail.com> X-Mailer: git-send-email 2.1.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150913_023252_116617_99837D8C X-CRM114-Status: GOOD ( 13.74 ) X-Spam-Score: -2.7 (--) 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: Krzysztof Kozlowski MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The LEDs on Odroid XU3 family boards could not properly probe because PWM outputs were reduced only to PWM for fan. Fix it for Odroid XU3 and XU3-Lite boards by switching to usage of all 4 outputs (although the PWM for MIPI probably is redundant because board does not have MIPI connector available). This fixes warnings on dmesg: [ 4.838712] samsung-pwm 12dd0000.pwm: tried to request PWM channel 1 without output [ 4.838725] leds_pwm pwmleds: unable to request PWM for green:mmc0: -22 [ 4.838767] leds_pwm: probe of pwmleds failed with error -22 Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Do not rebase on patchset adding support for Odroid XU4 board. Rebase just on current next. --- arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi index dd8bc86d9de4..90d298dce851 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi @@ -473,7 +473,6 @@ */ pinctrl-0 = <&pwm0_out &pwm1_out &pwm2_out &pwm3_out>; pinctrl-names = "default"; - samsung,pwm-outputs = <0>; status = "okay"; };