Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3591864rwb; Fri, 30 Sep 2022 05:53:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4OPl2TsI9x0Fqc8LZaB2/dBUuuO7Th0RshSNag4Yt5EkhSSJEVj/gLLlXHnI2bok2vnuca X-Received: by 2002:a50:ed85:0:b0:458:755b:d1c4 with SMTP id h5-20020a50ed85000000b00458755bd1c4mr3478037edr.413.1664542420489; Fri, 30 Sep 2022 05:53:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664542420; cv=none; d=google.com; s=arc-20160816; b=qgd8xqC8cpI+filD1+f47UCBzqcXxwA//DArFhd2vJcwBEvI2fYA0QyaaHwXH0y+fV IKMSBzrwc7Hz1RNyfqIuV1FhvEKiqEoLx9gJdi2i+GIJqBogrUYQz/BXRviaet9rLHZq FlfYep41IEGyjhVidBIWMy09en/HXHrr7dxYu7GkCDPLrtZ+bZMRgvUz5mkvFkppehEB f7AU5DQyWR+TyUT831D753qGsZ5uiiBw3Prv/ciuehR3mryt4OD2jk7rSfoLHDbdTv++ DDcGAAWt3ZGsfa0qkAKHAKXAyz/HthCMmQBhLj+DsMlBCIDFxxMG/DboUT50gDR+3LdX R2wg== 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; bh=3tMSHr+45DP6VJMNmXjBQWTupKphcmdXT1oxI5KarU8=; b=LE9FCMx780w3cI9TwQKmGVnQsxRcpUtk2t3Jcegtrc3OWZHzX9swkP3FeAlyphLRtU zvMmZRNgjX5v+FTIEe4d0/fRuIfhVsN400PigVmyaRwmWebfbUfoUGkyeTuRKs0NjCVy yFcfJNpitP1pE2YnggPNnaaP3VDJWINPWGMh363YY8N2ixw22sYCWJb+o7mA8YDJ59+g e8RZIyhdzOmUFdzSSfZuJ0jLOpdExiCO24N0qqF8poBQEX+cSQkJzDbkQdmhzf5Gd7iR gGPS65Bl9qwTSk1/s4QwWMAH0Gmsx0NTkWZiIs1G4VeH+U4dOeRKQhx3+DUtxQf5gx+5 P9qA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l24-20020a056402231800b0045196fd6a9dsi1789193eda.477.2022.09.30.05.53.14; Fri, 30 Sep 2022 05:53:40 -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; 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 S231177AbiI3Msx (ORCPT + 99 others); Fri, 30 Sep 2022 08:48:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231268AbiI3Msp (ORCPT ); Fri, 30 Sep 2022 08:48:45 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B676014E769 for ; Fri, 30 Sep 2022 05:48:43 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oeFRI-0007Vz-Aw; Fri, 30 Sep 2022 14:48:24 +0200 Received: from [2a0a:edc0:0:1101:1d::28] (helo=dude02.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1oeFRH-003nvU-35; Fri, 30 Sep 2022 14:48:21 +0200 Received: from mfe by dude02.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1oeFRE-001tpt-Ns; Fri, 30 Sep 2022 14:48:20 +0200 From: Marco Felsch To: mchehab@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, kishon@ti.com, vkoul@kernel.org, laurent.pinchart@ideasonboard.com, sakari.ailus@linux.intel.com, jacopo@jmondi.org, hverkuil@xs4all.nl Cc: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, linux-media@vger.kernel.org Subject: [PATCH v4 0/4] Add support for Toshiba TC358746 Date: Fri, 30 Sep 2022 14:48:08 +0200 Message-Id: <20220930124812.450332-1-m.felsch@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Hi, this small series adds the support for the Toshiba TC358746 MIPI-CSI to Parallel converter chip. The different versions of this serie can be found here [1]. Thanks a lot for the review feedback from Laurent and Sakari, which was very helpful. [1] https://lore.kernel.org/all/20220922134843.3108267-1-m.felsch@pengutronix.de/ https://lore.kernel.org/all/20220916134535.128131-1-m.felsch@pengutronix.de/ https://lore.kernel.org/all/20220818143307.967150-5-m.felsch@pengutronix.de/ Marco Felsch (4): phy: dphy: refactor get_default_config phy: dphy: add support to calculate the timing based on hs_clk_rate media: dt-bindings: add bindings for Toshiba TC358746 media: tc358746: add Toshiba TC358746 Parallel to CSI-2 bridge driver .../bindings/media/i2c/toshiba,tc358746.yaml | 178 ++ drivers/media/i2c/Kconfig | 17 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/tc358746.c | 1696 +++++++++++++++++ drivers/phy/phy-core-mipi-dphy.c | 31 +- include/linux/phy/phy-mipi-dphy.h | 3 + 6 files changed, 1922 insertions(+), 4 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/i2c/toshiba,tc358746.yaml create mode 100644 drivers/media/i2c/tc358746.c -- 2.30.2