Home
last modified time | relevance | path

Searched +full:bcm63138 +full:- +full:leds (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/leds/
Dleds-bcm63138.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-bcm63138.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Broadcom's BCM63138 LEDs controller
10 - Rafał Miłecki <rafal@milecki.pl>
13 This LEDs controller was first used on BCM63138 and later reused on BCM4908,
14 BCM6848, BCM6858, BCM63138, BCM63148, BCM63381 and BCM68360 SoCs.
16 It supports up to 32 LEDs that can be connected parallelly or serially. It
19 Binding serially connected LEDs isn't documented yet.
[all …]
/Linux-v6.1/drivers/leds/blink/
DKconfig2 tristate "LED Support for Broadcom BCM63138 SoC"
10 BCM63138 SoC. The same hardware block is known to be also used
13 If compiled as module it will be called leds-bcm63138.
20 This option enables support for LEDs connected to GPIO lines on
22 gateway-on-a-chip SoC to be shipped on mid and high end home
25 These LEDs are driven by a Serial Shift Output (SSO) controller.
26 The driver supports hardware blinking and the LEDs can be configured
31 will be called leds-lgm-sso.
DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_LEDS_BCM63138) += leds-bcm63138.o
3 obj-$(CONFIG_LEDS_LGM) += leds-lgm-sso.o
Dleds-bcm63138.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/leds.h>
18 #define BCM63138_LED_MASK ((1 << BCM63138_LED_BITS) - 1) /* 0xf */
54 struct bcm63138_leds *leds; member
64 static void bcm63138_leds_write(struct bcm63138_leds *leds, unsigned int reg, in bcm63138_leds_write() argument
67 writel(data, leds->base + reg); in bcm63138_leds_write()
70 static unsigned long bcm63138_leds_read(struct bcm63138_leds *leds, in bcm63138_leds_read() argument
73 return readl(leds->base + reg); in bcm63138_leds_read()
76 static void bcm63138_leds_update_bits(struct bcm63138_leds *leds, in bcm63138_leds_update_bits() argument
81 bcm63138_leds_write(leds, reg, (bcm63138_leds_read(leds, reg) & ~mask) | (val & mask)); in bcm63138_leds_update_bits()
[all …]
/Linux-v6.1/arch/arm64/boot/dts/broadcom/bcmbca/
Dbcm4908.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/interrupt-controller/irq.h>
4 #include <dt-bindings/interrupt-controller/arm-gic.h>
5 #include <dt-bindings/phy/phy.h>
6 #include <dt-bindings/soc/bcm-pmb.h>
8 /dts-v1/;
11 interrupt-parent = <&gic>;
13 #address-cells = <2>;
14 #size-cells = <2>;
21 stdout-path = "serial0:115200n8";
[all …]