From patchwork Mon Jan 5 22:26:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 5570641 Return-Path: X-Original-To: patchwork-linux-sh@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 40E4A9F444 for ; Mon, 5 Jan 2015 22:26:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 81C862034A for ; Mon, 5 Jan 2015 22:26:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AE8CA20340 for ; Mon, 5 Jan 2015 22:26:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754110AbbAEW0u (ORCPT ); Mon, 5 Jan 2015 17:26:50 -0500 Received: from mail-lb0-f175.google.com ([209.85.217.175]:45713 "EHLO mail-lb0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752973AbbAEW0t (ORCPT ); Mon, 5 Jan 2015 17:26:49 -0500 Received: by mail-lb0-f175.google.com with SMTP id z11so10378109lbi.20 for ; Mon, 05 Jan 2015 14:26:48 -0800 (PST) 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:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=GxsDU/4XcIp4BEUPe9epvshJiRsXalW3uy0kakplam4=; b=dVdus1oKec/8Ad5wULtfZqhlS66U4/s0hVBF5eDJ5pUXpy4kR1sv2FIYxicaQ/eFOp nzSnZ+hdgnEJqoT1vN6aAPbMu57Fxe9h/okvv9Ekdu+qAlj4ae5h3WOyxPXLTpGn/dxX EEYVOdcrbSbxCtXgmqHH9l0QeWcch6u4rXZsqVhzIL2sWIe252NR9f2rK9LAUg1VdxPW yVmUkFBA9wecTvIayPyemJVkz3f70LPNHZZ4rawH0Hl3T8+aWWHTFDxKuFuz8twDcIV7 A7LxIPDNV5HoZONChgrRYtSw86C/dscAbxPsGqI2mxnwwLzMmIyliTOYXwJawEw5qUyM ZnOA== X-Gm-Message-State: ALoCoQnCOggy1+mybdae+V7szEH4Qlj8NkV0oXmL5YaglHnHSugyR/o07reVbgUPyG6M+QTn41Cp X-Received: by 10.152.87.12 with SMTP id t12mr96107858laz.31.1420496808122; Mon, 05 Jan 2015 14:26:48 -0800 (PST) Received: from wasted.cogentembedded.com (ppp19-206.pppoe.mtu-net.ru. [81.195.19.206]) by mx.google.com with ESMTPSA id qr10sm1375279lbb.30.2015.01.05.14.26.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Jan 2015 14:26:47 -0800 (PST) From: Sergei Shtylyov To: horms@verge.net.au, linux-sh@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, devicetree@vger.kernel.org Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 3/3] ARM: shmobile: henninger: add CAN0 DT support Date: Tue, 06 Jan 2015 01:26:45 +0300 Message-ID: <2483119.HjgsDbcomx@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.3 (Linux/3.17.7-200.fc20.x86_64; KDE/4.14.3; x86_64; ; ) In-Reply-To: <1652479.NHBlqJ9OaR@wasted.cogentembedded.com> References: <1652479.NHBlqJ9OaR@wasted.cogentembedded.com> MIME-Version: 1.0 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 Define the Henninger board dependent part of the CAN0 device node. Signed-off-by: Sergei Shtylyov --- Changes in version 4: - refreshed the patch. Changes in version 3: - changed "can0_data_a" to "can0_data", removed "can_clk_d" in the "renesas,groups" property; - moved CAN0 node to go after all others; - refreshed the patch. arch/arm/boot/dts/r8a7791-henninger.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: renesas/arch/arm/boot/dts/r8a7791-henninger.dts =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7791-henninger.dts +++ renesas/arch/arm/boot/dts/r8a7791-henninger.dts @@ -147,6 +147,11 @@ renesas,groups = "vin0_data8", "vin0_clk"; renesas,function = "vin0"; }; + + can0_pins: can0 { + renesas,groups = "can0_data"; + renesas,function = "can0"; + }; }; &scif0 { @@ -321,3 +326,9 @@ }; }; }; + +&can0 { + pinctrl-0 = <&can0_pins>; + pinctrl-names = "default"; + status = "okay"; +};