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 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 090FCC54EBD for ; Fri, 13 Jan 2023 12:03:42 +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:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0z1K6iIrh35hm8TB8lSCbmlTdiZ2kEfbJHaiuxFrq64=; b=KOSkrB4NJBabbC AB8RT6s+Np2Qt9trKGyCQ58eNeS2e/GSOiwNJdflZx+5/BQd2l0s/TYF/eXmg8cZX2tH4pYNBy3hI MkPxp4iz3KuV9ShmgxXDDnuMW+jFR2qVZJKdjhf+ZcIZn6srjvqlTmJ2Cj8L56OrJare06OdF4uAk NEk3Pcx52ger03rXpXEEZMElBXb8Af3QPTbBDtYhrNDENlrGSlLg7eg4ApEHyiYfIKb0dV6DhbmiN FlWKaln/ew19AiTW7sCkbPLQbDWF3lhGb2EjByNPQqU8nKQhozbBFc2MmeCgu1+mwSDkbXA0n2z0W FRhYFS8DhwWLJ2Nh3y6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGIlS-002QT2-Dh; Fri, 13 Jan 2023 12:02:30 +0000 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGIfS-002Nqs-ED for linux-arm-kernel@lists.infradead.org; Fri, 13 Jan 2023 11:56:21 +0000 Received: by mail-ed1-x52f.google.com with SMTP id s5so30821839edc.12 for ; Fri, 13 Jan 2023 03:56:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=MDwPPUmS6ku5XiF9sg2o4h2Tsw4fKvsiGo/tgjTFluw=; b=TIsYDzWXLQTiUTuDnRMj2qd1TPWxYoyFw8r6gF7MSErFF37EnG0LimKaWMRit5Wb43 /4MLOOZD22T7qzQoo5lw6ga3eyLToMp5o2tu94+nFvgVFUGw1NuzmNt1Xl9tPMLVXTF8 g4c6gT8ZlOGslkzAfol/zcMSfJlLBbeXo+7WdPglDIgIpOwOGRkY0M1M2j2vEMiyuT7N QhNLby9FY4WUOYUCzzYgWqENQWjh73UQYFK4PBF38NKj3Jmvnjqlx90upIIPFaYm9e5b XhPsROyYLSU+HzjB5mXO50vOovA3Rup2Hc0w+RR9Q7v3nzXI4DFf/5H4RVielEzPLwHO SWmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=MDwPPUmS6ku5XiF9sg2o4h2Tsw4fKvsiGo/tgjTFluw=; b=WpPieUgbvu5DaAQNaTjfzb26qkb5J5n4J7wVxCqi3qQDHYgqQ3raxSuE+g9SIWy2Gs NXRV+kbOJ5LBg18yqEFuMt+T63znEIvV7lBjVdOHdwHMClPHf4AYqYWJoeFAk825AysP 0+eDjOlWJW0Swf2IsaMQ9KtcoDI2rcFuVmRmlOn6BQ5o6G3u7QHve5MdFdd1KIEYdJCu WW5D9A8K065G0f3X74a8T5S+MIBIMnPXUhQHuJteaB8geJh0DyxUMe4qd+vOp9y0waRJ 53s1vn3YPUdPP3+JpzCTLkBja2m8evqSpuFYIc2u3Cl++8ul8p9K1uUFC7+MawqISxQE OJHA== X-Gm-Message-State: AFqh2kr7/JhvwulHUGzIVpf2t+Nap83vQTdalrR/FqmCIQi7B4+iqwvn n/6otKcWpnOWyZniNiibg7I4ag== X-Google-Smtp-Source: AMrXdXthRZsZQpg+QrTZC4qRM9j4hh46xIbK3HK6z7cQ+RGbpNCGXHwcV7g8HGkbK5fu5hksyeus6Q== X-Received: by 2002:aa7:c418:0:b0:492:609a:f148 with SMTP id j24-20020aa7c418000000b00492609af148mr22127754edq.3.1673610974564; Fri, 13 Jan 2023 03:56:14 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id eo9-20020a056402530900b00463bc1ddc76sm392342edb.28.2023.01.13.03.56.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 13 Jan 2023 03:56:14 -0800 (PST) Message-ID: Date: Fri, 13 Jan 2023 12:56:12 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v2 01/16] dt-bindings: media: fsl-pxp: convert to yaml Content-Language: en-US To: Michael Tretter , linux-media@vger.kernel.org, devicetree@vger.kernel.org, Philipp Zabel , Laurent Pinchart Cc: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Fabio Estevam , Alexander Stein , kernel@pengutronix.de, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org References: <20230112-imx-pxp-v2-0-e2281da1db55@pengutronix.de> <20230112-imx-pxp-v2-1-e2281da1db55@pengutronix.de> From: Krzysztof Kozlowski In-Reply-To: <20230112-imx-pxp-v2-1-e2281da1db55@pengutronix.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230113_035618_567774_05010CD1 X-CRM114-Status: GOOD ( 21.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 13/01/2023 10:54, Michael Tretter wrote: > Convert the bindings of the Freescale Pixel Pipeline to YAML. > > The conversion drops the previously listed compatibles for several SoCs. > It is unclear, if the PXP on these SoCs is compatible to any of the PXPs > on the existing SoCs and would allow to reuse the already defined > compatibles. The missing compatibles should be brought back when the > support for the PXP on these SoCs is added. > > Signed-off-by: Michael Tretter > --- > Changelog: > > v2: > > - add fsl,imx6sll-pxp and fsl,imx6sx-pxp compatibles > - restrict number of interrupts per variant > - cleanup syntax > --- > .../devicetree/bindings/media/fsl,imx6ull-pxp.yaml | 82 ++++++++++++++++++++++ > .../devicetree/bindings/media/fsl-pxp.txt | 26 ------- > 2 files changed, 82 insertions(+), 26 deletions(-) > > diff --git a/Documentation/devicetree/bindings/media/fsl,imx6ull-pxp.yaml b/Documentation/devicetree/bindings/media/fsl,imx6ull-pxp.yaml > new file mode 100644 > index 000000000000..c1232689a261 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/fsl,imx6ull-pxp.yaml > @@ -0,0 +1,82 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > + > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/media/fsl,imx6ull-pxp.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Freescale Pixel Pipeline > + > +maintainers: > + - Philipp Zabel > + - Michael Tretter > + > +description: > + The Pixel Pipeline (PXP) is a memory-to-memory graphics processing engine > + that supports scaling, colorspace conversion, alpha blending, rotation, and > + pixel conversion via lookup table. Different versions are present on various > + i.MX SoCs from i.MX23 to i.MX7. > + > +properties: > + compatible: > + oneOf: > + - const: fsl,imx6ul-pxp > + - const: fsl,imx6ull-pxp > + - const: fsl,imx7d-pxp These three are an enum. > + - items: > + - enum: > + - fsl,imx6sll-pxp > + - fsl,imx6sx-pxp > + - const: fsl,imx6ull-pxp > + > + reg: > + maxItems: 1 > + > + interrupts: > + minItems: 1 > + maxItems: 2 > + > + clocks: > + maxItems: 1 > + > + clock-names: > + const: axi > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + - clock-names > + > +allOf: > + - if: > + properties: > + compatible: > + contains: > + enum: > + - fsl,imx6sx-pxp > + then: > + properties: > + interrupts: > + numItems: 1 That's not correct syntax... I am surprised that it works. Did you test the bindings? Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel