From patchwork Sat May 7 15:21:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Dimitrov X-Patchwork-Id: 9038061 Return-Path: X-Original-To: patchwork-linux-omap@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 692529F30C for ; Sat, 7 May 2016 15:23:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 81EC420142 for ; Sat, 7 May 2016 15:23:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 040262015A for ; Sat, 7 May 2016 15:23:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750883AbcEGPWy (ORCPT ); Sat, 7 May 2016 11:22:54 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35061 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750732AbcEGPWa (ORCPT ); Sat, 7 May 2016 11:22:30 -0400 Received: by mail-wm0-f67.google.com with SMTP id e201so13349570wme.2; Sat, 07 May 2016 08:22:29 -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; bh=OFNqKE7oH/a+6dkC5CPll8og4uHdpH5J+yuWqTSmmFE=; b=CRLLnlJB99wfEn7aU2dv4i4kUfTAD2VUHuMQ9ZOmTMzhJAmMPjm0zjrX32TeP3sEZ4 DS0hHGEyG3/Y++A6GJdQ3qPoIQcWLnLv5EyybnXb2JPG1BRzInB4q4S4yVwzM6Qm3CIR 34W66kE8mH46QExoUla01d3tJRdEIffz7mZmRrJ3iUy/0rdbPF2jzUpV1/Mc5iTMk695 Zy6EGZIF69pSN9wOoY6FTXt9nmxEHlZ8FB6U6j+JR3qiOjfOyw/8FpcgKPSmKhXHnW1b LBqJhfynX3cEJPsWHwCE5btHFCtP7R072G8vFmuE5lprrqpsQ8Q+0CB9zVAtYEq03IH9 to2Q== 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; bh=OFNqKE7oH/a+6dkC5CPll8og4uHdpH5J+yuWqTSmmFE=; b=QKLY6/rlu/0BfmO9Z3oDALPVPcxElUPXdBq7jn5mi5aCX8QEQqWYdYEjK33fITwFM/ PM8Z9+89+kxh5Yo23F5Q2d89gzWlkv9XAsFJJtV2urdK7lw+gb3voGSRJ5Y2nJzKKzL3 sb7mShdobFOU/s36zkJ9hKBZzylEDkKkrKIqQIGw2k73JEIBCrQeCq26TqKBXC4GsfEm OwzIVMmf36EcMLJ6YW74FyGyBvmw1s8CZDDKQpXmH6o19Hciid78NATx/vUYNBS2q4re EhReMb5boCUU66iq4MPY4otNBU0iRbuFYa3FH7P3lTC+LJteA5NQQdiXemB8aT65THJ/ d4BQ== X-Gm-Message-State: AOPr4FU1slER4LHzeBCPq9mLHwozE9LoSD19ndSh0CjuShX3GAND+Cfg1XxfFUgVa/RI3w== X-Received: by 10.194.220.230 with SMTP id pz6mr8388093wjc.93.1462634548460; Sat, 07 May 2016 08:22:28 -0700 (PDT) Received: from localhost.localdomain ([46.249.74.23]) by smtp.gmail.com with ESMTPSA id jq1sm20737835wjc.28.2016.05.07.08.22.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 07 May 2016 08:22:27 -0700 (PDT) From: Ivaylo Dimitrov To: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, thierry.reding@gmail.com, bcousson@baylibre.com, tony@atomide.com, linux@arm.linux.org.uk, mchehab@osg.samsung.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, sre@kernel.org, pali.rohar@gmail.com, Ivaylo Dimitrov Subject: [PATCH 7/7] ARM: dts: n900: enable lirc-rx51 driver Date: Sat, 7 May 2016 18:21:48 +0300 Message-Id: <1462634508-24961-8-git-send-email-ivo.g.dimitrov.75@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1462634508-24961-1-git-send-email-ivo.g.dimitrov.75@gmail.com> References: <1462634508-24961-1-git-send-email-ivo.g.dimitrov.75@gmail.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-8.9 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 Add the needed DT data to enable IR TX driver Signed-off-by: Ivaylo Dimitrov --- arch/arm/boot/dts/omap3-n900.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index b3c26a9..3d1e23e 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts @@ -143,6 +143,18 @@ io-channels = <&twl_madc 0>, <&twl_madc 4>, <&twl_madc 12>; io-channel-names = "temp", "bsi", "vbat"; }; + + pwm9: dmtimer-pwm@9 { + compatible = "ti,omap-dmtimer-pwm"; + #pwm-cells = <3>; + ti,timers = <&timer9>; + ti,clock-source = <0x00>; /* timer_sys_ck */ + }; + + ir: lirc-rx51 { + compatible = "nokia,lirc-rx51"; + pwms = <&pwm9 0 26316 0>; /* 38000 Hz */ + }; }; &omap3_pmx_core {