From patchwork Thu Dec 8 10:39:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 13068220 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A9AC2C63705 for ; Thu, 8 Dec 2022 10:43:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230241AbiLHKnn (ORCPT ); Thu, 8 Dec 2022 05:43:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229733AbiLHKnT (ORCPT ); Thu, 8 Dec 2022 05:43:19 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89121222; Thu, 8 Dec 2022 02:40: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 893EB25B; Thu, 8 Dec 2022 11:40:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1670496023; bh=ab3VDBBlRhkk1OCm+eM9aIt0zkYjaGuasNx+kTETGB4=; h=From:To:Cc:Subject:Date:From; b=NcuWxdUAooti/wS8UrXxku4R8b30Fb+FkevjbueyMSUXpAN4K+05fGzHheelm+naP ZiGKIEIA+cJuJhCdyXA83ZJLDNRWQwEo/soJmAsO9pWSM+WsM/JJ9+e16sRO4uHBhX ghN+fenSpn6jVQ4kJQOaplqDCZRDcFK4JPrR/JYw= 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 v5 0/8] i2c-atr and FPDLink Date: Thu, 8 Dec 2022 12:39:58 +0200 Message-Id: <20221208104006.316606-1-tomi.valkeinen@ideasonboard.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hi, You can find v4 of the series from: https://lore.kernel.org/all/20221101132032.1542416-1-tomi.valkeinen@ideasonboard.com/ You can find a longer introduction of the series in that version's cover letter. There has been a lot of changes to the DT bindings and the i2c-atr code in this version, but they are all fixes and cleanups, no architectural changes. The FPDLink drivers have not been changed, except to reflect the changes in the DT. I will send a diff between v4 and v5 to give a better idea of the changes. One thing that was discussed a bit but not handled in this version is the i2c-pool/i2c-alias topic. I believe we have three options: 1) use fixed addresses, defined in DT, 2) get the addresses from an i2c-pool, 3) dynamically reserve the addresses at runtime. The current series uses 2). 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 bindings for TI DS90UB913 dt-bindings: media: add bindings for TI DS90UB953 dt-bindings: media: add bindings for TI DS90UB960 media: i2c: add DS90UB960 driver media: i2c: add DS90UB913 driver media: i2c: add DS90UB953 driver .../bindings/media/i2c/ti,ds90ub913.yaml | 121 + .../bindings/media/i2c/ti,ds90ub953.yaml | 112 + .../bindings/media/i2c/ti,ds90ub960.yaml | 358 ++ Documentation/i2c/index.rst | 1 + Documentation/i2c/muxes/i2c-atr.rst | 78 + MAINTAINERS | 8 + drivers/i2c/Kconfig | 9 + drivers/i2c/Makefile | 1 + drivers/i2c/i2c-atr.c | 503 ++ drivers/i2c/i2c-core-base.c | 18 +- drivers/media/i2c/Kconfig | 47 + drivers/media/i2c/Makefile | 3 + drivers/media/i2c/ds90ub913.c | 892 ++++ drivers/media/i2c/ds90ub953.c | 1607 +++++++ drivers/media/i2c/ds90ub960.c | 4195 +++++++++++++++++ include/linux/i2c-atr.h | 82 + include/linux/i2c.h | 16 + include/media/i2c/ds90ub9xx.h | 16 + 18 files changed, 8066 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