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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CA4D0C48BF8 for ; Thu, 22 Feb 2024 06:00:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Date:To:Cc:From:Subject:References: In-Reply-To:MIME-Version:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=b4JdXvf2/NX03mw0uG/SSDHo1w3BArwNJppFTvc1IC0=; b=NfPyX211FVmce5 wIOVpXohncYFqFzIO/aQff5f77879YqHt87RP9RW0JVVYqIezmQh4fT2a6jKFHiEsZHRNn4SQpPgu Jwc7vyxRc+m6s477+8somK825jE0C53s7TDkFYC95cFNHRpWzQnYVNnvAw0ayCCx1wbYDe1LFfjZs 3bsyUjYFP5wGu1o7a7iyYcW2f/+aK4BDeoJM48T7RCmjPmX6CMTRtaxSdcXWGa+jXoCjuqNzfDgpz Prv6WGUkm8RVpoEFwuEyGKcG7cvLgXhVI0EKRYVR9cH4nvX5y08r59zPNW2SJL2sIBrSFsAa+6HjR 5oZ+KgJAd77RidQzJpaw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rd27t-00000003ec8-0vsU; Thu, 22 Feb 2024 06:00:09 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rd27p-00000003ebN-2MEK for linux-arm-kernel@lists.infradead.org; Thu, 22 Feb 2024 06:00:07 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 0429CCE20AA; Thu, 22 Feb 2024 06:00:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F712C433C7; Thu, 22 Feb 2024 05:59:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708581599; bh=7eMHPhOOazEN/LI/SRIKFgefJe4Iax6HASQmBhZazhk=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=WOsIuMsdS8XnfulUu3hNg4DQZZ8rlbajlYCOctbDa1SI59lAjk5/hzQ4NwNUaSsEE 9AeNzDn7fGId6k2pJnVEdkxhjfSOM9SgTQNf4IP/4anQjpKztbrA3RJlDJ2i7mfXAG 7Oz7i77y3gYFiCkaN2j7JYrLQ6ruMFgB6Ib1ES+NLwOCfSMjOa/zWfCqDvv5l8IOTc rKIX3CXrdBzBISR0mrNDkyCJlp8X21zJGQYLlftc6ljL/RgaLNYdSGXuGiJV2LPUU/ FaZ73TJcr+OJI+HE3xj9FMoNblOO3VHAPfZEUC+Pm5hibRzDcWEm6gzZq0ykVr69E5 5DvmhGrxgthRA== Message-ID: <689300ed3176274c5150cf101eb53ca3.sboyd@kernel.org> MIME-Version: 1.0 In-Reply-To: <20240213082640.457316-1-u-kumar1@ti.com> References: <20240213082640.457316-1-u-kumar1@ti.com> Subject: Re: [PATCH v4] clk: keystone: sci-clk: Adding support for non contiguous clocks From: Stephen Boyd Cc: vigneshr@ti.com, mturquette@baylibre.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Udit Kumar To: Udit Kumar , chandru@ti.com, francesco@dolcini.it, kamlesh@ti.com, kristo@kernel.org, nm@ti.com, rishabh@ti.com, ssantosh@kernel.org Date: Wed, 21 Feb 2024 21:59:57 -0800 User-Agent: alot/0.10 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240221_220005_799773_8A755E2E X-CRM114-Status: UNSURE ( 8.03 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Quoting Udit Kumar (2024-02-13 00:26:40) > Most of clocks and their parents are defined in contiguous range, > But in few cases, there is gap in clock numbers[0]. > Driver assumes clocks to be in contiguous range, and add their clock > ids incrementally. > > New firmware started returning error while calling get_freq and is_on > API for non-available clock ids. > > In this fix, driver checks and adds only valid clock ids. > > [0] https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/j7200/clocks.html > Section Clocks for NAVSS0_CPTS_0 Device, clock id 12-15 not present. > > Fixes: 3c13933c6033 ("clk: keystone: sci-clk: add support for dynamically probing clocks") > Signed-off-by: Udit Kumar > --- Applied to clk-next _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel