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 X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CFF62C83001 for ; Wed, 29 Apr 2020 02:00:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A9D9A2076A for ; Wed, 29 Apr 2020 02:00:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588125635; bh=UOQ0AgSZSddPa4oMPBO/udK77ds8YJT1AliiBkX9hkQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=NjFdmx5ok9OQnVu7W+acg5ZgLZoawM4ZYH7vb+q8BSjroCmZQbg6nb5PPUcqsohNo KvQ4o1edJpXTmAzrZTAHuqxkfjYisjB8gmBFEGmDarNL5AOGkGsjDE/gAz3WSTE6ZE FkmkFbM+zaM2u8TEWbFKmc08Rl31HRSKjOOOx2fo= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726523AbgD2CAc (ORCPT ); Tue, 28 Apr 2020 22:00:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:51948 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726158AbgD2CAb (ORCPT ); Tue, 28 Apr 2020 22:00:31 -0400 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 BE05D2073E; Wed, 29 Apr 2020 02:00:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588125631; bh=UOQ0AgSZSddPa4oMPBO/udK77ds8YJT1AliiBkX9hkQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Z9dGYTK6zsa7MZLOLmq5X0BZ5gyGFTJMbIvaDtVUxXRX77Enpm9a5nGX0iz1qpsnS SauewEX7BRXuXuLB6EJzUOn+iaMqvyrQfJIVedjrkSxjBNyYXkNigFaGnW9twa1mQ6 Jqk9u3mpEXNe+om0lvCocHiQSokCwDJ2qgvBZ2xI= Date: Wed, 29 Apr 2020 10:00:23 +0800 From: Shawn Guo To: Abel Vesa Cc: Lee Jones , Peng Fan , Philipp Zabel , Stephen Boyd , Sascha Hauer , Anson Huang , Leonard Crestez , Jacky Bai , NXP Linux Team , Linux Kernel Mailing List , devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v3 05/13] clk: imx: gate2: Allow single bit gating clock Message-ID: <20200429020022.GD32592@dragon> References: <1586937773-5836-1-git-send-email-abel.vesa@nxp.com> <1586937773-5836-6-git-send-email-abel.vesa@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1586937773-5836-6-git-send-email-abel.vesa@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Wed, Apr 15, 2020 at 11:02:45AM +0300, Abel Vesa wrote: > Audiomix on i.MX8MP registers two gates that share the same enable count > but use the same bit to control the gate instead of two bits. By adding > the flag IMX_CLK_GATE2_SINGLE_BIT we allow the gate2 to use the generic > gate ops for enable, disable and is_enabled. > For the disable_unused, nothing happens if this flag is specified. > > Signed-off-by: Abel Vesa Applied, thanks.