Add support for CS40L50
Subsystems (9)
James Ogletree
maintainerv11 cover Add support for CS40L50
Changes in v11:
- Constified function parameters in ASOC driver
- Removed an unneeded #include
- Changed number of max FF effects = 1
- Minor refactoring in Input driver
- Reworded comment in MFD driver
Changes in v10:
- Minor refactoring and logical improvements all around
- Renamed and added supplies
Changes in v9:
- Fixed empty struct by utilizing cs_dsp's post_run callback
- Style fixes in MFD driver
Changes in v8:
- set_sysclk() -> set_bclk_ratio()
- Added ID table to codec driver
- Style improvements
- Fixed ordering of new write sequence operations
Changes in v7:
- Fixed sparse warning
- Moved write sequences to private data structure
- Logical and style improvements in write sequence interface
Changes in v6:
- Updated write sequencer interface to be control-name based
- Fixed a race condition and non-handling of repeats in playback callback
- Stylistic and logical improvements all around
Changes in v5:
- Added a codec sub-device to support I2S streaming
- Moved write sequencer code from cirrus_haptics to cs_dsp
- Reverted cirrus_haptics library; future Cirrus input drivers will export and utilize cs40l50_vibra functions
- Added more comments
- Many small stylistic and logical improvements
Changes in v4:
- Moved from Input to MFD
- Moved common Cirrus haptic functions to a library
- Incorporated runtime PM framework
- Many style improvements
Changes in v3:
- YAML formatting corrections
- Fixed typo in MAINTAINERS
- Used generic node name "haptic-driver"
- Fixed probe error code paths
- Switched to "sizeof(*)"
- Removed tree reference in MAINTAINERS
Changes in v2:
- Fixed checkpatch warnings
James Ogletree (5):
firmware: cs_dsp: Add write sequence interface
dt-bindings: input: cirrus,cs40l50: Add initial DT binding
mfd: cs40l50: Add support for CS40L50 core driver
Input: cs40l50 - Add support for the CS40L50 haptic driver
ASoC: cs40l50: Support I2S streaming to CS40L50
.../bindings/input/cirrus,cs40l50.yaml | 68 +++ MAINTAINERS | 12 + drivers/firmware/cirrus/cs_dsp.c | 278 +++++++++ drivers/input/misc/Kconfig | 10 + drivers/input/misc/Makefile | 1 + drivers/input/misc/cs40l50-vibra.c | 555 +++++++++++++++++ drivers/mfd/Kconfig | 30 + drivers/mfd/Makefile | 4 + drivers/mfd/cs40l50-core.c | 570 ++++++++++++++++++ drivers/mfd/cs40l50-i2c.c | 68 +++ drivers/mfd/cs40l50-spi.c | 68 +++ include/linux/firmware/cirrus/cs_dsp.h | 27 + include/linux/mfd/cs40l50.h | 137 +++++ sound/soc/codecs/Kconfig | 11 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/cs40l50-codec.c | 307 ++++++++++ 16 files changed, 2148 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/cirrus,cs40l50.yaml create mode 100644 drivers/input/misc/cs40l50-vibra.c create mode 100644 drivers/mfd/cs40l50-core.c create mode 100644 drivers/mfd/cs40l50-i2c.c create mode 100644 drivers/mfd/cs40l50-spi.c create mode 100644 include/linux/mfd/cs40l50.h create mode 100644 sound/soc/codecs/cs40l50-codec.c
Signature · 1 line
2.34.1
James Ogletree
maintainerPATCH RESEND v11 1/5 firmware: cs_dsp: Add write sequence interface
A write sequence is a sequence of register addresses and values executed by some Cirrus DSPs following certain power state transitions.
Add support for Cirrus drivers to update or add to a write sequence present in firmware.
---
Note that this patch can be applied before the others.
drivers/firmware/cirrus/cs_dsp.c | 278 +++++++++++++++++++++++++ include/linux/firmware/cirrus/cs_dsp.h | 27 +++ 2 files changed, 305 insertions(+)
drivers/firmware/cirrus/cs_dsp.c +278 -0
@@ -275,6 +275,12 @@#define HALO_MPU_VIO_ERR_SRC_MASK 0x00007fff#define HALO_MPU_VIO_ERR_SRC_SHIFT 0 +/* +* Write Sequence +*/ +#define WSEQ_OP_MAX_WORDS 3 +#define WSEQ_END_OF_SCRIPT 0xFFFFFF +struct cs_dsp_ops {bool (*validate_version)(struct cs_dsp *dsp,unsigned int version); unsigned int (*parse_sizes)(struct cs_dsp *dsp,
@@ -3339,6 +3345,278 @@ int cs_dsp_chunk_read(struct cs_dsp_chunk *ch, int nbits) }EXPORT_SYMBOL_NS_GPL (cs_dsp_chunk_read,FW_CS_DSP ); + +struct cs_dsp_wseq_op { +struct list_head list; +u32 address; +u32 data; +u16 offset; +u8 operation; +}; + +static void cs_dsp_wseq_clear (struct cs_dsp *dsp,struct cs_dsp_wseq *wseq) +{ +struct cs_dsp_wseq_op *op, *op_tmp; + +list_for_each_entry_safe (op, op_tmp, &wseq->ops, list) { +list_del (&op->list); +devm_kfree (dsp->dev, op); + } +} + +static int cs_dsp_populate_wseq (struct cs_dsp *dsp,struct cs_dsp_wseq *wseq) +{ +struct cs_dsp_wseq_op *op =NULL ; +struct cs_dsp_chunk chunk; +u8 *words; +int ret; + +if (!wseq->ctl) { +cs_dsp_err (dsp,"No control for write sequence\n" ); +return -EINVAL ; + } + + words =kzalloc (wseq->ctl->len,GFP_KERNEL ); +if (!words) +return -ENOMEM ; + + ret =cs_dsp_coeff_read_ctrl (wseq->ctl,0 , words, wseq->ctl->len); +if (ret) { +cs_dsp_err (dsp,"Failed to read %s: %d\n" , wseq->ctl->subname, ret); + goto err_free; + } + +INIT_LIST_HEAD (&wseq->ops); + + chunk =cs_dsp_chunk (words, wseq->ctl->len); + +while (!cs_dsp_chunk_end (&chunk)) { + op =devm_kzalloc (dsp->dev,sizeof (*op),GFP_KERNEL ); +if (!op) { + ret = -ENOMEM ; + goto err_free; + } + + op->offset =cs_dsp_chunk_bytes (&chunk); + op->operation =cs_dsp_chunk_read (&chunk,8 ); + +switch (op->operation) { +case CS_DSP_WSEQ_END : + op->data =WSEQ_END_OF_SCRIPT ; +break ; +case CS_DSP_WSEQ_UNLOCK : + op->data =cs_dsp_chunk_read (&chunk,16 ); +break ; +case CS_DSP_WSEQ_ADDR8 : + op->address =cs_dsp_chunk_read (&chunk,8 ); + op->data =cs_dsp_chunk_read (&chunk,32 ); +break ; +case CS_DSP_WSEQ_H16 : +case CS_DSP_WSEQ_L16 : + op->address =cs_dsp_chunk_read (&chunk,24 ); + op->data =cs_dsp_chunk_read (&chunk,16 ); +break ; +case CS_DSP_WSEQ_FULL : + op->address =cs_dsp_chunk_read (&chunk,32 ); + op->data =cs_dsp_chunk_read (&chunk,32 ); +break ; +default : + ret = -EINVAL ; +cs_dsp_err (dsp,"Unsupported op: %X\n" , op->operation); +devm_kfree (dsp->dev, op); + goto err_free; + } + +list_add_tail (&op->list, &wseq->ops); + +if (op->operation ==CS_DSP_WSEQ_END ) +break ; + } + +if (op && op->operation !=CS_DSP_WSEQ_END ) { +cs_dsp_err (dsp,"%s missing end terminator\n" , wseq->ctl->subname); + ret = -ENOENT ; + } + +err_free: +kfree (words); + +return ret; +} + +/** +* cs_dsp_wseq_init() - Initialize write sequences contained within the loaded DSP firmware +* @dsp: Pointer to DSP structure +* @wseqs: List of write sequences to initialize +* @num_wseqs: Number of write sequences to initialize +* +* Return: Zero for success, a negative number on error. +*/ +int cs_dsp_wseq_init (struct cs_dsp *dsp,struct cs_dsp_wseq *wseqs,unsigned int num_wseqs) +{ +int i, ret; + +lockdep_assert_held (&dsp->pwr_lock); + +for (i =0 ; i < num_wseqs; i++) { + ret =cs_dsp_populate_wseq (dsp, &wseqs[i]); +if (ret) { +cs_dsp_wseq_clear (dsp, &wseqs[i]); +return ret; + } + } + +return 0 ; +} +EXPORT_SYMBOL_NS_GPL (cs_dsp_wseq_init,FW_CS_DSP ); + +static struct cs_dsp_wseq_op *cs_dsp_wseq_find_op (u32 addr,u8 op_code, +struct list_head *wseq_ops) +{ +struct cs_dsp_wseq_op *op; + +list_for_each_entry (op, wseq_ops, list) { +if (op->operation == op_code && op->address == addr) +return op; + } + +return NULL ; +} + +/** +* cs_dsp_wseq_write() - Add or update an entry in a write sequence +* @dsp: Pointer to a DSP structure +* @wseq: Write sequence to write to +* @addr: Address of the register to be written to +* @data: Data to be written +* @op_code: The type of operation of the new entry +* @update: If true, searches for the first entry in the write sequence with +* the same address and op_code, and replaces it. If false, creates a new entry +* at the tail +* +* This function formats register address and value pairs into the format +* required for write sequence entries, and either updates or adds the +* new entry into the write sequence. +* +* If update is set to true and no matching entry is found, it will add a new entry. +* +* Return: Zero for success, a negative number on error. +*/ +int cs_dsp_wseq_write (struct cs_dsp *dsp,struct cs_dsp_wseq *wseq, +u32 addr,u32 data,u8 op_code,bool update) +{ +struct cs_dsp_wseq_op *op_end, *op_new =NULL ; +u32 words[WSEQ_OP_MAX_WORDS ]; +struct cs_dsp_chunk chunk; +int new_op_size, ret; + +if (update) + op_new =cs_dsp_wseq_find_op (addr, op_code, &wseq->ops); + +/* If entry to update is not found, treat it as a new operation */ +if (!op_new) { + op_end =cs_dsp_wseq_find_op (0 ,CS_DSP_WSEQ_END , &wseq->ops); +if (!op_end) { +cs_dsp_err (dsp,"Missing terminator for %s\n" , wseq->ctl->subname); +return -EINVAL ; + } + + op_new =devm_kzalloc (dsp->dev,sizeof (*op_new),GFP_KERNEL ); +if (!op_new) +return -ENOMEM ; + + op_new->operation = op_code; + op_new->address = addr; + op_new->offset = op_end->offset; + update = false; + } + + op_new->data = data; + + chunk =cs_dsp_chunk (words,sizeof (words)); +cs_dsp_chunk_write (&chunk,8 , op_new->operation); + +switch (op_code) { +case CS_DSP_WSEQ_FULL : +cs_dsp_chunk_write (&chunk,32 , op_new->address); +cs_dsp_chunk_write (&chunk,32 , op_new->data); +break ; +case CS_DSP_WSEQ_L16 : +case CS_DSP_WSEQ_H16 : +cs_dsp_chunk_write (&chunk,24 , op_new->address); +cs_dsp_chunk_write (&chunk,16 , op_new->data); +break ; +default : + ret = -EINVAL ; +cs_dsp_err (dsp,"Operation %X not supported\n" , op_code); + goto op_new_free; + } + + new_op_size =cs_dsp_chunk_bytes (&chunk); + +if (!update) { +if (wseq->ctl->len - op_end->offset < new_op_size) { +cs_dsp_err (dsp,"Not enough memory in %s for entry\n" , wseq->ctl->subname); + ret = -E2BIG ; + goto op_new_free; + } + + op_end->offset += new_op_size; + + ret =cs_dsp_coeff_write_ctrl (wseq->ctl, op_end->offset /sizeof (u32), + &op_end->data,sizeof (u32)); +if (ret) + goto op_new_free; + +list_add_tail (&op_new->list, &op_end->list); + } + + ret =cs_dsp_coeff_write_ctrl (wseq->ctl, op_new->offset /sizeof (u32), + words, new_op_size); +if (ret) + goto op_new_free; + +return 0 ; + +op_new_free: +devm_kfree (dsp->dev, op_new); + +return ret; +} +EXPORT_SYMBOL_NS_GPL (cs_dsp_wseq_write,FW_CS_DSP ); + +/** +* cs_dsp_wseq_multi_write() - Add or update multiple entries in a write sequence +* @dsp: Pointer to a DSP structure +* @wseq: Write sequence to write to +* @reg_seq: List of address-data pairs +* @num_regs: Number of address-data pairs +* @op_code: The types of operations of the new entries +* @update: If true, searches for the first entry in the write sequence with +* the same address and op_code, and replaces it. If false, creates a new entry +* at the tail +* +* This function calls cs_dsp_wseq_write() for multiple address-data pairs. +* +* Return: Zero for success, a negative number on error. +*/ +int cs_dsp_wseq_multi_write (struct cs_dsp *dsp,struct cs_dsp_wseq *wseq, +const struct reg_sequence *reg_seq,int num_regs, +u8 op_code,bool update) +{ +int i, ret; + +for (i =0 ; i < num_regs; i++) { + ret =cs_dsp_wseq_write (dsp, wseq, reg_seq[i].reg, + reg_seq[i].def, op_code, update); +if (ret) +return ret; + } + +return 0 ; +} +EXPORT_SYMBOL_NS_GPL (cs_dsp_wseq_multi_write,FW_CS_DSP ); +MODULE_DESCRIPTION ("Cirrus Logic DSP Support" );MODULE_AUTHOR ("Simon Trimmer <[email protected]>" );MODULE_LICENSE ("GPL v2" );
include/linux/firmware/cirrus/cs_dsp.h +27 -0
@@ -42,6 +42,16 @@#define CS_DSP_ACKED_CTL_MIN_VALUE 0#define CS_DSP_ACKED_CTL_MAX_VALUE 0xFFFFFF +/* +* Write sequence operation codes +*/ +#define CS_DSP_WSEQ_FULL 0x00 +#define CS_DSP_WSEQ_ADDR8 0x02 +#define CS_DSP_WSEQ_L16 0x04 +#define CS_DSP_WSEQ_H16 0x05 +#define CS_DSP_WSEQ_UNLOCK 0xFD +#define CS_DSP_WSEQ_END 0xFF +/** * struct cs_dsp_region - Describes a logical memory region in DSP address space * @type: Memory region type
@@ -255,6 +265,23 @@ struct cs_dsp_alg_region *cs_dsp_find_alg_region(struct cs_dsp *dsp,const char *cs_dsp_mem_region_name (unsigned int type); +/** +* struct cs_dsp_wseq - Describes a write sequence +* @ctl: Write sequence cs_dsp control +* @ops: Operations contained within +*/ +struct cs_dsp_wseq { +struct cs_dsp_coeff_ctl *ctl; +struct list_head ops; +}; + +int cs_dsp_wseq_init (struct cs_dsp *dsp,struct cs_dsp_wseq *wseqs,unsigned int num_wseqs); +int cs_dsp_wseq_write (struct cs_dsp *dsp,struct cs_dsp_wseq *wseq,u32 addr,u32 data, +u8 op_code,bool update); +int cs_dsp_wseq_multi_write (struct cs_dsp *dsp,struct cs_dsp_wseq *wseq, +const struct reg_sequence *reg_seq,int num_regs, +u8 op_code,bool update); +/** * struct cs_dsp_chunk - Describes a buffer holding data formatted for the DSP * @data: Pointer to underlying buffer memory
Signature · 1 line
2.34.1
Re: [PATCH RESEND v11 1/5] firmware: cs_dsp: Add write sequence interface
Hi James,
Quoted 9 lines · James Ogletree
A write sequence is a sequence of register addresses and values executed by some Cirrus DSPs following certain power state transitions.
Add support for Cirrus drivers to update or add to a write sequence present in firmware.
Reviewed-by Charles Keepax <[email protected]>Signed-off-by James Ogletree <[email protected]>
Thanks again for your great work here. This entire driver is well organized, scalable, and serves as a great template for future FF devices with similar use-cases. Nice job!
Kind regards,
Jeff LaBundy
Quoted 351 lines
---
Note that this patch can be applied before the others.drivers/firmware/cirrus/cs_dsp.c | 278 +++++++++++++++++++++++++ include/linux/firmware/cirrus/cs_dsp.h | 27 +++ 2 files changed, 305 insertions(+)drivers/firmware/cirrus/cs_dsp.c +278
-0@@ -275,6 +275,12 @@#define HALO_MPU_VIO_ERR_SRC_MASK 0x00007fff#define HALO_MPU_VIO_ERR_SRC_SHIFT 0 +/* +* Write Sequence +*/ +#define WSEQ_OP_MAX_WORDS 3 +#define WSEQ_END_OF_SCRIPT 0xFFFFFF +struct cs_dsp_ops {bool (*validate_version)(struct cs_dsp *dsp,unsigned int version); unsigned int (*parse_sizes)(struct cs_dsp *dsp,@@ -3339,6 +3345,278 @@ int cs_dsp_chunk_read(struct cs_dsp_chunk *ch, int nbits) }EXPORT_SYMBOL_NS_GPL (cs_dsp_chunk_read,FW_CS_DSP ); + +struct cs_dsp_wseq_op { +struct list_head list; +u32 address; +u32 data; +u16 offset; +u8 operation; +}; + +static void cs_dsp_wseq_clear (struct cs_dsp *dsp,struct cs_dsp_wseq *wseq) +{ +struct cs_dsp_wseq_op *op, *op_tmp; + +list_for_each_entry_safe (op, op_tmp, &wseq->ops, list) { +list_del (&op->list); +devm_kfree (dsp->dev, op); + } +} + +static int cs_dsp_populate_wseq (struct cs_dsp *dsp,struct cs_dsp_wseq *wseq) +{ +struct cs_dsp_wseq_op *op =NULL ; +struct cs_dsp_chunk chunk; +u8 *words; +int ret; + +if (!wseq->ctl) { +cs_dsp_err (dsp,"No control for write sequence\n" ); +return -EINVAL ; + } + + words =kzalloc (wseq->ctl->len,GFP_KERNEL ); +if (!words) +return -ENOMEM ; + + ret =cs_dsp_coeff_read_ctrl (wseq->ctl,0 , words, wseq->ctl->len); +if (ret) { +cs_dsp_err (dsp,"Failed to read %s: %d\n" , wseq->ctl->subname, ret); + goto err_free; + } + +INIT_LIST_HEAD (&wseq->ops); + + chunk =cs_dsp_chunk (words, wseq->ctl->len); + +while (!cs_dsp_chunk_end (&chunk)) { + op =devm_kzalloc (dsp->dev,sizeof (*op),GFP_KERNEL ); +if (!op) { + ret = -ENOMEM ; + goto err_free; + } + + op->offset =cs_dsp_chunk_bytes (&chunk); + op->operation =cs_dsp_chunk_read (&chunk,8 ); + +switch (op->operation) { +case CS_DSP_WSEQ_END : + op->data =WSEQ_END_OF_SCRIPT ; +break ; +case CS_DSP_WSEQ_UNLOCK : + op->data =cs_dsp_chunk_read (&chunk,16 ); +break ; +case CS_DSP_WSEQ_ADDR8 : + op->address =cs_dsp_chunk_read (&chunk,8 ); + op->data =cs_dsp_chunk_read (&chunk,32 ); +break ; +case CS_DSP_WSEQ_H16 : +case CS_DSP_WSEQ_L16 : + op->address =cs_dsp_chunk_read (&chunk,24 ); + op->data =cs_dsp_chunk_read (&chunk,16 ); +break ; +case CS_DSP_WSEQ_FULL : + op->address =cs_dsp_chunk_read (&chunk,32 ); + op->data =cs_dsp_chunk_read (&chunk,32 ); +break ; +default : + ret = -EINVAL ; +cs_dsp_err (dsp,"Unsupported op: %X\n" , op->operation); +devm_kfree (dsp->dev, op); + goto err_free; + } + +list_add_tail (&op->list, &wseq->ops); + +if (op->operation ==CS_DSP_WSEQ_END ) +break ; + } + +if (op && op->operation !=CS_DSP_WSEQ_END ) { +cs_dsp_err (dsp,"%s missing end terminator\n" , wseq->ctl->subname); + ret = -ENOENT ; + } + +err_free: +kfree (words); + +return ret; +} + +/** +* cs_dsp_wseq_init() - Initialize write sequences contained within the loaded DSP firmware +* @dsp: Pointer to DSP structure +* @wseqs: List of write sequences to initialize +* @num_wseqs: Number of write sequences to initialize +* +* Return: Zero for success, a negative number on error. +*/ +int cs_dsp_wseq_init (struct cs_dsp *dsp,struct cs_dsp_wseq *wseqs,unsigned int num_wseqs) +{ +int i, ret; + +lockdep_assert_held (&dsp->pwr_lock); + +for (i =0 ; i < num_wseqs; i++) { + ret =cs_dsp_populate_wseq (dsp, &wseqs[i]); +if (ret) { +cs_dsp_wseq_clear (dsp, &wseqs[i]); +return ret; + } + } + +return 0 ; +} +EXPORT_SYMBOL_NS_GPL (cs_dsp_wseq_init,FW_CS_DSP ); + +static struct cs_dsp_wseq_op *cs_dsp_wseq_find_op (u32 addr,u8 op_code, +struct list_head *wseq_ops) +{ +struct cs_dsp_wseq_op *op; + +list_for_each_entry (op, wseq_ops, list) { +if (op->operation == op_code && op->address == addr) +return op; + } + +return NULL ; +} + +/** +* cs_dsp_wseq_write() - Add or update an entry in a write sequence +* @dsp: Pointer to a DSP structure +* @wseq: Write sequence to write to +* @addr: Address of the register to be written to +* @data: Data to be written +* @op_code: The type of operation of the new entry +* @update: If true, searches for the first entry in the write sequence with +* the same address and op_code, and replaces it. If false, creates a new entry +* at the tail +* +* This function formats register address and value pairs into the format +* required for write sequence entries, and either updates or adds the +* new entry into the write sequence. +* +* If update is set to true and no matching entry is found, it will add a new entry. +* +* Return: Zero for success, a negative number on error. +*/ +int cs_dsp_wseq_write (struct cs_dsp *dsp,struct cs_dsp_wseq *wseq, +u32 addr,u32 data,u8 op_code,bool update) +{ +struct cs_dsp_wseq_op *op_end, *op_new =NULL ; +u32 words[WSEQ_OP_MAX_WORDS ]; +struct cs_dsp_chunk chunk; +int new_op_size, ret; + +if (update) + op_new =cs_dsp_wseq_find_op (addr, op_code, &wseq->ops); + +/* If entry to update is not found, treat it as a new operation */ +if (!op_new) { + op_end =cs_dsp_wseq_find_op (0 ,CS_DSP_WSEQ_END , &wseq->ops); +if (!op_end) { +cs_dsp_err (dsp,"Missing terminator for %s\n" , wseq->ctl->subname); +return -EINVAL ; + } + + op_new =devm_kzalloc (dsp->dev,sizeof (*op_new),GFP_KERNEL ); +if (!op_new) +return -ENOMEM ; + + op_new->operation = op_code; + op_new->address = addr; + op_new->offset = op_end->offset; + update = false; + } + + op_new->data = data; + + chunk =cs_dsp_chunk (words,sizeof (words)); +cs_dsp_chunk_write (&chunk,8 , op_new->operation); + +switch (op_code) { +case CS_DSP_WSEQ_FULL : +cs_dsp_chunk_write (&chunk,32 , op_new->address); +cs_dsp_chunk_write (&chunk,32 , op_new->data); +break ; +case CS_DSP_WSEQ_L16 : +case CS_DSP_WSEQ_H16 : +cs_dsp_chunk_write (&chunk,24 , op_new->address); +cs_dsp_chunk_write (&chunk,16 , op_new->data); +break ; +default : + ret = -EINVAL ; +cs_dsp_err (dsp,"Operation %X not supported\n" , op_code); + goto op_new_free; + } + + new_op_size =cs_dsp_chunk_bytes (&chunk); + +if (!update) { +if (wseq->ctl->len - op_end->offset < new_op_size) { +cs_dsp_err (dsp,"Not enough memory in %s for entry\n" , wseq->ctl->subname); + ret = -E2BIG ; + goto op_new_free; + } + + op_end->offset += new_op_size; + + ret =cs_dsp_coeff_write_ctrl (wseq->ctl, op_end->offset /sizeof (u32), + &op_end->data,sizeof (u32)); +if (ret) + goto op_new_free; + +list_add_tail (&op_new->list, &op_end->list); + } + + ret =cs_dsp_coeff_write_ctrl (wseq->ctl, op_new->offset /sizeof (u32), + words, new_op_size); +if (ret) + goto op_new_free; + +return 0 ; + +op_new_free: +devm_kfree (dsp->dev, op_new); + +return ret; +} +EXPORT_SYMBOL_NS_GPL (cs_dsp_wseq_write,FW_CS_DSP ); + +/** +* cs_dsp_wseq_multi_write() - Add or update multiple entries in a write sequence +* @dsp: Pointer to a DSP structure +* @wseq: Write sequence to write to +* @reg_seq: List of address-data pairs +* @num_regs: Number of address-data pairs +* @op_code: The types of operations of the new entries +* @update: If true, searches for the first entry in the write sequence with +* the same address and op_code, and replaces it. If false, creates a new entry +* at the tail +* +* This function calls cs_dsp_wseq_write() for multiple address-data pairs. +* +* Return: Zero for success, a negative number on error. +*/ +int cs_dsp_wseq_multi_write (struct cs_dsp *dsp,struct cs_dsp_wseq *wseq, +const struct reg_sequence *reg_seq,int num_regs, +u8 op_code,bool update) +{ +int i, ret; + +for (i =0 ; i < num_regs; i++) { + ret =cs_dsp_wseq_write (dsp, wseq, reg_seq[i].reg, + reg_seq[i].def, op_code, update); +if (ret) +return ret; + } + +return 0 ; +} +EXPORT_SYMBOL_NS_GPL (cs_dsp_wseq_multi_write,FW_CS_DSP ); +MODULE_DESCRIPTION ("Cirrus Logic DSP Support" );MODULE_AUTHOR ("Simon Trimmer <[email protected]>" );MODULE_LICENSE ("GPL v2" );include/linux/firmware/cirrus/cs_dsp.h +27
-0@@ -42,6 +42,16 @@#define CS_DSP_ACKED_CTL_MIN_VALUE 0#define CS_DSP_ACKED_CTL_MAX_VALUE 0xFFFFFF +/* +* Write sequence operation codes +*/ +#define CS_DSP_WSEQ_FULL 0x00 +#define CS_DSP_WSEQ_ADDR8 0x02 +#define CS_DSP_WSEQ_L16 0x04 +#define CS_DSP_WSEQ_H16 0x05 +#define CS_DSP_WSEQ_UNLOCK 0xFD +#define CS_DSP_WSEQ_END 0xFF +/** * struct cs_dsp_region - Describes a logical memory region in DSP address space * @type: Memory region type @@ -255,6 +265,23 @@ struct cs_dsp_alg_region *cs_dsp_find_alg_region(struct cs_dsp *dsp,const char *cs_dsp_mem_region_name (unsigned int type); +/** +* struct cs_dsp_wseq - Describes a write sequence +* @ctl: Write sequence cs_dsp control +* @ops: Operations contained within +*/ +struct cs_dsp_wseq { +struct cs_dsp_coeff_ctl *ctl; +struct list_head ops; +}; + +int cs_dsp_wseq_init (struct cs_dsp *dsp,struct cs_dsp_wseq *wseqs,unsigned int num_wseqs); +int cs_dsp_wseq_write (struct cs_dsp *dsp,struct cs_dsp_wseq *wseq,u32 addr,u32 data, +u8 op_code,bool update); +int cs_dsp_wseq_multi_write (struct cs_dsp *dsp,struct cs_dsp_wseq *wseq, +const struct reg_sequence *reg_seq,int num_regs, +u8 op_code,bool update); +/** * struct cs_dsp_chunk - Describes a buffer holding data formatted for the DSP * @data: Pointer to underlying buffer memory Signature · 1 line
2.34.1
James Ogletree
maintainerPATCH RESEND v11 2/5 dt-bindings: input: cirrus,cs40l50: Add initial DT binding
In reply to James OgletreeCS40L50 is a haptic driver with waveform memory,
integrated DSP, and closed-loop algorithms.
Add a YAML DT binding document for this device.
--- .../bindings/input/cirrus,cs40l50.yaml | 68 +++++++++++++++++++ MAINTAINERS | 8 +++ 2 files changed, 76 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/cirrus,cs40l50.yaml
Documentation/devicetree/bindings/input/cirrus,cs40l50.yaml new file +68 -0
@@ -0,0 +1,68 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/cirrus,cs40l50.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus Logic CS40L50 Advanced Haptic Driver + +maintainers: + - James Ogletree <[email protected]> + +description: + CS40L50 is a haptic driver with waveform memory, + integrated DSP, and closed-loop algorithms. + +properties: + compatible: + enum: + - cirrus,cs40l50 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + reset-gpios: + maxItems: 1 + + vdd-a-supply: + description: Power supply for internal analog circuits. + + vdd-p-supply: + description: Power supply for always-on circuits. + + vdd-io-supply: + description: Power supply for digital input/output. + + vdd-b-supply: + description: Power supply for the boost converter. + +required: + - compatible + - reg + - interrupts + - reset-gpios + - vdd-io-supply + +additionalProperties: false + +examples: + - | + #include <dt-bindings/gpio/gpio.h> + #include <dt-bindings/interrupt-controller/irq.h> + + i2c { + #address-cells = <1>; + #size-cells = <0>; + + haptic-driver@34 { + compatible = "cirrus,cs40l50"; + reg = <0x34>; + interrupt-parent = <&gpio>; + interrupts = <113 IRQ_TYPE_LEVEL_LOW>; + reset-gpios = <&gpio 112 GPIO_ACTIVE_LOW>; + vdd-io-supply = <&vreg>; + }; + };
MAINTAINERS +8 -0
@@ -4933,6 +4933,14 @@ F: sound/pci/hda/cs* F: sound/pci/hda/hda_cs_dsp_ctl.* F: sound/soc/codecs/cs* +CIRRUS LOGIC HAPTIC DRIVERS +M: James Ogletree <[email protected]> +M: Fred Treven <[email protected]> +M: Ben Bright <[email protected]> +L: [email protected] +S: Supported +F: Documentation/devicetree/bindings/input/cirrus,cs40l50.yaml + CIRRUS LOGIC DSP FIRMWARE DRIVER M: Simon Trimmer <[email protected]> M: Charles Keepax <[email protected]>
Signature · 1 line
2.34.1
Re: [PATCH RESEND v11 2/5] dt-bindings: input: cirrus,cs40l50: Add initial DT binding
Hi James,
Quoted 7 lines · James Ogletree
CS40L50 is a haptic driver with waveform memory,
integrated DSP, and closed-loop algorithms.Add a YAML DT binding document for this device.
Reviewed-by Krzysztof Kozlowski <[email protected]>Signed-off-by James Ogletree <[email protected]>
Kind regards,
Jeff LaBundy
James Ogletree
maintainerPATCH RESEND v11 3/5 mfd: cs40l50: Add support for CS40L50 core driver
In reply to James OgletreeIntroduce support for Cirrus Logic Device CS40L50: a haptic driver with waveform memory, integrated DSP, and closed-loop algorithms.
The MFD component registers and initializes the device.
--- MAINTAINERS | 2 + drivers/mfd/Kconfig | 30 ++ drivers/mfd/Makefile | 4 + drivers/mfd/cs40l50-core.c | 570 ++++++++++++++++++++++++++++++++++++ drivers/mfd/cs40l50-i2c.c | 68 +++++ drivers/mfd/cs40l50-spi.c | 68 +++++ include/linux/mfd/cs40l50.h | 137 +++++++++ 7 files changed, 879 insertions(+) create mode 100644 drivers/mfd/cs40l50-core.c create mode 100644 drivers/mfd/cs40l50-i2c.c create mode 100644 drivers/mfd/cs40l50-spi.c create mode 100644 include/linux/mfd/cs40l50.h
MAINTAINERS +2 -0
@@ -4940,6 +4940,8 @@ M: Ben Bright <[email protected]> L: [email protected] S: Supported F: Documentation/devicetree/bindings/input/cirrus,cs40l50.yaml +F: drivers/mfd/cs40l* +F: include/linux/mfd/cs40l* CIRRUS LOGIC DSP FIRMWARE DRIVER M: Simon Trimmer <[email protected]>
drivers/mfd/Kconfig +30 -0
@@ -2241,6 +2241,36 @@ config MCP_UCB1200_TS endmenu +config MFD_CS40L50_CORE + tristate + select MFD_CORE + select FW_CS_DSP + select REGMAP_IRQ + +config MFD_CS40L50_I2C + tristate "Cirrus Logic CS40L50 (I2C)" + select REGMAP_I2C + select MFD_CS40L50_CORE + depends on I2C + help + Select this to support the Cirrus Logic CS40L50 Haptic + Driver over I2C. + + This driver can be built as a module. If built as a module it will be + called "cs40l50-i2c". + +config MFD_CS40L50_SPI + tristate "Cirrus Logic CS40L50 (SPI)" + select REGMAP_SPI + select MFD_CS40L50_CORE + depends on SPI + help + Select this to support the Cirrus Logic CS40L50 Haptic + Driver over SPI. + + This driver can be built as a module. If built as a module it will be + called "cs40l50-spi". + config MFD_VEXPRESS_SYSREG tristate "Versatile Express System Registers" depends on VEXPRESS_CONFIG && GPIOLIB
drivers/mfd/Makefile +4 -0
@@ -88,6 +88,10 @@ obj-$(CONFIG_MFD_MADERA) += madera.o obj-$(CONFIG_MFD_MADERA_I2C) += madera-i2c.o obj-$(CONFIG_MFD_MADERA_SPI) += madera-spi.o +obj-$(CONFIG_MFD_CS40L50_CORE) += cs40l50-core.o +obj-$(CONFIG_MFD_CS40L50_I2C) += cs40l50-i2c.o +obj-$(CONFIG_MFD_CS40L50_SPI) += cs40l50-spi.o + obj-$(CONFIG_TPS6105X) += tps6105x.o obj-$(CONFIG_TPS65010) += tps65010.o obj-$(CONFIG_TPS6507X) += tps6507x.o
drivers/mfd/cs40l50-core.c new file +570 -0
570 lines not on this page · raw message
drivers/mfd/cs40l50-i2c.c new file +68 -0
68 lines not on this page · raw message
drivers/mfd/cs40l50-spi.c new file +68 -0
68 lines not on this page · raw message
include/linux/mfd/cs40l50.h new file +137 -0
137 lines not on this page · raw message
Signature · 1 line
2.34.1
Re: [PATCH RESEND v11 3/5] mfd: cs40l50: Add support for CS40L50 core driver
Hi James,
Quoted 7 lines · James Ogletree
Introduce support for Cirrus Logic Device CS40L50: a haptic driver with waveform memory, integrated DSP, and closed-loop algorithms.
The MFD component registers and initializes the device.
Signed-off-by James Ogletree <[email protected]>
Kind regards,
Jeff LaBundy
James Ogletree
maintainerPATCH RESEND v11 4/5 Input: cs40l50 - Add support for the CS40L50 haptic driver
In reply to James OgletreeIntroduce support for Cirrus Logic Device CS40L50: a haptic driver with waveform memory, integrated DSP, and closed-loop algorithms.
The input driver provides the interface for control of haptic effects through the device.
---
These comments may need attention:
https://lore.kernel.org/linux-input/[email protected]/
Some have been partially addressed already.
MAINTAINERS | 1 + drivers/input/misc/Kconfig | 10 + drivers/input/misc/Makefile | 1 + drivers/input/misc/cs40l50-vibra.c | 555 +++++++++++++++++++++++++++++ 4 files changed, 567 insertions(+) create mode 100644 drivers/input/misc/cs40l50-vibra.c
MAINTAINERS +1 -0
@@ -4940,6 +4940,7 @@ M: Ben Bright <[email protected]> L: [email protected] S: Supported F: Documentation/devicetree/bindings/input/cirrus,cs40l50.yaml +F: drivers/input/misc/cs40l* F: drivers/mfd/cs40l* F: include/linux/mfd/cs40l*
drivers/input/misc/Kconfig +10 -0
@@ -140,6 +140,16 @@ config INPUT_BMA150 To compile this driver as a module, choose M here: the module will be called bma150. +config INPUT_CS40L50_VIBRA + tristate "CS40L50 Haptic Driver support" + depends on MFD_CS40L50_CORE + help + Say Y here to enable support for Cirrus Logic's CS40L50 + haptic driver. + + To compile this driver as a module, choose M here: the + module will be called cs40l50-vibra. + config INPUT_E3X0_BUTTON tristate "NI Ettus Research USRP E3xx Button support." default n
drivers/input/misc/Makefile +1 -0
@@ -28,6 +28,7 @@ obj-$(CONFIG_INPUT_CMA3000) += cma3000_d0x.o obj-$(CONFIG_INPUT_CMA3000_I2C) += cma3000_d0x_i2c.o obj-$(CONFIG_INPUT_COBALT_BTNS) += cobalt_btns.o obj-$(CONFIG_INPUT_CPCAP_PWRBUTTON) += cpcap-pwrbutton.o +obj-$(CONFIG_INPUT_CS40L50_VIBRA) += cs40l50-vibra.o obj-$(CONFIG_INPUT_DA7280_HAPTICS) += da7280.o obj-$(CONFIG_INPUT_DA9052_ONKEY) += da9052_onkey.o obj-$(CONFIG_INPUT_DA9055_ONKEY) += da9055_onkey.o
drivers/input/misc/cs40l50-vibra.c new file +555 -0
555 lines not on this page · raw message
Signature · 1 line
2.34.1
Re: [PATCH RESEND v11 4/5] Input: cs40l50 - Add support for the CS40L50 haptic driver
Hi James,
Quoted 8 lines · James Ogletree
Introduce support for Cirrus Logic Device CS40L50: a haptic driver with waveform memory, integrated DSP, and closed-loop algorithms.
The input driver provides the interface for control of haptic effects through the device.
Signed-off-by James Ogletree <[email protected]>
Kind regards,
Jeff LaBundy
Re: [PATCH RESEND v11 4/5] Input: cs40l50 - Add support for the CS40L50 haptic driver
Quoted 7 lines · Jeff LaBundy
Hi James,
Quoted 4 lines · James Ogletree
Introduce support for Cirrus Logic Device CS40L50: a haptic driver with waveform memory, integrated DSP, and closed-loop algorithms.
Quoted 6 lines
Quoted 4 lines
The input driver provides the interface for control of haptic effects through the device.
Signed-off-by James Ogletree <[email protected]>Reviewed-by Jeff LaBundy <[email protected]>
OK, let's merge it.
IMO it still needs improvements so that the repeated effect can be stopped/erased without waiting for it to finish playing, but that can be improved later.
I assume it is going through MFD tree?
Thanks.
Signature · 1 line
Dmitry
Re: [PATCH RESEND v11 4/5] Input: cs40l50 - Add support for the CS40L50 haptic driver
Quoted 22 lines · Dmitry Torokhov
Quoted 7 lines · Jeff LaBundy
Hi James,
Quoted 4 lines · James Ogletree
Introduce support for Cirrus Logic Device CS40L50: a haptic driver with waveform memory, integrated DSP, and closed-loop algorithms.
Quoted 6 lines
Quoted 4 lines
The input driver provides the interface for control of haptic effects through the device.
Signed-off-by James Ogletree <[email protected]>Reviewed-by Jeff LaBundy <[email protected]>OK, let's merge it.
Acked-by Dmitry Torokhov <[email protected]>
Quoted 10 lines
IMO it still needs improvements so that the repeated effect can be stopped/erased without waiting for it to finish playing, but that can be improved later.
I assume it is going through MFD tree?
Thanks.
Signature · 1 line
Dmitry
Correct, it is going through the MFD tree.
Best,
James
James Ogletree
maintainerPATCH RESEND v11 5/5 ASoC: cs40l50: Support I2S streaming to CS40L50
In reply to James OgletreeIntroduce support for Cirrus Logic Device CS40L50: a haptic driver with waveform memory, integrated DSP, and closed-loop algorithms.
The ASoC driver enables I2S streaming to the device.
--- MAINTAINERS | 1 + sound/soc/codecs/Kconfig | 11 ++ sound/soc/codecs/Makefile | 2 + sound/soc/codecs/cs40l50-codec.c | 307 +++++++++++++++++++++++++++++++ 4 files changed, 321 insertions(+) create mode 100644 sound/soc/codecs/cs40l50-codec.c
MAINTAINERS +1 -0
@@ -4943,6 +4943,7 @@ F: Documentation/devicetree/bindings/input/cirrus,cs40l50.yaml F: drivers/input/misc/cs40l* F: drivers/mfd/cs40l* F: include/linux/mfd/cs40l* +F: sound/soc/codecs/cs40l* CIRRUS LOGIC DSP FIRMWARE DRIVER M: Simon Trimmer <[email protected]>
sound/soc/codecs/Kconfig +11 -0
@@ -73,6 +73,7 @@ config SND_SOC_ALL_CODECS imply SND_SOC_CS35L56_I2C imply SND_SOC_CS35L56_SPI imply SND_SOC_CS35L56_SDW + imply SND_SOC_CS40L50 imply SND_SOC_CS42L42 imply SND_SOC_CS42L42_SDW imply SND_SOC_CS42L43
@@ -800,6 +801,16 @@ config SND_SOC_CS35L56_SDW help Enable support for Cirrus Logic CS35L56 boosted amplifier with SoundWire control +config SND_SOC_CS40L50 + tristate "Cirrus Logic CS40L50 CODEC" + depends on MFD_CS40L50_CORE + help + This option enables support for I2S streaming to Cirrus Logic CS40L50. + + CS40L50 is a haptic driver with waveform memory, an integrated + DSP, and closed-loop algorithms. If built as a module, it will be + called snd-soc-cs40l50. + config SND_SOC_CS42L42_CORE tristate
sound/soc/codecs/Makefile +2 -0
@@ -78,6 +78,7 @@ snd-soc-cs35l56-shared-y := cs35l56-shared.o snd-soc-cs35l56-i2c-y := cs35l56-i2c.o snd-soc-cs35l56-spi-y := cs35l56-spi.o snd-soc-cs35l56-sdw-y := cs35l56-sdw.o +snd-soc-cs40l50-objs := cs40l50-codec.o snd-soc-cs42l42-y := cs42l42.o snd-soc-cs42l42-i2c-y := cs42l42-i2c.o snd-soc-cs42l42-sdw-y := cs42l42-sdw.o
@@ -475,6 +476,7 @@ obj-$(CONFIG_SND_SOC_CS35L56_SHARED) += snd-soc-cs35l56-shared.o obj-$(CONFIG_SND_SOC_CS35L56_I2C) += snd-soc-cs35l56-i2c.o obj-$(CONFIG_SND_SOC_CS35L56_SPI) += snd-soc-cs35l56-spi.o obj-$(CONFIG_SND_SOC_CS35L56_SDW) += snd-soc-cs35l56-sdw.o +obj-$(CONFIG_SND_SOC_CS40L50) += snd-soc-cs40l50.o obj-$(CONFIG_SND_SOC_CS42L42_CORE) += snd-soc-cs42l42.o obj-$(CONFIG_SND_SOC_CS42L42) += snd-soc-cs42l42-i2c.o obj-$(CONFIG_SND_SOC_CS42L42_SDW) += snd-soc-cs42l42-sdw.o
sound/soc/codecs/cs40l50-codec.c new file +307 -0
307 lines not on this page · raw message
Signature · 1 line
2.34.1
Re: [PATCH RESEND v11 5/5] ASoC: cs40l50: Support I2S streaming to CS40L50
Hi James,
Quoted 8 lines · James Ogletree
Introduce support for Cirrus Logic Device CS40L50: a haptic driver with waveform memory, integrated DSP, and closed-loop algorithms.
The ASoC driver enables I2S streaming to the device.
Reviewed-by David Rhodes <[email protected]>Signed-off-by James Ogletree <[email protected]>
Kind regards,
Jeff LaBundy
Re: [PATCH RESEND v11 5/5] ASoC: cs40l50: Support I2S streaming to CS40L50
In reply to James OgletreeJames,
Quoted 8 lines · James Ogletree
Introduce support for Cirrus Logic Device CS40L50: a haptic driver with waveform memory, integrated DSP, and closed-loop algorithms.
The ASoC driver enables I2S streaming to the device.
Reviewed-by David Rhodes <[email protected]>Signed-off-by James Ogletree <[email protected]>
Thanks for your contribution,
Ricardo
Lee Jones
maintainerQuoted 79 lines · James Ogletree
Changes in v11:
- Constified function parameters in ASOC driver
- Removed an unneeded #include
- Changed number of max FF effects = 1
- Minor refactoring in Input driver
- Reworded comment in MFD driverChanges in v10:
- Minor refactoring and logical improvements all around
- Renamed and added suppliesChanges in v9:
- Fixed empty struct by utilizing cs_dsp'spost_runcallback
- Style fixes in MFD driverChanges in v8:
-set_sysclk()->set_bclk_ratio()
- Added ID table to codec driver
- Style improvements
- Fixed ordering of new write sequence operationsChanges in v7:
- Fixed sparse warning
- Moved write sequences to private data structure
- Logical and style improvements in write sequence interfaceChanges in v6:
- Updated write sequencer interface to be control-name based
- Fixed a race condition and non-handling of repeats in playback callback
- Stylistic and logical improvements all aroundChanges in v5:
- Added a codec sub-device to support I2S streaming
- Moved write sequencer code fromcirrus_hapticstocs_dsp
- Revertedcirrus_hapticslibrary; future Cirrus input drivers will export and utilizecs40l50_vibrafunctions
- Added more comments
- Many small stylistic and logical improvementsChanges in v4:
- Moved from Input to MFD
- Moved common Cirrus haptic functions to a library
- Incorporated runtime PM framework
- Many style improvementsChanges in v3:
- YAML formatting corrections
- Fixed typo inMAINTAINERS
- Used generic node name "haptic-driver"
- Fixed probe error code paths
- Switched to "sizeof(*)"
- Removed tree reference inMAINTAINERSChanges in v2:
- Fixed checkpatch warningsJames Ogletree (5):
firmware:cs_dsp: Add write sequence interface
dt-bindings: input: cirrus,cs40l50: Add initial DT binding
mfd: cs40l50: Add support for CS40L50 core driver
Input: cs40l50 - Add support for the CS40L50 haptic driver
ASoC: cs40l50: Support I2S streaming to CS40L50.../bindings/input/cirrus,cs40l50.yaml | 68 +++ MAINTAINERS | 12 + drivers/firmware/cirrus/cs_dsp.c | 278 +++++++++ drivers/input/misc/Kconfig | 10 + drivers/input/misc/Makefile | 1 + drivers/input/misc/cs40l50-vibra.c | 555 +++++++++++++++++ drivers/mfd/Kconfig | 30 + drivers/mfd/Makefile | 4 + drivers/mfd/cs40l50-core.c | 570 ++++++++++++++++++ drivers/mfd/cs40l50-i2c.c | 68 +++ drivers/mfd/cs40l50-spi.c | 68 +++ include/linux/firmware/cirrus/cs_dsp.h | 27 + include/linux/mfd/cs40l50.h | 137 +++++ sound/soc/codecs/Kconfig | 11 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/cs40l50-codec.c | 307 ++++++++++
Quoted 8 lines
16 files changed, 2148 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/cirrus,cs40l50.yaml create mode 100644 drivers/input/misc/cs40l50-vibra.c create mode 100644 drivers/mfd/cs40l50-core.c create mode 100644 drivers/mfd/cs40l50-i2c.c create mode 100644 drivers/mfd/cs40l50-spi.c create mode 100644 include/linux/mfd/cs40l50.h create mode 100644 sound/soc/codecs/cs40l50-codec.c
Still needs Acks - ping me when you have them.
Signature · 1 line
Lee Jones [李琼斯]
Quoted 93 lines · Lee Jones
Quoted 80 lines · James Ogletree
Changes in v11:
- Constified function parameters in ASOC driver
- Removed an unneeded #include
- Changed number of max FF effects = 1
- Minor refactoring in Input driver
- Reworded comment in MFD driverChanges in v10:
- Minor refactoring and logical improvements all around
- Renamed and added suppliesChanges in v9:
- Fixed empty struct by utilizing cs_dsp'spost_runcallback
- Style fixes in MFD driverChanges in v8:
-set_sysclk()->set_bclk_ratio()
- Added ID table to codec driver
- Style improvements
- Fixed ordering of new write sequence operationsChanges in v7:
- Fixed sparse warning
- Moved write sequences to private data structure
- Logical and style improvements in write sequence interfaceChanges in v6:
- Updated write sequencer interface to be control-name based
- Fixed a race condition and non-handling of repeats in playback callback
- Stylistic and logical improvements all aroundChanges in v5:
- Added a codec sub-device to support I2S streaming
- Moved write sequencer code fromcirrus_hapticstocs_dsp
- Revertedcirrus_hapticslibrary; future Cirrus input drivers will export and utilizecs40l50_vibrafunctions
- Added more comments
- Many small stylistic and logical improvementsChanges in v4:
- Moved from Input to MFD
- Moved common Cirrus haptic functions to a library
- Incorporated runtime PM framework
- Many style improvementsChanges in v3:
- YAML formatting corrections
- Fixed typo inMAINTAINERS
- Used generic node name "haptic-driver"
- Fixed probe error code paths
- Switched to "sizeof(*)"
- Removed tree reference inMAINTAINERSChanges in v2:
- Fixed checkpatch warningsJames Ogletree (5):
firmware:cs_dsp: Add write sequence interface
dt-bindings: input: cirrus,cs40l50: Add initial DT binding
mfd: cs40l50: Add support for CS40L50 core driver
Input: cs40l50 - Add support for the CS40L50 haptic driver
ASoC: cs40l50: Support I2S streaming to CS40L50.../bindings/input/cirrus,cs40l50.yaml | 68 +++ MAINTAINERS | 12 + drivers/firmware/cirrus/cs_dsp.c | 278 +++++++++ drivers/input/misc/Kconfig | 10 + drivers/input/misc/Makefile | 1 + drivers/input/misc/cs40l50-vibra.c | 555 +++++++++++++++++ drivers/mfd/Kconfig | 30 + drivers/mfd/Makefile | 4 + drivers/mfd/cs40l50-core.c | 570 ++++++++++++++++++ drivers/mfd/cs40l50-i2c.c | 68 +++ drivers/mfd/cs40l50-spi.c | 68 +++ include/linux/firmware/cirrus/cs_dsp.h | 27 + include/linux/mfd/cs40l50.h | 137 +++++ sound/soc/codecs/Kconfig | 11 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/cs40l50-codec.c | 307 ++++++++++ 16 files changed, 2148 insertions(+)Quoted 7 lines
create mode 100644
Documentation/devicetree/bindings/input/cirrus,cs40l50.yamlcreate mode 100644drivers/input/misc/cs40l50-vibra.c
create mode 100644drivers/mfd/cs40l50-core.c
create mode 100644drivers/mfd/cs40l50-i2c.c
create mode 100644drivers/mfd/cs40l50-spi.c
create mode 100644include/linux/mfd/cs40l50.h
create mode 100644sound/soc/codecs/cs40l50-codec.c
Quoted 4 lines
Still needs Acks - ping me when you have them.
Signature · 1 line
Lee Jones [李琼斯]
Hi Lee,
You can take this series now.
Best,
James
Lee Jones
maintainerQuoted 93 lines · James Ogletree
Quoted 93 lines · Lee Jones
Quoted 87 lines · James Ogletree
Changes in v11:
- Constified function parameters in ASOC driver
- Removed an unneeded #include
- Changed number of max FF effects = 1
- Minor refactoring in Input driver
- Reworded comment in MFD driverChanges in v10:
- Minor refactoring and logical improvements all around
- Renamed and added suppliesChanges in v9:
- Fixed empty struct by utilizing cs_dsp'spost_runcallback
- Style fixes in MFD driverChanges in v8:
-set_sysclk()->set_bclk_ratio()
- Added ID table to codec driver
- Style improvements
- Fixed ordering of new write sequence operationsChanges in v7:
- Fixed sparse warning
- Moved write sequences to private data structure
- Logical and style improvements in write sequence interfaceChanges in v6:
- Updated write sequencer interface to be control-name based
- Fixed a race condition and non-handling of repeats in playback callback
- Stylistic and logical improvements all aroundChanges in v5:
- Added a codec sub-device to support I2S streaming
- Moved write sequencer code fromcirrus_hapticstocs_dsp
- Revertedcirrus_hapticslibrary; future Cirrus input drivers will export and utilizecs40l50_vibrafunctions
- Added more comments
- Many small stylistic and logical improvementsChanges in v4:
- Moved from Input to MFD
- Moved common Cirrus haptic functions to a library
- Incorporated runtime PM framework
- Many style improvementsChanges in v3:
- YAML formatting corrections
- Fixed typo inMAINTAINERS
- Used generic node name "haptic-driver"
- Fixed probe error code paths
- Switched to "sizeof(*)"
- Removed tree reference inMAINTAINERSChanges in v2:
- Fixed checkpatch warningsJames Ogletree (5):
firmware:cs_dsp: Add write sequence interface
dt-bindings: input: cirrus,cs40l50: Add initial DT binding
mfd: cs40l50: Add support for CS40L50 core driver
Input: cs40l50 - Add support for the CS40L50 haptic driver
ASoC: cs40l50: Support I2S streaming to CS40L50.../bindings/input/cirrus,cs40l50.yaml | 68 +++ MAINTAINERS | 12 + drivers/firmware/cirrus/cs_dsp.c | 278 +++++++++ drivers/input/misc/Kconfig | 10 + drivers/input/misc/Makefile | 1 + drivers/input/misc/cs40l50-vibra.c | 555 +++++++++++++++++ drivers/mfd/Kconfig | 30 + drivers/mfd/Makefile | 4 + drivers/mfd/cs40l50-core.c | 570 ++++++++++++++++++ drivers/mfd/cs40l50-i2c.c | 68 +++ drivers/mfd/cs40l50-spi.c | 68 +++ include/linux/firmware/cirrus/cs_dsp.h | 27 + include/linux/mfd/cs40l50.h | 137 +++++ sound/soc/codecs/Kconfig | 11 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/cs40l50-codec.c | 307 ++++++++++ 16 files changed, 2148 insertions(+)create mode 100644
Documentation/devicetree/bindings/input/cirrus,cs40l50.yamlcreate mode 100644drivers/input/misc/cs40l50-vibra.c
create mode 100644drivers/mfd/cs40l50-core.c
create mode 100644drivers/mfd/cs40l50-i2c.c
create mode 100644drivers/mfd/cs40l50-spi.c
create mode 100644include/linux/mfd/cs40l50.h
create mode 100644sound/soc/codecs/cs40l50-codec.c
Quoted 8 lines
Quoted 4 lines
Still needs Acks - ping me when you have them.
Signature · 1 line
Lee Jones [李琼斯]Hi Lee,
You can take this series now.
sound/soc?
Signature · 1 line
Lee Jones [李琼斯]
Quoted 100 lines · Lee Jones
Quoted 95 lines · James Ogletree
Quoted 95 lines · Lee Jones
Quoted 80 lines · James Ogletree
Changes in v11:
- Constified function parameters in ASOC driver
- Removed an unneeded #include
- Changed number of max FF effects = 1
- Minor refactoring in Input driver
- Reworded comment in MFD driverChanges in v10:
- Minor refactoring and logical improvements all around
- Renamed and added suppliesChanges in v9:
- Fixed empty struct by utilizing cs_dsp'spost_runcallback
- Style fixes in MFD driverChanges in v8:
-set_sysclk()->set_bclk_ratio()
- Added ID table to codec driver
- Style improvements
- Fixed ordering of new write sequence operationsChanges in v7:
- Fixed sparse warning
- Moved write sequences to private data structure
- Logical and style improvements in write sequence interfaceChanges in v6:
- Updated write sequencer interface to be control-name based
- Fixed a race condition and non-handling of repeats in playback callback
- Stylistic and logical improvements all aroundChanges in v5:
- Added a codec sub-device to support I2S streaming
- Moved write sequencer code fromcirrus_hapticstocs_dsp
- Revertedcirrus_hapticslibrary; future Cirrus input drivers will export and utilizecs40l50_vibrafunctions
- Added more comments
- Many small stylistic and logical improvementsChanges in v4:
- Moved from Input to MFD
- Moved common Cirrus haptic functions to a library
- Incorporated runtime PM framework
- Many style improvementsChanges in v3:
- YAML formatting corrections
- Fixed typo inMAINTAINERS
- Used generic node name "haptic-driver"
- Fixed probe error code paths
- Switched to "sizeof(*)"
- Removed tree reference inMAINTAINERSChanges in v2:
- Fixed checkpatch warningsJames Ogletree (5):
firmware:cs_dsp: Add write sequence interface
dt-bindings: input: cirrus,cs40l50: Add initial DT binding
mfd: cs40l50: Add support for CS40L50 core driver
Input: cs40l50 - Add support for the CS40L50 haptic driver
ASoC: cs40l50: Support I2S streaming to CS40L50.../bindings/input/cirrus,cs40l50.yaml | 68 +++ MAINTAINERS | 12 + drivers/firmware/cirrus/cs_dsp.c | 278 +++++++++ drivers/input/misc/Kconfig | 10 + drivers/input/misc/Makefile | 1 + drivers/input/misc/cs40l50-vibra.c | 555 +++++++++++++++++ drivers/mfd/Kconfig | 30 + drivers/mfd/Makefile | 4 + drivers/mfd/cs40l50-core.c | 570 ++++++++++++++++++ drivers/mfd/cs40l50-i2c.c | 68 +++ drivers/mfd/cs40l50-spi.c | 68 +++ include/linux/firmware/cirrus/cs_dsp.h | 27 + include/linux/mfd/cs40l50.h | 137 +++++ sound/soc/codecs/Kconfig | 11 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/cs40l50-codec.c | 307 ++++++++++ 16 files changed, 2148 insertions(+)Quoted 7 lines
create mode 100644
Documentation/devicetree/bindings/input/cirrus,cs40l50.yamlcreate mode 100644drivers/input/misc/cs40l50-vibra.c
create mode 100644drivers/mfd/cs40l50-core.c
create mode 100644drivers/mfd/cs40l50-i2c.c
create mode 100644drivers/mfd/cs40l50-spi.c
create mode 100644include/linux/mfd/cs40l50.h
create mode 100644sound/soc/codecs/cs40l50-codec.cStill needs Acks - ping me when you have them.
Quoted 11 lines
Quoted 6 lines
Quoted 2 lines
Signature · 1 line
Lee Jones [李琼斯]Hi Lee,
You can take this series now.
sound/soc?Signature · 1 line
Lee Jones [李琼斯]
Mark has Acked the original v11 series here:
https://lore.kernel.org/all/[email protected]/
Best,
James
Lee Jones
maintainerQuoted 107 lines · James Ogletree
Quoted 107 lines · Lee Jones
Quoted 101 lines · James Ogletree
Quoted 93 lines · Lee Jones
Quoted 80 lines · James Ogletree
Changes in v11:
- Constified function parameters in ASOC driver
- Removed an unneeded #include
- Changed number of max FF effects = 1
- Minor refactoring in Input driver
- Reworded comment in MFD driverChanges in v10:
- Minor refactoring and logical improvements all around
- Renamed and added suppliesChanges in v9:
- Fixed empty struct by utilizing cs_dsp'spost_runcallback
- Style fixes in MFD driverChanges in v8:
-set_sysclk()->set_bclk_ratio()
- Added ID table to codec driver
- Style improvements
- Fixed ordering of new write sequence operationsChanges in v7:
- Fixed sparse warning
- Moved write sequences to private data structure
- Logical and style improvements in write sequence interfaceChanges in v6:
- Updated write sequencer interface to be control-name based
- Fixed a race condition and non-handling of repeats in playback callback
- Stylistic and logical improvements all aroundChanges in v5:
- Added a codec sub-device to support I2S streaming
- Moved write sequencer code fromcirrus_hapticstocs_dsp
- Revertedcirrus_hapticslibrary; future Cirrus input drivers will export and utilizecs40l50_vibrafunctions
- Added more comments
- Many small stylistic and logical improvementsChanges in v4:
- Moved from Input to MFD
- Moved common Cirrus haptic functions to a library
- Incorporated runtime PM framework
- Many style improvementsChanges in v3:
- YAML formatting corrections
- Fixed typo inMAINTAINERS
- Used generic node name "haptic-driver"
- Fixed probe error code paths
- Switched to "sizeof(*)"
- Removed tree reference inMAINTAINERSChanges in v2:
- Fixed checkpatch warningsJames Ogletree (5):
firmware:cs_dsp: Add write sequence interface
dt-bindings: input: cirrus,cs40l50: Add initial DT binding
mfd: cs40l50: Add support for CS40L50 core driver
Input: cs40l50 - Add support for the CS40L50 haptic driver
ASoC: cs40l50: Support I2S streaming to CS40L50.../bindings/input/cirrus,cs40l50.yaml | 68 +++ MAINTAINERS | 12 + drivers/firmware/cirrus/cs_dsp.c | 278 +++++++++ drivers/input/misc/Kconfig | 10 + drivers/input/misc/Makefile | 1 + drivers/input/misc/cs40l50-vibra.c | 555 +++++++++++++++++ drivers/mfd/Kconfig | 30 + drivers/mfd/Makefile | 4 + drivers/mfd/cs40l50-core.c | 570 ++++++++++++++++++ drivers/mfd/cs40l50-i2c.c | 68 +++ drivers/mfd/cs40l50-spi.c | 68 +++ include/linux/firmware/cirrus/cs_dsp.h | 27 + include/linux/mfd/cs40l50.h | 137 +++++ sound/soc/codecs/Kconfig | 11 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/cs40l50-codec.c | 307 ++++++++++ 16 files changed, 2148 insertions(+)Quoted 7 lines
create mode 100644
Documentation/devicetree/bindings/input/cirrus,cs40l50.yamlcreate mode 100644drivers/input/misc/cs40l50-vibra.c
create mode 100644drivers/mfd/cs40l50-core.c
create mode 100644drivers/mfd/cs40l50-i2c.c
create mode 100644drivers/mfd/cs40l50-spi.c
create mode 100644include/linux/mfd/cs40l50.h
create mode 100644sound/soc/codecs/cs40l50-codec.cQuoted 4 lines
Still needs Acks - ping me when you have them.
Signature · 1 line
Lee Jones [李琼斯]Hi Lee,
You can take this series now.
Quoted 7 lines
Quoted 4 lines
sound/soc?Signature · 1 line
Lee Jones [李琼斯]Mark has Acked the original v11 series here:
https://lore.kernel.org/all/[email protected]/
Ah, you just forgot to add it to the RESEND?
Okay, leave it with me then.
Signature · 1 line
Lee Jones [李琼斯]
Quoted 117 lines · Lee Jones
Quoted 112 lines · James Ogletree
Quoted 111 lines · Lee Jones
Quoted 93 lines · James Ogletree
Quoted 93 lines · Lee Jones
Quoted 87 lines · James Ogletree
Changes in v11:
- Constified function parameters in ASOC driver
- Removed an unneeded #include
- Changed number of max FF effects = 1
- Minor refactoring in Input driver
- Reworded comment in MFD driverChanges in v10:
- Minor refactoring and logical improvements all around
- Renamed and added suppliesChanges in v9:
- Fixed empty struct by utilizing cs_dsp'spost_runcallback
- Style fixes in MFD driverChanges in v8:
-set_sysclk()->set_bclk_ratio()
- Added ID table to codec driver
- Style improvements
- Fixed ordering of new write sequence operationsChanges in v7:
- Fixed sparse warning
- Moved write sequences to private data structure
- Logical and style improvements in write sequence interfaceChanges in v6:
- Updated write sequencer interface to be control-name based
- Fixed a race condition and non-handling of repeats in playback callback
- Stylistic and logical improvements all aroundChanges in v5:
- Added a codec sub-device to support I2S streaming
- Moved write sequencer code fromcirrus_hapticstocs_dsp
- Revertedcirrus_hapticslibrary; future Cirrus input drivers will export and utilizecs40l50_vibrafunctions
- Added more comments
- Many small stylistic and logical improvementsChanges in v4:
- Moved from Input to MFD
- Moved common Cirrus haptic functions to a library
- Incorporated runtime PM framework
- Many style improvementsChanges in v3:
- YAML formatting corrections
- Fixed typo inMAINTAINERS
- Used generic node name "haptic-driver"
- Fixed probe error code paths
- Switched to "sizeof(*)"
- Removed tree reference inMAINTAINERSChanges in v2:
- Fixed checkpatch warningsJames Ogletree (5):
firmware:cs_dsp: Add write sequence interface
dt-bindings: input: cirrus,cs40l50: Add initial DT binding
mfd: cs40l50: Add support for CS40L50 core driver
Input: cs40l50 - Add support for the CS40L50 haptic driver
ASoC: cs40l50: Support I2S streaming to CS40L50.../bindings/input/cirrus,cs40l50.yaml | 68 +++ MAINTAINERS | 12 + drivers/firmware/cirrus/cs_dsp.c | 278 +++++++++ drivers/input/misc/Kconfig | 10 + drivers/input/misc/Makefile | 1 + drivers/input/misc/cs40l50-vibra.c | 555 +++++++++++++++++ drivers/mfd/Kconfig | 30 + drivers/mfd/Makefile | 4 + drivers/mfd/cs40l50-core.c | 570 ++++++++++++++++++ drivers/mfd/cs40l50-i2c.c | 68 +++ drivers/mfd/cs40l50-spi.c | 68 +++ include/linux/firmware/cirrus/cs_dsp.h | 27 + include/linux/mfd/cs40l50.h | 137 +++++ sound/soc/codecs/Kconfig | 11 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/cs40l50-codec.c | 307 ++++++++++ 16 files changed, 2148 insertions(+)create mode 100644
Documentation/devicetree/bindings/input/cirrus,cs40l50.yamlcreate mode 100644drivers/input/misc/cs40l50-vibra.c
create mode 100644drivers/mfd/cs40l50-core.c
create mode 100644drivers/mfd/cs40l50-i2c.c
create mode 100644drivers/mfd/cs40l50-spi.c
create mode 100644include/linux/mfd/cs40l50.h
create mode 100644sound/soc/codecs/cs40l50-codec.cQuoted 8 lines
Quoted 4 lines
Still needs Acks - ping me when you have them.
Signature · 1 line
Lee Jones [李琼斯]Hi Lee,
You can take this series now.
sound/soc?Signature · 1 line
Lee Jones [李琼斯]
Quoted 9 lines
Quoted 2 lines
Mark has Acked the original v11 series here:
https://urldefense.com/v3/__https://lore.kernel.org/all/[email protected]/__;!!DQ3KfwI!0a407iFiKYCsNXJTLf65046j5eBK-mijVgGMYsX8Rg8dCaxttzQAKBI976mPk_AxuVs7n1zqpQmpy7o$Ah, you just forgot to add it to the RESEND?
Okay, leave it with me then.
Signature · 1 line
Lee Jones [李琼斯]
Actually it was Acked on the original v11 series after the RESEND had been sent out. If you like, I can resend with all the collected tags.
Best,
James
Lee Jones
maintainerQuoted 122 lines · James Ogletree
Quoted 122 lines · Lee Jones
Quoted 107 lines · James Ogletree
Quoted 107 lines · Lee Jones
Quoted 101 lines · James Ogletree
Quoted 93 lines · Lee Jones
Quoted 80 lines · James Ogletree
Changes in v11:
- Constified function parameters in ASOC driver
- Removed an unneeded #include
- Changed number of max FF effects = 1
- Minor refactoring in Input driver
- Reworded comment in MFD driverChanges in v10:
- Minor refactoring and logical improvements all around
- Renamed and added suppliesChanges in v9:
- Fixed empty struct by utilizing cs_dsp'spost_runcallback
- Style fixes in MFD driverChanges in v8:
-set_sysclk()->set_bclk_ratio()
- Added ID table to codec driver
- Style improvements
- Fixed ordering of new write sequence operationsChanges in v7:
- Fixed sparse warning
- Moved write sequences to private data structure
- Logical and style improvements in write sequence interfaceChanges in v6:
- Updated write sequencer interface to be control-name based
- Fixed a race condition and non-handling of repeats in playback callback
- Stylistic and logical improvements all aroundChanges in v5:
- Added a codec sub-device to support I2S streaming
- Moved write sequencer code fromcirrus_hapticstocs_dsp
- Revertedcirrus_hapticslibrary; future Cirrus input drivers will export and utilizecs40l50_vibrafunctions
- Added more comments
- Many small stylistic and logical improvementsChanges in v4:
- Moved from Input to MFD
- Moved common Cirrus haptic functions to a library
- Incorporated runtime PM framework
- Many style improvementsChanges in v3:
- YAML formatting corrections
- Fixed typo inMAINTAINERS
- Used generic node name "haptic-driver"
- Fixed probe error code paths
- Switched to "sizeof(*)"
- Removed tree reference inMAINTAINERSChanges in v2:
- Fixed checkpatch warningsJames Ogletree (5):
firmware:cs_dsp: Add write sequence interface
dt-bindings: input: cirrus,cs40l50: Add initial DT binding
mfd: cs40l50: Add support for CS40L50 core driver
Input: cs40l50 - Add support for the CS40L50 haptic driver
ASoC: cs40l50: Support I2S streaming to CS40L50.../bindings/input/cirrus,cs40l50.yaml | 68 +++ MAINTAINERS | 12 + drivers/firmware/cirrus/cs_dsp.c | 278 +++++++++ drivers/input/misc/Kconfig | 10 + drivers/input/misc/Makefile | 1 + drivers/input/misc/cs40l50-vibra.c | 555 +++++++++++++++++ drivers/mfd/Kconfig | 30 + drivers/mfd/Makefile | 4 + drivers/mfd/cs40l50-core.c | 570 ++++++++++++++++++ drivers/mfd/cs40l50-i2c.c | 68 +++ drivers/mfd/cs40l50-spi.c | 68 +++ include/linux/firmware/cirrus/cs_dsp.h | 27 + include/linux/mfd/cs40l50.h | 137 +++++ sound/soc/codecs/Kconfig | 11 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/cs40l50-codec.c | 307 ++++++++++ 16 files changed, 2148 insertions(+)Quoted 7 lines
create mode 100644
Documentation/devicetree/bindings/input/cirrus,cs40l50.yamlcreate mode 100644drivers/input/misc/cs40l50-vibra.c
create mode 100644drivers/mfd/cs40l50-core.c
create mode 100644drivers/mfd/cs40l50-i2c.c
create mode 100644drivers/mfd/cs40l50-spi.c
create mode 100644include/linux/mfd/cs40l50.h
create mode 100644sound/soc/codecs/cs40l50-codec.cQuoted 4 lines
Still needs Acks - ping me when you have them.
Signature · 1 line
Lee Jones [李琼斯]Hi Lee,
You can take this series now.
Quoted 7 lines
Quoted 4 lines
sound/soc?Signature · 1 line
Lee Jones [李琼斯]Mark has Acked the original v11 series here:
https://urldefense.com/v3/__https://lore.kernel.org/all/[email protected]/__;!!DQ3KfwI!0a407iFiKYCsNXJTLf65046j5eBK-mijVgGMYsX8Rg8dCaxttzQAKBI976mPk_AxuVs7n1zqpQmpy7o$Ah, you just forgot to add it to the RESEND?
Quoted 7 lines
Quoted 4 lines
Okay, leave it with me then.
Signature · 1 line
Lee Jones [李琼斯]Actually it was Acked on the original v11 series after the RESEND had been sent out. If you like, I can resend with all the collected tags.
I see. Thanks for the explanation.
No need to resend again, I'll add it manually.
Signature · 1 line
Lee Jones [李琼斯]
Quoted 8 lines · James Ogletree
Changes in v11:
- Constified function parameters in ASOC driver
- Removed an unneeded #include
- Changed number of max FF effects = 1
- Minor refactoring in Input driver
- Reworded comment in MFD driver[...]
Applied, thanks!
[1/5] firmware: cs_dsp: Add write sequence interface
commit: 205fdba5d0ffe1ad8de61763d74323e88b640d41
[2/5] dt-bindings: input: cirrus,cs40l50: Add initial DT binding
commit: 2fab5abad124fe7e1b99ccba3305aa4c5a24496b
[3/5] mfd: cs40l50: Add support for CS40L50 core driver
commit: cb626376cbd00cd69329371519a8e9568baef715
[4/5] Input: cs40l50 - Add support for the CS40L50 haptic driver
commit: c38fe1bb5d21c2ce0857965ee06174ee587d6b42
[5/5] ASoC: cs40l50: Support I2S streaming to CS40L50
commit: c486def5b3ba6c55294cee9abc7396d9dc18f223--
Lee Jones [李琼斯]
Lee Jones
maintainerQuoted 13 lines · Lee Jones
Quoted 8 lines · James Ogletree
Changes in v11:
- Constified function parameters in ASOC driver
- Removed an unneeded #include
- Changed number of max FF effects = 1
- Minor refactoring in Input driver
- Reworded comment in MFD driver[...]
Applied, thanks!
[1/5] firmware:
cs_dsp: Add write sequence interface
Quoted 9 lines
commit: 205fdba5d0ffe1ad8de61763d74323e88b640d41
[2/5] dt-bindings: input: cirrus,cs40l50: Add initial DT binding
commit: 2fab5abad124fe7e1b99ccba3305aa4c5a24496b
[3/5] mfd: cs40l50: Add support for CS40L50 core driver
commit: cb626376cbd00cd69329371519a8e9568baef715
[4/5] Input: cs40l50 - Add support for the CS40L50 haptic driver
commit: c38fe1bb5d21c2ce0857965ee06174ee587d6b42
[5/5] ASoC: cs40l50: Support I2S streaming to CS40L50
commit: c486def5b3ba6c55294cee9abc7396d9dc18f223Submitted for build testing.
If all is good, I'll submit a PR for the other maintainers soon.
Signature · 1 line
Lee Jones [李琼斯]
Lee Jones
maintainerQuoted 25 lines · Lee Jones
Quoted 13 lines · Lee Jones
Quoted 8 lines · James Ogletree
Changes in v11:
- Constified function parameters in ASOC driver
- Removed an unneeded #include
- Changed number of max FF effects = 1
- Minor refactoring in Input driver
- Reworded comment in MFD driver[...]
Applied, thanks!
[1/5] firmware:
cs_dsp: Add write sequence interfaceQuoted 9 lines
commit: 205fdba5d0ffe1ad8de61763d74323e88b640d41 [2/5] dt-bindings: input: cirrus,cs40l50: Add initial DT binding commit: 2fab5abad124fe7e1b99ccba3305aa4c5a24496b [3/5] mfd: cs40l50: Add support for CS40L50 core driver commit: cb626376cbd00cd69329371519a8e9568baef715 [4/5] Input: cs40l50 - Add support for the CS40L50 haptic driver commit: c38fe1bb5d21c2ce0857965ee06174ee587d6b42 [5/5] ASoC: cs40l50: Support I2S streaming to CS40L50 commit: c486def5b3ba6c55294cee9abc7396d9dc18f223
Quoted 3 lines
Submitted for build testing.
If all is good, I'll submit a PR for the other maintainers soon.
For my own info: ib-mfd-firmware-input-sound-soc-6.11
Signature · 1 line
Lee Jones [李琼斯]