From patchwork Fri Jan 7 15:05:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 12706768 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8735EC4332F for ; Fri, 7 Jan 2022 15:05:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Q4MwqM3ctZ2UHmDYI6fZ+C1J4e1KSKUTk4dWhbT5B7c=; b=O1ybBT0osUqJVG c8orBWGf8o3XxQa63CdFgh3fQhj8wewI7SMi4EWiAUIoZXHH+XhKN8ciNwDJ3+b4CWTeMTmeZDNyD KYq+Hawk4mR/KR2EoxawHmxeK2vXQiH/rCcZ+i3O6sKUCyHatpDeLiSGnToTVbufXGqiKa33Vj2SY lG1NDmh9wmdyPsOGejXXA6QqIx23y/nqI+SX19iO36ph0CnZrlcRNotmYEoS0Z/mq8jxPusc2hMMy GOllxI7F6BwzYbVBC+tr6qpjPVQSgX4rInrigbDhKlzBC7/b5UL0b8cvOu18dMVwgz4HzPvP9on5u EV3L8yILu/Lrd0g5dAOA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n5qny-004O1e-31; Fri, 07 Jan 2022 15:05:22 +0000 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n5qnu-004Nyb-GK for linux-amlogic@lists.infradead.org; Fri, 07 Jan 2022 15:05:20 +0000 Received: by mail-wr1-x42f.google.com with SMTP id l25so742247wrb.13 for ; Fri, 07 Jan 2022 07:05:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PxD5eSuoVNmuy9uK+8ImVic/9oJqQQRTmLdQoVDSq7Y=; b=allaRBuE+NfgOYcgaqBMlz6bKoIKZa8JYncqLI5T6/Xtm6s6P6phIFYcUa0rvypbvu sFWrlfMVftIjPl3vzagIyy/M2Idct/NJQ65Dt4MsVWkaQSY22o8Ng5+G0JTDaiGnEgTf D8J6bt/LQ3SE+l1KzZVb2l+lTAhO8AMfv3n5rhWYYg58uYnBEjk6MmYqr0fDMv8OCQqL cZmgZ0QKnnBsZUQZMXVsdI0Ux9IhoNlMKgOpvpiRquPdzKj8cwuewopvpioacSyMWw7W UbszOOEDbO8iGME//IQGBRZz1x5MPd6TWSz3gZMnUs1WZ39ZYmdPetza2HDkmKNZE9hi 8Kow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PxD5eSuoVNmuy9uK+8ImVic/9oJqQQRTmLdQoVDSq7Y=; b=GVZPqB0mpjo+EmIEZnGGC0rBIphNeA8rd+/LSAr6f/LCJqLOX5oiwgh7KBMd6v+czc pcdLJN8QPGdugSNELIVfLVLxccs4goHfgBjVhRIkwdIp9FvJM+ejWt4f9JwBclb4+5JK qoaCp8HJRzTgcpJt86yA+qqpUCkImWuE5QvZ9NGEKiqjxORY4moSyDsRRqCo7UPVl8ZB z6/Eat1m3f7NJOflMEhrKnzhjeC3kLAPT8OkxrSVchWjOuoR7VcH3jLXqpfqiNlNvLRX Zy9MHjV9XSiy9gLfTlfOMHCHe4PhXo6X5QvPwu1/CcSeLF5LZyzWpJHzTdzzQq25SB3l n/Qw== X-Gm-Message-State: AOAM531rMkO7fA9FHK8ry6spkDCle2kN6qY40yBxyecKrAeiEMS2gJy0 vNJ0F+zDLt8HA+MZYZDlisWmyg== X-Google-Smtp-Source: ABdhPJzx5sj2gYh1ULvzxGJ7yFMUUqcDmoHIYl0Ac4TNb3gQXehLf7eOzhw8ByfX64VEo3qPUrx8HA== X-Received: by 2002:a5d:554e:: with SMTP id g14mr53969208wrw.353.1641567917145; Fri, 07 Jan 2022 07:05:17 -0800 (PST) Received: from localhost.localdomain ([2001:861:44c0:66c0:fc89:e826:8938:cbde]) by smtp.gmail.com with ESMTPSA id s194sm1848246wme.45.2022.01.07.07.05.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jan 2022 07:05:16 -0800 (PST) From: Neil Armstrong To: kishon@ti.com, vkoul@kernel.org, devicetree@vger.kernel.org Cc: linux-phy@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Neil Armstrong Subject: [PATCH v3 1/2] dt-bindings: phy: add Amlogic G12A Analog MIPI D-PHY bindings Date: Fri, 7 Jan 2022 16:05:11 +0100 Message-Id: <20220107150512.614423-2-narmstrong@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220107150512.614423-1-narmstrong@baylibre.com> References: <20220107150512.614423-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220107_070518_591187_667363BB X-CRM114-Status: GOOD ( 11.51 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org The Amlogic G12A SoCs embeds an Analog MIPI D-PHY to communicate with DSI panels, this adds the bindings. This Analog D-PHY works with a separate Digital MIPI D-PHY. Signed-off-by: Neil Armstrong --- .../phy/amlogic,g12a-mipi-dphy-analog.yaml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/amlogic,g12a-mipi-dphy-analog.yaml diff --git a/Documentation/devicetree/bindings/phy/amlogic,g12a-mipi-dphy-analog.yaml b/Documentation/devicetree/bindings/phy/amlogic,g12a-mipi-dphy-analog.yaml new file mode 100644 index 000000000000..7aa0c05d6ce4 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/amlogic,g12a-mipi-dphy-analog.yaml @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/phy/amlogic,g12a-mipi-dphy-analog.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Amlogic G12A MIPI analog PHY + +maintainers: + - Neil Armstrong + +properties: + compatible: + const: amlogic,g12a-mipi-dphy-analog + + "#phy-cells": + const: 0 + + reg: + maxItems: 1 + +required: + - compatible + - reg + - "#phy-cells" + +additionalProperties: false + +examples: + - | + phy@0 { + compatible = "amlogic,g12a-mipi-dphy-analog"; + reg = <0x0 0xc>; + #phy-cells = <0>; + };