Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751762AbaBWSBJ (ORCPT ); Sun, 23 Feb 2014 13:01:09 -0500 Received: from mail-la0-f51.google.com ([209.85.215.51]:58451 "EHLO mail-la0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751504AbaBWSBE (ORCPT ); Sun, 23 Feb 2014 13:01:04 -0500 From: To: Cc: , linux-gpio@vger.kernel.org, , , , , , Subject: [PATCH V4 1/4] ARM: shmobile: r8a7791: Add USBHS clock support Date: Sun, 23 Feb 2014 22:00:56 +0400 Message-Id: <1393178459-14637-2-git-send-email-vladimir.barinov@cogentembedded.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1393178459-14637-1-git-send-email-vladimir.barinov@cogentembedded.com> References: <1393178459-14637-1-git-send-email-vladimir.barinov@cogentembedded.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Vladimir Barinov This adds USBHS clocks to the R8A7791 SoC. Signed-off-by: Valentine Barshak Signed-off-by: Vladimir Barinov 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 | 4 ++++ 1 file changed, 4 insertions(+) Index: build/arch/arm/mach-shmobile/clock-r8a7791.c =================================================================== --- build.orig/arch/arm/mach-shmobile/clock-r8a7791.c 2014-02-23 21:47:44.486571967 +0400 +++ build/arch/arm/mach-shmobile/clock-r8a7791.c 2014-02-23 21:47:52.582571801 +0400 @@ -177,6 +177,7 @@ MSTP811, MSTP810, MSTP809, MSTP726, MSTP724, MSTP723, MSTP721, MSTP720, MSTP719, MSTP718, MSTP715, MSTP714, + MSTP704, MSTP522, MSTP314, MSTP312, MSTP311, MSTP216, MSTP207, MSTP206, @@ -208,6 +209,7 @@ [MSTP718] = SH_CLK_MSTP32_STS(&p_clk, SMSTPCR7, 18, MSTPSR7, 0), /* SCIF3 */ [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 */ [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 */ @@ -281,6 +283,8 @@ CLKDEV_DEV_ID("r8a7791-vin.2", &mstp_clks[MSTP809]), CLKDEV_DEV_ID("sata-r8a7791.0", &mstp_clks[MSTP815]), 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]), }; #define R8A7791_CLOCK_ROOT(e, m, p0, p1, p30, p31) \ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/