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 73F121075274 for ; Thu, 19 Mar 2026 08:04:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type: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=5tKqsCec8s1iRuErQ6/6wPiEKNxS+rF+mao59tmA3Aw=; b=J8XZMfya/wUNAx69X7MNrHyVid /7juxXKANuv43qup5AlqqqW1XRpdaEtkEbEfA1HN2yH7zDsLtnKJFVgsl5wRwZPjU1/m6hi4p5rjW Xm4IQ+L2GAJ8kEnqilmW5gXeztMa9yU+G/IBPE7bXuEoZqTPGDCaqYJ7OUjJwKUY744XidUHVJ2i5 ddWnU74ojVdBI3OwPY5Dvq99kttzXsclHp/W4cQCNditzaiYSf8sjELFRoA0lp4WCsd1AmzwcTZfz FcTIEmjZYR4L3thB74qCLIXe+VN8RgLDsduSYT8srmwucJPKNXrX5UzPfjqjlbYjO8+uxmRhGaSjv SsMGs5dg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1w38MZ-0000000ACYp-2P8H; Thu, 19 Mar 2026 08:04:15 +0000 Received: from bali.collaboradmins.com ([2a01:4f8:201:9162::2]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1w38MV-0000000ACXt-3xJ3; Thu, 19 Mar 2026 08:04:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1773907448; bh=oddScRKYzaeDQ9pGWNCQ6oWoxk9xdprHLqYG2eBVmlQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=a8OcSNGBcqdOsgpeikZ6TXswpBrTS9I3QHnKk4mNa0ibBWD068edwm47HjayT4h9W kxWXUEBdKKC3YD7ccz827IEJHKzS+rNgyqGqeYACcKdFDPNLbot5QEmfSaYqxiNZef Z7Me4f46esE/NOqrpk5CnbXQb6wR7RTn8E0qZq7mq9DoIfsAk01VzTJo2FSBq8ZZGc LsHtwOI8bBu5RjlzRVl7IoJAvLTZ2O4HTJyXlwwqo8OT6fexWio6egKG2laLdeJ0RM cfmnbWJPA03dE3djLFFy3BHb+pBsujxk8g5X/ZGCXG90x3S3PipBHzGxjnmySWmJEG PGL7qpyblQgng== Received: from [10.40.0.100] (185-67-175-126.lampert.tv [185.67.175.126]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: mriesch) by bali.collaboradmins.com (Postfix) with ESMTPSA id 79FE417E0EB4; Thu, 19 Mar 2026 09:04:07 +0100 (CET) Message-ID: Date: Thu, 19 Mar 2026 09:04:06 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/9] media: dt-bindings: add rockchip rk3588 vicap To: Conor Dooley Cc: Mehdi Djait , Laurent Pinchart , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Kever Yang , Jagan Teki , =?UTF-8?B?0JrRg9C30L3QtdGG0L7QsiDQnNC40YXQsNC40Ls=?= , Sebastian Reichel , Nicolas Dufresne , Collabora Kernel Team , Sakari Ailus , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org References: <20250430-rk3588-vicap-v2-0-77de5ee9048e@collabora.com> <20250430-rk3588-vicap-v2-2-77de5ee9048e@collabora.com> <20260318-mumbo-lumber-b550932a5423@spud> Content-Language: en-US From: Michael Riesch In-Reply-To: <20260318-mumbo-lumber-b550932a5423@spud> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260319_010412_183523_C9F1E497 X-CRM114-Status: GOOD ( 14.30 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Conor, On 3/18/26 18:52, Conor Dooley wrote: > [...] >> >> resets: >> - items: >> - - description: ARST >> - - description: HRST >> - - description: DRST >> - - description: PRST >> - - description: IRST >> + minItems: 5 >> + maxItems: 9 >> >> reset-names: >> - items: >> - - const: arst >> - - const: hrst >> - - const: drst >> - - const: prst >> - - const: irst >> + minItems: 5 >> + maxItems: 9 > >> +allOf: >> + - if: >> + properties: >> + compatible: >> + contains: >> + const: rockchip,rk3568-vicap >> + then: >> + properties: >> + clocks: >> + minItems: 4 >> + maxItems: 4 > > Anything here that repeats the outermost constraint should be dropped, > so no minItems here.. I already took a look at similar VICAPs (e.g., R3576) that will have more clocks. This is way I left this one in here. But I guess I will remove it and add it again when e.g. RK3576 VICAP support is added. >> [...] > >> + >> + reset-names: >> + items: >> + - const: arst >> + - const: hrst >> + - const: drst >> + - const: irst0 > > Were you willing to reuse "irst" for the 0th irst, all the repetition > wouldn't be needed. I assume it represents the reset for the port at > address 0, so it wouldn't even be a different meaning on each device. Not quite I think. "{a,h,d}rst" are the same on all variants, then there is "prst" and "irst" on RK3568 and "irst{0-5}" on RK3588. So I thought that writing it out explicitly for each variant is more readable (even though it may need a few characters more). OK? I'll try to send out a new version later today. Best regards, Michael > >> + - const: irst1 >> + - const: irst2 >> + - const: irst3 >> + - const: irst4 >> + - const: irst5 >> + >> additionalProperties: false >> >> examples: >> >> -- >> 2.39.5 >> >>