Home
last modified time | relevance | path

Searched +full:at91sam9g20 +full:- +full:i2c (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/arch/arm/boot/dts/
Dat91sam9g20.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * at91sam9g20.dtsi - Device Tree Include file for AT91SAM9G20 family SoC
5 * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
11 model = "Atmel AT91SAM9G20 family SoC";
12 compatible = "atmel,at91sam9g20";
23 compatible = "mmio-sram";
25 #address-cells = <1>;
26 #size-cells = <1>;
32 i2c0: i2c@fffac000 {
33 compatible = "atmel,at91sam9g20-i2c";
[all …]
Dat91-foxg20.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * at91-foxg20.dts - Device Tree file for Acme Systems FoxG20 board
5 * Based on DT files for at91sam9g20ek evaluation board (AT91SAM9G20 SoC)
9 /dts-v1/;
10 #include "at91sam9g20.dtsi"
14 compatible = "acme,foxg20", "atmel,at91sam9g20", "atmel,at91sam9";
26 clock-frequency = <32768>;
30 clock-frequency = <18432000>;
38 compatible = "atmel,tcb-timer";
43 compatible = "atmel,tcb-timer";
[all …]
Dusb_a9g20_common.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * usb_a9g20.dts - Device Tree file for Caloa USB A9G20 board
5 * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
8 #include "at91sam9g20.dtsi"
14 stdout-path = "serial0:115200n8";
21 i2c-gpio-0 {
Dat91sam9g20ek_common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * at91sam9g20ek_common.dtsi - Device Tree file for Atmel at91sam9g20ek board
5 * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
7 #include "at91sam9g20.dtsi"
8 #include <dt-bindings/input/input.h>
14 stdout-path = "serial0:115200n8";
23 clock-frequency = <32768>;
27 clock-frequency = <18432000>;
50 pinctrl_board_mmc0_slot1: mmc0_slot1-board {
63 compatible = "atmel,tcb-timer";
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/i2c/
Datmel,at91sam-i2c.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/i2c/atmel,at91sam-i2c.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: I2C for Atmel/Microchip platforms
11 - Alexandre Belloni <alexandre.belloni@bootlin.com>
16 - items:
17 - enum:
18 - atmel,at91rm9200-i2c
19 - atmel,at91sam9261-i2c
[all …]
/Linux-v6.1/sound/soc/atmel/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "SoC Audio for the Atmel System-on-Chip"
31 in PDC mode configured using audio-graph-card in device-tree.
40 in DMA mode configured using audio-graph-card in device-tree.
43 tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board"
45 depends on ATMEL_SSC && I2C
49 Say Y if you want to add support for SoC audio on WM8731-based
50 AT91sam9g20 evaluation board.
55 depends on ATMEL_SSC && I2C
63 tristate "SoC Audio support for WM8731-based at91sam9x5 board"
[all …]
Dsam9g20_wm8731.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * sam9g20_wm8731 -- SoC audio for AT91SAM9G20-based
26 #include <linux/i2c.h>
29 #include <linux/atmel-ssc.h>
37 #include "atmel-pcm.h"
71 struct device *dev = rtd->dev; in at91sam9g20ek_wm8731_init()
84 snd_soc_dapm_nc_pin(&rtd->card->dapm, "Int Mic"); in at91sam9g20ek_wm8731_init()
92 DAILINK_COMP_ARRAY(COMP_CODEC("wm8731.0-001b", "wm8731-hifi")),
105 .name = "AT91SAMG20-EK",
119 struct device_node *np = pdev->dev.of_node; in at91sam9g20ek_audio_probe()
[all …]
/Linux-v6.1/drivers/i2c/busses/
Di2c-at91-core.c1 // SPDX-License-Identifier: GPL-2.0
3 * i2c Support for Atmel's AT91 Two-Wire Interface (TWI)
18 #include <linux/i2c.h>
27 #include "i2c-at91.h"
31 return readl_relaxed(dev->base + reg); in at91_twi_read()
36 writel_relaxed(val, dev->base + reg); in at91_twi_write()
46 dev->imr = at91_twi_read(dev, AT91_TWI_IMR) & AT91_TWI_INT_MASK; in at91_twi_irq_save()
52 at91_twi_write(dev, AT91_TWI_IER, dev->imr); in at91_twi_irq_restore()
59 if (dev->slave_detected) in at91_init_twi_bus()
93 .name = "i2c-at91rm9200",
[all …]