From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C713C433FE for ; Mon, 7 Dec 2020 16:59:50 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2FDA723884 for ; Mon, 7 Dec 2020 16:59:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2FDA723884 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 914BC89487; Mon, 7 Dec 2020 16:59:49 +0000 (UTC) Received: from mail-oi1-f193.google.com (mail-oi1-f193.google.com [209.85.167.193]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7FA3D89487 for ; Mon, 7 Dec 2020 16:59:48 +0000 (UTC) Received: by mail-oi1-f193.google.com with SMTP id o25so16127144oie.5 for ; Mon, 07 Dec 2020 08:59:48 -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=/SkJ+y4JbdE9Xwej35tShvVwA0lpKmxCFraHeH0nWHU=; b=naKXsTMAopOTrGSlsYXHdfs10/c7+XIwSpfj7w95X+6wYwvNgUK9kHFTCLJHHHg9EE 3q8adLkTnckaupPwOLQxeozOshWoeN0o50WCnapr9qAboAX+2N8o8diwkMyAeFhdNzi7 ZPCC/iF4O3Hvscod8o+xVFWpkTsp5XCyFTmvDOW3i4yG1bvH+eW+Zg9Obnl80aQyzln5 jmPC8xASzANWoh1gxfbHIA3uFP7orXbYqLeq3KcboHUIKglYyJfKwr7OYdTHtkqKsH/o uXqS0uWR/GO2WkU2GJU60saskPcLTXfRrcZ39MT8D+58OhUGqymrpPkriI/xZf5Qnseh y7Gw== X-Gm-Message-State: AOAM531IfSerIquqkHwXN2B3O0CeKXA378aUCGwkgywy2f5W7Dac6GAa 9md5rS86BcW+GfJfELQs0A== X-Google-Smtp-Source: ABdhPJw/vjdojTgl/o7v8d/67obyPy8N0PY1fH5WpiG2P28+XiZRLIfp/vBt4qFEzO6Ba3m9FScZNg== X-Received: by 2002:aca:6087:: with SMTP id u129mr13372577oib.173.1607360387662; Mon, 07 Dec 2020 08:59:47 -0800 (PST) Received: from xps15 (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id s9sm2749031otb.6.2020.12.07.08.59.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Dec 2020 08:59:46 -0800 (PST) Received: (nullmailer pid 434629 invoked by uid 1000); Mon, 07 Dec 2020 16:59:45 -0000 Date: Mon, 7 Dec 2020 10:59:45 -0600 From: Rob Herring To: Liu Ying Subject: Re: [PATCH v3 2/6] dt-bindings: display: imx: Add i.MX8qxp/qm PRG binding Message-ID: <20201207165945.GA430214@robh.at.kernel.org> References: <1607311260-13983-1-git-send-email-victor.liu@nxp.com> <1607311260-13983-3-git-send-email-victor.liu@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1607311260-13983-3-git-send-email-victor.liu@nxp.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, tzimmermann@suse.de, airlied@linux.ie, s.hauer@pengutronix.de, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-imx@nxp.com, laurentiu.palcu@oss.nxp.com, shawnguo@kernel.org, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Mon, Dec 07, 2020 at 11:20:56AM +0800, Liu Ying wrote: > This patch adds bindings for i.MX8qxp/qm Display Prefetch Resolve Gasket. > > Signed-off-by: Liu Ying > --- > Note that this depends on the 'two cell binding' clock patch set which has > already landed in Shawn's i.MX clk/imx git branch. Otherwise, imx8-lpcg.h > won't be found. > > v2->v3: > * No change. > > v1->v2: > * Use new dt binding way to add clocks in the example. > > .../bindings/display/imx/fsl,imx8qxp-prg.yaml | 60 ++++++++++++++++++++++ > 1 file changed, 60 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-prg.yaml > > diff --git a/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-prg.yaml b/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-prg.yaml > new file mode 100644 > index 00000000..d59e2db > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/imx/fsl,imx8qxp-prg.yaml > @@ -0,0 +1,60 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/imx/fsl,imx8qxp-prg.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Freescale i.MX8qm/qxp Display Prefetch Resolve Gasket > + > +maintainers: > + - Liu Ying > + > +description: | > + The i.MX8qm/qxp Prefetch Resolve Gasket (PRG) is a gasket interface between > + RTRAM controller and Display Controller. The main function is to convert > + the AXI interface to the RTRAM interface, which includes re-mapping the > + ARADDR to a RTRAM address. > + > +properties: > + compatible: > + oneOf: > + - const: fsl,imx8qxp-prg > + - const: fsl,imx8qm-prg Use enum instead of oneOf+const. With that, Reviewed-by: Rob Herring > + > + reg: > + maxItems: 1 > + > + clocks: > + items: > + - description: rtram clock > + - description: apb clock > + > + clock-names: > + items: > + - const: rtram > + - const: apb > + > + power-domains: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - clocks > + - clock-names > + - power-domains > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + prg@56040000 { > + compatible = "fsl,imx8qxp-prg"; > + reg = <0x56040000 0x10000>; > + clocks = <&dc0_prg0_lpcg IMX_LPCG_CLK_0>, > + <&dc0_prg0_lpcg IMX_LPCG_CLK_4>; > + clock-names = "rtram", "apb"; > + power-domains = <&pd IMX_SC_R_DC_0>; > + }; > -- > 2.7.4 > _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel