From patchwork Tue Oct 27 21:03:22 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 7502331 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9EEB0BEEA4 for ; Tue, 27 Oct 2015 21:03:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BF33F2096A for ; Tue, 27 Oct 2015 21:03:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CF81320961 for ; Tue, 27 Oct 2015 21:03:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965575AbbJ0VDb (ORCPT ); Tue, 27 Oct 2015 17:03:31 -0400 Received: from mail-lb0-f169.google.com ([209.85.217.169]:33309 "EHLO mail-lb0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965580AbbJ0VDa (ORCPT ); Tue, 27 Oct 2015 17:03:30 -0400 Received: by lbbec13 with SMTP id ec13so71504522lbb.0 for ; Tue, 27 Oct 2015 14:03:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded_com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=CqwSOrdS+j0900YUBMqS/uI9VVXlNAnxaemVQeLjoeY=; b=iXaGHji10LXi7FKqsOIn9jMoH4Zcriu61NpKJhryfxbIhFsN2cNmGZ0xveVdl1NPTM EiFTzl0wgOisLMqIn4Lb+CkM6YQ0eFDUjGX7rk27dy51QLvAwxP/J3hyemhepj9sYJ9D KczjPFXz6mKDToIPrq2dJr82P9I+rjvU5h5wK0VImXto7Fd94LJfw7HSN26SNBX8aJYF MGusl3QuglGTudn82yU/Q5CpytYXfZPQbMbw2zbrkrH8TD7favYXM8gjgpJ/wc9FlMle Rvs339wYJWkD4C5lZaCw9gjkJdSaP6R+jXrYAJqOLptqJzXdVyMI/apQO6xF1q687J02 VeQQ== 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=CqwSOrdS+j0900YUBMqS/uI9VVXlNAnxaemVQeLjoeY=; b=JbCf7MnuBHCyJE5oMomxovxF+dIJYeddk1RRPnMyflBDfU97pJ0n49cXN2VV0cFwaf PJ8STZVEJNFEr49z+cUwevK2gMpQdPsjnGg3SnGmA3c4lYK/dlLqOMr+1Y9ESY46ZcAU CN2p++9qbQ1YyEcDJlwR2ujA7YdgJMrfv1BNBItEXSB1VksttD1RYa1pPfV64a/jJ03c BwdZN9Ki472DipIZLIxKI01aYsCUQRBFpW9WmGP6a3TOx4eJpHtqW5tqjnTxqCfzI7r3 JXYp94Aigv8aK5k5IxZ9t2/WTq/rdHQMnj30aoXOqETaa2GOpb2AGoyfHUjIp+eEQuCM WYDw== X-Gm-Message-State: ALoCoQlW2IoSrCvDZ1i06/XuB9ZKGfkaM17KTUu8lWes8S9AU2RcXv6fMqy0qSlrNd1ZuaqOkM6M X-Received: by 10.112.205.194 with SMTP id li2mr13160959lbc.75.1445979808522; Tue, 27 Oct 2015 14:03:28 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.80.79]) by smtp.gmail.com with ESMTPSA id pm6sm7244997lbc.1.2015.10.27.14.03.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Oct 2015 14:03:27 -0700 (PDT) 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] ARM: shmobile: porter: add CAN0 DT support Date: Wed, 28 Oct 2015 00:03:22 +0300 Message-ID: <5706086.RKBCVZugI4@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.9 (Linux/4.2.3-200.fc22.x86_64; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1674850.BZpGW9kEud@wasted.cogentembedded.com> References: <1674850.BZpGW9kEud@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.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,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 Porter board dependent part of the CAN0 device node. This patch is analogous to the commit 457acc4a6ce8 (ARM: shmobile: henninger: add CAN0 DT support) as there are no differences between the boards in this respect. Signed-off-by: Sergei Shtylyov --- This patch is against 'renesas-devel-20151026-v4.3-rc7' tag of Simon Horman's 'renesas.git' repo. arch/arm/boot/dts/r8a7791-porter.dts | 12 ++++++++++++ 1 file changed, 12 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-porter.dts =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7791-porter.dts +++ renesas/arch/arm/boot/dts/r8a7791-porter.dts @@ -134,6 +134,11 @@ renesas,groups = "vin0_data8", "vin0_clk"; renesas,function = "vin0"; }; + + can0_pins: can0 { + renesas,groups = "can0_data"; + renesas,function = "can0"; + }; }; &scif0 { @@ -288,3 +293,10 @@ &pciec { status = "okay"; }; + +&can0 { + pinctrl-0 = <&can0_pins>; + pinctrl-names = "default"; + + status = "okay"; +};