Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp4954026ybe; Mon, 9 Sep 2019 18:01:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqweMM/8em9UFC4kEpfmayDmg7kfzjVTdU9Sf7J7FJxGcVk88P1AaHPRxhr/6b/zGrC/WebG X-Received: by 2002:a05:6402:a48:: with SMTP id bt8mr27413105edb.86.1568077298994; Mon, 09 Sep 2019 18:01:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568077298; cv=none; d=google.com; s=arc-20160816; b=KbfIbt+EZQYWlQxJz3tx8XtDtj/CHftfIe9nYreHKbW+I/hvPW934ZWAlK5eW2mAPD KJ5BUUc3HGjXgRKgdSinTBLU8OXuLsfMADIYQpYUkYlE4aanGsF+gDtKcG8d06vOanCL Ev9WgYAJ97Qn3WIYcFh8b0VdZ2k5X/aeAnaF99eOScWYNvEsbmy3kB3kaI3mUpEkebi9 rNeUnVP+orceXcibfG+Lh5TXUXe20zdlVsO8bD//NITPGfOHXlL9reDGbv+JsTqfT02k s+XaO4mtkpdKbCpCphJ9xA75A8UsY+PhKS1ToiaQbU2vbXkd6UUJPD7bKMI9gh9dM6xX EOzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=gjzSJy3NDD7sYggLday3lhixH+9SUC/EVeZUWoe2eU4=; b=V/Sg4Y2/s1XXHVM3B83bwpNg7HNtGdBjoVd8wMzggwDCYLMylvo7OFF4du7P2ZEtuD R7mESZTeRscJ/dWh9jnHYyQ5XKmF6dNthq0B3HtLhqRu9mne8CfQ2kLgxn+IJhysxqf9 aCCZnUBIrjkanA0luJ5OZUROUqM/g2lCPF662KiqMe3sczgPw1EBG9OJX+yHF8ekpRGY xPejILe0u0kmlH5Ww79mgNU3GxlryZhF1KF2Q6LF3MjuQuOqV3goda9jGKVrJQL+ArZA A6h5KmiRod35Z95rKolygoNRmCHv58YFiehGTMxazU6LEykUK4iqtPNdx7r/gDppAlJo Lc8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sBnSROaY; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id nm3si8490911ejb.310.2019.09.09.18.01.14; Mon, 09 Sep 2019 18:01:38 -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=@gmail.com header.s=20161025 header.b=sBnSROaY; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404600AbfIIMBP (ORCPT + 99 others); Mon, 9 Sep 2019 08:01:15 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:40957 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404591AbfIIMBP (ORCPT ); Mon, 9 Sep 2019 08:01:15 -0400 Received: by mail-io1-f65.google.com with SMTP id h144so27918688iof.7; Mon, 09 Sep 2019 05:01:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gjzSJy3NDD7sYggLday3lhixH+9SUC/EVeZUWoe2eU4=; b=sBnSROaYcwf48BNTZC63gADs6dyXJsKsfnm5pvlYuv5jzlMTu/aPSFTGhshJ5Ll2Ik vp3iKTlPbMgxE6XkoPHIJ/qTcKQQEIG5TxF+1nU1OVHAw1XATgur1o4zXdsj6Tl06D07 IVt098D2fTUdr0zDTvJJNG6PS5KsBOW0c2GESGvGta4qvr3/oOGCkc7ZXFfuiHRI2eP+ jNx5OyS14T4hjexE+g4JM9Ovu0yh/3y36DnCXdIPNEMImJM4bhEXEWUpxJnIOw2j0N8p VKfPXMRpbA4pqQXRi8/WFkUfYT9a3yEaV7KGTZAW27gtUxRfz210Ov9jSc972wldEYOe B8BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gjzSJy3NDD7sYggLday3lhixH+9SUC/EVeZUWoe2eU4=; b=Ytx/m/6deJw9J/03bD4bFRkoyB9eUyu1ObgdWMKsiPCvQ4zE3lXGdZbYOOhZ3HattU X/rLffcVU3BnCOqAzcIQKC7Gfry7/bFs/c5wLdaULfaCxW8cJW4uNWIEto1i2z/1DHEA RikvXeL6mkdRLSL+vwqHDrGC2hd36ouiQGWjXFWo7EI4LANk8+jGiIapC1zPxaEqPXEe kYG07MQtmfRDEyrJtXj9Fs5wGfy/P0TpsQa9ZB6PYcWG0/T+2FkxazI7iuhxW12NODbT c9z5cOvEF9h/zcr/Jk2yxsweJX5RmbFgEW+5y3sp9719O4zxczZZh80eZV6i3MM1seSF R8Pg== X-Gm-Message-State: APjAAAU+v/4+kO4GGjY9yl/ugptv8AqoNCSSlpU4Xj3UazuzB15tB6t5 HO0TIUqoN8DMIEQ5Xszy6IEX3ebrnj/2qR+El6Q= X-Received: by 2002:a6b:e514:: with SMTP id y20mr18930982ioc.197.1568030472875; Mon, 09 Sep 2019 05:01:12 -0700 (PDT) MIME-Version: 1.0 References: <1566936978-28519-1-git-send-email-peng.fan@nxp.com> <20190906172044.B99FB20838@mail.kernel.org> In-Reply-To: <20190906172044.B99FB20838@mail.kernel.org> From: Dong Aisheng Date: Mon, 9 Sep 2019 19:51:12 +0800 Message-ID: Subject: Re: [PATCH] clk: imx: lpcg: write twice when writing lpcg regs To: Stephen Boyd Cc: "festevam@gmail.com" , "mturquette@baylibre.com" , "s.hauer@pengutronix.de" , "shawnguo@kernel.org" , Aisheng Dong , Peng Fan , "kernel@pengutronix.de" , dl-linux-imx , Anson Huang , Jacky Bai , Abel Vesa , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Regards Aisheng >