Changes includes: - Add mount matrix handling - Add match table to work with DT - Add MC3510C support MC3510C use same registors as MC3230, but different value scale. Signed-off-by: Vasiliy Doylov <nekodevelopper@xxxxxxxxx> --- Changes in v4: - Fixed commit messages - Added const modificator to chip_infos - Return name->chip_id->product_code->scale order - `{}` replaced by `{ }` (with space) - Link to v3: https://lore.kernel.org/r/20250112-mainlining-mc3510c-v3-0-9ee6520ab69d@xxxxxxxxx Changes in v2: - Ordered commits - Fixed comment style - Ordered struct members - Fixed device table - MC5310C commit splitted - Link to v1: https://lore.kernel.org/r/20250111-mainlining-mc3510c-v1-0-57be503addf8@xxxxxxxxx Changes in v3: - Fixed patch (poped stash) - Link to v2: https://lore.kernel.org/all/20250112-mainlining-mc3510c-v2-0-322804a545cf@xxxxxxxxx --- Vasiliy Doylov (5): dt-bindings: iio: accel: mc3230: document mc3510c iio: accel: mc3230: add mount matrix support iio: accel: mc3230: add OF match table iio: accel: mc3230: add multiple devices support iio: accel: mc3230: add mc3510c support .../devicetree/bindings/trivial-devices.yaml | 2 + drivers/iio/accel/mc3230.c | 95 ++++++++++++++++++---- 2 files changed, 80 insertions(+), 17 deletions(-) --- base-commit: 2b88851f583d3c4e40bcd40cfe1965241ec229dd change-id: 20250111-mainlining-mc3510c-564702fba487 Best regards, -- Vasiliy Doylov <nekodevelopper@xxxxxxxxx>