From patchwork Fri Jun 16 13:59:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 10904 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1364341vqr; Fri, 16 Jun 2023 07:02:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ47vT9QuunkWtyFAk5h3I08FuW7zRF4o+zareFppv4dx35fF2QsZ9GIR8Fkkeg4S7N6Peea X-Received: by 2002:a17:90a:f185:b0:25e:8da6:74a4 with SMTP id bv5-20020a17090af18500b0025e8da674a4mr1864395pjb.21.1686924132662; Fri, 16 Jun 2023 07:02:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686924132; cv=none; d=google.com; s=arc-20160816; b=NR4Lc+N8ONl1R/RsEZwgehxNctBfPFLICc29fj+HCrE0pxACPZIFFaPK6F6p7gL4hq ADFQ/AlEV8vc87+I7/vFZ2fiQ2rg0TWV9T4qWa3s3N7hOrEbqp0lo5qw0ZpO5JJdSTLh ae+8Cgm5MMk783/KXvuZ0AeI35pHw/c/rc+kekl+Lr+HkNQVqWR+2+6A5nXMrKiyulIt d6IVuoXUFtFvE6rmVnpnAUDKR2QcPKiCUeBMfAIPhgSQgcXDf4QcdAJTvsUzqD20C+fa 8xfDD+MgxSTrolg8vQdO4enhJsm8oci7y/liLlflfHMqJ11WgZdyahXq2iWpugDNnHIu SMnA== 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=+IuqCCHOFUauzCvn8CqNAvjFjywy9qkHOywES/xo8/Q=; b=QMLLLYLSM4AaXnpHMJM4nSDlhB4KoZQe6OSUtLXGAdDKu0sdUG580arD3OhGelXwfR 9Otn2d3qzB0SZGykpekl87CJXisV7aCVj2w0+8CbOIijmXG33gYaR8PbdDcjQE1ro/kv bQ6axEaujfpxWwlhkf5KIvr13IsFmMTmc47WlTGA6zzy6dx9fRxxYbq0dElIorM14RH4 EoZD2pjasbzTxcG3K1xlEFNYX4hKhQquY+wHeB1CLKhu2i9p1fM/GnOUODSP1yQOiTzb Efx5NrRrDuVg8HPcSae5HKTDB7zs3s+9HdiBtjUr23AYQ/c82T7+Gj6tadbemipU3Bz1 825w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b="pgqSL/lD"; 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 o10-20020a17090aac0a00b00258cb09c4a8si1675802pjq.71.2023.06.16.07.01.57; Fri, 16 Jun 2023 07:02:12 -0700 (PDT) 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="pgqSL/lD"; 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 S232710AbjFPOAN (ORCPT + 99 others); Fri, 16 Jun 2023 10:00:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343556AbjFPOAK (ORCPT ); Fri, 16 Jun 2023 10:00:10 -0400 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 D66562720; Fri, 16 Jun 2023 07:00:08 -0700 (PDT) Received: from desky.lan (91-154-35-171.elisa-laajakaista.fi [91.154.35.171]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 631149CA; Fri, 16 Jun 2023 15:59:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1686923974; bh=TYH6BSykl1V+B4KQ/yXIjolbxZaYebv3C2ZkUVO7gPE=; h=From:To:Cc:Subject:Date:From; b=pgqSL/lDUG1dVcKSuf7ZxGbL/zVmm0KttbN7fV1aS2kX1LKxW0FqGyEL2bIb90k9v VNm330ua9beTQZVKThNfRxzxXR9eLIiCpgQxRJSdPTLUskPysW302p42baBwpDG+aa sxLC5SZZEClI9wD3lGXH0Gay3l04HpgGALi6GhAU= From: Tomi Valkeinen To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, Luca Ceresoli , Andy Shevchenko , Matti Vaittinen , Laurent Pinchart , Sakari Ailus Cc: Wolfram Sang , Rob Herring , Krzysztof Kozlowski , Mauro Carvalho Chehab , Peter Rosin , Liam Girdwood , Mark Brown , Michael Tretter , Hans Verkuil , Mike Pagano , =?utf-8?q?Krzysztof_Ha=C5=82asa?= , Marek Vasut , Satish Nagireddy , Tomi Valkeinen Subject: [PATCH v14 00/18] i2c-atr and FPDLink Date: Fri, 16 Jun 2023 16:59:04 +0300 Message-Id: <20230616135922.442979-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, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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?1768868159337891752?= X-GMAIL-MSGID: =?utf-8?q?1768868159337891752?= Hi, v13 can be found from: https://lore.kernel.org/all/20230426115114.156696-1-tomi.valkeinen@ideasonboard.com/ In this version I opted to keep the main patches unchanged and make the new changes as additional patches. The reason is that the main patches have been reviewed and have been out there for quite a while, and the fixes & improvements are much clearer this way. Tomi Luca Ceresoli (1): i2c: add I2C Address Translator (ATR) support Tomi Valkeinen (17): dt-bindings: i2c: Add I2C Address Translator (ATR) 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 media: i2c: ds90ub960: Fix use of UB960_SR_FWD_CTL1 media: i2c: ds90ub9xx: Add COMMON_CLK kconfig dependency media: i2c: ds90ub9xx: Select GPIOLIB rather than OF_GPIO media: i2c: ds90ub960: Configure CSI-2 continuous clock media: i2c: ds90ub953: Use v4l2_fwnode_endpoint_parse() media: i2c: ds90ub913: Use v4l2_fwnode_endpoint_parse() media: i2c: ds90ub953: Handle V4L2_MBUS_CSI2_NONCONTINUOUS_CLOCK media: i2c: ds90ub960: Allow FPD-Link async mode media: i2c: ds90ub953: Restructure clkout management media: i2c: ds90ub953: Support non-sync mode .../devicetree/bindings/i2c/i2c-atr.yaml | 34 + .../bindings/media/i2c/ti,ds90ub913.yaml | 133 + .../bindings/media/i2c/ti,ds90ub953.yaml | 134 + .../bindings/media/i2c/ti,ds90ub960.yaml | 427 ++ Documentation/i2c/i2c-address-translators.rst | 96 + Documentation/i2c/index.rst | 1 + MAINTAINERS | 16 + drivers/i2c/Kconfig | 9 + drivers/i2c/Makefile | 1 + drivers/i2c/i2c-atr.c | 710 +++ drivers/media/i2c/Kconfig | 47 + drivers/media/i2c/Makefile | 3 + drivers/media/i2c/ds90ub913.c | 914 ++++ drivers/media/i2c/ds90ub953.c | 1434 ++++++ drivers/media/i2c/ds90ub960.c | 4058 +++++++++++++++++ include/linux/i2c-atr.h | 116 + include/media/i2c/ds90ub9xx.h | 22 + 17 files changed, 8155 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-atr.yaml 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/i2c-address-translators.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