Home
last modified time | relevance | path

Searched +full:t1h +full:- +full:ns (Results 1 – 2 of 2) sorted by relevance

/linux/Documentation/devicetree/bindings/leds/
H A 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#
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:
22 - allwinner,sun20i-d1-ledc
[all …]
/linux/drivers/leds/
H A 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 …]