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 DB63FC47077 for ; Tue, 16 Jan 2024 16:14:28 +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=b9+JD7Gn6JRZu5NSLjEDVUoG28SYmbpjgyM44wCTiMo=; b=Ob62bYx2tuv2EK DOOc/00x1BEYfIMXdlMVoeTfSp1C+kfk92tw8wBIlyaaooh9L3pRwAAnJQEcZjv5iuBi6KfqpkHAD cILA+B6SEmQJW23eaBOgM0p3d8vo0Jppk0CSD31T9oGgNRr0yEnbp8nUy0vIXW4PYgA8SKgZWFyb1 fKfoZB4koBxhve0fHtU0VtK1+8LaInwYa7lxXTMv+ErXCtuo8VxP5KsQuA2+J6wWnSboGYLQXYz+g WetTIEYiMlia2VNr03Iw/N40Xk5PY7Jzcmpeiv12bZyEFCWwo4DC00BFUja/L1HC6jWNUykJF5PUg 7gWLXMuXCgqSHwcmfnxQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rPm4a-00CYxs-39; Tue, 16 Jan 2024 16:13:56 +0000 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rPm4X-00CYus-1U for linux-arm-kernel@lists.infradead.org; Tue, 16 Jan 2024 16:13:56 +0000 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1d5f5a2e828so2017075ad.3 for ; Tue, 16 Jan 2024 08:13:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705421629; x=1706026429; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=fEOjtDtYVBOB1Sc9meCvWqA+RQADIvF7Dvcqsf5Mj80=; b=PxYisJeijN5gN5tAMqDp2H1WYIcwABMJAiGPCmWDgjQNJ4LpYqCGxkGMpYQtsfX3XY vmkgmDHmOiu78i7QrWXMZJXp2fG5gB8VMUxOIJ6wFGBI3Xi+05zhisg19v4BNBwO/RD+ SOd32Tqj7ZWPSzUnrpDj7ZiUyQNeJ8MRpauhOduTvz0ptKCdpTzbfw9D4i8inahqPnY2 dSa1gkxZSYrX5ZC4Br5QiCbo8xpZ6iSv9SG6GSwUDiG9d7rLyega3T8V7Aqs28p5T6NN ggtP60XMcqvZYwkxVXw1XZpejMp5K6831ShzMsCeujV970MyOuNRp2KDUSqcfcL8rCNh Ngqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705421629; x=1706026429; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=fEOjtDtYVBOB1Sc9meCvWqA+RQADIvF7Dvcqsf5Mj80=; b=c3IB//0tiGVDs/J8bwVA5nVQgVD1D6v2rWWwCXglEoVBDvoZsw1tfDj6qoBIRP6MOE PieQz0D+Zq9aIHevt6u78KjeHeTqrTIYFqTxue9hhitq6Hu7iFEjLRnU8EVpWvwDIJ/L 6RKtbAlNj2swOp98chJpoW6PsaalUWvbM3hLF+rgcYgWwPUEgiS6Et2LZjyM/7j9xha9 6Y11tywuoWqsah4F6G1dBMC7/CShPO2VB7JtNnl7SQBU8TKmq+RPAEp8kCZw9QwDXbYQ aDI/ZWD9mo29ofGUOJQxju6SvOfsB/G9eVZNIHmnQiJURYYWKW0jERIKTavFrXwgHlnx 4K3g== X-Gm-Message-State: AOJu0YzB7Lzf8SsXuj6RNOggcI95PS3r270iK/iNa7FyO4htdH2aMLrn rKDhMp+5Oensg+knrhft1CaUa51Y5HsIyg== X-Google-Smtp-Source: AGHT+IGqo6AFxOY/lJm+DyF6xmEXUShCosfyfZqWOZaC24dFB/lBB7V8xo1CdgEHQp2/QnY9hCKm0A== X-Received: by 2002:a17:90a:ad8b:b0:28d:b72f:a63b with SMTP id s11-20020a17090aad8b00b0028db72fa63bmr3758818pjq.69.1705421629666; Tue, 16 Jan 2024 08:13:49 -0800 (PST) Received: from p14s ([2604:3d09:148c:c800::5ced]) by smtp.gmail.com with ESMTPSA id sd5-20020a17090b514500b0028d573397dcsm14451049pjb.42.2024.01.16.08.13.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 08:13:49 -0800 (PST) Date: Tue, 16 Jan 2024 09:13:46 -0700 From: Mathieu Poirier To: Krzysztof Kozlowski Cc: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Konrad Dybcio , Tinghan Shen , Manivannan Sadhasivam , Bhupesh Sharma , linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH] dt-bindings: remoteproc: do not override firmware-name $ref Message-ID: References: <20240115182031.1610088-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240115182031.1610088-1-krzysztof.kozlowski@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240116_081353_504237_AF79EA7A X-CRM114-Status: GOOD ( 19.35 ) 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 Mon, Jan 15, 2024 at 07:20:31PM +0100, Krzysztof Kozlowski wrote: > dtschema package defines firmware-name as string-array, so individual > bindings should not make it a string but instead just narrow the number > of expected firmware file names. > > Signed-off-by: Krzysztof Kozlowski > --- > Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml | 4 ++-- For the above: Reviewed-by: Mathieu Poirier > .../devicetree/bindings/remoteproc/qcom,qcs404-pas.yaml | 2 +- > .../devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml | 2 +- > .../devicetree/bindings/remoteproc/qcom,sc7280-wpss-pil.yaml | 2 +- > .../devicetree/bindings/remoteproc/qcom,sc8180x-pas.yaml | 2 +- > .../devicetree/bindings/remoteproc/qcom,sm6115-pas.yaml | 2 +- > .../devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml | 2 +- > .../devicetree/bindings/remoteproc/qcom,sm6375-pas.yaml | 2 +- > .../devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml | 2 +- > .../devicetree/bindings/remoteproc/qcom,sm8350-pas.yaml | 2 +- > .../devicetree/bindings/remoteproc/qcom,wcnss-pil.yaml | 2 +- > 11 files changed, 12 insertions(+), 12 deletions(-) > > diff --git a/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml b/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml > index 09102dda4942..507f98f73d23 100644 > --- a/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml > +++ b/Documentation/devicetree/bindings/remoteproc/mtk,scp.yaml > @@ -47,7 +47,7 @@ properties: > maxItems: 1 > > firmware-name: > - $ref: /schemas/types.yaml#/definitions/string > + maxItems: 1 > description: > If present, name (or relative path) of the file within the > firmware search path containing the firmware image used when > @@ -115,7 +115,7 @@ patternProperties: > maxItems: 1 > > firmware-name: > - $ref: /schemas/types.yaml#/definitions/string > + maxItems: 1 > description: > If present, name (or relative path) of the file within the > firmware search path containing the firmware image used when > diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,qcs404-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,qcs404-pas.yaml > index eb868a7ff4cd..ad45fd00ae34 100644 > --- a/Documentation/devicetree/bindings/remoteproc/qcom,qcs404-pas.yaml > +++ b/Documentation/devicetree/bindings/remoteproc/qcom,qcs404-pas.yaml > @@ -46,7 +46,7 @@ properties: > description: Reference to the reserved-memory for the Hexagon core > > firmware-name: > - $ref: /schemas/types.yaml#/definitions/string > + maxItems: 1 > description: Firmware name for the Hexagon core > > required: > diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml > index c054b84fdcd5..66b455d0a8e3 100644 > --- a/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml > +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sc7180-pas.yaml > @@ -45,7 +45,7 @@ properties: > smd-edge: false > > firmware-name: > - $ref: /schemas/types.yaml#/definitions/string > + maxItems: 1 > description: Firmware name for the Hexagon core > > required: > diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-wpss-pil.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-wpss-pil.yaml > index b6bd33438584..9381c7022ff4 100644 > --- a/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-wpss-pil.yaml > +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sc7280-wpss-pil.yaml > @@ -80,7 +80,7 @@ properties: > description: Reference to the reserved-memory for the Hexagon core > > firmware-name: > - $ref: /schemas/types.yaml#/definitions/string > + maxItems: 1 > description: > The name of the firmware which should be loaded for this remote > processor. > diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sc8180x-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sc8180x-pas.yaml > index 4744a37b2b5d..45ee9fbe0966 100644 > --- a/Documentation/devicetree/bindings/remoteproc/qcom,sc8180x-pas.yaml > +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sc8180x-pas.yaml > @@ -42,7 +42,7 @@ properties: > description: Reference to the reserved-memory for the Hexagon core > > firmware-name: > - $ref: /schemas/types.yaml#/definitions/string > + maxItems: 1 > description: Firmware name for the Hexagon core > > required: > diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm6115-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm6115-pas.yaml > index 028287235912..758adb06c8dd 100644 > --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm6115-pas.yaml > +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm6115-pas.yaml > @@ -47,7 +47,7 @@ properties: > smd-edge: false > > firmware-name: > - $ref: /schemas/types.yaml#/definitions/string > + maxItems: 1 > description: Firmware name for the Hexagon core > > required: > diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml > index f7e40fb166da..c1a3cc308bdb 100644 > --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml > +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm6350-pas.yaml > @@ -42,7 +42,7 @@ properties: > smd-edge: false > > firmware-name: > - $ref: /schemas/types.yaml#/definitions/string > + maxItems: 1 > description: Firmware name for the Hexagon core > > required: > diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm6375-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm6375-pas.yaml > index 3e4a03eb4532..7286b2baa19f 100644 > --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm6375-pas.yaml > +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm6375-pas.yaml > @@ -36,7 +36,7 @@ properties: > description: Reference to the reserved-memory for the Hexagon core > > firmware-name: > - $ref: /schemas/types.yaml#/definitions/string > + maxItems: 1 > description: Firmware name for the Hexagon core > > smd-edge: false > diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml > index 238c6e5e67c5..d67386c50fa4 100644 > --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml > +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml > @@ -46,7 +46,7 @@ properties: > smd-edge: false > > firmware-name: > - $ref: /schemas/types.yaml#/definitions/string > + maxItems: 1 > description: Firmware name for the Hexagon core > > required: > diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8350-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8350-pas.yaml > index 53cea8e53a31..4b9fb74fb9e9 100644 > --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8350-pas.yaml > +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8350-pas.yaml > @@ -47,7 +47,7 @@ properties: > description: Reference to the reserved-memory for the Hexagon core > > firmware-name: > - $ref: /schemas/types.yaml#/definitions/string > + maxItems: 1 > description: Firmware name for the Hexagon core > > required: > diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.yaml > index 45eb42bd3c2c..8e033b22d28c 100644 > --- a/Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.yaml > +++ b/Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.yaml > @@ -51,7 +51,7 @@ properties: > - const: stop-ack > > firmware-name: > - $ref: /schemas/types.yaml#/definitions/string > + maxItems: 1 > description: > Relative firmware image path for the WCNSS core. Defaults to > "wcnss.mdt". > -- > 2.34.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel