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 A5D12C7EE2C for ; Thu, 29 Aug 2024 07:08:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=EDV7LYU2DJnsK4TmWVUaf/+yENKrN1KF0jvLEaGLdFU=; b=XW33sO6T96+lxjvgaqy18LN1WQ DY3/NteqXtwCDdFGdWCI95tOBKz7Xh3d3jkDMw5jGiBmd28Al8QQSjVDGdLgZ6iZNlaqEKufpLeqE MttS/NrndXf62SzuCIG00BP1JsDtuZ4gmkLPE2g+vTnkOrf1jvqVNau7T0eYWAjK0NTOOnY9bANUx Qtb+Y2Ws1TyAfBLYe3R8fK/Epdl0Cu4JalxLg2CoBIiH3qcWRV71+0xCfk4Kps7iSUGh6cXpUL1Ni 2ykU5Ed5701Xxc7iiJDWiH3pMKsP3/ITBlDyYsh8Ob1lTywrhbtM6+WupfDodhAIpKvxF7gvZLC1l qIjJt3CQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjZGE-00000000soi-48D2; Thu, 29 Aug 2024 07:08:02 +0000 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjZFO-00000000shp-1WK2 for linux-arm-kernel@lists.infradead.org; Thu, 29 Aug 2024 07:07:12 +0000 Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-5bed68129a7so338593a12.2 for ; Thu, 29 Aug 2024 00:07:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1724915228; x=1725520028; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=EDV7LYU2DJnsK4TmWVUaf/+yENKrN1KF0jvLEaGLdFU=; b=WofUY2cIWM1fxM5akPRdktQeuqpMtgz5MNMRufmIpsPCFMTC68VluMr4BwIdDG56O6 7WYxo+jqhnIhDU7cCZLTsiNwSXdKeoPbKKcrP36gpPas57JvwTV9ZO4KyxWwxAktgM87 2aarwF3oDfBBP4yDdcUijUNarfCxPg9AWj0kl8z5Aj3mkic6SACx+ox21oZS6KUoL903 RaRTCyTnu/seuGVMq9g7dr/OaSQilkvg+zygIqubFYknGokf2bYeVEGXZO8U1NePB0aZ dAr0q4sSoQWAMO56ugoI/rF4RcEnN/BnRRm1udwgp0qlS7FEm1BRyCj+67v+TMzxDOTS 3+HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724915228; x=1725520028; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=EDV7LYU2DJnsK4TmWVUaf/+yENKrN1KF0jvLEaGLdFU=; b=Lv3DLQ9+FTePdNMi1ITnsR7x0pnIsWEt2JxtqJRsc1A4tBWsZ0dJXhph5i0d/dEfr7 +Muauw6dI4UcJl6MqAZylNW5dS+qecD6a2Mvj5ieobDJB3YaU0mw3xpy3Za1zrsQZx7K +WJTAh6aQrw5189HycUbpNWvssnKIPoID7iEQiw3oqyLRQCNceW35/mXSbnGpy3teVd1 jJZp4aZnpCwG7CY9jA88P3a8jwzPUT1VuEakyM+8CfjUDTQXzhxgW+y1KRNlm+5awwGT dmtD/cH1LRWLeXAZzouNcBMr/Tlh1EihAGHI17lVxap7XwNPr+dZbKyF4gw58/CepHQZ zNUA== X-Forwarded-Encrypted: i=1; AJvYcCUK1rs3mknLcvW+7QKzR+0UibDbfcdchfwCfRIoExxeYW4dnSK8Kv21VBHztCjW+A0sK8y1gHOxo2UkQpYes6t6@lists.infradead.org X-Gm-Message-State: AOJu0YzYYTOp6nwqdKFMJ4NQPEf69aeUaPYbI4hIZ9oHSpTGJSuTYWud EznzqPCfo/OFaUA78jquGm5k4k7waApzEeXiFjXywge/bUAIm2D8pDNCDYslqZs= X-Google-Smtp-Source: AGHT+IFNrbFztgjXMHcLbgg0oT3MbRl4ZmtEJeLPKhMXUsVFcQa9Y3/vmFxcGOFsZGHW/LlDarOk/g== X-Received: by 2002:a17:907:e92:b0:a80:7193:bd88 with SMTP id a640c23a62f3a-a897f8f78a4mr131638966b.36.1724915228420; Thu, 29 Aug 2024 00:07:08 -0700 (PDT) Received: from linaro.org ([82.79.186.176]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8988feae63sm38563966b.35.2024.08.29.00.07.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Aug 2024 00:07:07 -0700 (PDT) Date: Thu, 29 Aug 2024 10:07:05 +0300 From: Abel Vesa To: Pengfei Li Cc: krzk+dt@kernel.org, robh@kernel.org, abelvesa@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, ping.bai@nxp.com, ye.li@nxp.com, peng.fan@nxp.com, aisheng.dong@nxp.com, frank.li@nxp.com, kernel@pengutronix.de, festevam@gmail.com, linux-clk@vger.kernel.org, imx@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/2] clk: imx93: Move IMX93_CLK_END macro to clk driver Message-ID: References: <20240627082426.394937-1-pengfei.li_1@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240627082426.394937-1-pengfei.li_1@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240829_000710_597908_0E9AB209 X-CRM114-Status: GOOD ( 15.65 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 24-06-27 16:24:24, Pengfei Li wrote: > 'IMX93_CLK_END' macro was previously defined in imx93-clock.h to > indicate the number of clocks, but it is not part of the ABI, so > it should be moved to clk driver. > Right, why? All other providers have been using the _CLK_END from the bindings header. What is so special about this ? AFAICT, nothing. > --- > Change for v2: > - Use pre-processor define to simplify code. > - link to v1: https://lore.kernel.org/all/20240625175147.94985-1-pengfei.li_1@nxp.com/ > > Pengfei Li (2): > clk: imx93: Move IMX93_CLK_END macro to clk driver > dt-bindings: clock: imx93: Drop IMX93_CLK_END macro definition > > drivers/clk/imx/clk-imx93.c | 2 ++ > include/dt-bindings/clock/imx93-clock.h | 1 - > 2 files changed, 2 insertions(+), 1 deletion(-) > > -- > 2.34.1 >