[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210624213119.GA2017600@robh.at.kernel.org>
Date: Thu, 24 Jun 2021 15:31:19 -0600
From: Rob Herring <robh@...nel.org>
To: Jonathan Marek <jonathan@...ek.ca>
Cc: freedreno@...ts.freedesktop.org,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Rob Clark <robdclark@...il.com>, Sean Paul <sean@...rly.run>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>, Vinod Koul <vkoul@...nel.org>,
Anurag Kumar Vulisha <anurag.kumar.vulisha@...inx.com>,
Swapnil Jakhade <sjakhade@...ence.com>,
"open list:DRM DRIVER FOR MSM ADRENO GPU"
<linux-arm-msm@...r.kernel.org>,
"open list:DRM DRIVER FOR MSM ADRENO GPU"
<dri-devel@...ts.freedesktop.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v4 2/3] dt-bindings: msm: dsi: document phy-type property
for 7nm dsi phy
On Thu, Jun 17, 2021 at 10:43:34AM -0400, Jonathan Marek wrote:
> Document a new phy-type property which will be used to determine whether
> the phy should operate in D-PHY or C-PHY mode.
>
> Signed-off-by: Jonathan Marek <jonathan@...ek.ca>
> Reviewed-by: Laurent Pinchart <laurent.pinchart@...asonboard.com>
> ---
> .../devicetree/bindings/display/msm/dsi-phy-7nm.yaml | 5 +++++
> include/dt-bindings/phy/phy.h | 2 ++
> 2 files changed, 7 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/display/msm/dsi-phy-7nm.yaml b/Documentation/devicetree/bindings/display/msm/dsi-phy-7nm.yaml
> index c0077ca7e9e7..70809d1cac54 100644
> --- a/Documentation/devicetree/bindings/display/msm/dsi-phy-7nm.yaml
> +++ b/Documentation/devicetree/bindings/display/msm/dsi-phy-7nm.yaml
> @@ -34,6 +34,11 @@ properties:
> description: |
> Connected to VDD_A_DSI_PLL_0P9 pin (or VDDA_DSI{0,1}_PLL_0P9 for sm8150)
>
> + phy-type:
> + description: D-PHY (default) or C-PHY mode
> + enum: [ 10, 11 ]
> + default: 10
> +
> required:
> - compatible
> - reg
> diff --git a/include/dt-bindings/phy/phy.h b/include/dt-bindings/phy/phy.h
> index 887a31b250a8..f48c9acf251e 100644
> --- a/include/dt-bindings/phy/phy.h
> +++ b/include/dt-bindings/phy/phy.h
> @@ -20,5 +20,7 @@
> #define PHY_TYPE_XPCS 7
> #define PHY_TYPE_SGMII 8
> #define PHY_TYPE_QSGMII 9
> +#define PHY_TYPE_DPHY 10
> +#define PHY_TYPE_CPHY 11
I thought I recalled a suggestion to add 'MIPI_' in this. Or was there
another similar patch? If not, I'm fine either way:
Acked-by: Rob Herring <robh@...nel.org>
Powered by blists - more mailing lists