From patchwork Fri Dec 26 23:21:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 5543951 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 717399F301 for ; Fri, 26 Dec 2014 23:22:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AC9E620204 for ; Fri, 26 Dec 2014 23:22:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DA264201F5 for ; Fri, 26 Dec 2014 23:22:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751203AbaLZXWE (ORCPT ); Fri, 26 Dec 2014 18:22:04 -0500 Received: from mail-lb0-f176.google.com ([209.85.217.176]:33850 "EHLO mail-lb0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751704AbaLZXWA (ORCPT ); Fri, 26 Dec 2014 18:22:00 -0500 Received: by mail-lb0-f176.google.com with SMTP id p9so8834636lbv.21 for ; Fri, 26 Dec 2014 15:21:58 -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=UAdCLrhD5cynf1ToJ4fQqPMFpVLNMUzNJwF+bZEmaxW+mOPY6Eu8bocVTnuH1hcESd DOSKC2FHS2Rl5Qj48rPPRKd5rok7EjUuN6QgCw1r94XLX5HDXzQueIvxGZTCa0TaSYpY oHw/7rNV59tCZcz3vL+CSiFayJRPINxaBBwtlfJ6B2YdgXuWxYyiA2v8UNp8cqSFV0Ro Sk682jtTPWMD/CGkN3JQKZwNXhgVp7c2tDyLc+kiTnpGnUJskynrYE/CrFkvi4yA2vpu g5vk/SFYAIIk/kVK80QqQ6yiniTEFS4h9RinH/uHDJzhGUqAQUywOd8QQ2GqG5LC6vS4 3H8g== X-Gm-Message-State: ALoCoQnDKYAzRmUqVsWcpm5wt5qSRFFFTJ9iYT2ZECVsqDdZfcFhOpoJNYdjzaQsIxaO0AObN/wc X-Received: by 10.152.206.41 with SMTP id ll9mr35235767lac.62.1419636118806; Fri, 26 Dec 2014 15:21:58 -0800 (PST) Received: from wasted.cogentembedded.com (ppp83-237-255-240.pppoe.mtu-net.ru. [83.237.255.240]) by mx.google.com with ESMTPSA id zo3sm8214004lbb.10.2014.12.26.15.21.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Dec 2014 15:21:57 -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 v4 3/3] ARM: shmobile: henninger: add CAN0 DT support Date: Sat, 27 Dec 2014 02:21:56 +0300 Message-ID: <8071243.02TkQ9xbCu@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: <6830301.90YaDPuTpx@wasted.cogentembedded.com> References: <6830301.90YaDPuTpx@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"; +};