From patchwork Thu Jan 5 14:02:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 3622 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp315549wrt; Thu, 5 Jan 2023 06:05:04 -0800 (PST) X-Google-Smtp-Source: AMrXdXs89vpgvW8L6grRgQyfk4HvthznFgtpWwszJRhmynv2B2sp5lI/VfuiVJTjSjuooyLe73Wi X-Received: by 2002:a17:903:2682:b0:192:f12a:42de with SMTP id jf2-20020a170903268200b00192f12a42demr4782378plb.42.1672927504043; Thu, 05 Jan 2023 06:05:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672927504; cv=none; d=google.com; s=arc-20160816; b=atmHXvYUmqGYtivWZ49ujP6PKtjUJgnWiwmyNL9WQN8kR3m3sVBEQvOqztlDTj5onH awtdOVZHZnAkPqznKX0bj0VkJxaVvnIC0NcpqKSIORe5VneqKBPY/sFRdr9x1yHHt/S7 1PpRcbqYaPWHRQ/YwaAEGCIuqn3chHM35Rn2N0Ua1TY84qANOj92XCAz5lxoDM4EyLQP 9S0PiSQqfynM5fBBAzqzwiMnDZjt+mr7Xjbex9XRI7r/hDr8zIeCrF3bdZWrS43qgDCf NXUr2RUjBNNDyRZCVCwj5N4nJI73dHP3k7+5a5BUx4PlDycwokiCJ/Pz4Po/LZbJjJp0 VbYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Klrl4xYeKsoH724PVa1rHGXPv7jTIDILj39zxfQviJc=; b=u6Pjb1Ka4ODTF/SdUw3DIwxxoAPLpUgW2hwrhgGt+W2s1hWFaNVI7jPGWu2WvmhNsp 9oyjfBKhCqB3N8VNaubxvwAKMtS5aCmJwRUIo1y9BjmCoklzoPWGBcD2NAC+gF+GQgmB IRgUo6jckbZ+iLMGwCm6rolYY00RPlBxFgvs2PDZgt+9CS50WKDNHM/5Z812O0lNxM+a qbLFZkoIbtp6Y7qvUlcMzaC+tuTe1b3ugUMFLX7sw9ur7FngATDOmwlqV1caZVn5yU+Q bY1s9b34/px+iF1/sx/xROrws7RiqUw2sEShOCOgfWcM3W8Esh7X5bDsG5Ht8VFCQdpx oWvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=kiHZSV+P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i10-20020a17090332ca00b00192e61bce5fsi5941113plr.416.2023.01.05.06.04.50; Thu, 05 Jan 2023 06:05:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=kiHZSV+P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234563AbjAEOEO (ORCPT + 99 others); Thu, 5 Jan 2023 09:04:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233853AbjAEOD2 (ORCPT ); Thu, 5 Jan 2023 09:03:28 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C81B12D02; Thu, 5 Jan 2023 06:03:26 -0800 (PST) Received: from desky.lan (91-154-32-225.elisa-laajakaista.fi [91.154.32.225]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 712C049C; Thu, 5 Jan 2023 15:03:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1672927403; bh=sKDw4OpqmBnsISOReOprMJ+Izenh3gpsjQyQ2+v5mZc=; h=From:To:Cc:Subject:Date:From; b=kiHZSV+PZZW0is3TpA/8ACFz/7BXXkHk4oGT7HWHoazofp9XGlsWgU8XY+T04NoTq fVUSDtidF8b8AE4AqHjwOVxAKPwWksvC29r7wMhN1zoQ+78t8pPvDT9t9MVP81tIEM cgwyCflg31BWiAP/0n0Q8SY7bKMNjf8DVlSYwK9c= From: Tomi Valkeinen To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Wolfram Sang , Luca Ceresoli , Andy Shevchenko , Matti Vaittinen Cc: Mauro Carvalho Chehab , Peter Rosin , Liam Girdwood , Mark Brown , Sakari Ailus , Laurent Pinchart , Michael Tretter , Shawn Tu , Hans Verkuil , Mike Pagano , =?utf-8?q?Krzysztof_Ha=C5=82asa?= , Marek Vasut , Tomi Valkeinen Subject: [PATCH v6 0/8] i2c-atr and FPDLink Date: Thu, 5 Jan 2023 16:02:59 +0200 Message-Id: <20230105140307.272052-1-tomi.valkeinen@ideasonboard.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754191630485339597?= X-GMAIL-MSGID: =?utf-8?q?1754191630485339597?= Hi, You can find the v5 from: https://lore.kernel.org/all/20221208104006.316606-1-tomi.valkeinen@ideasonboard.com/ There has again been quite a lot of changes. I will send a diff of v5 to v6 separately to give a better idea of the changes. Here's are some of the changes: - Added namespace for i2c exports - Consistent naming for FPD-Link - Added more DT descriptions and kdocs - Various DT binding improvements suggested in the review - MAINTAINERS entry for fpd-link - Use defines instead of BIT(x) in the FPD-Link drivers - Use pad source/sink defines instead of a number - Dropped unnecessary debug prints - UB953: added data-lanes DT property - UB960: added hsync-active & vsync-active DT properties Tomi Luca Ceresoli (2): i2c: core: let adapters be notified of client attach/detach i2c: add I2C Address Translator (ATR) support Tomi Valkeinen (6): dt-bindings: media: add TI DS90UB913 FPD-Link III Serializer dt-bindings: media: add TI DS90UB953 FPD-Link III Serializer dt-bindings: media: add TI DS90UB960 FPD-Link III Deserializer media: i2c: add DS90UB960 driver media: i2c: add DS90UB913 driver media: i2c: add DS90UB953 driver .../bindings/media/i2c/ti,ds90ub913.yaml | 133 + .../bindings/media/i2c/ti,ds90ub953.yaml | 134 + .../bindings/media/i2c/ti,ds90ub960.yaml | 402 ++ Documentation/i2c/index.rst | 1 + Documentation/i2c/muxes/i2c-atr.rst | 83 + MAINTAINERS | 16 + drivers/i2c/Kconfig | 9 + drivers/i2c/Makefile | 1 + drivers/i2c/i2c-atr.c | 501 ++ drivers/i2c/i2c-core-base.c | 21 +- drivers/media/i2c/Kconfig | 47 + drivers/media/i2c/Makefile | 3 + drivers/media/i2c/ds90ub913.c | 871 ++++ drivers/media/i2c/ds90ub953.c | 1590 ++++++ drivers/media/i2c/ds90ub960.c | 4295 +++++++++++++++++ include/linux/i2c-atr.h | 118 + include/linux/i2c.h | 16 + include/media/i2c/ds90ub9xx.h | 16 + 18 files changed, 8256 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/media/i2c/ti,ds90ub913.yaml create mode 100644 Documentation/devicetree/bindings/media/i2c/ti,ds90ub953.yaml create mode 100644 Documentation/devicetree/bindings/media/i2c/ti,ds90ub960.yaml create mode 100644 Documentation/i2c/muxes/i2c-atr.rst create mode 100644 drivers/i2c/i2c-atr.c create mode 100644 drivers/media/i2c/ds90ub913.c create mode 100644 drivers/media/i2c/ds90ub953.c create mode 100644 drivers/media/i2c/ds90ub960.c create mode 100644 include/linux/i2c-atr.h create mode 100644 include/media/i2c/ds90ub9xx.h base-commit: 76dcd734eca23168cb008912c0f69ff408905235 prerequisite-patch-id: 341bbdcbd14f0b6f38c88f1390f9437873a03430 prerequisite-patch-id: e5d34269150d94ecb7fd670ad31e14aaae78e099 prerequisite-patch-id: 24ff7b1c013fa9acd8b93c2506eae39eb2a1021c prerequisite-patch-id: 15edf6091d7c2d340f25711961bb8459addc8d58 prerequisite-patch-id: 9beff6fd1d22dbfe565931de81b27739e45ced05 prerequisite-patch-id: 37bc00c7315371c9a906af0d718ecedd871a43e0 prerequisite-patch-id: 8218595c50635ab48a9c8cd8c580da9f431d539f prerequisite-patch-id: 7f163276a04d212d009ee6e96fb545d5b781cc44 prerequisite-patch-id: 0db299d92565612520411ef624e097131feb2d97 prerequisite-patch-id: 6b521ad1868b9a507930dd6a2e0e2d19b5947456 prerequisite-patch-id: d32e1105a1285cceac8fd8e84649070174a6b23e prerequisite-patch-id: 2927a4ef079c55e7807cda150d4b9eb29978136a prerequisite-patch-id: 77546a2e202557910e9a3635534163cc80134ea4 prerequisite-patch-id: 462fabb2b21019636e1f7e793dafc51caf40400e prerequisite-patch-id: 604c8c3f3e7fab7698eb73795bae573f88b808db prerequisite-patch-id: 75a3d7b072e718fb2bd854743b9b2023d68a822b prerequisite-patch-id: a9c64a3360938ac230261ffc3e0cbd8cb66550d3 prerequisite-patch-id: a5c57341047e53ecaeb28181319700dd3ace62aa prerequisite-patch-id: e9b8da97c9fea3cd3268adf8387cb3df179649e5 prerequisite-patch-id: 2767b8af9e0742b52b81b2dbce3b5ce5203e3610