[PATCH] clk: clk-apple-nco: Add "apple,t8103-nco" compatible

Janne Grunau posted 1 patch 1 month, 1 week ago
drivers/clk/clk-apple-nco.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] clk: clk-apple-nco: Add "apple,t8103-nco" compatible
Posted by Janne Grunau 1 month, 1 week ago
After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,nco" anymore [1]. Use
"apple,t8103-nco" as base compatible as it is the SoC the driver and
bindings were written for.

[1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Fixes: 6641057d5dba ("clk: clk-apple-nco: Add driver for Apple NCO")
Cc: stable@vger.kernel.org
Acked-by: Stephen Boyd <sboyd@kernel.org>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Signed-off-by: Janne Grunau <j@jannau.net>
---
This is split off from the v1 series adding Apple M2 Pro/Max/Ultra
device trees in [2].

Changes compared to that series:
- add "Fixes:" and "Cc: stable" for handling this as fix adding a device
  id
- add Neal's and Stephen's trailers
---
 drivers/clk/clk-apple-nco.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/clk-apple-nco.c b/drivers/clk/clk-apple-nco.c
index d3ced4a0f029ec0440ff42d49d31e314fdf86846..434c067968bbc1afdb5c9216277486bf826666c2 100644
--- a/drivers/clk/clk-apple-nco.c
+++ b/drivers/clk/clk-apple-nco.c
@@ -320,6 +320,7 @@ static int applnco_probe(struct platform_device *pdev)
 }
 
 static const struct of_device_id applnco_ids[] = {
+	{ .compatible = "apple,t8103-nco" },
 	{ .compatible = "apple,nco" },
 	{ }
 };

---
base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
change-id: 20251231-clk-apple-nco-t8103-base-compat-dea037ecce88

Best regards,
-- 
Janne Grunau <j@jannau.net>
Re: [PATCH] clk: clk-apple-nco: Add "apple,t8103-nco" compatible
Posted by Stephen Boyd 3 weeks, 3 days ago
Quoting Janne Grunau (2025-12-31 05:22:00)
> After discussion with the devicetree maintainers we agreed to not extend
> lists with the generic compatible "apple,nco" anymore [1]. Use
> "apple,t8103-nco" as base compatible as it is the SoC the driver and
> bindings were written for.
> 
> [1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/
> 
> Fixes: 6641057d5dba ("clk: clk-apple-nco: Add driver for Apple NCO")
> Cc: stable@vger.kernel.org
> Acked-by: Stephen Boyd <sboyd@kernel.org>
> Reviewed-by: Neal Gompa <neal@gompa.dev>
> Signed-off-by: Janne Grunau <j@jannau.net>
> ---

Applied to clk-next