From patchwork Tue Jun 10 02:34:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 4326481 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 44A35BEEAA for ; Tue, 10 Jun 2014 02:34:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7191720158 for ; Tue, 10 Jun 2014 02:34:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A90E220154 for ; Tue, 10 Jun 2014 02:34:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754366AbaFJCeb (ORCPT ); Mon, 9 Jun 2014 22:34:31 -0400 Received: from mail-pb0-f54.google.com ([209.85.160.54]:48881 "EHLO mail-pb0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754338AbaFJCea (ORCPT ); Mon, 9 Jun 2014 22:34:30 -0400 Received: by mail-pb0-f54.google.com with SMTP id jt11so5722317pbb.13 for ; Mon, 09 Jun 2014 19:34:30 -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=OTTPC6SzcH8K1185ATtqgGJ+rXGSR4teS4uZ9S8K39Y=; b=RF6Vnye5dUO++OnPyk+QJ5gsuOht6CSfoU/vXYCQ/kZPj2OXOWqdMoKMa6/r4Bbupf s3pmIY4DzOmr5E979lvBMxP5C5uErHzTHyhRIQWDDv88sNprvHY/hdfZe71qDbBaTRkZ 4D6vQtTP86BTN/egoLtZFpkGOGZb5Juh0vbDztq3C4sGPJUbpx4DqpVfO6alnMY1FmBt 0OkiPvad+V+RO+ch4lPPWxeexxHgxQAuSnc1Nil97Di1Ldg3QdGKjB+pzs4WhR5WSjwQ tPOhR0eVnpGEUY9SE5FP/qcrX9QEsxRtLMcyc/IYBYJ8+Fn9M7t8E6dO1G3lhx8YGF+G WEjA== X-Gm-Message-State: ALoCoQltiA0FXqaC0LmI6e+bulVxar4s1ymKY3jDWrQCssuWtxAxg9y4w8C79/70R9rfaSebNT3R X-Received: by 10.66.163.70 with SMTP id yg6mr2223485pab.23.1402367670200; Mon, 09 Jun 2014 19:34:30 -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 kh4sm2371229pbc.64.2014.06.09.19.34.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Jun 2014 19:34:29 -0700 (PDT) From: Nobuhiro Iwamatsu To: horms@verge.net.au Cc: linux-sh@vger.kernel.org, magnus.damm@gmail.com, linux-arm-kernel@lists.infradead.org, Nobuhiro Iwamatsu Subject: [PATCH v2] ARM: shmobile: koelsch: Add support HSCIF1 Date: Tue, 10 Jun 2014 11:34:19 +0900 Message-Id: <1402367659-21117-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 Acked-by: Magnus Damm --- V2: Remove hscif1_clk from renesas,groups. This pin does not use. 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..0992673 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"; + 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";