From patchwork Thu Aug 18 14:33:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marco Felsch X-Patchwork-Id: 12947240 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 E5C07C32772 for ; Thu, 18 Aug 2022 14:34:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343566AbiHROej (ORCPT ); Thu, 18 Aug 2022 10:34:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343565AbiHROeF (ORCPT ); Thu, 18 Aug 2022 10:34:05 -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 CDAE52C67A for ; Thu, 18 Aug 2022 07:33:46 -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 1oOgaJ-0005lM-Kh; Thu, 18 Aug 2022 16:33:23 +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 1oOgaH-000X0t-Qu; Thu, 18 Aug 2022 16:33:21 +0200 Received: from mfe by dude02.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1oOgaH-0043dM-11; Thu, 18 Aug 2022 16:33:21 +0200 From: Marco Felsch To: mchehab@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, vkoul@kernel.org, kishon@ti.com, sakari.ailus@linux.intel.com, hverkuil@xs4all.nl, jacopo@jmondi.org, laurent.pinchart+renesas@ideasonboard.com Cc: linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-media@vger.kernel.org, kernel@pengutronix.de Subject: [PATCH 0/4] Add support for Toshiba TC358746 Date: Thu, 18 Aug 2022 16:33:03 +0200 Message-Id: <20220818143307.967150-1-m.felsch@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 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-media@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hi, this small series adds the support for the Toshiba TC358746 MIPI-CSI to Parallel converter chip. After a long period I finally had the time to include Sakaris points made on my v2 [1]. Since [1] is long time ago and I reworked the driver a lot, I don't add a v3 on this series. Also all already provided RB tags are dropped. Regards, Marco [1] https://www.mail-archive.com/linux-media@vger.kernel.org/msg147901.html 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 | 157 ++ drivers/media/i2c/Kconfig | 17 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/tc358746.c | 1645 +++++++++++++++++ drivers/phy/phy-core-mipi-dphy.c | 31 +- include/linux/phy/phy-mipi-dphy.h | 3 + 6 files changed, 1850 insertions(+), 4 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/i2c/toshiba,tc358746.yaml create mode 100644 drivers/media/i2c/tc358746.c