Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2750075pxu; Mon, 7 Dec 2020 14:51:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJyrNuMXxXzRYCAsjsul6GjCSXHn13UyMmh1jYdeXn77F38WE+BH+jM8/KySqNXMCf9RbYjU X-Received: by 2002:a17:906:ce51:: with SMTP id se17mr20682797ejb.314.1607381474214; Mon, 07 Dec 2020 14:51:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607381474; cv=none; d=google.com; s=arc-20160816; b=hyoBgpvy5FbH0dkDjaSqHhmPWgUNnd/rSzQmFyGvfBLzvjGBLLokjBVzfJFV07TBkx ZG1ow1ea6+eMNFfF6TOrL0hloANAc0lIdX2+GQZNC2ANl0YQDMqM2QncBqC/9T+HDxka RrukT2q3fFB8gOzbmHn7fmybsyP9L4ThgkRgSGO1D3eqH+Ke/x2hcZozDv1S2pt07n63 WoCoKWKYhxGIbRbMa3KcVYmcHkw5Q2O3Rw0F+bSMKnYTgBGJoTGPUbbBFj5sOv7Jat9R YFQAcNILqxJBnZgI4/7Snxi/KvrjebTQ5MG/HmTooYLlybApLMUFbXB/GnDQXJD/r7CO tAsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=0M8AV5f8oKzpVORQVLnD+CzneVSOa0nggX6FBEQvHak=; b=suMqKB1La/oG2JPReNXj+T74FUkumyH8CAVHM7+RCmOUHr0ijL/rkBdxKWmL7rd5X1 efkPs0JBdZ4x7EOXKDZUU/xoidIv4/+6k6ArVAwJrvig8lNoKT8Xud3fdQgk/sPgME8e pwlhA6fSO9WRKkEafD4ucegQww4eLyYUkXwbf184UKnrL+IDqRpSTvLNXVT6LIknE0ls QainyF5gukpsN9WPlqouYKSoaaRZeyiLoyRS4kCfEKEDYgJmrfCcdN7TG/QT2737ItkR Va+9AE3/j7UMLB1rGyLBqvJtR1qSYHLtjG/FWYZUzg1xZfAfbj4Igwfkt2GpaNkxT01e i7Dw== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m17si7414431ejn.194.2020.12.07.14.50.51; Mon, 07 Dec 2020 14:51:14 -0800 (PST) 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; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727527AbgLGWsT (ORCPT + 99 others); Mon, 7 Dec 2020 17:48:19 -0500 Received: from mail-oi1-f193.google.com ([209.85.167.193]:46028 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725917AbgLGWsT (ORCPT ); Mon, 7 Dec 2020 17:48:19 -0500 Received: by mail-oi1-f193.google.com with SMTP id f132so2868921oib.12; Mon, 07 Dec 2020 14:48:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=0M8AV5f8oKzpVORQVLnD+CzneVSOa0nggX6FBEQvHak=; b=hmycxQuA78tZ9Vr8M17v3fpkS9DfNkDbPjzR3s2TNkeefr3vJ9DFMYs8e2l2Pe4XR3 /EAnfd0dnnNY+GtRHVsOJUslimb1OdiBdg6FREnomqu28j2IIVq+VOzRKxxhF+2L+1sf pWekqsGK3TpTdDhIJaNO9KPd8fW+e/v8ujXPE3TeeNlXiKp4aSvvBQMkTRxliFynllfQ F2+2ytmqtUShRkrT+8m7u4ikvUjtdtTNNJTYrQcIINNVUKZDeci5NruO/UmNE0gJvliY nmxoJWDhLfTFYU50oZGFZaGmGRFgyLy9EbEN3Oyh3XQOMeYGMlOBzE0xM6WGuhEFzk7m oBEQ== X-Gm-Message-State: AOAM530MQz5kgf04WWbwKWE2uaJSgmWuIjQwAb7AytSs20EI/NIBzhCI IAJl0y/1aIY/jQ7iuh28LA== X-Received: by 2002:aca:de85:: with SMTP id v127mr799245oig.36.1607381258314; Mon, 07 Dec 2020 14:47:38 -0800 (PST) Received: from xps15 (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id n3sm3243022oif.42.2020.12.07.14.47.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Dec 2020 14:47:37 -0800 (PST) Received: (nullmailer pid 985883 invoked by uid 1000); Mon, 07 Dec 2020 22:47:36 -0000 Date: Mon, 7 Dec 2020 16:47:36 -0600 From: Rob Herring To: Neil Armstrong Cc: vkoul@kernel.org, kishon@ti.com, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: phy: add Amlogic G12A Analog MIPI D-PHY bindings Message-ID: <20201207224736.GB978231@robh.at.kernel.org> References: <20201123145157.300456-1-narmstrong@baylibre.com> <20201123145157.300456-2-narmstrong@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201123145157.300456-2-narmstrong@baylibre.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 23, 2020 at 03:51:56PM +0100, Neil Armstrong wrote: > 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 | 40 +++++++++++++++++++ > 1 file changed, 40 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..28663552f05b > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/amlogic,g12a-mipi-dphy-analog.yaml > @@ -0,0 +1,40 @@ > +# 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 > + > +description: |+ > + The Everything-Else Power Domains node should be the child of a syscon > + node with the required property: > + > + - compatible: Should be the following: > + "amlogic,meson-gx-hhi-sysctrl", "simple-mfd", "syscon" > + > + Refer to the the bindings described in > + Documentation/devicetree/bindings/mfd/syscon.yaml This schema should be referenced from the parent schema and if you have child nodes, you shouldn't be using syscon.yaml. > + > +properties: > + compatible: > + const: amlogic,g12a-mipi-dphy-analog > + > + "#phy-cells": > + const: 0 > + > +required: > + - compatible > + - "#phy-cells" > + > +additionalProperties: false > + > +examples: > + - | > + mpphy: phy { > + compatible = "amlogic,g12a-mipi-dphy-analog"; > + #phy-cells = <0>; Looks like a dedicated subset of registers, add 'reg' even if Linux doesn't use it (currently). > + }; > -- > 2.25.1 >