From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 747D435836A for ; Fri, 19 Jun 2026 08:09:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781856542; cv=none; b=cBrWcbTOFK03VDzV6JWADK4WIWmzcFz1PFLwwotGo+lAqYygYItdNBniovxqo/PA4azTg3mZTGxm2eUgNfCiCLZ/8csVKFeOcNgZlYrojOigFx6y6NBYvl8qJ5dSUwbalB5GRMbXFKXxtM1glIj+v5xzqQGVQg+njhSKrp4rZN4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781856542; c=relaxed/simple; bh=Q8PmtqTflgVoZpw6WgtVxNsuet2v+T19+3e0QsGeEes=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=l4wxnpLJ/ljz8/VU9b+nnmLN1ti9U+ynaTvWmiSkO5IRiWz29drEcs16XhM+cA1FXk0OO6NH+dgjeljuU3TjaER4patu7ieVdEike9p09dxyqv9vGdZFOPdDDbR37m46/vGDU8ra0Sr4mDVxPco99EX80aF90O9iy05prLbiZt8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=GlkfFiYS; arc=none smtp.client-ip=209.85.221.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b="GlkfFiYS" Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-460662fcb4eso1303386f8f.0 for ; Fri, 19 Jun 2026 01:09:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1781856539; x=1782461339; darn=vger.kernel.org; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=I3WNaVa6u6+Nzfb3NV3ypwCQ74H2NIZsFLsn4sFU7yo=; b=GlkfFiYSXy9uL2i9jTllv5WhkYSQs7xucxFgq/ah4ps9ZjZrk7zBTVKd61rJm4AC5b ox2EgPc11GPCxZ5EfSK/0sPxPnzlCREWNfp1Ynr72c2n0apZqoKMhkxEe/obVUGdDoCw tKGDKu5sI9x+PdFcQOP+8rTnrCVFsYCwKQNW0IqFmxK4JlCMGTWFyoli3LNblJMTVmg5 2dTCljvTmicvRtJmgw4R13SMaRbntevBsKdkWVBH8Mg3PZ4Viq5FjIgRgsPScrBA3aod LD+BeLa2F/hL7KhgscpRquuUgelW+NDooSuPD63GS90+fKCxuGZ10NyprYMpZZpWmIfU 4q3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781856539; x=1782461339; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=I3WNaVa6u6+Nzfb3NV3ypwCQ74H2NIZsFLsn4sFU7yo=; b=dn3DfEXYllw7pCmETNUb0jkwGI9MFn+oLzVasbg7NEMI6CY/fRGytdkIvgbcE6a7VF G23mkGST1Xx8s7D9XkUae/8eVVuyqM9aW6HaORirv/1+40tz2rU4eaCP1kBX64rgYErV REWbTzKcmTBkNrBbbJnmy2Tfe+9v8umar9GTWzH4wVxR1Pv/+QQozo1tMyZtgDU0Il/3 sS7+Kgqgifu2dYyj+ggJMKX2MqddwtHzb6tPDS3/p73Qf8nZ2ASxxfNScQ3PsXHEwyN7 VnygJnX46OKR3GReXBp5S0M7BdokPs8hCRU0yhk44AaefdT2GH8zj2Z5G5THnoi7vlgW K05A== X-Forwarded-Encrypted: i=1; AFNElJ8UOW14nLHaOfibv9cOZSz72Oxl4lnghvkzKMthl8Mdx44mc6sdPiDm/F0ujvPT7whkxHg8i3fVMSqj/aI=@vger.kernel.org X-Gm-Message-State: AOJu0Yyt5y+m0kJ37hYvHZWUkypWNpF66U27xCHxEw1NQIL5m95eAaTZ k4gWsFf8FeB6aBARXvz6fnCbV/Vic1GZFU5HfKDzs0IQceurU1iNckKMtETL4oNPZPM= X-Gm-Gg: AfdE7clJVzOF5CqhZ6c5Aq6fpU8hRtsbyQ9UdFQwiLLPaWoE5xAlKI0iBCnxPGHbpph LBYwXbSQvibgFhhNDuvVAidClN4Vp0r4GM/9/32pdLlDnDLmSJDpEFvWDEwhXofZUflR9OpIEym ze9SN8d1SXTPoVyiMLUCqDDE/hvNbqI1I2a/DcPTkbbVgT4sjG+ZLcMcXBXfoO6+q8LLu55EUQV nuIVY7Lt8WaVxGLagMBm0Fq0nKeYLI9YZBXmi4u2HQ4/1YgMW3QvtS/HJJvLpWwTESiBbKY+YjV 4GKuSV2mQeCyrpVepP50W9fNTh9ZtZVniz3gmuILvSZLTLbc6vGHBJ/DUMG3UIouCVOB8VbP2/s Qul5d5hXJQice7/+EVlLWsMEW4tCcUClAyrSlgetSGywjqF/2Rydtah6qIyEQpISYP1WrcDHU22 N2Bi82tbnmALjOtG3Q4NHZxA== X-Received: by 2002:a5d:5342:0:b0:461:946f:9bb4 with SMTP id ffacd0b85a97d-465097867ddmr3541283f8f.23.1781856538850; Fri, 19 Jun 2026 01:08:58 -0700 (PDT) Received: from localhost ([2a01:e0a:3c5:5fb1:95ed:eac1:5731:4e21]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-4650b67a33csm5299452f8f.17.2026.06.19.01.08.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2026 01:08:58 -0700 (PDT) From: Jerome Brunet To: Julian Braha Cc: jian.hu@amlogic.com, Neil Armstrong , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Xianwei Zhao , Kevin Hilman , Martin Blumenstingl , linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4 2/2] clk: amlogic: Add A9 AO clock controller driver In-Reply-To: <5af78bca-7c49-48b1-af8a-cfbe55ae26ba@gmail.com> (Julian Braha's message of "Fri, 19 Jun 2026 08:48:49 +0100") References: <20260618-a9_aoclk-v4-0-569d0425e50c@amlogic.com> <20260618-a9_aoclk-v4-2-569d0425e50c@amlogic.com> <79b1a519-5723-4e0c-904c-b7fdf9564ee1@gmail.com> <1jbjd7c7ip.fsf@starbuckisacylon.baylibre.com> <5af78bca-7c49-48b1-af8a-cfbe55ae26ba@gmail.com> User-Agent: mu4e 1.12.9; emacs 30.1 Date: Fri, 19 Jun 2026 10:08:56 +0200 Message-ID: <1jqzm3ar53.fsf@starbuckisacylon.baylibre.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On ven. 19 juin 2026 at 08:48, Julian Braha wrote: > Hi Jerome, > > On 6/19/26 08:29, Jerome Brunet wrote: >> No, regmap clock are directly used so this is necessary. >> Relying on other module dependencies is not enough > > What do you mean it's "not enough"? > > Functionally, any user of COMMON_CLK_MESON_DUALDIV can also use > COMMON_CLK_MESON_REGMAP. This driver directly use regmap clocks. This is a direct dependency, required for the build and stated as such. If the module needs it, it depends on it, simply. Relying on indirect dependencies is incorrect and fragile. If those dependencies ever change, the build breaks for no obvious reason. > > Unless you mean for documentation purposes? > > - Julian Braha -- Jerome