Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3831201imm; Wed, 5 Sep 2018 06:45:25 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZdHiALDxojELLsqlirJXlr8yqcKluqGGG64DWDh8QlFXfwgs5RZYuLahrsKRf2QlRzi3XC X-Received: by 2002:a63:4204:: with SMTP id p4-v6mr10888572pga.200.1536155125170; Wed, 05 Sep 2018 06:45:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536155125; cv=none; d=google.com; s=arc-20160816; b=EPE9OOI3AV8oo3JZSMbSXa50h8iQXEV4OXVnCJ9+G37dVyaWBEEzx2PtL9GvOZ0eZZ yNAKrzXyB5JLq8tkam/nXEPVOOC8GWAHAWietQtbAGcM2kZWp1UcYpQakoGj96CNAfss MabspGKmHkQoIRBzK2XCd7osXhByEehwajG9U76txXcBvSCMmT8ur8szcOUo4nk81eN+ TKVWGqy6sx/vyDYjOBv2D67RWW8fbfflkbCf5rtRft6BkGlF+jnX0F0yHwvjx2Wty8JY nEYzEvG7djh92VtpXaQyPXMEKKjvPbxjRD7wTsy4Z0Ff9WUSr7GCwJI7v75M1CUBdW8A rryg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:organization:message-id:date:subject:cc:to :from:dkim-signature; bh=usCbk6osReko2v3hRSg89HfYc0Cg1Z/kjHZAIBajW8g=; b=Cu7xHDN47geBQyZ5pMZOlMnaGn9mMThjXNl6sQIFpZop+uik8mcTJ8SanuiRoTW4Ih o345DxGnmWNnJsiLtdkMoudPsRXskS4s7jjLlkY7MUlyH4InrngDwCNoxQV6xUWzPXmd vFoA0L+1nFzsfS2VJQovW3IsocUXmwSaBzYr2+u5VyF5OqwvSskBko+c1ra4/n7xppiG nIT9dbrhUXIxdEgbVX/M/rdmggc9O/atMsRV7+EHAR67cH4fOGKCOfcKDLvAEmmcx8e9 vxSpod6rU24gLe6oW+LYVXKzO4+9Xwn+QW9AkwbHIDbgYIzLSacDO1HtaXViDlgtPWjN y9sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=pjm73jZO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d35-v6si1881096pla.116.2018.09.05.06.45.09; Wed, 05 Sep 2018 06:45:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=pjm73jZO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727577AbeIESOL (ORCPT + 99 others); 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