From patchwork Mon Jul 14 03:56:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Palmer X-Patchwork-Id: 4542401 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 0120F9F2F4 for ; Mon, 14 Jul 2014 03:56:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EF6CD20145 for ; Mon, 14 Jul 2014 03:56:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 23FFF20136 for ; Mon, 14 Jul 2014 03:56:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752478AbaGND44 (ORCPT ); Sun, 13 Jul 2014 23:56:56 -0400 Received: from mail-vc0-f180.google.com ([209.85.220.180]:51626 "EHLO mail-vc0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752389AbaGND44 (ORCPT ); Sun, 13 Jul 2014 23:56:56 -0400 Received: by mail-vc0-f180.google.com with SMTP id im17so6102431vcb.39 for ; Sun, 13 Jul 2014 20:56:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=KqfA/0dfdxLJB6qf5dt+eZQVruv6chVHN3oLBQvJ6Jo=; b=t1nnyHGRn/NbbFeRBaUR7vWAiIOooK3Df1qYVDvob6l0aaepPtW5uZ7GPBoF+sqBgH xvOfOmncdbZ0G2YZjKRY5vC47l9zHb6EMilxa2ASWE80SuaFjR9OMNhcZyqa57/fTXEs rC1teVTcYhl90USqIIl/CtDczXaa6SnlRYJrfMKuostH8rF8ji6Ec0O5YHH5A55i8ZJ0 8f6Myok9XS2GGQmokgH34AeCHv2S/lNhGb9pzdgoi+B3sCHw9+cNVikAVAZ9W0r5x1Hi S/4Z3ujiTi+RDi5pHf3wjTb+5aS0zlMEbqJLMJBGy5OtjyxYAXKG2+SaD22CjM0/bb48 U20g== MIME-Version: 1.0 X-Received: by 10.220.59.65 with SMTP id k1mr4631309vch.22.1405310215081; Sun, 13 Jul 2014 20:56:55 -0700 (PDT) Received: by 10.52.153.17 with HTTP; Sun, 13 Jul 2014 20:56:55 -0700 (PDT) Date: Mon, 14 Jul 2014 12:56:55 +0900 Message-ID: Subject: USB doesn't work on ecovec24 From: Daniel Palmer To: linux-sh@vger.kernel.org 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.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 I got one of these this morning. The kernel it has is pretty crusty so I built a new one using the ecovec24 defconfig. There are a few messages about not being able to get certain clocks and this apparently breaks the USB port that the board uses to boot from. Wedging in a clock for it like this fixes it: Debian from the USB stick now. --- 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 diff --git a/arch/sh/kernel/cpu/sh4a/clock-sh7724.c b/arch/sh/kernel/cpu/sh4a/clock-sh7724.c index f579dd5..f67d8d1 100644 --- a/arch/sh/kernel/cpu/sh4a/clock-sh7724.c +++ b/arch/sh/kernel/cpu/sh4a/clock-sh7724.c @@ -347,6 +347,7 @@ static struct clk_lookup lookups[] = { CLKDEV_CON_ID("veu0", &mstp_clks[HWBLK_VEU0]), CLKDEV_CON_ID("vpu0", &mstp_clks[HWBLK_VPU]), CLKDEV_DEV_ID("sh_mobile_lcdc_fb.0", &mstp_clks[HWBLK_LCDC]), + CLKDEV_CON_ID("usb0", &mstp_clks[HWBLK_USB0]), }; I'm pretty sure that's not the right way of fixing it but it's booted