From patchwork Tue Dec 6 10:56:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Ferre X-Patchwork-Id: 9462349 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 BC9A76074E for ; Tue, 6 Dec 2016 10:59:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B8F6028346 for ; Tue, 6 Dec 2016 10:59:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9EA1D28358; Tue, 6 Dec 2016 10:59:13 +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.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED 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 3A7A628356 for ; Tue, 6 Dec 2016 10:59:13 +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 1cEDRW-00009v-NB; Tue, 06 Dec 2016 10:57:50 +0000 Received: from smtpout.microchip.com ([198.175.253.82] helo=email.microchip.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEDQe-0008HQ-8N for linux-arm-kernel@lists.infradead.org; Tue, 06 Dec 2016 10:56:57 +0000 Received: from tenerife.corp.atmel.com (10.10.76.4) by chn-sv-exch06.mchp-main.com (10.10.76.107) with Microsoft SMTP Server id 14.3.181.6; Tue, 6 Dec 2016 03:56:39 -0700 From: Nicolas Ferre To: Boris BREZILLON , , , , , Subject: [RFC PATCH 3/3] ARM: dts: at91: sama5d2_xplained: add pin muxing and enable classd Date: Tue, 6 Dec 2016 11:56:00 +0100 Message-ID: <80bec63cef3f150a98edd7054d392a96d86af92d.1481021115.git.nicolas.ferre@atmel.com> X-Mailer: git-send-email 2.9.0 In-Reply-To: References: MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAC+NgFprMqsTGxcLF5cOimz7TLcJgZ097J6/F/WunWSzufdrGaHF93j5miwP9/BZfm4wtOqasYrKYNv0dswN7AEMUa2ZeUn5FAmvG4uWTWAtecFbMfbCXsYHxDnsXIxeHkMA6Romft0+xdTFycrAJ6EqcnfCEDSQhInCNUeL3+QVgVcwCE5gkHqxqZQapEhaIlvg4eT5YB4uAisSF00sYQWxegViJ66+vg9kSAnISDefvg9VzClhLLNg5DcjmAFpnJfHqXiVEuaDEyZlPWEBsZgEJiYMvXoCVCwGN7Hvfzw4xJlDiSPNHZgjbSeL/yplQcTuJw9MvQtkOEvfvz2CDqTm49TmUrS2x/dU+VghbR2LbwX4WCNtWYs+MiUwQtrvEg0fLoWxfiVkPG6BqoiRO9X9mncAoMQvJqbOQnLqAkWkVo7Szh59ucJiua4Szh4GZXm5yRoFubmJmnl5yfu4mRkiEZe9gPNPmf4hRkoNJSZR366Tz4UJ8SfkplRmJxRnxRaU5qcWHGCU4eJREeA8tA8rxFhck5hZnpsOkZDg4lCR4L4CkBItS01Mr0jJzSlKLINKnGCWlxHnvgSQFQPoySvPgcpcYRaWEeaOWAuV4ClKLcjNLIOK3GIU5HjIJseTl56VKAZ3IAAQajK8YxTkYlYR5L4LM4snMK4E74RXQdUxA163bfRrkupJEhJRUA+PR1S0qJfdkLSdb/WAWjL+oJszrcLnzS+A59bM/ryvfY10bYZ0lf8LQzPtIVsl2v4wpt2/xe+6/OI29au6x5D75A2HsZyRv386aJpqq6dq+bK5wqqTL5piqWTtymDM6PxzMu/eKbd39TVO8jzZ9MJBjDA9f4rfq5rXmGan/SjYcaJRcpp4Ta6HEUpyRaKjFXFScCAAu9DfTJgMAAA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161206_025656_448407_44B0CD79 X-CRM114-Status: UNSURE ( 7.17 ) 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: Nicolas Ferre , linux-kernel@vger.kernel.org, Ludovic Desroches , Alexandre Belloni , Songjun Wu , Cyrille Pitchen 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 From: Cyrille Pitchen This patch adds the pin muxing for classd and enables it. Signed-off-by: Cyrille Pitchen Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/at91-sama5d2_xplained.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/at91-sama5d2_xplained.dts index 0b9a59d5fdac..c9a8939ba1ef 100644 --- a/arch/arm/boot/dts/at91-sama5d2_xplained.dts +++ b/arch/arm/boot/dts/at91-sama5d2_xplained.dts @@ -332,6 +332,14 @@ bias-pull-up; }; + pinctrl_classd_default: classd_default { + pinmux = , + , + , + ; + bias-pull-up; + }; + pinctrl_flx0_default: flx0_default { pinmux = , ; @@ -464,6 +472,14 @@ }; }; + + classd: classd@fc048000 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_classd_default>; + atmel,pwm-type = "diff"; + atmel,non-overlap-time = <10>; + status = "okay"; + }; }; };