From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f176.google.com (mail-oi1-f176.google.com [209.85.167.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BCB957A; Tue, 19 Apr 2022 13:48:31 +0000 (UTC) Received: by mail-oi1-f176.google.com with SMTP id r85so12954187oie.7; Tue, 19 Apr 2022 06:48:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=nsUApVIo+2QUrjaVycUT3ee7pF9FJXtnBR7YLOJOzQ0=; b=obG9ie0+68wAe9LqIDmv63LbGF2QxiUr1kWdHrsxkCYzUYRYZUWj0C7fDW+Jl9stVv r9VNne12gsvG2pgdDLW2WH4fd0/uFWqOFiFs0zK/7PdUbrC6upvjp8O3M7cpMjiXl9+c WF/9ho5iUyWaYUcOcwKvyA4L1g1RdZSMTDWTTfInHIhqZqTXtyx1ePim8eK9U2qG+yRM sBbJbCs2TgDDkuek3N0BFqbmDBO35n/C4A/8O8Xz3m5+m3TqRbi8Q1r6U9qjx2wAtAg9 FU3tOxtdhC5wb/rr1hHxdzvLJCKJl5n4GsjbNyV7dfgFtcJ/Cvsi+XlTyvU38V5462Y1 TFOA== X-Gm-Message-State: AOAM533NQp32TB+r6QCBT+iiEFp0ajnoGnpGLMkzU88gQ7VJQc3lxPPv xcHgL27sJrZxF8GYRMtYeg== X-Google-Smtp-Source: ABdhPJwAGdbwdONC730t1SrxFQ9322c21cU+FAlo9bI1B0TpQpxVtg6Tt3SHk1LjWJNA3b+E3DTVOQ== X-Received: by 2002:a05:6808:9ae:b0:2d9:a01a:4bf4 with SMTP id e14-20020a05680809ae00b002d9a01a4bf4mr7418713oig.283.1650376110729; Tue, 19 Apr 2022 06:48:30 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id q1-20020a056820028100b00335f00b5b9bsm5315376ood.15.2022.04.19.06.48.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Apr 2022 06:48:30 -0700 (PDT) Received: (nullmailer pid 2438759 invoked by uid 1000); Tue, 19 Apr 2022 13:48:29 -0000 Date: Tue, 19 Apr 2022 08:48:29 -0500 From: Rob Herring To: Paul Kocialkowski Cc: Samuel Holland , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, Mauro Carvalho Chehab , Krzysztof Kozlowski , Chen-Yu Tsai , Jernej Skrabec , Sakari Ailus , Hans Verkuil , Laurent Pinchart , Maxime Ripard , Thomas Petazzoni Subject: Re: [PATCH v3 1/4] dt-bindings: media: Add Allwinner A31 ISP bindings documentation Message-ID: References: <20220415153708.637804-1-paul.kocialkowski@bootlin.com> <20220415153708.637804-2-paul.kocialkowski@bootlin.com> <19aa74b7-0096-87c5-ef2c-9a135ad5505a@sholland.org> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Apr 19, 2022 at 11:45:50AM +0200, Paul Kocialkowski wrote: > Hi Samuel, > > On Fri 15 Apr 22, 20:59, Samuel Holland wrote: > > On 4/15/22 10:37 AM, Paul Kocialkowski wrote: > > > This introduces YAML bindings documentation for the Allwinner A31 Image > > > Signal Processor (ISP). > > > > > > Signed-off-by: Paul Kocialkowski > > > --- > > > .../media/allwinner,sun6i-a31-isp.yaml | 117 ++++++++++++++++++ > > > 1 file changed, 117 insertions(+) > > > create mode 100644 Documentation/devicetree/bindings/media/allwinner,sun6i-a31-isp.yaml > > > > > > diff --git a/Documentation/devicetree/bindings/media/allwinner,sun6i-a31-isp.yaml b/Documentation/devicetree/bindings/media/allwinner,sun6i-a31-isp.yaml > > > new file mode 100644 > > > index 000000000000..ffca216b841f > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/media/allwinner,sun6i-a31-isp.yaml > > > @@ -0,0 +1,117 @@ > > > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > > > +%YAML 1.2 > > > +--- > > > +$id: http://devicetree.org/schemas/media/allwinner,sun6i-a31-isp.yaml# > > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > > + > > > +title: Allwinner A31 Image Signal Processor Driver (ISP) Device Tree Bindings > > > + > > > +maintainers: > > > + - Paul Kocialkowski > > > + > > > +properties: > > > + compatible: > > > + enum: > > > + - allwinner,sun6i-a31-isp > > > + - allwinner,sun8i-v3s-isp > > > + > > > + reg: > > > + maxItems: 1 > > > + > > > + interrupts: > > > + maxItems: 1 > > > + > > > + clocks: > > > + items: > > > + - description: Bus Clock > > > + - description: Module Clock > > > + - description: DRAM Clock > > > + > > > + clock-names: > > > + items: > > > + - const: bus > > > + - const: mod > > > + - const: ram > > > + > > > + resets: > > > + maxItems: 1 > > > + > > > + ports: > > > + $ref: /schemas/graph.yaml#/properties/ports > > > + > > > + properties: > > > + port@0: > > > + $ref: /schemas/graph.yaml#/$defs/port-base > > > + description: CSI0 input port > > > + > > > + properties: > > > + reg: > > > + const: 0 > > > + > > > + endpoint: > > > + $ref: /schemas/graph.yaml#/$defs/endpoint-base > > > + unevaluatedProperties: false > > > + > > > + additionalProperties: false > > > + > > > + port@1: > > > + $ref: /schemas/graph.yaml#/$defs/port-base > > > + description: CSI1 input port > > > + > > > + properties: > > > + reg: > > > + const: 0 > > > > Should be "const: 1". > > > > Otherwise, > > Reviewed-by: Samuel Holland > > Good catch and thanks for the review! Yes, but you should use '/schemas/graph.yaml#/properties/port' ref instead and drop 'properties'. Rob 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 BE205C433EF for ; Tue, 19 Apr 2022 14:52:04 +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:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pfQEj+1vJotSz6D0jmKXR8+fyx/Vs+51DKJyXYe/FJo=; b=awaZ7FPEzoBImu 2ACEjfCy0UsstrsWRnn1ER3ONm2WWE4YpM7Fb7/N/jMl1i+SUH+CB+RHPl1JoxJH1iJ7fyGIBXEoP DbzlEzBcNVgifqHZFmwMNZfGoZs+pWLnHVjI/zdm4JiIFz2AidfutuQRKmc5uSStZ304iFQpJ+GlX d58IUBb0jo8zMN5ImU/oVpOfb/mNXScgygB24819Y/55fhh3aNE7FsyBjGdp1As74bwylkXEEgi1z L8B1orRdI6iB4oPVSlSQhO7/flPby+kLwLa6SC4PfvtxIN7qAY/ho9pYyC9bEE5IoosC0QMzedsBz Y0AOxLdbfkAWtdWDBiKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngpBa-004PFV-JA; Tue, 19 Apr 2022 14:50:35 +0000 Received: from mail-oi1-f177.google.com ([209.85.167.177]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngoDZ-003zuC-Ft for linux-arm-kernel@lists.infradead.org; Tue, 19 Apr 2022 13:48:35 +0000 Received: by mail-oi1-f177.google.com with SMTP id z8so18156148oix.3 for ; Tue, 19 Apr 2022 06:48:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=nsUApVIo+2QUrjaVycUT3ee7pF9FJXtnBR7YLOJOzQ0=; b=WQuwoU0SFwxFZDdFXgAcI9nE2xaaQgmAX4Qm7xNyTyoRajs40d8K6L6f6fKExD1nHW YUBCaTUFc7S5BThL81qiEYuWbeYChZG3WSHap7b9y+bz8t525vQrVy5OVHoHtZY3vzrB gpN0fzuQ3W5sKLy7V3CJgD4CjrFVTdwVvbJLQV00dztbrUc788tE3i8ODfcDCP6wKauu 3/x0eCAYu+MYUC8VWS1YrRzPQBAsOxSjwOeNwh9hw9MB+tZAeeV43+BZMuOX3YhxJpiD v2mk4CtkP4bt7xyhcqPyuJghUfYqxS3D4VjDdEnPG2to4da7wTO5DVNuAEYDF3jrBOln VsJg== X-Gm-Message-State: AOAM533WS+n/EPP4TkUXFmTkPN4M78feqfXioDOmPeywKbueGkwK3d52 OjaSQx0ca7p+CAtCdx7Wew== X-Google-Smtp-Source: ABdhPJwAGdbwdONC730t1SrxFQ9322c21cU+FAlo9bI1B0TpQpxVtg6Tt3SHk1LjWJNA3b+E3DTVOQ== X-Received: by 2002:a05:6808:9ae:b0:2d9:a01a:4bf4 with SMTP id e14-20020a05680809ae00b002d9a01a4bf4mr7418713oig.283.1650376110729; Tue, 19 Apr 2022 06:48:30 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id q1-20020a056820028100b00335f00b5b9bsm5315376ood.15.2022.04.19.06.48.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Apr 2022 06:48:30 -0700 (PDT) Received: (nullmailer pid 2438759 invoked by uid 1000); Tue, 19 Apr 2022 13:48:29 -0000 Date: Tue, 19 Apr 2022 08:48:29 -0500 From: Rob Herring To: Paul Kocialkowski Cc: Samuel Holland , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, Mauro Carvalho Chehab , Krzysztof Kozlowski , Chen-Yu Tsai , Jernej Skrabec , Sakari Ailus , Hans Verkuil , Laurent Pinchart , Maxime Ripard , Thomas Petazzoni Subject: Re: [PATCH v3 1/4] dt-bindings: media: Add Allwinner A31 ISP bindings documentation Message-ID: References: <20220415153708.637804-1-paul.kocialkowski@bootlin.com> <20220415153708.637804-2-paul.kocialkowski@bootlin.com> <19aa74b7-0096-87c5-ef2c-9a135ad5505a@sholland.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220419_064833_569949_EA4AC789 X-CRM114-Status: GOOD ( 19.44 ) 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 Tue, Apr 19, 2022 at 11:45:50AM +0200, Paul Kocialkowski wrote: > Hi Samuel, > > On Fri 15 Apr 22, 20:59, Samuel Holland wrote: > > On 4/15/22 10:37 AM, Paul Kocialkowski wrote: > > > This introduces YAML bindings documentation for the Allwinner A31 Image > > > Signal Processor (ISP). > > > > > > Signed-off-by: Paul Kocialkowski > > > --- > > > .../media/allwinner,sun6i-a31-isp.yaml | 117 ++++++++++++++++++ > > > 1 file changed, 117 insertions(+) > > > create mode 100644 Documentation/devicetree/bindings/media/allwinner,sun6i-a31-isp.yaml > > > > > > diff --git a/Documentation/devicetree/bindings/media/allwinner,sun6i-a31-isp.yaml b/Documentation/devicetree/bindings/media/allwinner,sun6i-a31-isp.yaml > > > new file mode 100644 > > > index 000000000000..ffca216b841f > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/media/allwinner,sun6i-a31-isp.yaml > > > @@ -0,0 +1,117 @@ > > > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > > > +%YAML 1.2 > > > +--- > > > +$id: http://devicetree.org/schemas/media/allwinner,sun6i-a31-isp.yaml# > > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > > + > > > +title: Allwinner A31 Image Signal Processor Driver (ISP) Device Tree Bindings > > > + > > > +maintainers: > > > + - Paul Kocialkowski > > > + > > > +properties: > > > + compatible: > > > + enum: > > > + - allwinner,sun6i-a31-isp > > > + - allwinner,sun8i-v3s-isp > > > + > > > + reg: > > > + maxItems: 1 > > > + > > > + interrupts: > > > + maxItems: 1 > > > + > > > + clocks: > > > + items: > > > + - description: Bus Clock > > > + - description: Module Clock > > > + - description: DRAM Clock > > > + > > > + clock-names: > > > + items: > > > + - const: bus > > > + - const: mod > > > + - const: ram > > > + > > > + resets: > > > + maxItems: 1 > > > + > > > + ports: > > > + $ref: /schemas/graph.yaml#/properties/ports > > > + > > > + properties: > > > + port@0: > > > + $ref: /schemas/graph.yaml#/$defs/port-base > > > + description: CSI0 input port > > > + > > > + properties: > > > + reg: > > > + const: 0 > > > + > > > + endpoint: > > > + $ref: /schemas/graph.yaml#/$defs/endpoint-base > > > + unevaluatedProperties: false > > > + > > > + additionalProperties: false > > > + > > > + port@1: > > > + $ref: /schemas/graph.yaml#/$defs/port-base > > > + description: CSI1 input port > > > + > > > + properties: > > > + reg: > > > + const: 0 > > > > Should be "const: 1". > > > > Otherwise, > > Reviewed-by: Samuel Holland > > Good catch and thanks for the review! Yes, but you should use '/schemas/graph.yaml#/properties/port' ref instead and drop 'properties'. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel