Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp689594pxj; Thu, 17 Jun 2021 11:27:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8Nzpdv+jo8zPF0aEPchNBPF0h/rZHJxtkZIWZsnvUMIDNJoG9Dj3nVUzqT8q6jgbqTRw5 X-Received: by 2002:a17:906:4b15:: with SMTP id y21mr6631709eju.261.1623954462558; Thu, 17 Jun 2021 11:27:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623954462; cv=none; d=google.com; s=arc-20160816; b=dQ5a5Tn4URR46dp9aArJ3xXmg2G760h4xjqufGKPexjUoUL0aFkth+3b4GRJlNKCmD MIhNH0efbTnxzncwmvOp52aPOqWrbkCtAYbsVWUvEOAtQETO8wTs8FNBYEuXaQ50Bjab YMbsn7PBeJ575+AaiXRFG/UzFv6Ej9naRoKCB/7O00IAdtEN1xVY1ZS5Mo7pRHqvWMXx 8hRejoXAekbf/cvoDhsjrZpmeljT7srcPtv+YLi2e31NqZRFWuIOaxRTIMXJ46XD1Vfm T2YG9O6FI5uoko41Q3O+HvHJ9ipk93AU1N4qFxNsKzV7LUJ6UkVbNXxApf31L46SDgE1 HfpA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cEGpwhG6p5ve4HkGton1AY3pWTWRxR5OFRUm+6IG0BM=; b=b58M4fqNDCTkkqsLYNi+cRpfyHCcMfJjIqp8g/uXOGLvNVZFh87hR4wjjOCxDDXtYI B+9MCl/7I0aSXIP5LdoRlpB9GU3xdrg6G3cF+u+BPRVWy2xDlN8tkK8omxXYPe5n/3Mq KQwdGMo/Z0Y7vzfPwjAiHy4Y+GkY9mVjMxAgCf/4mKnwStdEP4Yb1eyAjofIk57X02Ya qVhqhaXYQ3xibAQB8myzsjtc66KgdlCOK4vNGDWD7JmYagdH8FTojzLFLMRoWWfCOXeX LpVBcSGYZTbeIPdZkxSQmPVfobrIATNpSCDTYHHe4Ha2PEmzEXrEJj1S/H6h498cJM/8 P6qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marek-ca.20150623.gappssmtp.com header.s=20150623 header.b=xOFHogCX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b10si6648858ejj.523.2021.06.17.11.27.18; Thu, 17 Jun 2021 11:27:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@marek-ca.20150623.gappssmtp.com header.s=20150623 header.b=xOFHogCX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233206AbhFQPMG (ORCPT + 99 others); Thu, 17 Jun 2021 11:12:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233188AbhFQPMA (ORCPT ); Thu, 17 Jun 2021 11:12:00 -0400 Received: from mail-qv1-xf30.google.com (mail-qv1-xf30.google.com [IPv6:2607:f8b0:4864:20::f30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C17C8C061768 for ; Thu, 17 Jun 2021 08:09:52 -0700 (PDT) Received: by mail-qv1-xf30.google.com with SMTP id x6so1829554qvx.4 for ; Thu, 17 Jun 2021 08:09:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marek-ca.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cEGpwhG6p5ve4HkGton1AY3pWTWRxR5OFRUm+6IG0BM=; b=xOFHogCXEUwOHUdEDKDozRhp448e/RJv4gH5fgQt3uM+WNHVNeqW4RXEh0BjTOI9Z1 /1Ih6xJ5hbonfI5R6h9/cm20h8UAaL1BjYocAjjxlUSiSV03t/D6d0tlUhqqz4R3F/hT qAOA3PEBj3JGArvQnGFFwbbmw1n1tNGwbZ5Gf6SsUqRZCm8vTHw6d+YJOucH9nmCmnwG 0PW1zxFM4D+CfMI4VdX53JrWmDR4DNWkrGEEoz1CSt6Q3+LtQf9k5IppfQledl/Uvcbm lngUFfWQ6m/QCRY/rroLBMjXE1APF7TVGC33tAzfTyhVtfYV3gkw/y/KbRaCzTi7iqgQ rsrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cEGpwhG6p5ve4HkGton1AY3pWTWRxR5OFRUm+6IG0BM=; b=GixxRlP9uas68w7T0YpKOjjybdycMdV5xV4bOHyUbnGFV7A7pE43drqw3BSlgfGosC u2omiMAisPB9yQRUjQUkhXRGkxRtUo7IUVY/NKG8R/mPW5KxXSyK29W8pb3TxhQnjGvP DXEMFnfhc6vUhJ6lk+swKKKb9abqlITi/+H3lSiGSTRDeKDXQpL2/zTYPobAMK04h9P3 l3sY5i2ygCsFDqI95r0ojDecCdMAcLjmmOKd9LOgCZHLC7XuWmzoL2zX3zxQeqakWtau 13dUo6MspN+RFv4kR3g4w0EeCvkCvHpZil0Hoo8rZZqfX4XDU5BcXMtpmgsgZM/eiyJd ap4Q== X-Gm-Message-State: AOAM5302+7H8gmyfTcZLCSmRhg1+UzAwZI+wyY23GBJ0+/tqvWbNJ18u SoCCnDVO3yMxe6Wc48zYawI1Gw== X-Received: by 2002:a0c:e84b:: with SMTP id l11mr390498qvo.36.1623942592025; Thu, 17 Jun 2021 08:09:52 -0700 (PDT) Received: from localhost.localdomain (modemcable068.184-131-66.mc.videotron.ca. [66.131.184.68]) by smtp.gmail.com with ESMTPSA id g82sm1915427qke.119.2021.06.17.08.09.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Jun 2021 08:09:51 -0700 (PDT) From: Jonathan Marek To: freedreno@lists.freedesktop.org Cc: Laurent Pinchart , Rob Clark , Sean Paul , David Airlie , Daniel Vetter , Rob Herring , Vinod Koul , Anurag Kumar Vulisha , Swapnil Jakhade , linux-arm-msm@vger.kernel.org (open list:DRM DRIVER FOR MSM ADRENO GPU), dri-devel@lists.freedesktop.org (open list:DRM DRIVER FOR MSM ADRENO GPU), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v4 2/3] dt-bindings: msm: dsi: document phy-type property for 7nm dsi phy Date: Thu, 17 Jun 2021 10:43:34 -0400 Message-Id: <20210617144349.28448-3-jonathan@marek.ca> X-Mailer: git-send-email 2.26.1 In-Reply-To: <20210617144349.28448-1-jonathan@marek.ca> References: <20210617144349.28448-1-jonathan@marek.ca> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Reviewed-by: Laurent Pinchart --- .../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 #endif /* _DT_BINDINGS_PHY */ -- 2.26.1