Searched +full:stm32h7 +full:- +full:spi (Results 1 – 12 of 12) sorted by relevance
2 * Copyright 2017 - Alexandre Torgue <alexandre.torgue@st.com>4 * This file is dual-licensed: you can use it either under the terms43 #include "armv7-m.dtsi"44 #include <dt-bindings/clock/stm32h7-clks.h>45 #include <dt-bindings/mfd/stm32h7-rcc.h>46 #include <dt-bindings/interrupt-controller/irq.h>49 #address-cells = <1>;50 #size-cells = <1>;53 clk_hse: clk-hse {54 #clock-cells = <0>;[all …]
1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved6 #include <dt-bindings/interrupt-controller/arm-gic.h>7 #include <dt-bindings/clock/stm32mp1-clks.h>8 #include <dt-bindings/reset/stm32mp1-resets.h>11 #address-cells = <1>;12 #size-cells = <1>;15 #address-cells = <1>;16 #size-cells = <0>;19 compatible = "arm,cortex-a7";[all …]
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---4 $id: http://devicetree.org/schemas/spi/st,stm32-spi.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#7 title: STMicroelectronics STM32 SPI Controller bindings10 The STM32 SPI controller is used to communicate with external devices using11 the Serial Peripheral Interface. It supports full-duplex, half-duplex and13 from 4 to 32-bit data size.16 - Erwan Leray <erwan.leray@st.com>17 - Fabrice Gasnier <fabrice.gasnier@st.com>[all …]
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---4 $id: http://devicetree.org/schemas/iio/adc/st,stm32-dfsdm-adc.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#10 - Fabrice Gasnier <fabrice.gasnier@st.com>11 - Olivier Moysan <olivier.moysan@st.com>14 STM32 DFSDM ADC is a sigma delta analog-to-digital converter dedicated to17 - Sigma delta modulators (motor control, metering...)18 - PDM microphones (audio digital microphone)20 It features up to 8 serial digital interfaces (SPI or Manchester) and[all …]
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---4 $id: http://devicetree.org/schemas/sound/st,stm32-i2s.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#7 title: STMicroelectronics STM32 SPI/I2S Controller10 - Olivier Moysan <olivier.moysan@st.com>13 The SPI/I2S block supports I2S/PCM protocols when configured on I2S mode.14 Only some SPI instances support I2S.19 - st,stm32h7-i2s21 "#sound-dai-cells":[all …]
3 The DFSDM allows PDM microphones capture through SPI interface. The Audio5 For details on DFSDM bindings refer to ../iio/adc/st,stm32-dfsdm-adc.txt8 - compatible: "st,stm32h7-dfsdm-dai".10 - #sound-dai-cells : Must be equal to 012 - io-channels : phandle to iio dfsdm instance node.17 compatible = "audio-graph-card";23 compatible = "st,stm32h7-dfsdm";26 clock-names = "dfsdm";27 #interrupt-cells = <1>;28 #address-cells = <1>;[all …]
1 // SPDX-License-Identifier: GPL-2.03 // STMicroelectronics STM32 SPI Controller driver (master mode only)5 // Copyright (C) 2017, STMicroelectronics - All Rights Reserved19 #include <linux/spi/spi.h>23 /* STM32F4 SPI registers */72 /* STM32F4 SPI Baud Rate min/max divisor */76 /* STM32H7 SPI registers */153 /* STM32H7 SPI Master Baud Rate min/max divisor */157 /* STM32H7 SPI Communication mode */163 /* SPI Communication type */[all …]
1 // SPDX-License-Identifier: GPL-2.05 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved20 #include "stm32-dfsdm.h"88 unsigned int spi_clk_out_div; /* SPI clkout divider value */105 ret = clk_prepare_enable(priv->clk); in stm32_dfsdm_clk_prepare_enable()106 if (ret || !priv->aclk) in stm32_dfsdm_clk_prepare_enable()109 ret = clk_prepare_enable(priv->aclk); in stm32_dfsdm_clk_prepare_enable()111 clk_disable_unprepare(priv->clk); in stm32_dfsdm_clk_prepare_enable()120 if (priv->aclk) in stm32_dfsdm_clk_disable_unprepare()121 clk_disable_unprepare(priv->aclk); in stm32_dfsdm_clk_disable_unprepare()[all …]
23 Enable old-style I2C functions for compatibility with existing code.34 This will work whatever the interface used to talk to the EC (SPI,41 ---help---43 often dealt with by using an I2C pass-through interface provided by44 the EC. On some unfortunate models (e.g. Spring) the pass-through71 configuration is given by the device tree. Kernel-style device tree73 Binding info: doc/device-tree-bindings/i2c/i2c-gpio.txt82 i2c-gpio driver unless your system can cope with this limitation.83 Binding info: doc/device-tree-bindings/i2c/i2c-at91.txt123 Only single master mode is supported and only byte-by-byte[all …]
1 // SPDX-License-Identifier: GPL-2.05 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved18 #include <linux/iio/adc/stm32-dfsdm-adc.h>23 #define STM32_ADFSDM_DRV_NAME "stm32-adfsdm"65 mutex_lock(&priv->lock); in stm32_adfsdm_shutdown()66 if (priv->iio_active) { in stm32_adfsdm_shutdown()67 iio_channel_stop_all_cb(priv->iio_cb); in stm32_adfsdm_shutdown()68 priv->iio_active = false; in stm32_adfsdm_shutdown()70 mutex_unlock(&priv->lock); in stm32_adfsdm_shutdown()79 mutex_lock(&priv->lock); in stm32_adfsdm_dai_prepare()[all …]
1 // SPDX-License-Identifier: GPL-2.0-only5 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved134 #define I2S_CGFR_I2SDIV_MAX ((1 << (I2S_CGFR_I2SDIV_BIT_H -\135 I2S_CGFR_I2SDIV_SHIFT)) - 1)196 #define STM32_I2S_IS_MASTER(x) ((x)->ms_flg == I2S_MS_MASTER)197 #define STM32_I2S_IS_SLAVE(x) ((x)->ms_flg == I2S_MS_SLAVE)200 * struct stm32_i2s_data - private data of I2S246 struct platform_device *pdev = i2s->pdev; in stm32_i2s_isr()251 regmap_read(i2s->regmap, STM32_I2S_SR_REG, &sr); in stm32_i2s_isr()252 regmap_read(i2s->regmap, STM32_I2S_IER_REG, &ier); in stm32_i2s_isr()[all …]
... -boot-2021.07/.readthedocs.yml u-boot-2021.07/Kbuild u-boot-2021.07 ...