From patchwork Mon Feb 24 09:30:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Barinov X-Patchwork-Id: 3707861 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1314E9F2F7 for ; Mon, 24 Feb 2014 09:30:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3DED020154 for ; Mon, 24 Feb 2014 09:30:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6A8CA20149 for ; Mon, 24 Feb 2014 09:30:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752108AbaBXJaP (ORCPT ); Mon, 24 Feb 2014 04:30:15 -0500 Received: from mail-la0-f48.google.com ([209.85.215.48]:61194 "EHLO mail-la0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751915AbaBXJaL (ORCPT ); Mon, 24 Feb 2014 04:30:11 -0500 Received: by mail-la0-f48.google.com with SMTP id gf5so2260327lab.7 for ; Mon, 24 Feb 2014 01:30:10 -0800 (PST) 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:in-reply-to :references; bh=Rma5qqFa+5BVYF2GwEa7GHz1Rsipf1cQwevxf7B0DTg=; b=M+wztR1QPYz//DymeRFczmMPQmevdSeezptlBWeBGjK/jqPb4LkV9qJ1FYvdb+tviq OnuRF0kq6h2FXbTJdDWzmQqiapvgekCFc7YNSXo5b7LzNL+99AKRxRCl6IDiNY5Z8/XB m91xJe2bu6l8eZgx44ZyXuIIWo4v0W4ZWj3G9QyAMWzGfgwlTvU8QSeJ/L+AZ8oxUhBp LA/sSPl51rKOTssJttSxvpEeU2b8c3VUOjsbjqp3yePpTWp6lWbHZsiRkkXmbvCRmS+s Qf8O7i3zUVaW1SqQWnIiGrThmgfB17gLvQjoMxHBAWyV74J+wqpX0zKtfNQNuBjIkzg6 Vo3g== X-Gm-Message-State: ALoCoQnmGNgAjv1A2MEWpwtu6rt7ER0mVnivrK8ROOzXWfilonAVU1HPX2lmK0eFyAptOB+P0O4m X-Received: by 10.112.155.202 with SMTP id vy10mr10730237lbb.31.1393234210296; Mon, 24 Feb 2014 01:30:10 -0800 (PST) Received: from localhost.localdomain ([46.32.73.80]) by mx.google.com with ESMTPSA id qx7sm17976619lbb.9.2014.02.24.01.30.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 24 Feb 2014 01:30:09 -0800 (PST) From: To: Cc: , linux-gpio@vger.kernel.org, , , , , , Subject: [PATCH V5 2/4] ARM: shmobile: r8a7791: Add PCI USB host clock support Date: Mon, 24 Feb 2014 13:30:02 +0400 Message-Id: <1393234204-24096-3-git-send-email-vladimir.barinov@cogentembedded.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1393234204-24096-1-git-send-email-vladimir.barinov@cogentembedded.com> References: <1393234204-24096-1-git-send-email-vladimir.barinov@cogentembedded.com> 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.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 From: Valentine Barshak This adds internal PCI USB host clock support to R-Car M2 SoC. Signed-off-by: Valentine Barshak Signed-off-by: Vladimir Barinov Changes in V5: Changes in V4: Changes in V3: * none. Changes in V2: * capitalized ARM in the subject; * rebased on top the latest devel tag. --- arch/arm/mach-shmobile/clock-r8a7791.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 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: build/arch/arm/mach-shmobile/clock-r8a7791.c =================================================================== --- build.orig/arch/arm/mach-shmobile/clock-r8a7791.c 2014-02-23 21:47:52.582571801 +0400 +++ build/arch/arm/mach-shmobile/clock-r8a7791.c 2014-02-23 21:47:57.446571701 +0400 @@ -177,7 +177,7 @@ MSTP811, MSTP810, MSTP809, MSTP726, MSTP724, MSTP723, MSTP721, MSTP720, MSTP719, MSTP718, MSTP715, MSTP714, - MSTP704, + MSTP704, MSTP703, MSTP522, MSTP314, MSTP312, MSTP311, MSTP216, MSTP207, MSTP206, @@ -210,6 +210,7 @@ [MSTP715] = SH_CLK_MSTP32_STS(&p_clk, SMSTPCR7, 15, MSTPSR7, 0), /* SCIF4 */ [MSTP714] = SH_CLK_MSTP32_STS(&p_clk, SMSTPCR7, 14, MSTPSR7, 0), /* SCIF5 */ [MSTP704] = SH_CLK_MSTP32_STS(&mp_clk, SMSTPCR7, 4, MSTPSR7, 0), /* HSUSB */ + [MSTP703] = SH_CLK_MSTP32_STS(&mp_clk, SMSTPCR7, 3, MSTPSR7, 0), /* EHCI */ [MSTP522] = SH_CLK_MSTP32_STS(&extal_clk, SMSTPCR5, 22, MSTPSR5, 0), /* Thermal */ [MSTP314] = SH_CLK_MSTP32_STS(&div4_clks[DIV4_SD0], SMSTPCR3, 14, MSTPSR3, 0), /* SDHI0 */ [MSTP312] = SH_CLK_MSTP32_STS(&div6_clks[DIV6_SD1], SMSTPCR3, 12, MSTPSR3, 0), /* SDHI1 */ @@ -285,6 +286,8 @@ CLKDEV_DEV_ID("sata-r8a7791.1", &mstp_clks[MSTP814]), CLKDEV_DEV_ID("renesas_usbhs", &mstp_clks[MSTP704]), CLKDEV_ICK_ID("usbhs", "usb_phy_rcar_gen2", &mstp_clks[MSTP704]), + CLKDEV_DEV_ID("pci-rcar-gen2.0", &mstp_clks[MSTP703]), + CLKDEV_DEV_ID("pci-rcar-gen2.1", &mstp_clks[MSTP703]), }; #define R8A7791_CLOCK_ROOT(e, m, p0, p1, p30, p31) \