Home
last modified time | relevance | path

Searched +full:sun50i +full:- +full:a100 +full:- +full:ledc (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/leds/
Dallwinner,sun50i-a100-ledc.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/leds/allwinner,sun50i-a100-ledc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A100 LED Controller
10 - Samuel Holland <samuel@sholland.org>
13 The LED controller found in Allwinner sunxi SoCs uses a one-wire serial
19 - const: allwinner,sun50i-a100-ledc
20 - items:
21 - enum:
[all …]
/linux-6.12.1/drivers/leds/
Dleds-sun50i-a100.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2021-2023 Samuel Holland <samuel@sholland.org>
5 * Partly based on drivers/leds/leds-turris-omnia.c, which is:
12 #include <linux/dma-mapping.h>
16 #include <linux/led-class-multicolor.h>
103 desc = dmaengine_prep_slave_single(priv->dma_chan, priv->dma_handle, in sun50i_a100_ledc_dma_xfer()
106 return -ENOMEM; in sun50i_a100_ledc_dma_xfer()
110 return -EIO; in sun50i_a100_ledc_dma_xfer()
112 dma_async_issue_pending(priv->dma_chan); in sun50i_a100_ledc_dma_xfer()
122 length = priv->pio_length; in sun50i_a100_ledc_pio_xfer()
[all …]
/linux-6.12.1/drivers/pinctrl/sunxi/
Dpinctrl-sun50i-a100.c1 // SPDX-License-Identifier: GPL-2.0
14 #include "pinctrl-sunxi.h"
385 SUNXI_FUNCTION(0x5, "ledc"), /* LEDC */
570 SUNXI_FUNCTION(0x4, "ledc"),
675 SUNXI_FUNCTION(0x5, "ledc"),
695 { .compatible = "allwinner,sun50i-a100-pinctrl", },
703 .name = "sun50i-a100-pinctrl",
/linux-6.12.1/drivers/clk/sunxi-ng/
Dccu-sun50i-a100.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/clk-provider.h>
23 #include "ccu-sun50i-a100.h"
50 .hw.init = CLK_HW_INIT("pll-cpux", "dcxo24M",
66 .hw.init = CLK_HW_INIT("pll-ddr0", "dcxo24M",
84 .hw.init = CLK_HW_INIT("pll-periph0", "dcxo24M",
101 .hw.init = CLK_HW_INIT("pll-periph1", "dcxo24M",
117 .hw.init = CLK_HW_INIT("pll-gpu", "dcxo24M",
137 .hw.init = CLK_HW_INIT("pll-video0", "dcxo24M",
153 .hw.init = CLK_HW_INIT("pll-video1", "dcxo24M",
[all …]