From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE75BC433FE for ; Thu, 29 Sep 2022 17:01:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236032AbiI2RBh (ORCPT ); Thu, 29 Sep 2022 13:01:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236018AbiI2RBg (ORCPT ); Thu, 29 Sep 2022 13:01:36 -0400 X-Greylist: delayed 359 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 29 Sep 2022 10:01:34 PDT Received: from mail.tkos.co.il (wiki.tkos.co.il [84.110.109.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 711AE192AE for ; Thu, 29 Sep 2022 10:01:28 -0700 (PDT) Received: from tarshish (unknown [10.0.8.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.tkos.co.il (Postfix) with ESMTPS id C904E4405B7; Thu, 29 Sep 2022 19:53:44 +0300 (IDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tkos.co.il; s=default; t=1664470424; bh=436Uuabr1UgFs+4h2U77K7F0dRJkSRY+sV5JdWmbtNc=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=a0XUExdFQx8ak4Y7R9AuZ+LSR3fwyPj/6BUKxRiLCGYVAeLL0Bg+vvMnwBYCfBe/W 3nCZW2iqpVoGOKJRbd6ReByhVwZ3jBHRmr6K5nXbnBAFfrkMBVfkHBty3LkZnNHDwc Ic37DWHYVaOjKtvM4NAd0jfl2771VM0JvVNKr5UOTl2NN0J0kFV3vQuPJfENEjZcqk NQDIKEMs9Htwc1mf+zZ9flLasqgs78ADWwmATwf7dimrOBx0/noI2KXuwdzXOwRJig i0rGBSB5AcbRYLSqmUmeyRKU1pNAO0hkh375+zV2nZKaFba8QDmLXZM/bPa3dYs+eY HfPzS9dNJGYRw== References: <75bb4a68-f47d-1de1-a900-789e365be41e@linaro.org> User-agent: mu4e 1.8.7; emacs 27.1 From: Baruch Siach To: Dmitry Baryshkov Cc: Robert Marko , linux-arm-msm , "open list:GENERIC PHY FRAMEWORK" , Johan Hovold Subject: Re: ipq8074 USB PHY Date: Thu, 29 Sep 2022 19:52:14 +0300 In-reply-to: <75bb4a68-f47d-1de1-a900-789e365be41e@linaro.org> Message-ID: <87k05mm875.fsf@tarshish> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hi Dmitry, On Thu, Sep 29 2022, Dmitry Baryshkov wrote: > We have been looking onto the QMP PHY programming in the upstream kernels. I > noticed that the ipq8074_usb3phy_cfg uses usb3phy_regs_layout for the regs > layout, however the Qualcomm's kernel ([1]) defines offsets which correspond > to qmp_v3_usb3phy_regs_layout. As you seem to be working with this platform, > could you please doublecheck which of layouts is correct? Thank you. > > [1] > https://source.codeaurora.org/quic/qsdk/oss/kernel/linux-msm/tree/arch/arm64/boot/dts/qcom/qcom-ipq807x-soc.dtsi?h=NHSS.QSDK.9.0.2&id=894e56082ca89638c68b7cee039ac1b2a6cb4863#n1237 The platform I have access to is IPQ6018 based. Only USB2 signals are connected on the board. I can't help with testing of USB3 PHY initialization. Sorry. baruch -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -