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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 40125CA0EED for ; Tue, 19 Aug 2025 07:35:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=f3z/QT/gTJbTjysPz4EU1HEuHnwCRuZJtFYFTqZ5MHM=; b=M/0yMncDNnhAwh MIUDYaikrQ3Cmqh5ALE26ZpEwhbW2vj80r7x8pkAHpm3/iv04/0D4OFDK5E2c1jYCWPGFbo+Rl6Vt YyOYfuFgY/r6cSwRyAQNb18UPwDQQRkZO7SkZNnEcrU2kIBltD0Fu4Lv4Bbn1ZiOpMqpueBzHMYV8 83XlRO4xMpepqC9cvyzeno0bki9xBk0rzEUY+K4KjHQvetL4a3yLLMrrgF/CT/WJsIhITWab7+Y4t e/8VhRDu8GXZib+200kWsYUTfkjuBf6l377IzInpmbl+impvfBmxEGqAnJD7m8RXxvXm3zYjD+uNY hju4dmn9gvhnK6mIVRQA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uoGsp-00000009h2U-3lwq; Tue, 19 Aug 2025 07:35:51 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uoGF6-00000009afQ-0jy0; Tue, 19 Aug 2025 06:54:48 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 95731613AE; Tue, 19 Aug 2025 06:54:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A753C4CEF4; Tue, 19 Aug 2025 06:54:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1755586487; bh=wUbzQ4SJ7Ro2oQeXth1wUKV8brsS8CkANEiQqLaVHGI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UDdXXaR3QrP+hpd7RE96ZNu1OMV8d+eV9sgHgoJkHqmZLOUgk4qMDgEYASs9z0Hcm LZrn0B0gjVnWSRUR8b99N3m0DMx2wf5Vwkgi9O3pdlSrvAfhiOpQiUYQ4JP4VIYC7b lqKHzcj0A+Y/WYbDJIs0aZmF+ezc6QycG71AgszoRFBYqiO+vH9BrCwBnPaitlDQqS Z+IYtwtvdA4PoFTeH2VZUNlYh3CmMSysWsRKZkOczR7LFJ3b6VA7OKdEOpaNk8hwbS LNxMgq0j9XVNSdrPJWvyOgD0S1avyKTPbFa97vh/sOAcQFBGYunYlp4ia4z3NQFJLm aTuGGql9kJ4Ig== Date: Tue, 19 Aug 2025 12:24:42 +0530 From: Vinod Koul To: Pritam Manohar Sutar Cc: kishon@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, alim.akhtar@samsung.com, andre.draszik@linaro.org, peter.griffin@linaro.org, kauschluss@disroot.org, ivo.ivanov.ivanov1@gmail.com, igor.belwon@mentallysanemainliners.org, m.szyprowski@samsung.com, s.nawrocki@samsung.com, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, rosa.pila@samsung.com, dev.tailor@samsung.com, faraz.ata@samsung.com, muhammed.ali@samsung.com, selvarasu.g@samsung.com Subject: Re: [PATCH v5 6/6] phy: exynos5-usbdrd: support SS combo phy for ExynosAutov920 Message-ID: References: <20250805115216.3798121-1-pritam.sutar@samsung.com> <20250805115216.3798121-7-pritam.sutar@samsung.com> <038a01dc1013$900a2800$b01e7800$@samsung.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <038a01dc1013$900a2800$b01e7800$@samsung.com> X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org On 18-08-25, 13:11, Pritam Manohar Sutar wrote: > > > + /* check cr_para_ack*/ > > > + cnt = 0; > > > + do { > > > + /* > > > + * data symbols are captured by phy on rising edge of the > > > + * tx_clk when tx data enabled. > > > + * completion of the write cycle is acknowledged by > assertion > > > + * of the cr_para_ack. > > > + */ > > > + exynosautov920_usb31drd_cr_clk(phy_drd, true); > > > + reg = readl(reg_phy + > > EXYNOSAUTOV920_USB31DRD_PHY_CR_PARA_CON0); > > > + if ((reg & PHY_CR_PARA_CON0_PHY0_CR_PARA_ACK)) > > > + break; > > > + > > > + exynosautov920_usb31drd_cr_clk(phy_drd, false); > > > + > > > + /* > > > + * wait for minimum of 10 cr_para_clk cycles after phy reset > > > + * is negated, before accessing control regs to allow for > > > + * internal resets. > > > + */ > > > + cnt++; > > > + } while (cnt < 10); > > > + > > > + if (cnt == 10) > > > + dev_dbg(dev, "CR write failed to 0x%04x\n", addr); > > > > Not error? > > This is only for debugging purpose. It is not considered as error. Write failed is not an error? If this code is only for debug, pls drop it. -- ~Vinod -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy