Home
last modified time | relevance | path

Searched +full:jh7100 +full:- +full:audclk (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/clock/
Dstarfive,jh7100-audclk.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/clock/starfive,jh7100-audclk.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: StarFive JH7100 Audio Clock Generator
10 - Emil Renner Berthing <kernel@esmil.dk>
14 const: starfive,jh7100-audclk
21 - description: Audio source clock
22 - description: External 12.288MHz clock
23 - description: Domain 7 AHB bus clock
[all …]
/Linux-v6.1/drivers/clk/starfive/
Dclk-starfive-jh7100-audio.c1 // SPDX-License-Identifier: GPL-2.0
3 * StarFive JH7100 Audio Clock Driver
9 #include <linux/clk-provider.h>
17 #include <dt-bindings/clock/starfive-jh7100-audio.h>
19 #include "clk-starfive-jh7100.h"
91 unsigned int idx = clkspec->args[0]; in jh7100_audclk_get()
94 return &priv->reg[idx].hw; in jh7100_audclk_get()
96 return ERR_PTR(-EINVAL); in jh7100_audclk_get()
105 priv = devm_kzalloc(&pdev->dev, struct_size(priv, reg, JH7100_AUDCLK_END), GFP_KERNEL); in jh7100_audclk_probe()
107 return -ENOMEM; in jh7100_audclk_probe()
[all …]