The DW9718S voice coil motor is found on various smartphones like motorola-nora that are currently being worked on in the postmarketOS community. Since the way it operates is very similar to DW9719, this patch series adds support for it to the existing dw9719 driver. Because that driver did not yet support DT, we also add DT bindings and the dongwoon,dw9719 ofw compatible. With DW9718S, the driver was tested fully, including runtime PM.
This is a follow-up of [1] and [2]. Changes compared to previous submission: * Deprecate dongwoon,vcm-freq in favor of dongwoon,vcm-prescale * Instead of per-device config struct use model ID to handle cases [1] https://lore.kernel.org/linux-media/20250210082035.8670-1-...@packett.cool/ [2] https://lore.kernel.org/linux-media/20250209-dw9761dts-v3-0-14d3f00f0...@apitzsch.eu/ Signed-off-by: André Apitzsch <g...@apitzsch.eu> --- André Apitzsch (2): dt-bindings: media: i2c: Add DW9718S, DW9719 and DW9761 VCM media: i2c: dw9719: Deprecate dongwoon,vcm-freq Val Packett (5): media: i2c: dw9719: Add driver_data matching media: i2c: dw9719: Add DW9718S support media: i2c: dw9719: Update PM last busy time upon close media: i2c: dw9719: Add an of_match_table media: i2c: dw9719: Fix power on/off sequence .../bindings/media/i2c/dongwoon,dw9719.yaml | 115 +++++++++++++++++++++ drivers/media/i2c/dw9719.c | 111 +++++++++++++++++--- 2 files changed, 209 insertions(+), 17 deletions(-) --- base-commit: 1357b2649c026b51353c84ddd32bc963e8999603 change-id: 20250709-dw9719-8a8822efc1b1 Best regards, -- André Apitzsch <g...@apitzsch.eu>