From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58F16C433F5 for ; Wed, 5 Sep 2018 13:43:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E41212075C for ; Wed, 5 Sep 2018 13:43:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="pjm73jZO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E41212075C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727623AbeIESOL (ORCPT ); Wed, 5 Sep 2018 14:14:11 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:56956 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726008AbeIESOL (ORCPT ); Wed, 5 Sep 2018 14:14:11 -0400 Received: from avalon.localnet (unknown [IPv6:2a02:a03f:4407:cd00:1953:677d:5909:a7be]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 50520119E; Wed, 5 Sep 2018 15:43:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1536155031; bh=1+HW2Ah/nUzN8cetHoypCV+9IoMjne40W5BG24Rt+QQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pjm73jZOvnseqE4niCxZ3RfNyHTOxzTp0zUF30JpcGAZSncTfxuDMagy2cJdg6jiX LFr0XJeLCdre+mb/0rlBazSrTEDv61kbPG/LrZGJDcGbo/XV9mImZhALfO2U8Tgwux Ry5QwkbpEeqjWutzpp6Fo4T9Uv4PZXvk4Bp0pUYQ= From: Laurent Pinchart To: Maxime Ripard Cc: Kishon Vijay Abraham I , Boris Brezillon , Thomas Petazzoni , linux-media@vger.kernel.org, Archit Taneja , Andrzej Hajda , Chen-Yu Tsai , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, Krzysztof Witos , Rafal Ciepiela Subject: Re: [PATCH 03/10] phy: Add MIPI D-PHY configuration options Date: Wed, 05 Sep 2018 16:43:57 +0300 Message-ID: <11216244.YyI1EIWKhC@avalon> Organization: Ideas on Board Oy In-Reply-To: <5b784b096d5507e45c641880af31b07763b4fce2.1536138624.git-series.maxime.ripard@bootlin.com> References: <5b784b096d5507e45c641880af31b07763b4fce2.1536138624.git-series.maxime.ripard@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Maxime, Thank you for the patch. On Wednesday, 5 September 2018 12:16:34 EEST Maxime Ripard wrote: > Now that we have some infrastructure for it, allow the MIPI D-PHY phy's to > be configured through the generic functions through a custom structure > added to the generic union. > > The parameters added here are the one defined in the MIPI D-PHY spec, plus s/one/ones/ > some parameters that were used by a number of PHY drivers currently found > in the linux kernel. It would be useful to document which parameters are from the spec and which are not. > The current set of parameters should cover all the potential users. > > Signed-off-by: Maxime Ripard > --- > include/linux/phy/phy-mipi-dphy.h | 241 +++++++++++++++++++++++++++++++- > include/linux/phy/phy.h | 6 +- > 2 files changed, 247 insertions(+) > create mode 100644 include/linux/phy/phy-mipi-dphy.h > > diff --git a/include/linux/phy/phy-mipi-dphy.h > b/include/linux/phy/phy-mipi-dphy.h new file mode 100644 > index 000000000000..792724145290 > --- /dev/null > +++ b/include/linux/phy/phy-mipi-dphy.h > @@ -0,0 +1,241 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > +/* > + * Copyright (C) 2018 Cadence Design Systems Inc. > + */ > + > +#ifndef __PHY_MIPI_DPHY_H_ > +#define __PHY_MIPI_DPHY_H_ > + > +#include