Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2258706rdb; Sun, 11 Feb 2024 20:36:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IE0OOnZxGVaeKH7r8JiBI1S8N/NvIdJP6sJjbAW/1Zk6eKscJcasJu6LvlW5blV0fiqCfNn X-Received: by 2002:a05:6870:d1ca:b0:219:2c93:fecb with SMTP id b10-20020a056870d1ca00b002192c93fecbmr6276567oac.1.1707712617292; Sun, 11 Feb 2024 20:36:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707712617; cv=pass; d=google.com; s=arc-20160816; b=F22SL6IJ+v7UQo3oU+IFIzdRx5wo0hv7Xtp3Vgeme2RzinckzY1UObPc2T0yMY6wUL Ocj2IRqnD+vTNf+TlcYZD27wuChPvIW7SHYdSCFXnDo1bW0cTJc10WBK/O0AvW0nlfUq Oi11cJxZE8CsldEPt5cg4ylHfoKMU8ThaOMiLDWxxruTFHNTAp0E3v7RZKGLHOOoZCSa ewzBurUD//JgF9VOCFPBA+lBgn/p9l9Pcg1/abGyber+WYu1YIs9lq7LCkqxV1gUFyoO yE9J1qDBRzGCqpldcrJRbb4RBe8EyKMQPm+xHgS5VdyEh+JRXaV29tICj0J51PJFOlrq rf9A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=dDe2x2/sNsxxovWiqiXQgtSK6CZ2bkfH7mRKphacIVw=; fh=HKZt/BjTsF6tyATQbZ7gZrsBWZJVp81JusAP+7X21xI=; b=0o+bT1ZEYTVtt+s1RsB16JUj5CMeVHjorOvxx8vYlDwe+ncDotpG9Jn61YFkbiR8Gd zitC8rv0bykIFD1ha216d/zUkeQX4jR4bNd9Az0m8z5XVJV3tH3UioOkSVnQl9jxK1tk vV0t2stbmjkCxVKLtZva/OidgBtV7mFuTe/e1VPF+8A9GJy42fTgIeWNQZbC+wgI8O3J kGS+vI26g9dpzLUL2Gc6f1YhDDo2+LGztnmiER1JnpJu9pYKX8lViXwo5C6IHKxMBMu0 ok4Vu9N5UytJU6JUskHi1g6fIYzeHkY3EnqWGrTUSRfihjG1vC1eUkEtgklhy3Paam5V amxw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=RkROSJQn; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-61098-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61098-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=2; AJvYcCUcbby458x2VMz6qrSS3XzAIHhM/jZONbf1YCiDl5Y3aL16XQXKtRx5x5bCnUxwzeO4c1rIrrS1SnZjzZAHgqs96SsoW8AsCkPQUC/qNQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id h191-20020a6383c8000000b005d8b7ca8ffdsi5572864pge.327.2024.02.11.20.36.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 20:36:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61098-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=RkROSJQn; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-61098-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61098-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E9558284F00 for ; Mon, 12 Feb 2024 04:36:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9B5FE5235; Mon, 12 Feb 2024 04:36:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="RkROSJQn" Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (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 12CE979C0; Mon, 12 Feb 2024 04:36:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707712608; cv=none; b=W+xM60acnlzD0wEyzyO4LbDPpJkXhyWn/Az4RTBIqqNxGbqosJvmzMZIz1nVwvdEhfiCp05kBE/lU9ZizHjsPf5N3vJXw9F3VIoHlIpKikStpxgdgcxT9Womn6GAH8g5kZGIZNV99XEcoWoYKxXz2RKG2KnKKiRATQkTy9AvpTU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707712608; c=relaxed/simple; bh=0LdfwuXEgvUuy96j1v+0E60cIj1z0yxVc1lMVvSOjng=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=SRRMRY7mo9ird8gACHKQAOgjlxtRawHkiVvncSUXJG+8BuqzJFt2K9SqTfg5bFxpeaGNIN7eFz8crfBVLK+jOTbo6sAn1VT9oFKO20L/9pPjrMZWy5ZxxHTH9hPJ1kW69f2Zgy+/jgdIYEyh0wzA/h1R8oX+qC5ZvU4VSrvnbdk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=RkROSJQn; arc=none smtp.client-ip=198.47.19.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 41C4aZph042290; Sun, 11 Feb 2024 22:36:35 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1707712595; bh=dDe2x2/sNsxxovWiqiXQgtSK6CZ2bkfH7mRKphacIVw=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=RkROSJQnh61KCNT0f5C5CL8FiFvbIU5XYMyiXUtxqmgenmaHyb4p8OoBkikUwmSNP KKePU1FCmTSgSozuOBINuIV/x7BOCXnlIiJRbdBbLq8FeQ8lQvjJ7YYJbox+coP6LO 9QEe551QcM5EO9nwSYfiro5NQm4m6RNDuS1LUia0= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 41C4aZ44083637 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 11 Feb 2024 22:36:35 -0600 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Sun, 11 Feb 2024 22:36:35 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Sun, 11 Feb 2024 22:36:35 -0600 Received: from [172.24.20.156] (lt5cd2489kgj.dhcp.ti.com [172.24.20.156]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 41C4aVAh000720; Sun, 11 Feb 2024 22:36:31 -0600 Message-ID: Date: Mon, 12 Feb 2024 10:06:30 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3] clk: keystone: sci-clk: Adding support for non contiguous clocks Content-Language: en-US To: Francesco Dolcini CC: , , , , , , , , , , , References: <20240207091100.4001428-1-u-kumar1@ti.com> <20240211155459.GA4443@francesco-nb> From: "Kumar, Udit" In-Reply-To: <20240211155459.GA4443@francesco-nb> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 On 2/11/2024 9:24 PM, Francesco Dolcini wrote: > On Wed, Feb 07, 2024 at 02:41:00PM +0530, Udit Kumar wrote: >> 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. >> >> Fixes: 3c13933c6033 ("clk: keystone: sci-clk: add support for dynamically probing clocks") >> >> [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. >> >> Signed-off-by: Udit Kumar > no empty lines in between tags and only tags at the end of the commit > message, this [0] reference needs to be before or moved to a `Link:` tag, > whatever works best for you. Thanks will below works ? [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") Udit