Home
last modified time | relevance | path

Searched +full:en7523 +full:- +full:scu (Results 1 – 3 of 3) sorted by relevance

/linux/Documentation/devicetree/bindings/clock/
H A Dairoha,en7523-scu.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/clock/airoha,en7523-scu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: EN7523 Clock
10 - Felix Fietkau <nbd@nbd.name>
11 - John Crispin <nbd@nbd.name>
14 This node defines the System Control Unit of the EN7523 SoC,
25 [1]: <include/dt-bindings/clock/en7523-clk.h>.
32 - enum:
[all …]
/linux/arch/arm/boot/dts/airoha/
H A Den7523.dtsi1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 #include <dt-bindings/interrupt-controller/irq.h>
4 #include <dt-bindings/interrupt-controller/arm-gic.h>
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/clock/en7523-clk.h>
9 interrupt-parent = <&gic>;
10 #address-cells = <1>;
11 #size-cells = <1>;
13 reserved-memory {
14 #address-cells = <1>;
[all …]
/linux/drivers/clk/
H A Dclk-en7523.c1 // SPDX-License-Identifier: GPL-2.0-only
4 #include <linux/clk-provider.h>
8 #include <linux/reset-controller.h>
9 #include <dt-bindings/clock/en7523-clk.h>
10 #include <dt-bindings/reset/airoha,en7581-reset.h>
260 if (!desc->base_bits) in en7523_get_base_rate()
261 return desc->base_value; in en7523_get_base_rate()
263 val = readl(base + desc->base_reg); in en7523_get_base_rate()
264 val >>= desc->base_shift; in en7523_get_base_rate()
265 val &= (1 << desc->base_bits) - 1; in en7523_get_base_rate()
[all …]