From patchwork Mon Jan 18 05:08:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 8052271 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-renesas-soc@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 6F6D5BEEE5 for ; Mon, 18 Jan 2016 05:06:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C98C72024C for ; Mon, 18 Jan 2016 05:06:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2A7532022D for ; Mon, 18 Jan 2016 05:06:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750789AbcARFGY (ORCPT ); Mon, 18 Jan 2016 00:06:24 -0500 Received: from mail-pa0-f51.google.com ([209.85.220.51]:34518 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750735AbcARFGX (ORCPT ); Mon, 18 Jan 2016 00:06:23 -0500 Received: by mail-pa0-f51.google.com with SMTP id uo6so413265681pac.1 for ; Sun, 17 Jan 2016 21:06:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=r3r8t3sC7zircMB8O2i5pV+ojbPpcutF4dG2OYqW4Vc=; b=sx6AJvk+uGvJk+g8Xy7JigTj06K0OZqrs7SnKp7yKp1u/1HdY33oqzUVpUCULD6UmE 7m5D4uKgze1kpQCRY8+se9Gyfqntx6B/z9fcs6OqdB4CJz8zk1usZVoebApQpe6sEfDy gWA5JngspjyhdI54WlrEI/YmWL3q+W6P1o15wRyBwVyUQxm+dhV+XbLaFsOUKWUchowc sWYNbOPSkV+85L1EctDUsl7/R4M6Y57t0NDq3X5eQ9Oy/3NKKzDr1DMHI51Jzvfyn3i2 vu+i9V3Spgc0aYyqSc3Mce1ZS2dM2eNJpdAsD3BeALKO/HRFzszG2LFrYF6np93+sqo8 7WQQ== 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:date:message-id:in-reply-to :references:subject; bh=r3r8t3sC7zircMB8O2i5pV+ojbPpcutF4dG2OYqW4Vc=; b=iIxfjTeRIBBvSIoS41VnU5L//H5tg3AOtBs51EN0UdfcPL3rB5DdUBnAwcvidNdp6E Xs77uiJY8B2MWQdKS2EIrRn9qxRbUj/w5+Xrup1vlmHemr8UfzUKzMbjooSnVNzFui2t T4tlssyDPpb1qDFvD0R/W7BFCPUc9wvk8H8o2or/btSCoHRYL4zlKEgkcgi1cq/zxX5m iHTKO5QyAUQtIhRv5hJVB5TYnj5HIiRuKDf4TZk2q+dVt+mve9+2PiDOvD81kXjMhy9W /5KNZFx1LIcMo7pHIeU6201kqTsEM+3mA8JADTYLPMWBP9CTxVqKyU+waFohetRxj8GC ZdAA== X-Gm-Message-State: ALoCoQmhhciwz1VnqZ08ND510yXQbp/mRz5DH5NLukuv4FSvOOr1lArOo9qIWnmQ1CIxshfwlPoXo/ay2aAZRw6HvbdzuPqupg== X-Received: by 10.66.159.226 with SMTP id xf2mr33916429pab.23.1453093583058; Sun, 17 Jan 2016 21:06:23 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id 17sm30361215pfq.51.2016.01.17.21.06.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Jan 2016 21:06:21 -0800 (PST) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: horms+renesas@verge.net.au, Magnus Damm , laurent.pinchart+renesas@ideasonboard.com, geert+renesas@glider.be Date: Mon, 18 Jan 2016 14:08:40 +0900 Message-Id: <20160118050840.20358.16627.sendpatchset@little-apple> In-Reply-To: <20160118050831.20358.83393.sendpatchset@little-apple> References: <20160118050831.20358.83393.sendpatchset@little-apple> Subject: [PATCH/RFC v2 01/03] ARM: shmobile: External Salvator-X SCIF3/HSCIF3 loop Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Spam-Status: No, score=-6.8 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=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 From: Magnus Damm Add SCIF3 and HSCIF3 as two new serial ports to the r8a7795 Salvator-X DT file. Signed-off-by: Magnus Damm --- Changes since V1: - None arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 28 ++++++++++++++++++++ 1 file changed, 28 insertions(+) --- 0001/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts +++ work/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts 2015-11-06 14:21:56.640513000 +0900 @@ -41,6 +41,8 @@ aliases { serial0 = &scif2; serial1 = &scif1; + serial2 = &scif3; + serial3 = &hscif3; ethernet0 = &avb; }; @@ -135,6 +137,16 @@ renesas,groups = "scif2_data_a"; renesas,function = "scif2"; }; + + scif3_pins: scif3 { /* TX: 1_11, RX: 1_8 */ + renesas,groups = "scif3_data_b"; + renesas,function = "scif3"; + }; + + hscif3_pins: hscif3 { /* TX: 2_8, RX: 2_7 */ + renesas,groups = "hscif3_data_d"; + renesas,function = "hscif3"; + }; i2c2_pins: i2c2 { renesas,groups = "i2c2_a"; @@ -169,6 +181,22 @@ pinctrl-names = "default"; status = "okay"; +}; + +&scif3 { + pinctrl-0 = <&scif3_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; + +/* SCIF3 TX -> HSCIF3 RX, HSCIF3 TX -> SCIF3 RX */ + +&hscif3 { + pinctrl-0 = <&hscif3_pins>; + pinctrl-names = "default"; + + status = "okay"; }; &i2c2 {