Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp564792ybm; Wed, 27 May 2020 02:27:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwy5u+4V6eWHKYnCJzOZ0V4Pgd6k6zN6NzZ8TrLIcTFfj6A0wYKDu820kcIzV93UO7qAW9s X-Received: by 2002:a17:906:8556:: with SMTP id h22mr5376130ejy.535.1590571657968; Wed, 27 May 2020 02:27:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590571657; cv=none; d=google.com; s=arc-20160816; b=LMTUd19UH2jNBiYxMmwATsanrXd1H6EZuv+mkZgMfEelAd6QP1A6IQOkFSzV/8mxzH QtdKn2p+HjjYBzQdlOns52vIu5q6iwRKrbACQEyLk95/nKwQylsp5Cj5W1r9k5NXFQbX esS2mMnKetuJg+Kvs9kGZdYY98ujV6XqsrhiQY8A/jopYTfBfVlw5yTUltDi9KOuympS 0Xp6RoG8NNhdrwy19WszCXDt72KDVKG5WErTOwW69Tg0ADEPg9l8FbeODsY+VGMWGYfy Kd7OhwMIwSjLd7PPncNQFY5UiR+F+ma1vX5AlA8Rxf5MjHxCOlQcKdUE1jC3qcdzRTsf 6oFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:date:to:cc:from :subject:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=A0XFCrok43lumMPk2Ro8fOJSnMzJSpVlyHPws3IJ9Jc=; b=eJ685dCwbwxssxr9K5kGsFL6N5qngabpxg75jSOZiGvSWD8pwUcisoAPYUQqHe7+nf wA4s3hHNnyvq66mTm3SEFkabvcmcTFel/R38XQQpQVMf0yAOH6gxKTa7I5j6sRimfFwo zgrb1T04SPwbDid5uo8h0ZOogPeDc/6io9Nk8lynco5NjxUvBZu5KJP+KnBToMeDyuil VK+8bvmwbgkYjWHhX8Yd6J9GtdCzyp5LxnkDRf+Awjhkb6+HCzNognx88+L4BbeYXdbd hAZ5iKodcz2ntSKP7jZW9c0YB8jDNN+UD9tGLibRoXk+qJiAnp542NhhLRYwxeWYUFqe WGCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZqvuuY9D; 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 t19si1273150edt.351.2020.05.27.02.27.14; Wed, 27 May 2020 02:27:37 -0700 (PDT) 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=ZqvuuY9D; 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 S1728028AbgE0BBm (ORCPT + 99 others); Tue, 26 May 2020 21:01:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:33432 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728019AbgE0BBl (ORCPT ); Tue, 26 May 2020 21:01:41 -0400 Received: from kernel.org (unknown [104.132.0.74]) (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 7C59820DD4; Wed, 27 May 2020 01:01:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590541301; bh=A0XFCrok43lumMPk2Ro8fOJSnMzJSpVlyHPws3IJ9Jc=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=ZqvuuY9D3/7meeHWKUbQOf6WP57r2BTbP0eC5z5D8G+wTpZUruPKEnx5GuMDKk1s5 vi2GX9RpWtAE9J/7O5J+q2Ypcwsft6vBPIXRj7yzEsK22TCQXqFOmV1tSur11KuRft FWMEXQz+HpCwzrw/Udk9I4zw3lT6fw/DA3TwCyRE= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1584048699-24186-3-git-send-email-jolly.shah@xilinx.com> References: <1584048699-24186-1-git-send-email-jolly.shah@xilinx.com> <1584048699-24186-3-git-send-email-jolly.shah@xilinx.com> Subject: Re: [PATCH v2 2/2] drivers: clk: zynqmp: Update fraction clock check from custom type flags From: Stephen Boyd Cc: rajanv@xilinx.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Tejas Patel , Rajan Vaja , Jolly Shah To: Jolly Shah , arm@kernel.org, linux-clk@vger.kernel.org, michal.simek@xilinx.com, mturquette@baylibre.com, olof@lixom.net Date: Tue, 26 May 2020 18:01:40 -0700 Message-ID: <159054130065.88029.8168299493953876586@swboyd.mtv.corp.google.com> User-Agent: alot/0.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Jolly Shah (2020-03-12 14:31:39) > From: Tejas Patel >=20 > Older firmware version sets BIT(13) in clkflag to mark a > divider as fractional divider. Updated firmware version sets BIT(4) > in type flags to mark a divider as fractional divider since > BIT(13) is defined as CLK_DUTY_CYCLE_PARENT in the common clk > framework flags. >=20 > To support both old and new firmware version, consider BIT(13) from > clkflag and BIT(4) from type_flag to check if divider is fractional > or not. >=20 > To maintain compatibility BIT(13) of clkflag in firmware will not be > used in future for any purpose and will be marked as unused. >=20 > Signed-off-by: Tejas Patel > Signed-off-by: Rajan Vaja > Signed-off-by: Jolly Shah > --- Applied to clk-next