Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp833908rwb; Thu, 22 Sep 2022 07:02:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7fKlbwuldgc8R8DBDyYVdyl8xppFcb+IvHzgmfu8uxGXEFEpWxCMe4ELzAMJgUAiNRn9Cu X-Received: by 2002:a63:618d:0:b0:43c:2612:b139 with SMTP id v135-20020a63618d000000b0043c2612b139mr830660pgb.550.1663855362987; Thu, 22 Sep 2022 07:02:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663855362; cv=none; d=google.com; s=arc-20160816; b=TYrg4/2bwiEakE70o8LeG1BdoaHPUw4sBNJNhtlMuqpa2j4NzOuwgdKqfWSaVvI8ST //XeU36iPIwqDkapNLl6PXLgDM4gM7e16JqfKksujh8di6Jt9TEOWxFu8hMDbPWyWemD GMZ3uPgiDzpjCm0pNpyCtrx8wy+TecgrwHatGPTh8N1p9L+iAneYq+dDH4XwuYZd80aT 9uBMCm5WLbUcuFRjGjy9MSozMOU7O+mj9U4U6liCLSVFB8KQ/l76WLmPUFp+Prnb3EMk qzzDfEAHmUBMF1g7YxIk8c31PVnwV2ic/JtYvzjAl8A0D43vV1sRKpCUAH5LsfWllDwv kRbw== 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=BxFOflrpZYJ/jR6/EjT0IpokQlSDjlz7XtvDlVWC438=; b=SdydkZW1MPd+ZIN8hITuSUcw0skKvjqueIgOgPWc7Dw3mYzFMqDjNd/MkrJiY+HbgJ gUVUg3AADmhbpqPO5s0CnGBdgDPrAGk2h+pXaNMRfzuH+ZXs4AP10NMEal2r+4qLqUhw W2srAyk26nzYYQIu/3acZsbvNC39vgvG5qol33GjIrBzAm1Knq+pwSYpnjkG1oGHfKTl 23/83h3uKsA52dRLU3AkkMhstgn9YvjL9pT+YwBl4OtXlMTaveId9JAti33H4mqSyySk IYvM/+XpuA++GBv+bLb/dRwhzI+0j24BpYIDZtWWK9Ql0LEhkqf2RhCLXPicqhonFFqG EaFA== 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 w1-20020a170902904100b00178221dc5casi122849plz.531.2022.09.22.07.02.15; Thu, 22 Sep 2022 07:02:42 -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 S231726AbiIVNtQ (ORCPT + 99 others); Thu, 22 Sep 2022 09:49:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231820AbiIVNtD (ORCPT ); Thu, 22 Sep 2022 09:49:03 -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 E1315ACA2F for ; Thu, 22 Sep 2022 06:49:02 -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 1obMZM-0008EZ-Fh; Thu, 22 Sep 2022 15:48:48 +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 1obMZM-002GUf-48; Thu, 22 Sep 2022 15:48:46 +0200 Received: from mfe by dude02.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1obMZJ-00D4D1-Ah; Thu, 22 Sep 2022 15:48:45 +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, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-media@vger.kernel.org, kernel@pengutronix.de Subject: [PATCH v3 0/4] Add support for Toshiba TC358746 Date: Thu, 22 Sep 2022 15:48:39 +0200 Message-Id: <20220922134843.3108267-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=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 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/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 | 183 ++ drivers/media/i2c/Kconfig | 17 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/tc358746.c | 1692 +++++++++++++++++ drivers/phy/phy-core-mipi-dphy.c | 31 +- include/linux/phy/phy-mipi-dphy.h | 3 + 6 files changed, 1923 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