Home
last modified time | relevance | path

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

123

/linux/Documentation/driver-api/
H A 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 …]
H A Dindex.rst66 slimbus
/linux/drivers/slimbus/
H A 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 …]
H A 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"
31 Select driver if Qualcomm's SLIMbus Satellite Non-Generic Device
[all …]
H A Dstream.c8 #include <linux/slimbus.h>
10 #include "slimbus.h"
14 * Table 20 of SLIMbus Specs Version 2.0
57 * Table 66 from SLIMbus 2.0 Specs
90 * slim_stream_allocate() - Allocate a new SLIMbus Stream
94 * This is very first call for SLIMbus streaming, this API will allocate
95 * a new SLIMbus stream and return a valid stream runtime pointer for client
195 * slim_stream_prepare() - Prepare a SLIMbus Stream
200 * This API will configure SLIMbus stream with config parameters from cfg.
349 * slim_stream_enable() - Enable a prepared SLIMbus Stream
[all …]
H A DMakefile3 # Makefile for kernel SLIMbus framework.
5 obj-$(CONFIG_SLIMBUS) += slimbus.o
6 slimbus-y := core.o messaging.o sched.o stream.o
H A 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()
H A Dmessaging.c8 #include "slimbus.h"
98 * slim_do_transfer() - Process a SLIMbus-messaging transaction
101 * @txn: Transaction to be sent over SLIMbus
286 * slim_read() - Read SLIMbus value element
308 * slim_readb() - Read byte from SLIMbus value element
329 * slim_write() - Write SLIMbus value element
351 * slim_writeb() - Write byte to SLIMbus value element
H A Dcore.c14 #include <linux/slimbus.h>
15 #include "slimbus.h"
104 .name = "slimbus",
113 * __slim_driver_register() - Client driver registration with SLIMbus
118 * This API will register the client driver with the SLIMbus
464 dev_dbg(ctrl->dev, "setting slimbus l-addr:%x, ea:%x,%x,%x,%x\n", in slim_device_alloc_laddr()
521 * slim_get_logical_addr() - get/allocate logical address of a SLIMbus device.
550 MODULE_DESCRIPTION("SLIMbus core");
H A 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()
477 /* SLEW RATE register for this SLIMbus */ in qcom_slim_prg_slew()
484 /* Make sure SLIMbus-slew rate enabling goes through */ in qcom_slim_prg_slew()
735 MODULE_DESCRIPTION("Qualcomm SLIMbus Controller");
/linux/drivers/base/regmap/
H A 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()
71 MODULE_DESCRIPTION("Register map access API - SLIMbus support");
H A DKconfig45 depends on SLIMBUS
H A DMakefile12 obj-$(CONFIG_REGMAP_SLIMBUS) += regmap-slimbus.o
/linux/include/linux/
H A 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/Documentation/devicetree/bindings/dma/
H A Dstericsson,dma40.yaml42 20: SLIMbus or HSI channel 0
43 21: SLIMbus or HSI channel 1
44 22: SLIMbus or HSI channel 2
45 23: SLIMbus or HSI channel 3
53 31: MSP port 0 or SLIMbus channel 0
68 46: SLIMbus channel 8 or Multimedia DSP SXA6
69 47: SLIMbus channel 9 or Multimedia DSP SXA7
74 52: SLIMbus or HSI channel 4
75 53: SLIMbus or HSI channel 5
76 54: SLIMbus or HSI channel 6
[all …]
/linux/Documentation/devicetree/bindings/slimbus/
H A Dslimbus.yaml4 $id: http://devicetree.org/schemas/slimbus/slimbus.yaml#
13 SLIMbus is a 2-wire bus, and is used to communicate with peripheral
30 Every SLIMbus controller node can contain zero or more child nodes
31 representing slave devices on the bus. Every SLIMbus slave device is
41 child nodes for those devices will be present as slaves of the SLIMbus
H A Dqcom,slim.yaml4 $id: http://devicetree.org/schemas/slimbus/qcom,slim.yaml#
7 title: Qualcomm SoC SLIMbus controller
14 SLIMbus controller used when applications processor controls SLIMbus master
18 - $ref: slimbus.yaml#
H A Dqcom,slim-ngd.yaml4 $id: http://devicetree.org/schemas/slimbus/qcom,slim-ngd.yaml#
7 title: Qualcomm SoC SLIMBus Non Generic Device (NGD) Controller
14 SLIMBus NGD controller is a light-weight driver responsible for communicating
15 with SLIMBus slaves directly over the bus using messaging interface and
51 $ref: slimbus.yaml#
/linux/sound/soc/qcom/qdsp6/
H A Dq6afe.c88 /* SLIMbus Rx port on channel 0. */
90 /* SLIMbus Tx port on channel 0. */
92 /* SLIMbus Rx port on channel 1. */
94 /* SLIMbus Tx port on channel 1. */
96 /* SLIMbus Rx port on channel 2. */
98 /* SLIMbus Tx port on channel 2. */
100 /* SLIMbus Rx port on channel 3. */
102 /* SLIMbus Tx port on channel 3. */
104 /* SLIMbus Rx port on channel 4. */
106 /* SLIMbus Tx port on channel 4. */
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dqcom,wcd9335.yaml14 Soundwire controller and interrupt mux. It supports both I2S/I2C and SLIMbus
30 - const: slimbus
137 clock-names = "mclk", "slimbus";
/linux/include/linux/mfd/wcd934x/
H A Dwcd934x.h8 #include <linux/slimbus.h>
/linux/include/linux/mfd/
H A 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/drivers/mfd/
H A 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/Documentation/translations/zh_CN/driver-api/
H A Dindex.rst85 * slimbus
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dqcom,apq8064-pinctrl.yaml71 sdc2, sdc4, slimbus, spkr_i2s, tsif1, tsif2, usb2_hsic,

123