From patchwork Sun Feb 23 18:00:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Barinov X-Patchwork-Id: 3704581 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 1D4BCBF13A for ; Sun, 23 Feb 2014 18:02:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 58C9D2012B for ; Sun, 23 Feb 2014 18:02:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6F94D2011E for ; Sun, 23 Feb 2014 18:02:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752073AbaBWSCe (ORCPT ); Sun, 23 Feb 2014 13:02:34 -0500 Received: from mail-la0-f41.google.com ([209.85.215.41]:34599 "EHLO mail-la0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751508AbaBWSBE (ORCPT ); Sun, 23 Feb 2014 13:01:04 -0500 Received: by mail-la0-f41.google.com with SMTP id gl10so1530913lab.28 for ; Sun, 23 Feb 2014 10:01:03 -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=vis5yZ4cX3dhbADegYSpFy/OYr+U/acaAK51tnWPdPE=; b=ktCL5fYSIehJWchbMou5NCjN13uaQrLH5VYaxE2IZpHDgVnDbUw3tPkQ/PKdgHDhDy lZQBnqAhXdZNZhHbhN3WgheKnGGaUNxOtkQIbyYgilPlUbt0H1ToX/YKik/8yW3alYvF Wniz815nVOKdFH1Q8WXoEDn6pHOlAWtQ+fKakUk8npiyTUGfH942RFjxMnsTzgMt3CYW 6Qn1YWz5tO22Z7LgqG0zirhG82gQb0GkKOcGjDa+9f3n3s/O84Tt14LIksQpiTYoOEGN aI9Gvv0yWMx1rlts1wrLgY4J3zoVKjP0oUzCRdruOlzmhFQjkOAb7a4flCFQA/VRW0/a wjiw== X-Gm-Message-State: ALoCoQmAwlI2VPygB8RPOwsaruSJkZ8dL6aHFsgfyGyK7PpZ8AZupL7oxE5Rm43gVHGHmTBCv92W X-Received: by 10.152.19.166 with SMTP id g6mr9822065lae.21.1393178463410; Sun, 23 Feb 2014 10:01:03 -0800 (PST) Received: from localhost.localdomain ([46.32.73.80]) by mx.google.com with ESMTPSA id yq2sm21602112lab.3.2014.02.23.10.01.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 23 Feb 2014 10:01:02 -0800 (PST) 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-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.4 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: 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(+) -- 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: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) \