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: 7168041 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4AD6E9F326 for ; Sun, 13 Sep 2015 09:33:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 67ADF2068C for ; Sun, 13 Sep 2015 09:33:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 74F612067A for ; Sun, 13 Sep 2015 09:33:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751396AbbIMJca (ORCPT ); Sun, 13 Sep 2015 05:32:30 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:33532 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751349AbbIMJc3 (ORCPT ); Sun, 13 Sep 2015 05:32:29 -0400 Received: by pacex6 with SMTP id ex6so115180354pac.0; 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 Cc: Krzysztof Kozlowski 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 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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"; };