From patchwork Mon May 16 19:34:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Dimitrov X-Patchwork-Id: 9105601 Return-Path: X-Original-To: patchwork-linux-media@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 A69449FB33 for ; Mon, 16 May 2016 19:35:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D95B1202C8 for ; Mon, 16 May 2016 19:35:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 99196202BE for ; Mon, 16 May 2016 19:35:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754686AbcEPTe6 (ORCPT ); Mon, 16 May 2016 15:34:58 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:34869 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754657AbcEPTeg (ORCPT ); Mon, 16 May 2016 15:34:36 -0400 Received: by mail-wm0-f65.google.com with SMTP id e201so20337149wme.2; Mon, 16 May 2016 12:34:35 -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=ADgAq0R7KgiHltbZTM7UvTiutHBQfrhYftoy+Z+AGTQ=; b=mokyxGMod3TcvptlKcUocsQqXoZmbeLfrS25sISvCReS7+5t70hCnbsYj11JwQVaZb zsmsWdYgSnoBFCR1zCi5xUjWTJr1eR7EREwIiZFkmLHOCscZAMZvVrbqP69bAlnImX9w Ldfr0XavDZEkfALL/xdvizoEeKFZ0dAVu9OeCb6mhMztJyZcpqa09zXZlgwRSK2ZJqDW Rdw/sWH0+Smv76c6wCNDNLfgFadFgf2cYVW7PNfF7bHL+xX1bhRppt3s3GxKQVk+vfPm ZXZ5TYQlt2E60PBwrB1arO1JTZqq6DFiCo+7JeyYr0vErNcmD6kjH9G6oC7DmpF3gxIG sJKw== 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=ADgAq0R7KgiHltbZTM7UvTiutHBQfrhYftoy+Z+AGTQ=; b=j6TIrI9UOaSQH47FxxB1MS3Y4CjlyzCRhydjSqWfeFelahXp6+nj7IcNokfTZ/fZmk k/pweAZX7Qsfm2cq8nIj8EbZJh3mdS3sniQbhqRJXzUDcPTsSjGjr6/q0fqRV4c9awtc IabwNHofooP8wSftybHm/8e8MBbbnHUTunZAtIFDc7TuHdwyKXgc5Ex/JxmnHHg33MbA o6lxzX1A6/xsY28AjBP7AYBunUt6zCRxoJku0ovI9+GI/egPB1HT7ZoXcjdfzKDdpP7l GVrptRu2LRcyax6XYbchUqJXEsniF+nAvxzNPkXYmBJGM9YAPQbIbcQvidfnDXvjkiTr xFJA== X-Gm-Message-State: AOPr4FU3yyVL0psJ4K82aiaueX8Flv4aO+U0kscx+sZhUBiwskbINyGYKZVb4vbWY+dhqg== X-Received: by 10.28.7.197 with SMTP id 188mr20377467wmh.101.1463427274397; Mon, 16 May 2016 12:34:34 -0700 (PDT) Received: from localhost.localdomain ([46.249.74.23]) by smtp.gmail.com with ESMTPSA id g132sm20069306wme.0.2016.05.16.12.34.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 16 May 2016 12:34:33 -0700 (PDT) From: Ivaylo Dimitrov To: robh+dt@kernel.org, mark.rutland@arm.com, pawel.moll@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 v2 6/6] ARM: dts: n900: enable lirc-rx51 driver Date: Mon, 16 May 2016 22:34:14 +0300 Message-Id: <1463427254-7728-7-git-send-email-ivo.g.dimitrov.75@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1463427254-7728-1-git-send-email-ivo.g.dimitrov.75@gmail.com> References: <1463427254-7728-1-git-send-email-ivo.g.dimitrov.75@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-8.2 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..cb3878a 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: n900-ir { + compatible = "nokia,n900-ir"; + pwms = <&pwm9 0 26316 0>; /* 38000 Hz */ + }; }; &omap3_pmx_core {