Home
last modified time | relevance | path

Searched +full:sama5d2 +full:- +full:secumod (Results 1 – 5 of 5) sorted by relevance

/linux/Documentation/devicetree/bindings/arm/
H A Datmel,sama5d2-secumod.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/arm/atmel,sama5d2-secumod.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Microchip AT91 Security Module (SECUMOD)
10 - Nicolas Ferre <nicolas.ferre@microchip.com>
14 Note that they maintain their voltage during Backup/Self-refresh.
19 - items:
20 - const: atmel,sama5d2-secumod
21 - const: syscon
[all …]
/linux/drivers/gpio/
H A Dgpio-sama5d2-piobu.c1 // SPDX-License-Identifier: GPL-2.0
3 * SAMA5D2 PIOBU GPIO controller
32 #define PIOBU_BASE 0x18 /* PIOBU offset from SECUMOD base register address. */
53 * sama5d2_piobu_setup_pin() - prepares a pin for set_direction call
65 ret = regmap_update_bits(piobu->regmap, PIOBU_BMPR, mask, 0); in sama5d2_piobu_setup_pin()
69 ret = regmap_update_bits(piobu->regmap, PIOBU_NMPR, mask, 0); in sama5d2_piobu_setup_pin()
73 return regmap_update_bits(piobu->regmap, PIOBU_WKPR, mask, 0); in sama5d2_piobu_setup_pin()
77 * sama5d2_piobu_write_value() - writes value & mask at the pin's PIOBU register
88 return regmap_update_bits(piobu->regmap, reg, mask, value); in sama5d2_piobu_write_value()
92 * sama5d2_piobu_read_value() - read the value with masking from the pin's PIOBU
[all …]
/linux/arch/arm/boot/dts/microchip/
H A Dsama7g5.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * sama7g5.dtsi - Device Tree Include file for SAMA7G5 family SoC
12 #include <dt-bindings/iio/adc/at91-sama5d2_adc.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
14 #include <dt-bindings/interrupt-controller/arm-gic.h>
15 #include <dt-bindings/clock/at91.h>
16 #include <dt-bindings/dma/at91.h>
17 #include <dt-bindings/gpio/gpio.h>
18 #include <dt-bindings/mfd/at91-usart.h>
19 #include <dt-bindings/nvmem/microchip,sama7g5-otpc.h>
[all …]
H A Dsama5d2.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * sama5d2.dtsi - Device Tree Include file for SAMA5D2 family SoC
9 #include <dt-bindings/dma/at91.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/clock/at91.h>
12 #include <dt-bindings/mfd/at91-usart.h>
13 #include <dt-bindings/iio/adc/at91-sama5d2_adc.h>
16 #address-cells = <1>;
17 #size-cells = <1>;
18 model = "Atmel SAMA5D2 family SoC";
[all …]
/linux/drivers/misc/
H A Dsram.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Generic on-chip SRAM allocation driver
19 #include <soc/at91/atmel-secumod.h>
34 mutex_lock(&part->lock); in sram_read()
35 memcpy_fromio(buf, part->base + pos, count); in sram_read()
36 mutex_unlock(&part->lock); in sram_read()
50 mutex_lock(&part->lock); in sram_write()
51 memcpy_toio(part->base + pos, buf, count); in sram_write()
52 mutex_unlock(&part->lock); in sram_write()
62 part->pool = devm_gen_pool_create(sram->dev, ilog2(SRAM_GRANULARITY), in sram_add_pool()
[all …]