Searched +full:a1 +full:- +full:spifc (Results 1 – 9 of 9) sorted by relevance
| /kernel/linux/linux-6.6/drivers/spi/ |
| D | spi-amlogic-spifc-a1.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Driver for Amlogic A1 SPI flash controller (SPIFC) 21 #include <linux/spi/spi-mem.h> 82 FIELD_PREP(SPIFC_A1_USER_CMD_CODE, (op)->cmd.opcode) | \ 83 FIELD_PREP(SPIFC_A1_USER_CMD_MODE, ilog2((op)->cmd.buswidth))) 87 FIELD_PREP(SPIFC_A1_USER_ADDR_MODE, ilog2((op)->addr.buswidth)) | \ 88 FIELD_PREP(SPIFC_A1_USER_ADDR_BYTES, (op)->addr.nbytes - 1)) 92 FIELD_PREP(SPIFC_A1_USER_DUMMY_MODE, ilog2((op)->dummy.buswidth)) | \ 93 FIELD_PREP(SPIFC_A1_USER_DUMMY_CLK_SYCLES, (op)->dummy.nbytes << 3)) 113 static int amlogic_spifc_a1_request(struct amlogic_spifc_a1 *spifc, bool read) in amlogic_spifc_a1_request() argument [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 6 ccflags-$(CONFIG_SPI_DEBUG) := -DDEBUG 8 # small core, mostly translating board-specific 10 obj-$(CONFIG_SPI_MASTER) += spi.o 11 obj-$(CONFIG_SPI_MEM) += spi-mem.o 12 obj-$(CONFIG_SPI_MUX) += spi-mux.o 13 obj-$(CONFIG_SPI_SPIDEV) += spidev.o 14 obj-$(CONFIG_SPI_LOOPBACK_TEST) += spi-loopback-test.o 17 obj-$(CONFIG_SPI_ALTERA) += spi-altera-platform.o 18 obj-$(CONFIG_SPI_ALTERA_CORE) += spi-altera-core.o [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 dynamic device discovery; some are even write-only or read-only. 17 chips, analog to digital (and d-to-a) converters, and more. 44 If your system has an master-capable SPI controller (which 56 by providing a high-level interface to send memory-like commands. 83 tristate "Amlogic A1 SPIFC controller" 86 This enables master mode support for the SPIFC (SPI flash 87 controller) available in Amlogic A1 (A113L SoC). 145 supports spi-mem interface. 224 this code to manage the per-word or per-transfer accesses to the [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/spi/ |
| D | amlogic,a1-spifc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/amlogic,a1-spifc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Amlogic A1 SPI Flash Controller 10 - Martin Kurbanov <mmkurbanov@sberdevices.ru> 13 - $ref: spi-controller.yaml# 18 - amlogic,a1-spifc 27 - compatible 28 - reg [all …]
|
| /kernel/linux/linux-5.10/drivers/soc/amlogic/ |
| D | meson-secure-pwrc.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 13 #include <dt-bindings/power/meson-a1-power.h> 14 #include <linux/arm-smccc.h> 48 if (meson_sm_call(pwrc_domain->pwrc->fw, SM_A1_PWRC_GET, &is_off, in pwrc_secure_is_off() 49 pwrc_domain->index, 0, 0, 0, 0) < 0) in pwrc_secure_is_off() 61 if (meson_sm_call(pwrc_domain->pwrc->fw, SM_A1_PWRC_SET, NULL, in meson_secure_pwrc_off() 62 pwrc_domain->index, PWRC_OFF, 0, 0, 0) < 0) { in meson_secure_pwrc_off() 64 ret = -EINVAL; in meson_secure_pwrc_off() 76 if (meson_sm_call(pwrc_domain->pwrc->fw, SM_A1_PWRC_SET, NULL, in meson_secure_pwrc_on() 77 pwrc_domain->index, PWRC_ON, 0, 0, 0) < 0) { in meson_secure_pwrc_on() [all …]
|
| /kernel/linux/linux-6.6/drivers/pmdomain/amlogic/ |
| D | meson-secure-pwrc.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 13 #include <dt-bindings/power/meson-a1-power.h> 14 #include <dt-bindings/power/amlogic,c3-pwrc.h> 15 #include <dt-bindings/power/meson-s4-power.h> 16 #include <linux/arm-smccc.h> 51 if (meson_sm_call(pwrc_domain->pwrc->fw, SM_A1_PWRC_GET, &is_off, in pwrc_secure_is_off() 52 pwrc_domain->index, 0, 0, 0, 0) < 0) in pwrc_secure_is_off() 64 if (meson_sm_call(pwrc_domain->pwrc->fw, SM_A1_PWRC_SET, NULL, in meson_secure_pwrc_off() 65 pwrc_domain->index, PWRC_OFF, 0, 0, 0) < 0) { in meson_secure_pwrc_off() 67 ret = -EINVAL; in meson_secure_pwrc_off() [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/meson/ |
| D | a1-peripherals.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 #include <linux/clk-provider.h> 13 #include "a1-peripherals.h" 14 #include "clk-dualdiv.h" 15 #include "clk-regmap.h" 16 #include "meson-clkc-utils.h" 18 #include <dt-bindings/clock/amlogic,a1-peripherals-clkc.h> 365 * b) CCF has a clock hand-off mechanism to make the sure the 1168 * ---------| |---DIV--| | | | spicc out 1169 * ---------| | | |-----|GATE |--------- [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | meson8.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 6 #include <dt-bindings/clock/meson8-ddr-clkc.h> 7 #include <dt-bindings/clock/meson8b-clkc.h> 8 #include <dt-bindings/gpio/meson8-gpio.h> 9 #include <dt-bindings/power/meson8-power.h> 10 #include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h> 11 #include <dt-bindings/reset/amlogic,meson8b-reset.h> 19 #address-cells = <1>; 20 #size-cells = <0>; 24 compatible = "arm,cortex-a9"; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/amlogic/ |
| D | meson8.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 6 #include <dt-bindings/clock/meson8-ddr-clkc.h> 7 #include <dt-bindings/clock/meson8b-clkc.h> 8 #include <dt-bindings/gpio/meson8-gpio.h> 9 #include <dt-bindings/power/meson8-power.h> 10 #include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h> 11 #include <dt-bindings/reset/amlogic,meson8b-reset.h> 12 #include <dt-bindings/thermal/thermal.h> 20 #address-cells = <1>; 21 #size-cells = <0>; [all …]
|