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: 4326511 Return-Path: X-Original-To: patchwork-linux-arm@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 8769ABEEAA for ; Tue, 10 Jun 2014 02:38:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BD33920158 for ; Tue, 10 Jun 2014 02:38:18 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EC04420154 for ; Tue, 10 Jun 2014 02:38:17 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WuBto-0000iO-0y; Tue, 10 Jun 2014 02:34:56 +0000 Received: from mail-pd0-f179.google.com ([209.85.192.179]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WuBtk-0000hB-SE for linux-arm-kernel@lists.infradead.org; Tue, 10 Jun 2014 02:34:53 +0000 Received: by mail-pd0-f179.google.com with SMTP id fp1so5610745pdb.10 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=ZzhOkwPqbzFKT3UEc9vTdWpF8vyF/dOk+O98GBc2UeuhFMxPrEqPIFOZpsPPTqmjBL DawJjNJ9vLtTsrrG9xjpUd4xaajSVDRDQsvBgzASKk5tZ2u/pzhmxmnKycC3U8W14QZz FlSA3PMOO0OD6hAnt+XRkYJxiLUDfGiSY71YVF+XOG+gwKoX+6cEFtPPXl3QQFNllJ0R TgNHMtT1NMWH4CFxbRlhe6avvqBqqbrW5bLTWbKCO6BV9942r3oyBRn/modrFCxOaEf8 zVnEWQgEFClbhIjb86HgJBbMLyADN5r9w0pEbBwsHncMjn7iYdXRPRgO7mMRNXKZjZsU d66A== X-Gm-Message-State: ALoCoQlgLeXcg3hDEe8QcS0eIt7Q3lFP0eiMktRgLzL9iWCPcJQMN3wEF18PCX1BIRF9eBwWl19q 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140609_193452_955521_9339F0E5 X-CRM114-Status: UNSURE ( 9.16 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) Cc: Nobuhiro Iwamatsu , magnus.damm@gmail.com, linux-arm-kernel@lists.infradead.org, linux-sh@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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";