From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (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 8FC683AA507 for ; Mon, 6 Jul 2026 10:07:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783332446; cv=none; b=aoT9ZzIFIrCYY+/2BWpyUhFtTNicX3JlPn9g/P+j5TPIUl2ClAjJ2kwfJW8l4ci5AtYIv60PZfKg4dhmAWDmrUVbgtjhcCx9UUNBJjV/LyLSFDoOVqwJMIrEUBGo6jk/LvJIZd0yzxwtKqG0QoJmidOJi60E/pLeEFDx0Fgs+Z4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783332446; c=relaxed/simple; bh=cRWNjKmduoK//U7tqDYvdW8Fw47BsRRlQaOBQhBhOfI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=l2rdO3AcfCr6sbOhckl4YfvnP4AKDwO7NHBiPqUXkA2M/jr4w7W7PT8sDNruK33m03tUhoH4Ar+jEIjG0c9OQLFXhgiArDhYBdimMTJzcEKo+/xboONU86MvAuycczkTQNST37eN8T0jo/w44Fd4e7XzJL1JI2tWmEdeOHIPK/U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=X1UxLoY9; arc=none smtp.client-ip=209.85.208.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="X1UxLoY9" Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-698b6c87884so4965541a12.2 for ; Mon, 06 Jul 2026 03:07:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1783332442; x=1783937242; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to:content-type; bh=3UGN+tInxm7YHzGqwLdDJ1bWYCbBBGU54xQmERlMD08=; b=X1UxLoY9KDlDjt1y1R5kEZDF4V/rRkfJmQquq5271XE9EwHP32ww6JOrwjQDoOKfVT qnXjmNEhgL9eWPLX62XCD04i9N3VtrvgvBaHoT2ozZcKF+59IVeQXfy2wKSvR5O0rMVb 43q2NVVvk9l4gqe5Og0cLHhbX3qlp0JRnQe4F2O3baDtvU1/c9VzW+3nDPiWsq4PwgGy 8Dnk5tyTUl+EDyF/QaI6Fx1cgBxA7egkFaGUYBQITPdX+t6CLqxBlJMELiaRGDSZWPXY D15L5bQasIFmeSZGG89S3XRgGpQtGwhhoo0/0Lep19d+NyPaWgYu8+e0EBMDkXl97u6q WaAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783332442; x=1783937242; h=content-transfer-encoding:content-type:in-reply-to:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=3UGN+tInxm7YHzGqwLdDJ1bWYCbBBGU54xQmERlMD08=; b=mL/JKJ3A6Qjgm+bleVkpo7PXVJTyou5/fktvcjeS9AiMOvTD6sig3ypC7xYoe6jijM P2mb0yrj4LHaCuRWWAn/BwtqdkVBs5Qw89umfV1gBzEKtJkEDGk6CHazd/Qc25sedkdU vefie+zy73tuVnZX8vmofX9xT6LAm2XS7ZRapnbsq3IuFmXMwwCPaL+NntvIECNPl/QL Zi+/idAhehqnLhijNhN3A2eoQX+JpxwxBgc9yl9R8G9aW/8PdMZVAu49ASpXk27T70JW 3KKUrDd3ADMg/60o811AJtgbnlFEf16i12vp+qxm3uDUgOYGd77rhDucQbdrcEFMXZVB 2jTQ== X-Forwarded-Encrypted: i=1; AHgh+RruHy1sCn0IUllARf/xmpoQ2BGLlkzSgxsouRIU+swK8r6nJMD7hb1yFAR+9LC7uuds8F1u1ETbztL7@vger.kernel.org X-Gm-Message-State: AOJu0YwMcEPW+FRkMVAY+Yg+j/TZ4X5wgfcvrx+SS7W+aSrg5ca4b3q+ ioALMhDIugHeb6M+h3rasDwpe6TPyk7oBo5UOtVVpvz9ctDei64Z+G3aTMJQ4GeLw5g= X-Gm-Gg: AfdE7cmJzKTw2wTnPRyEZDvZPdetzScYLlIXESTxYwkiJ4qdJLKfUoQYh0rZMeHHXlA KVTFgGt6ynxDf0duFCArB+wf5CFmXSDDxQKmFW3fd6tdz9sQsCtqgfF++MwRxfkfrrHcHwU+qAZ zkAymE8LycH8mJOvUQG6G4qepPZAX33id9Bj0bc2zyEGNlFxH0JFVb+PbXcVflXqKsqyWzZZ60F GcDQUE0xzjIUBvLDowJOVcrZMDhgWgyE/gDtPrk0aiiuj4H52lcnRFLZVZHf6rEeBZhp7PQM5XC e5YXq3iwXNQDaqsRw/w1nQ+ovZe+TjdEJzipbAb4QWH7wBLiOixmJIIzjIxDz/YcbyaYyamvPJP iwNUlpnVj4NOswt/X+XTURfGHz7qQ1EtKMRD93s77GQOtZ9Y9cLO4v84tkDoH4O003FPenTKNg9 ZQ207w0zwHYGFiRvd9ZjY0VGuACg== X-Received: by 2002:a17:906:fe02:b0:beb:8c28:254 with SMTP id a640c23a62f3a-c12e66259a7mr358483366b.0.1783332441744; Mon, 06 Jul 2026 03:07:21 -0700 (PDT) Received: from [192.168.0.101] ([109.77.44.220]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c12b62c552esm710202766b.49.2026.07.06.03.07.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Jul 2026 03:07:21 -0700 (PDT) Message-ID: Date: Mon, 6 Jul 2026 11:07:19 +0100 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 2/5] dt-bindings: media: qcom,sm8250-camss: allow JPEG encoder child node To: Atanas Filipov , linux-media@vger.kernel.org Cc: vladimir.zapolskiy@linaro.org, loic.poulain@oss.qualcomm.com, mchehab@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andersson@kernel.org, konradybcio@kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20260706071113.383215-1-atanas.filipov@oss.qualcomm.com> <20260706071113.383215-3-atanas.filipov@oss.qualcomm.com> From: Bryan O'Donoghue Content-Language: en-US In-Reply-To: <20260706071113.383215-3-atanas.filipov@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 06/07/2026 08:11, Atanas Filipov wrote: > The CAMSS node uses #address-cells = <2>, #size-cells = <2> and ranges > to act as a bus for child IP blocks such as the JPEG encoder. Add these > properties to the binding so that dtbs_check does not reject them. > > Use unevaluatedProperties: false instead of additionalProperties: false > so that child nodes are validated against their own schema (matched by > compatible) without requiring the parent binding to enumerate each child > type explicitly. This is the correct approach for a bus-like container > node and avoids updating the camss binding for every new child device > added in the future. > > No functional change. > > Signed-off-by: Atanas Filipov > --- > .../devicetree/bindings/media/qcom,sm8250-camss.yaml | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/media/qcom,sm8250-camss.yaml b/Documentation/devicetree/bindings/media/qcom,sm8250-camss.yaml > index a509d4bbcb4a..6008938ee369 100644 > --- a/Documentation/devicetree/bindings/media/qcom,sm8250-camss.yaml > +++ b/Documentation/devicetree/bindings/media/qcom,sm8250-camss.yaml > @@ -102,6 +102,14 @@ properties: > - description: IFE1 GDSC - Image Front End, Global Distributed Switch Controller. > - description: Titan GDSC - Titan ISP Block, Global Distributed Switch Controller. > > + "#address-cells": > + const: 2 > + > + "#size-cells": > + const: 2 > + > + ranges: true > + > ports: > $ref: /schemas/graph.yaml#/properties/ports > > @@ -317,7 +325,7 @@ required: > - vdda-phy-supply > - vdda-pll-supply > > -additionalProperties: false > +unevaluatedProperties: false > > examples: > - | Reviewed-by: Bryan O'Donoghue