Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3028317pxk; Mon, 7 Sep 2020 00:31:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwiwEjYDFFvig2cutPhq0rnXnLyLhvuRk1ufhQ69FCE0D1h0eKRkn5sjxTKVIBvdDUZhhOm X-Received: by 2002:a17:906:e103:: with SMTP id gj3mr9972844ejb.130.1599463885718; Mon, 07 Sep 2020 00:31:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599463885; cv=none; d=google.com; s=arc-20160816; b=s9+VwfepZDcqS1FQSHBtURvAiuFV8crXD3RY5lqNbVXDsgsgi1tklDoZObkzCEJqR+ sSwLOLNEDDjU01OsdZ2eTBauAZloblzU9YvoUOIdSWX+ZyMRKuHaRsj2ZVwbCjurs1X/ 7Bx2V4MVGwR+DRGYP5anb/gvbmuzWT3YSUncCURph7ELNeXrVVw3hV6tsoMUflUr3FGp rZuOSTWzD0pUvh91aSf+jH3ao8VL4Bx+i/ttblB1UVyAv787UDz6JvOmiX51g2IKstMO b/O0B62iKT3H1c68KV0mseNQvjYOTR+HDKV6DBUTeD6IBT/lHGrHIVNWc7tppc4MJ6nT q/wg== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=2TPEKZsBaI5ym5zLNPRbwhJVAOFuQ97b5/eUYr0rYDc=; b=h9ehotThZ3hAacvDaLbhhB76sfCSog1KToQZOCi3tZED+SU3J2D7fGY761MfMWot3w rDuC7l6n/6/IYoIqGsfB/jA0Cds35btUQUaq9u3f/Y44W8TE6v95pl1jxI42fTKDPeCP h8dvqn/jmmidC2pmgURvoHSKXQ/0r96LxdG/o3yzqlYHCP8LF0Y+IQHrluJyF0LEBxjg l1b0I7J1+AcWLGNrXcN27cweb82MrHB6Z3LE8tGn30hz5CQBFcyNlzB8zFjYpwW59sDF EnvJpm90AvoZ/XLDQZSS0dH0+qTRqxNsE0qYNSbCGDXv+uc+z7inDpoWZSJPEsMutJYs PvOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=dfAa5ahK; 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 b11si7915919ejz.631.2020.09.07.00.31.02; Mon, 07 Sep 2020 00:31:25 -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=dfAa5ahK; 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 S1727102AbgIGH12 (ORCPT + 99 others); Mon, 7 Sep 2020 03:27:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727077AbgIGH1V (ORCPT ); Mon, 7 Sep 2020 03:27:21 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA9ADC061574 for ; Mon, 7 Sep 2020 00:27:20 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id e16so14639218wrm.2 for ; Mon, 07 Sep 2020 00:27:20 -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=2TPEKZsBaI5ym5zLNPRbwhJVAOFuQ97b5/eUYr0rYDc=; b=dfAa5ahKol3nYX5fP99OQv9g8cZuwSDzK9qnmdGDEs4UhWg2EsuzIEILHEyi+3HSU5 vi0F4k+v6dRExbfz+uRjrnhu2hEkiKEyx58bIMKaUtqz+deWPXWsTlv2taoQnkeSTxrh lsfg5NqerMjlWhdaoFeZcPCre1Pyt+jfIFyQY6mgxOi+QrAxD9t7dU6rGl+Bsq0M/k5H ChNOh7CEbRBycnHqZkRiWFse28/jViwxWz+F2fQNSiPiqkk2WAxD6WUPEnKunP00eIa3 KCyKDThMrrS5Zg8iQO21hVuzk5/mqZ1TpGjzPDwQ4IJ4f6K5coQY+mQomK+pjfLbGC8O q8gA== 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=2TPEKZsBaI5ym5zLNPRbwhJVAOFuQ97b5/eUYr0rYDc=; b=B7MEHkuA1/ILcH2UoKR6aZelVcrvKKTemQHrFmaSw/Y9/X0lr8X4pEGVB2uXTzdYGV XN1Zu0R+HlOf81/InAhGWUg6OW0Wx7VoDHx0v2ILsFSkUGJX494WiWi52iwop1PZX8Dt qxMbecZuvvi2voXOMKEKQJyMDuQ4ZtevuRApQeRKxO67nNIcvFG6YEQETLkpvCqJZVLp NToSjKNizXGMoyd/Y8bojCfX3IYIryi4Gma8a1Epc1XggMY7LDQNNr4VJS9a0/Xxyxo2 Ypav4YXZhFnfixD8mut8yIKDdwehMdFHHh/hvhXd9UZB/UVrYLUGHqpOpOXJRVAzjI8q dVmg== X-Gm-Message-State: AOAM531GJHTR6sJIq11bL4xnqrRSk00pvO8JpjEBCczesufCgnc8g2iE uQ0e2dCwQxTGzz/B4O6y5JzuPQ== X-Received: by 2002:adf:efc9:: with SMTP id i9mr20929383wrp.187.1599463636463; Mon, 07 Sep 2020 00:27:16 -0700 (PDT) Received: from bender.baylibre.local ([2a01:e35:2ec0:82b0:5405:9623:e2f1:b2ac]) by smtp.gmail.com with ESMTPSA id x16sm25560500wrq.62.2020.09.07.00.27.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Sep 2020 00:27:15 -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 Subject: [PATCH 1/2] dt-bindings: phy: add Amlogic AXG MIPI D-PHY bindings Date: Mon, 7 Sep 2020 09:27:07 +0200 Message-Id: <20200907072708.26043-2-narmstrong@baylibre.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20200907072708.26043-1-narmstrong@baylibre.com> References: <20200907072708.26043-1-narmstrong@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org 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 --- .../bindings/phy/amlogic,axg-mipi-dphy.yaml | 68 +++++++++++++++++++ 1 file changed, 68 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..f7ae1135288b --- /dev/null +++ b/Documentation/devicetree/bindings/phy/amlogic,axg-mipi-dphy.yaml @@ -0,0 +1,68 @@ +# 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" + +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.22.0