From patchwork Fri Jun 6 07:45:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 4310571 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 37721BEEAA for ; Fri, 6 Jun 2014 07:45:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6BEF3201DD for ; Fri, 6 Jun 2014 07:45:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 35D1A2013D for ; Fri, 6 Jun 2014 07:45:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751790AbaFFHpv (ORCPT ); Fri, 6 Jun 2014 03:45:51 -0400 Received: from mail-pd0-f181.google.com ([209.85.192.181]:44258 "EHLO mail-pd0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751204AbaFFHpv (ORCPT ); Fri, 6 Jun 2014 03:45:51 -0400 Received: by mail-pd0-f181.google.com with SMTP id z10so2249750pdj.12 for ; Fri, 06 Jun 2014 00:45:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=j8kka4+4GznYfleLFp/nMLbU9UMoSZzOZx74yYUzRZA=; b=D/13KGozcur7Vgs8B48BlVUxYZZ7F8oUADEI7EYicv7eNB4h7ya0SENJk1G/1WniEi UDPB+CROixw5BiRcMednsmKjOr5zuypoEfTvhrd2Pg1yiTxOcJy/bwhEUcB+nrnkVTi6 JJVKxLTB6JTzWT63ftB2DlJO2QAsW1+VvP5wCe+bKtbooaNmWWa+p174NgctL4iTgjxb X7Z8QSbs53xiH2pd4dKFBN9o4du7aYJW6PuD/N1ThTGrDs9slCNYG8oHcP8j+e8r3BGO pPh12jck5z0I8lVkY9mBh7TeG8iXZgZk5ysM1yVR0wy4b/P9sc8CqtOasQcLNxHTyqh1 t4DQ== X-Gm-Message-State: ALoCoQncn7J//z+XRJvUnBy7WNAPDFqnftIeUwYen2jwigOa2f+v1L3pGjFDUu3pI93+8IkvKnQj X-Received: by 10.68.99.194 with SMTP id es2mr5698696pbb.100.1402040750740; Fri, 06 Jun 2014 00:45:50 -0700 (PDT) Received: from xps-iwamatsu.renesas.com (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPSA id is5sm32390932pbb.8.2014.06.06.00.45.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 06 Jun 2014 00:45:49 -0700 (PDT) From: Nobuhiro Iwamatsu To: horms@verge.net.au Cc: linux-sh@vger.kernel.org, Nobuhiro Iwamatsu Subject: [PATCH] ARM: shmobile: koelsch: Add support HSCIF1 Date: Fri, 6 Jun 2014 16:45:41 +0900 Message-Id: <1402040741-12436-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com> X-Mailer: git-send-email 2.0.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=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 Koelsch can use HSCIF1 insetead of SCIF1 as serial port. But if we want to use, we will need to disable the GPIO key and remodeling of the board. Therefore status of hscif1 does not set the "okay". Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/boot/dts/r8a7791-koelsch.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts index b2e6616..cdb53af 100644 --- a/arch/arm/boot/dts/r8a7791-koelsch.dts +++ b/arch/arm/boot/dts/r8a7791-koelsch.dts @@ -22,6 +22,7 @@ aliases { serial6 = &scif0; serial7 = &scif1; + serial16 = &hscif1; }; chosen { @@ -258,6 +259,11 @@ renesas,function = "scif1"; }; + hscif1_pins: serial2 { + renesas,groups = "hscif1_data", "hscif1_ctrl", "hscif1_clk"; + renesas,function = "hscif1"; + }; + ether_pins: ether { renesas,groups = "eth_link", "eth_mdio", "eth_rmii"; renesas,function = "eth"; @@ -334,6 +340,11 @@ status = "okay"; }; +&hscif1 { + pinctrl-0 = <&hscif1_pins>; + pinctrl-names = "default"; +}; + &sdhi0 { pinctrl-0 = <&sdhi0_pins>; pinctrl-names = "default";