Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp341313ybe; Thu, 12 Sep 2019 21:39:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqxXbRxiur+L63pWaPWBYOQ08woi6QroZHTkPy/ywlT5ftUsaRhZCSVET1+FV1K0NwtJbFGF X-Received: by 2002:a05:6402:2028:: with SMTP id ay8mr34511091edb.120.1568349540972; Thu, 12 Sep 2019 21:39:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568349540; cv=none; d=google.com; s=arc-20160816; b=zAesDXMyMVS0uzQtmeoGBbazZ0mgPyatq3BSZVUYb9PrmC94VHUZUpKRBOGXZ4krxU 1LrXwW4hFxAlwY0GcjnhLzjQeyaT9dgYIJM03+fb8BxLStHZBq9k4q4JgR2/xyKx8qWu BCTx4Rxx2ruZifiaxxKYn2lsZlqZ7SlMnz2tcY+pPgyQ7MlDtK0MrLJTPA87tFgNnEza SDJWHM5HukPVXEQzUzKUAnHtgqluqlOq+uwFB89xkGT7Hj++KR/Rdq8paGOBvbczq0Og 8bES1d8ANq2hELn+Pleg9o5+MX0zbkOzRe75PmXifb8YJ06/bzjSSNhC7GEVPuRhqoLu 7XlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Qz7Gcy6LBB2gY/N+2iGifSmZ0RHJKloaSYOy3NxGMQY=; b=CrQZCntGI0Ogzs7FKVhm7yXZUhSHmRFdinL//bAsjqpj+4c2O2BZEusMXqAwp6Ddj8 pyz4iCGJ1lWbvlmX17QY1cB9OlYpR9UL/fxOpMOm2IKxQVw2tGFy1Qd2e3iNeW4tDVV5 Hd0dTXok+TU80wEbt8EJnksrgBshcHKAca7ZNdX297rV0QBOcp0M62WQ07Ez7jBK+jd7 RPaAwzF8Qszq4LAYrvKL2OlGscaMWuQckTJRIdRtZ4tlw+5812VkK74j6ws3VHrYTZPJ znezrfW2EIQdzLoRUmyYq3gb0QoewtDCC+qRYI/j2ITxnhsp2DAZaPkK1Ra2gz+KctCx y5mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=iTlc+yhv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l7si3616897ejg.377.2019.09.12.21.38.36; Thu, 12 Sep 2019 21:39:00 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=iTlc+yhv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728171AbfIMDmY (ORCPT + 99 others); Thu, 12 Sep 2019 23:42:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:59626 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728062AbfIMDmX (ORCPT ); Thu, 12 Sep 2019 23:42:23 -0400 Received: from dragon (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 759EF20684; Fri, 13 Sep 2019 03:42:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1568346143; bh=a4+pLs0HMpwthQVTXKUFl9IjvLrN/5bYwSFxfU5uDKw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iTlc+yhvbhgGcqvpGhGuRb8jZA11MoghlvglMSEwsgxqcp05bmmYUKE/J82jv2Buq pkUX/gLzFxBDpIjNUXXObPjP/a7HDnHC26YmztmstpVsv6dzCD2EJ3XkWgwe1+vVFo gn5lk9BdxbneE1Q+HqWQtNKWa8WvzoHclgfl9gLk= Date: Fri, 13 Sep 2019 11:42:14 +0800 From: Shawn Guo To: Anson Huang Cc: Dong Aisheng , Stephen Boyd , Peng Fan , "festevam@gmail.com" , "mturquette@baylibre.com" , "s.hauer@pengutronix.de" , Aisheng Dong , "kernel@pengutronix.de" , dl-linux-imx , Jacky Bai , Abel Vesa , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] clk: imx: lpcg: write twice when writing lpcg regs Message-ID: <20190913034213.GH17142@dragon> References: <1566936978-28519-1-git-send-email-peng.fan@nxp.com> <20190906172044.B99FB20838@mail.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 10, 2019 at 02:47:59AM +0000, Anson Huang wrote: > > > > On Sat, Sep 7, 2019 at 9:47 PM Stephen Boyd wrote: > > > > > > Quoting Peng Fan (2019-08-27 01:17:50) > > > > From: Peng Fan > > > > > > > > There is hardware issue that: > > > > The output clock the LPCG cell will not turn back on as expected, > > > > even though a read of the IPG registers in the LPCG indicates that > > > > the clock should be enabled. > > > > > > > > The software workaround is to write twice to enable the LPCG clock > > > > output. > > > > > > > > Signed-off-by: Peng Fan > > > > > > Does this need a Fixes tag? > > > > Not sure as it's not code logic issue but a hardware bug. > > And 4.19 LTS still have not this driver support. > > Looks like there is an errata for this issue, and Ranjani just sent a patch for review internally, Having errata number in both commit log and code comment is generally helpful. Shawn