Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3649017pxk; Tue, 29 Sep 2020 02:34:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwnAXtFjYU66ItGYkrbI0Vim9YlH+oaAf/6iVqEr/nVbiZZbPBaUSFIahdPp33qnX5GDCEx X-Received: by 2002:a17:907:20e5:: with SMTP id rh5mr2906116ejb.267.1601372081956; Tue, 29 Sep 2020 02:34:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601372081; cv=none; d=google.com; s=arc-20160816; b=mibSFUkoxLYpC/4WO4dSVXP1zDUwpYAqaQXLjEU5RbkgN2vnDiT6z99dN1vl2HkB9G 0ZUbGLK7X8SfWu+PK17kg8Bv+kFA962PQ5TbOnURJurLe4PmSc5OKpLqi1J/fYMJUnTe WYQQZpJiYqo32lowiVxwqDzVgjw+OlkdZEYhTAmF/3n0+oJjaeRXG3NeJvzvDIN+H1cq zlm/vnj2onlyw26paGQTRbWo5TrqQhtoBg5PW0WPdpblTOyEQmxHo/+LK5YWpuSU5f9B sdcBH7u+KADPqr1vNPuNbanZa6EIoUmLafU0LNPmo+T33m5w/WFF27MjTkaeYdIYd6J4 uUQw== 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=X+jktKSyt59M1RlyoUXQDUiIneqQcY7EbqJCiazlG1Y=; b=ZfQWjCppY5INH4znf6ltxjkqurKSZsvHNTmdgRU+Qg0HXvczs0CwuVo5vpgAy4fZi2 uDdDnv5DhHv2vqFCA/H/nwRxDq5J/T2Mo2XC5Fmd4qTL/DDjZdd7bJpqBzCkupmrCZ3B j++o4wy9pj4E1o+0Lu99lb7zEelNcB6xdWb1swsF2k+JuolxHPP4I9gpu1nGCsMkGD6x rIghKSt9LDV3AXCvIgMgfXOkDFBe/MSGp9b22p3ssVjcxMTvd3fO7BpPy/Gb1NKzt9Gy YvN+kwYhUSahPaUJYiXehrvR1X7B/UXbIDtjUEeGIAaVKvfKjFvhNkjDUobZArCzDRnM 14qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=myLb+Hr6; 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 rk18si2333437ejb.599.2020.09.29.02.34.19; Tue, 29 Sep 2020 02:34:41 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=myLb+Hr6; 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 S1728184AbgI2JcP (ORCPT + 99 others); Tue, 29 Sep 2020 05:32:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727913AbgI2JcN (ORCPT ); Tue, 29 Sep 2020 05:32:13 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A244C0613D0 for ; Tue, 29 Sep 2020 02:32:12 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id c18so4539104wrm.9 for ; Tue, 29 Sep 2020 02:32:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=X+jktKSyt59M1RlyoUXQDUiIneqQcY7EbqJCiazlG1Y=; b=myLb+Hr6JRovq+G7HcalEjWrE9xtAR8ykHBBv4s3xwlJeTdJdrmjx5VFHI1pfytwo0 mUhQu3iL2Ournn0t/Lt6tDQ3/R9CILOjnCnviUv35KudZ+7Z0Cyqa6UqD51Ty3Y5saOH DPgDtkvBjlZFIF0UWJbr2hnHzKdCQ3B6ZnhmoQ22CZQxn7r+xVYRMH+e15Ix7p/1x4sQ ZBViLZCSHqniJskizbyN1oVpwM0zko+0kfPvaMnTFXoJekFnX5H/LifKQR0CxpegdAbz Exzywj3HVGjLH7WUraTq7YMKLUmk8jmUNTCzDRkWrTGwX8OyTIGx56u7uitDsmr4TIDV HwuQ== 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=X+jktKSyt59M1RlyoUXQDUiIneqQcY7EbqJCiazlG1Y=; b=WbIANwzJtSoFgoS/iQ65vzcvHhXzPKUDoC9MXS3GSSZRtDjws3BZFs+4jINcI4lrn7 A5YQ/aXkAD9Htc8RAflOJ41NBeSulY6IIOJ6mmm1U87do3YM9CEi9O+GAFea9vXgLf2j hiJ49PAZD3ml1cCPNVPvjan2Pu2e1fdFwFeGIlpaGWTMq4pXQztXFBATeCp7YKYk1e3n tmgfFIbMYcHBepczNpRza0cVxrJjCP8UeClS+bGE23sLb5scP8GuhMWywMRvc4X61hM5 GGrYfUqpM9XVbuVns+l/vHrObXgkRlC0ozQ01VK2rrR3psMTi+X3pKVohbzU3OX6fsLS /YjA== X-Gm-Message-State: AOAM530iLIdc0GVY6L3wW+Kumisa3tq8oNYjSQp9LDABLlry0IIJuQC6 ZXQsPLc7eNDi7/iKBjXctJrxMWPX0yng9eGP X-Received: by 2002:adf:81c6:: with SMTP id 64mr3103257wra.176.1601371930925; Tue, 29 Sep 2020 02:32:10 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:2ec0:82b0:d50c:1ee4:fec5:ad12]) by smtp.gmail.com with ESMTPSA id a10sm4596107wmj.38.2020.09.29.02.32.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 02:32:10 -0700 (PDT) From: Neil Armstrong To: kishon@ti.com, devicetree@vger.kernel.org Cc: linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Neil Armstrong , Rob Herring Subject: [PATCH v2 1/2] dt-bindings: phy: add Amlogic AXG MIPI D-PHY bindings Date: Tue, 29 Sep 2020 11:32:02 +0200 Message-Id: <20200929093203.337954-2-narmstrong@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200929093203.337954-1-narmstrong@baylibre.com> References: <20200929093203.337954-1-narmstrong@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Amlogic AXg SoCs embeds a MIPI D-PHY to communicate with DSI panels, this adds the bindings. This D-PHY depends on a separate analog PHY. Signed-off-by: Neil Armstrong Reviewed-by: Rob Herring --- .../bindings/phy/amlogic,axg-mipi-dphy.yaml | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/amlogic,axg-mipi-dphy.yaml diff --git a/Documentation/devicetree/bindings/phy/amlogic,axg-mipi-dphy.yaml b/Documentation/devicetree/bindings/phy/amlogic,axg-mipi-dphy.yaml new file mode 100644 index 000000000000..be485f500887 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/amlogic,axg-mipi-dphy.yaml @@ -0,0 +1,70 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2020 BayLibre, SAS +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/phy/amlogic,axg-mipi-dphy.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Amlogic AXG MIPI D-PHY + +maintainers: + - Neil Armstrong + +properties: + compatible: + enum: + - amlogic,axg-mipi-dphy + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: pclk + + resets: + maxItems: 1 + + reset-names: + items: + - const: phy + + "#phy-cells": + const: 0 + + phys: + maxItems: 1 + + phy-names: + items: + - const: analog + +required: + - compatible + - reg + - clocks + - clock-names + - resets + - reset-names + - phys + - phy-names + - "#phy-cells" + +additionalProperties: false + +examples: + - | + phy@ff640000 { + compatible = "amlogic,axg-mipi-dphy"; + reg = <0xff640000 0x100>; + clocks = <&clk_mipi_dsi_phy>; + clock-names = "pclk"; + resets = <&reset_phy>; + reset-names = "phy"; + phys = <&mipi_pcie_analog_dphy>; + phy-names = "analog"; + #phy-cells = <0>; + }; -- 2.25.1