Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp119408pxb; Mon, 2 Nov 2020 15:58:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJyv37e1XLSBMxFMYoYYQETI633Q6TRJ4nai6jaA55ke1loyTDSMJEdN6CcArmBhijvYcGdJ X-Received: by 2002:a17:906:7c4b:: with SMTP id g11mr18292870ejp.469.1604361514938; Mon, 02 Nov 2020 15:58:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604361514; cv=none; d=google.com; s=arc-20160816; b=njUq1tS3E2ACkebz13RBUmYtt0rneYKmDR3Wf/3C4fDIv+Ly89gmD08sxYuqHHzqwG Ygda7tghyZW8+tbZ7dncKY4L6R1AbwnJTtNR3rXuOAmf4v84el/cudaOrAJEHRuMO9re Feem6DZ9tHxlEvMNlhnsc/R/ITWlGQdVfESfv/bYUm8vMdQkoXuB+WvBud5Rgue+hazm lOUNYEpEfDON1sKWsk5nxeW2MyrrdoVuGXSOQEIK6uJ3R8X7iMtiQfbZX9xIKnYoJxj8 xuFjRJLpJCzueuULzg6cwW3WEkxHncWc9W9XLYCR7a3T6qGtcI0ZO14MPv4TIjdN1zJi oSeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=r8qi3xXSnE6vCrT0XIB10arZsSGLrSnNVnNcIafzbs0=; b=vaf2tjrzJTgsNWZg7yUgjVZZgit4Z3hzIjx4L+dPZSejL0HzESuULoHcTKDvYWqkjq BZmhEtgr5IPG8zFqdsaeNF8C6HtHmzU3sYfQwtCzC9Ky+QdIdUZ94vyqNf42io+OVB4y GLx6mkVW+RCQ3BQflHk8bVyYj7IrtSvaC/sa6v5rjb/RHrgP6TeAgBqy8IeDx2w5Qpeh EQyWRmxzFwTGpO+1JErcVUtkO1vtGJPyeSfdiCrPvJv3B567Q5AZc6U5s57VDHGYXAgQ 9e5+MgFeLzF/V6scVRqyvHw6eJ8iZGZ3byKj52RZadfoHALqdk8Y/dCp+71px/1gbP9/ o49A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lHdd0M2M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id y99si4760680ede.294.2020.11.02.15.58.12; Mon, 02 Nov 2020 15:58:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lHdd0M2M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727157AbgKBX4d (ORCPT + 99 others); Mon, 2 Nov 2020 18:56:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:37024 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727028AbgKBX4d (ORCPT ); Mon, 2 Nov 2020 18:56:33 -0500 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 33800206D5; Mon, 2 Nov 2020 23:56:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604361393; bh=SbWcJCQynBHG4XsxePYAlvHG+75wUs2DWCABffaNUjI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lHdd0M2Ml2EjUYlKXTQpxGGu6wPBtCoRaWx2fI2p9Oc4FkhZ/7Ibn47ZwzZ7mr7RX 81zyDV+To1S6PvgdUeV0Hyg5NeaA++8tnYGT5NOQ86i48+toTZQbpCJDtpqy4EWNcJ qdwz34+HomzZVr7wpP8ZNY5bK1h7AUDxDWO1SGZ4= Date: Tue, 3 Nov 2020 07:56:26 +0800 From: Shawn Guo To: Abel Vesa Cc: Mike Turquette , Stephen Boyd , Lucas Stach , Rob Herring , Sascha Hauer , Fabio Estevam , Anson Huang , Jacky Bai , Peng Fan , Dong Aisheng , NXP Linux Team , linux-arm-kernel@lists.infradead.org, Linux Kernel Mailing List , linux-clk@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v2 0/5] Fix the gate2 and make it more flexible Message-ID: <20201102235625.GZ31601@dragon> References: <1603889942-27026-1-git-send-email-abel.vesa@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1603889942-27026-1-git-send-email-abel.vesa@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 28, 2020 at 02:58:57PM +0200, Abel Vesa wrote: > First version here: https://lkml.org/lkml/2020/10/26/988 > > Changes since v1: > * split the work in multiple iterative patches > > Abel Vesa (5): > clk: imx: gate2: Remove the IMX_CLK_GATE2_SINGLE_BIT special case > clk: imx: gate2: Keep the register writing in on place > clk: imx: gate2: Check if clock is enabled against cgr_val > clk: imx: gate2: Add cgr_mask for more flexible number of control bits > clk: imx: gate2: Add locking in is_enabled op Applied all, thanks.