From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0A543430B94; Mon, 2 Mar 2026 11:10:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772449818; cv=none; b=pEeNie29ffrpkoQoByiO17oktOf85A8QTVukHpPJ32ahAFjBtlbhFcfF/z4jwpQWO3Lw29Tvpr+XlMVMs12UAqm+UhjzT3XMyu97YOvI6DvGMoLv/V8YWxTAA2Fh9SEEurZtWVeGkylsMeVVUNW0XaWMSuwCNf/lPjXuwu3J37I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772449818; c=relaxed/simple; bh=IMLbpLHh+OZryH2zk5skJVRCsFclDWXDZE/iQRUHdz4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=R6Gu5kkMxzNDkJ1xUSzCYJe+kjM9uhCkl/9WRu15TTkoYnxT3bsr3O5oFDXNA92ozKcqwl2FteQXZdGxNH0b13qcZBFC+QsX6W38NPMLQ8i3zHjT5aFEUtPv/bBmNdUHRYqdjzwoXNnWLPqT2KN4DBAOoDQapjI4bleFoPifWGs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4481D14BF; Mon, 2 Mar 2026 03:10:10 -0800 (PST) Received: from pluto (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id F2B063F73B; Mon, 2 Mar 2026 03:10:12 -0800 (PST) Date: Mon, 2 Mar 2026 11:09:50 +0000 From: Cristian Marussi To: Peng Fan Cc: Cristian Marussi , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sudeep Holla , Sebin Francis , Brian Masney , linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, arm-scmi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: Re: [PATCH v7 6/6] clk: scmi: Add i.MX95 OEM extension support for SCMI clock driver Message-ID: References: <20251231-clk-ssc-v7-1-v7-0-380e8b58f9e3@nxp.com> <20251231-clk-ssc-v7-1-v7-6-380e8b58f9e3@nxp.com> Precedence: bulk X-Mailing-List: arm-scmi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Mon, Mar 02, 2026 at 04:44:22PM +0800, Peng Fan wrote: > Hi Cristian, > Hi, > Thanks for reviewing! > > On Sat, Feb 28, 2026 at 10:02:04AM +0000, Cristian Marussi wrote: > >On Wed, Dec 31, 2025 at 06:12:53PM +0800, Peng Fan (OSS) wrote: > >> + > >> +struct scmi_clk_oem_info { > >> + char *vendor_id; > >> + char *sub_vendor_id; > >> + char *compatible; > > > >I suppose different OEM per impl_ver is overkill...and maybe better > >to be trated as a bug if it happens leveraging the Quirk framework.. > > Hope I not get you wrong. impl_ver is not used here. > compatible is machine compatible string. > Yes. > The OEM matching introduced in this patch is strictly based > on SCMI vendor_id and sub_vendor_id as reported by the firmware. There is no > dependency on impl_ver, nor do we intend to distinguish OEM behavior based on > implementation version. > Ok, good, I was just checking my understanding was correct and we are on the same page and this is how you intended to use all of the above.. > If in the future any firmware shows inconsistent behavior across different > impl_ver, we agree that this should be treated as a firmware bug and > handled through the existing SCMI quirk framework. > Ok. > I could add a comment for the structure in next version: > /* > * Selection is based on SCMI vendor_id/sub_vendor_id and optional machine > * comaptible string, without involving impl_ver. impl_ver‑specific behavior > * should be handled via the SCMI Quirk framework maybe... "should be considered a bug and handled via SCMI Quirk..." BUT I have no strong opinion about the need of this comment...do it as you wish, with or without for me is fine. Thanks, Cristian