Home
last modified time | relevance | path

Searched full:slimbus (Results 1 – 25 of 68) sorted by relevance

123

/Linux-v5.10/Documentation/driver-api/
Dslimbus.rst2 Linux kernel SLIMbus support
8 What is SLIMbus?
10 SLIMbus (Serial Low Power Interchip Media Bus) is a specification developed by
14 Currently, SLIMbus is used to interface between application processors of SoCs
15 (System-on-Chip) and peripheral components (typically codec). SLIMbus uses
24 A data channel is used for data-transfer between 2 SLIMbus devices. Data
29 SLIMbus specification has different types of device classifications based on
39 Each SLIMbus component has an interface device for monitoring physical layer.
41 Typically each SoC contains SLIMbus component having 1 manager, 1 framer device,
43 External peripheral SLIMbus component usually has 1 generic device (for
[all …]
Dindex.rst70 slimbus
/Linux-v5.10/drivers/slimbus/
DKconfig3 # SLIMbus driver configuration
5 menuconfig SLIMBUS config
6 tristate "SLIMbus support"
8 SLIMbus is standard interface between System-on-Chip and audio codec,
13 if SLIMBUS
15 # SLIMbus controllers
17 tristate "Qualcomm SLIMbus Manager Component"
20 Select driver if Qualcomm's SLIMbus Manager Component is
24 tristate "Qualcomm SLIMbus Satellite Non-Generic Device Component"
29 Select driver if Qualcomm's SLIMbus Satellite Non-Generic Device
[all …]
Dslimbus.h12 #include <linux/slimbus.h>
14 /* Standard values per SLIMbus spec needed by controllers and devices */
18 /* SLIMbus message types. Related to interpretation of message code. */
64 /* Clock pause values per SLIMbus spec */
74 /* Standard values per SLIMbus spec needed by controllers and devices */
82 /* Standard values per SLIMbus spec needed by controllers and devices */
91 * struct slim_framer - Represents SLIMbus framer.
152 * enum slim_clk_state: SLIMbus controller's clock state used internally for
154 * @SLIM_CLK_ACTIVE: SLIMbus clock is active
155 * @SLIM_CLK_ENTERING_PAUSE: SLIMbus clock pause sequence is being sent on the
[all …]
Dstream.c8 #include <linux/slimbus.h>
10 #include "slimbus.h"
14 * Table 20 of SLIMbus Specs Version 2.0
55 * Table 66 from SLIMbus 2.0 Specs
88 * slim_stream_allocate() - Allocate a new SLIMbus Stream
92 * This is very first call for SLIMbus streaming, this API will allocate
93 * a new SLIMbus stream and return a valid stream runtime pointer for client
193 * slim_stream_prepare() - Prepare a SLIMbus Stream
198 * This API will configure SLIMbus stream with config parameters from cfg.
340 * slim_stream_enable() - Enable a prepared SLIMbus Stream
[all …]
DMakefile3 # Makefile for kernel SLIMbus framework.
5 obj-$(CONFIG_SLIMBUS) += slimbus.o
6 slimbus-y := core.o messaging.o sched.o stream.o
Dsched.c7 #include "slimbus.h"
10 * slim_ctrl_clk_pause() - Called by slimbus controller to enter/exit
17 * Slimbus specification needs this sequence to turn-off clocks for the bus.
59 * Slimbus framework will call controller wakeup in slim_ctrl_clk_pause()
Dmessaging.c8 #include "slimbus.h"
98 * slim_do_transfer() - Process a SLIMbus-messaging transaction
101 * @txn: Transaction to be sent over SLIMbus
283 * slim_read() - Read SLIMbus value element
305 * slim_readb() - Read byte from SLIMbus value element
326 * slim_write() - Write SLIMbus value element
348 * slim_writeb() - Write byte to SLIMbus value element
Dcore.c14 #include <linux/slimbus.h>
15 #include "slimbus.h"
106 .name = "slimbus",
115 * __slim_driver_register() - Client driver registration with SLIMbus
120 * This API will register the client driver with the SLIMbus
466 dev_dbg(ctrl->dev, "setting slimbus l-addr:%x, ea:%x,%x,%x,%x\n", in slim_device_alloc_laddr()
523 * slim_get_logical_addr() - get/allocate logical address of a SLIMbus device.
552 MODULE_DESCRIPTION("SLIMbus core");
Dqcom-ctrl.c17 #include "slimbus.h"
291 * after SLIMbus comes out of clock pause. in qcom_clk_pause_wakeup()
294 * SLIMbus wakes up in clock gear 10 at 24.576MHz. With each superframe in qcom_clk_pause_wakeup()
478 /* SLEW RATE register for this SLIMbus */ in qcom_slim_prg_slew()
488 /* Make sure SLIMbus-slew rate enabling goes through */ in qcom_slim_prg_slew()
519 dev_err(&pdev->dev, "no slimbus IRQ\n"); in qcom_slim_probe()
744 MODULE_DESCRIPTION("Qualcomm SLIMbus Controller");
/Linux-v5.10/Documentation/devicetree/bindings/slimbus/
Dbus.txt3 SLIMbus is a 2-wire bus, and is used to communicate with peripheral
6 Required property for SLIMbus controller node:
7 - compatible - name of SLIMbus controller
10 Every SLIMbus controller node can contain zero or more child nodes
11 representing slave devices on the bus. Every SLIMbus slave device is
21 slaves of the SLIMbus controller, as detailed below.
23 Required property for SLIMbus child node if it is present:
24 - reg - Should be ('Device index', 'Instance ID') from SLIMbus
35 Optional property for SLIMbus child node if it is present:
36 - slim-ifc-dev - Should be phandle to SLIMBus Interface device.
[all …]
Dslim-ngd-qcom-ctrl.txt1 Qualcomm SLIMBus Non Generic Device (NGD) Controller binding
3 SLIMBus NGD controller is a light-weight driver responsible for communicating
4 with SLIMBus slaves directly over the bus using messaging interface and
8 Please refer to slimbus/bus.txt for details of the common SLIMBus bindings.
59 Refer to slimbus/bus.txt for details of the common SLIMBus bindings.
63 Refer to slimbus/bus.txt for details of the common SLIMBus bindings.
Dslim-qcom-ctrl.txt1 Qualcomm SLIMbus controller
2 This controller is used if applications processor driver controls SLIMbus
7 - #address-cells - refer to Documentation/devicetree/bindings/slimbus/bus.txt
8 - #size-cells - refer to Documentation/devicetree/bindings/slimbus/bus.txt
18 - clocks : Interface and core clocks used by this SLIMbus controller
/Linux-v5.10/drivers/base/regmap/
Dregmap-slimbus.c5 #include <linux/slimbus.h>
41 struct regmap *__regmap_init_slimbus(struct slim_device *slimbus, in __regmap_init_slimbus() argument
46 const struct regmap_bus *bus = regmap_get_slimbus(slimbus, config); in __regmap_init_slimbus()
51 return __regmap_init(&slimbus->dev, bus, &slimbus->dev, config, in __regmap_init_slimbus()
56 struct regmap *__devm_regmap_init_slimbus(struct slim_device *slimbus, in __devm_regmap_init_slimbus() argument
61 const struct regmap_bus *bus = regmap_get_slimbus(slimbus, config); in __devm_regmap_init_slimbus()
66 return __devm_regmap_init(&slimbus->dev, bus, &slimbus, config, in __devm_regmap_init_slimbus()
DKconfig25 depends on SLIMBUS
DMakefile11 obj-$(CONFIG_REGMAP_SLIMBUS) += regmap-slimbus.o
/Linux-v5.10/include/linux/
Dslimbus.h16 * struct slim_eaddr - Enumeration address for a SLIMbus device
54 * This is the client/device handle returned when a SLIMbus
72 * struct slim_driver - SLIMbus 'generic device' (slave) device driver
74 * @probe: Binds this driver to a SLIMbus device.
75 * @remove: Unbinds this driver from the SLIMbus device.
80 * @driver: SLIMbus device drivers should initialize name and owner field of
82 * @id_table: List of SLIMbus devices supported by this driver
97 * struct slim_val_inf - Slimbus value or information element
102 * per SLIMbus spec
116 /* A SLIMBus Device may have frmo 0 to 31 Ports (inclusive) */
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/dma/
Dste-dma40.txt82 20: SLIMbus or HSI channel 0
83 21: SLIMbus or HSI channel 1
84 22: SLIMbus or HSI channel 2
85 23: SLIMbus or HSI channel 3
93 31: MSP port 0 or SLIMbus channel 0
108 46: SLIMbus channel 8 or Multimedia DSP SXA6
109 47: SLIMbus channel 9 or Multimedia DSP SXA7
114 52: SLIMbus or HSI channel 4
115 53: SLIMbus or HSI channel 5
116 54: SLIMbus or HSI channel 6
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/sound/
Dqcom,wcd9335.txt7 SLIMbus audio interfaces.
9 Required properties with SLIMbus Interface:
14 Definition: For SLIMbus interface it should be "slimMID,PID",
17 suppressed. Refer to slimbus/bus.txt for details.
19 "slim217,1a0" for MSM8996 and APQ8096 SoCs with SLIMbus.
51 three clock specifiers for mclk, mclk2 and slimbus clock.
56 Definition: Must contain "mclk", "mclk2" and "slimbus" strings.
/Linux-v5.10/sound/soc/qcom/qdsp6/
Dq6afe.c87 /* SLIMbus Rx port on channel 0. */
89 /* SLIMbus Tx port on channel 0. */
91 /* SLIMbus Rx port on channel 1. */
93 /* SLIMbus Tx port on channel 1. */
95 /* SLIMbus Rx port on channel 2. */
97 /* SLIMbus Tx port on channel 2. */
99 /* SLIMbus Rx port on channel 3. */
101 /* SLIMbus Tx port on channel 3. */
103 /* SLIMbus Rx port on channel 4. */
105 /* SLIMbus Tx port on channel 4. */
[all …]
/Linux-v5.10/include/linux/mfd/wcd934x/
Dwcd934x.h8 #include <linux/slimbus.h>
/Linux-v5.10/drivers/soundwire/
DKconfig37 imply SLIMBUS
/Linux-v5.10/include/linux/mfd/
Dmotorola-cpcap.h127 #define CPCAP_REG_MIPIS1 0x0838 /* MIPI Slimbus 1 */
128 #define CPCAP_REG_MIPIS2 0x083c /* MIPI Slimbus 2 */
129 #define CPCAP_REG_MIPIS3 0x0840 /* MIPI Slimbus 3. */
/Linux-v5.10/drivers/mfd/
Dwm8997-tables.c333 { 0x000005E3, 0x0004 }, /* R1507 - SLIMbus Framer Ref Gear */
334 { 0x000005E5, 0x0000 }, /* R1509 - SLIMbus Rates 1 */
335 { 0x000005E6, 0x0000 }, /* R1510 - SLIMbus Rates 2 */
336 { 0x000005E7, 0x0000 }, /* R1511 - SLIMbus Rates 3 */
337 { 0x000005E8, 0x0000 }, /* R1512 - SLIMbus Rates 4 */
338 { 0x000005E9, 0x0000 }, /* R1513 - SLIMbus Rates 5 */
339 { 0x000005EA, 0x0000 }, /* R1514 - SLIMbus Rates 6 */
340 { 0x000005EB, 0x0000 }, /* R1515 - SLIMbus Rates 7 */
341 { 0x000005EC, 0x0000 }, /* R1516 - SLIMbus Rates 8 */
342 { 0x000005F5, 0x0000 }, /* R1525 - SLIMbus RX Channel Enable */
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/mfd/
Dsamsung,exynos5433-lpass.txt18 UART, SLIMBUS, PCM, I2S, DMAC, Timers 0...4, VIC, WDT 0...1 devices.

123