Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp149843rdb; Wed, 21 Feb 2024 22:00:07 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW34ehPqfFaH8eZ4YB/A1kyv6N9vJ2UApa4aZ0sEitZxCOLRbjnAW9flIwg1JZWz1lev3D945xc65w5tzxQq9qZ8HwlxdBqxfIsb/ryxg== X-Google-Smtp-Source: AGHT+IGP8xEUy2Nis8Iiau8/19WXLzCq9qsshCIuNh8bBO629n4eAOTTx79lZTwZuHKmXRuEvsA9 X-Received: by 2002:ac8:5bd4:0:b0:42e:2b06:c3d2 with SMTP id b20-20020ac85bd4000000b0042e2b06c3d2mr6677621qtb.50.1708581607633; Wed, 21 Feb 2024 22:00:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708581607; cv=pass; d=google.com; s=arc-20160816; b=YM6qT7DOSm/fT771bmWg+dg9MDwRdvlv2vCZFCSLCPcUdOtnQ1tzk5J/cqhGWgBNV/ 6vlUNQP3Hb4laqoKAwiHWv+kg+PXnG5NOsj/bDEhskVzzeVsHFEY7e0wirSWJU7ehqvg B24uMHoEbLp6XGHd53dmX0yR6T+giODiiGAbahyEF43Hj47djOM1xK+Ns5oPm7icfAi8 P4w+lE+81B2ZzTSm9W/4A0/wijNGVYJdmq/4h6BRzRmVKVrPI7xan0Lm0YKcWPHhPqAa m6Do/Dcq1rk6E+e0elQrPHEkdPvurjXBwzWVU7c2lwSrHJP6SzM0tr/TAwBwo+ywTXkq 9FgA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:date:to:cc:from:subject:references:in-reply-to :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:dkim-signature; bh=7eMHPhOOazEN/LI/SRIKFgefJe4Iax6HASQmBhZazhk=; fh=9m7JgMimuYEBmz6GNlKO2KcGQhGy0uwTXKGYIQ24Fp0=; b=VrgQ0KeGB32rptUjC4rlXW4MW21SO+j+Atl9IuLLEB9YoMLsx9tDSTpxjRHulkT2CL Nl6OBqgMz85KYceXrTWH1+giT7qXoLD8mz0YV2iSCI184AEu6cXv5LfgVwWsO8eL6u+3 kooQOePqbqVIeLRzLfDRza1P+t5k/HKKI5lFYC1gFO4y4cvWY27dRQhNI+5Kalc2iMRQ fA2b9/ZIGepJj5OHXBa7CxyzKbZlVhuLaD6uHW4Dau29dHcw7VGNvdPlDX5tArloFtjV gm/t32sXWXwJ2XK7G0N5SATZwjJ1pYV+uS7DO9YBqLF/K9ABcJndoA12afIlTr1GkJNs q6sA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WOsIuMsd; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-75964-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75964-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v12-20020a05622a188c00b0042e1212ec3bsi9529953qtc.0.2024.02.21.22.00.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 22:00:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75964-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WOsIuMsd; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-75964-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75964-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 63EF11C22498 for ; Thu, 22 Feb 2024 06:00:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D61B1426C; Thu, 22 Feb 2024 06:00:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WOsIuMsd" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C8E901C14; Thu, 22 Feb 2024 05:59:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708581599; cv=none; b=Hr6nX0Fpre1L2Y9uKmMuxfSuerWxgowMSx//tR2Wx9PxV5c3IlQHlTMRV+J3S3430lrUJ3x3fOZEg5peyRx5xSl4s3UQc9YwYuSE+mE/4YEvGgXMsWt8YzFUnmhzkCalncz9Q3t646qN4Evx3JS1sZTC3tkgfSs2//JNk7Z11uc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708581599; c=relaxed/simple; bh=7eMHPhOOazEN/LI/SRIKFgefJe4Iax6HASQmBhZazhk=; h=Message-ID:Content-Type:MIME-Version:In-Reply-To:References: Subject:From:Cc:To:Date; b=dTC1fr8qolDga79cGJz63V3hce/16MSuQtzpdM1cK7/Di5qwtEPYJ8JMWbNgKUfr3uVONFANt9T/tLsW4OIaEWbLr24rF4fpILkPTfC2id8yc4uF++BnNjwOymzhSHJPFh4t+R/mYDOmtexC6GOlHLRK9bUbb5utqN4znfdSMUo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WOsIuMsd; arc=none smtp.client-ip=10.30.226.201 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> Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 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. >=20 > New firmware started returning error while calling get_freq and is_on > API for non-available clock ids. >=20 > In this fix, driver checks and adds only valid clock ids. >=20 > [0] https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/j7200/clocks.ht= ml > Section Clocks for NAVSS0_CPTS_0 Device, clock id 12-15 not present. >=20 > Fixes: 3c13933c6033 ("clk: keystone: sci-clk: add support for dynamically= probing clocks") > Signed-off-by: Udit Kumar > --- Applied to clk-next