Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp134159imj; Wed, 13 Feb 2019 05:59:23 -0800 (PST) X-Google-Smtp-Source: AHgI3IbiwLtEFf3aCWECHlRR0UingLVJa9RC68NMd1rZZ2eoKgVYsk5hxReMTXkAmr5VVUEC4/p4 X-Received: by 2002:a63:96:: with SMTP id 144mr573520pga.315.1550066363741; Wed, 13 Feb 2019 05:59:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550066363; cv=none; d=google.com; s=arc-20160816; b=zAtG/IgruPjfxYO008NX2AfA7mKZsNyUHjBKiLoyBWkgkoXCYu5pEwckmb1On2EOV6 OIrrYdLJwQQNzcqb5SP5IuhcyjDabZ+YuVovqGDb0Z2XC4Zu6+8/Ppq7lmWLGocreJZz msLxtl2ULDEckOv/yK6/pDBpkI/7qb+PLxhkkWHzvJxIrkVJs5tWYjdSVLaX9dv/5SST nt7NITxe/CtSdibn5Z43uNxlcm0rvaC7Q5z9UhytlaKaoSCjfk4gccjjXJxJqRZbR0V4 tT6gc2HiVHfcmjoFooiTah/q4VFRBg4Wx89IQU/9fGNvTF94hxGCiAs3hdxIDgbyxrbq W4qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:cc:references:to:subject; bh=hOCs7uSP1RFxXCxX/+dgSViB683mRYULf5m8v9rrmI0=; b=R5RlbCh/MbVpF/B7WInM+y5fcsQ1rz1HKm0JvBSIogRQ90BPx2dioCTdFvVI8QWOWp nZsCg0itGjTIk32z+oJktSA3TdrKoCOfMaPxLMaZB3252W+zb9vUYN/ZiNoryOKGLjge XeRPMduqjKD9KqwoWb6nP+67FKA7HWl24htwIp6d7EC08jgAXyUg/8MzNZKYtjj7vBpz l6XLeub/f4hgBAxtHOV1axfLouzaEdfgb2SD9w2rFfcmOGMLYXESBrqcb4pMY8oPdtKL oBygeMIvTgfTw/64DfDkoWOGYF0Phz+rqP+T0wB+xYTfPFHu173ennrNYzdZyos7plKd uuTw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f7si14526708pgo.295.2019.02.13.05.59.07; Wed, 13 Feb 2019 05:59:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404023AbfBMLzM (ORCPT + 99 others); Wed, 13 Feb 2019 06:55:12 -0500 Received: from smtp3-g21.free.fr ([212.27.42.3]:52754 "EHLO smtp3-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726333AbfBMLzL (ORCPT ); Wed, 13 Feb 2019 06:55:11 -0500 Received: from [192.168.108.68] (unknown [213.36.7.13]) (Authenticated sender: marc.w.gonzalez) by smtp3-g21.free.fr (Postfix) with ESMTPSA id 827DC13F8B5; Wed, 13 Feb 2019 12:55:00 +0100 (CET) Subject: Re: [PATCH v3 0/6] MSM8998 basic USB support To: Jeffrey Hugo References: <1548106307-4762-1-git-send-email-jhugo@codeaurora.org> Cc: Bjorn Andersson , MSM , LKML From: Marc Gonzalez Message-ID: <1fcf1cf6-ea1b-abfb-48d5-7df7d2d23fcc@free.fr> Date: Wed, 13 Feb 2019 12:55:00 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <1548106307-4762-1-git-send-email-jhugo@codeaurora.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21/01/2019 22:31, Jeffrey Hugo wrote: > This series provides basic USB support for MSM8998. Currently missing is > wiring up the Type-C detection logic so that the controller can correctly > switch between host and peripheral modes. Work to implement that is > ongoing, and expected to appear soon in followup patches. Also missing is > Display Port (DP) support which apparently is different from sdm845 and > needs additional investigation. FTR and FWIW: _regmap_update_bits: reg=88014 old=3 new=2 [ CLK_BASE + 88014] = 00000002 ------------[ cut here ]------------ gcc_rx1_usb2_clkref_clk status stuck at 'on' WARNING: CPU: 3 PID: 1 at drivers/clk/qcom/clk-branch.c:92 clk_branch_toggle+0x19c/0x1c0 Modules linked in: CPU: 3 PID: 1 Comm: swapper/0 Tainted: G S W 5.0.0-rc6 #13 Hardware name: Qualcomm Technologies, Inc. MSM8998 v1 MTP (DT) pstate: 60000085 (nZCv daIf -PAN -UAO) pc : clk_branch_toggle+0x19c/0x1c0 lr : clk_branch_toggle+0x19c/0x1c0 sp : ffffff801005bc60 x29: ffffff801005bc60 x28: ffffff8010627464 x27: ffffff8010c7b000 x26: ffffff80105b06d4 x25: ffffff801054b1b8 x24: 0000000000000000 x23: ffffff8010c39c18 x22: ffffff80102bf2f0 x21: 0000000000000000 x20: ffffff8010c08000 x19: 0000000000000000 x18: ffffffffffffffff x17: 0000000000000000 x16: 0000000000000000 x15: ffffff8010c08548 x14: ffffff8010c807f0 x13: ffffff8010c80431 x12: ffffff8010c14000 x11: ffffff801005bc60 x10: ffffff801005bc60 x9 : 00000000ffffffc8 x8 : 7320737574617473 x7 : 206b6c635f666572 x6 : ffffff8010c7fabc x5 : 0000000000000000 x4 : 0000000000000000 x3 : 00000000ffffffff x2 : 00000040ecf69000 x1 : 59b62fd98d8ce200 x0 : 0000000000000000 Call trace: clk_branch_toggle+0x19c/0x1c0 clk_branch2_disable+0x2c/0x40 clk_disable_unused_subtree+0xe8/0x250 clk_disable_unused_subtree+0x34/0x250 clk_disable_unused_subtree+0x34/0x250 clk_disable_unused+0x44/0x140 do_one_initcall+0x68/0x250 kernel_init_freeable+0x288/0x32c kernel_init+0x18/0x110 ret_from_fork+0x10/0x1c ---[ end trace d1565111e6d9749a ]---