From nobody Tue Feb 10 04:13:42 2026 Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (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 3CE5B1BEF6A for ; Wed, 18 Dec 2024 14:48:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734533331; cv=none; b=b2+sy0n47jcDLkv5XTYjBDXnO6PZ8hWPA8mOjWQPVRpHKCVE0UDco1PDOWWioYyg+9fo7HPlCvH0PVcn4OjtKoWolJFfq9RqpWBzsBeOrTMMDgW9BQchjLiCPM42e4ZoOT/iQBaHKJyX8HaiWCXP0na6L/3yjw8aVJwgNbBPZLU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734533331; c=relaxed/simple; bh=dgUTEO5IJODWHuc652GdPAcw5MpYfTRtGhZ29mnXqV4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=L0EDZPys58H8VC0XdX3Pi6sRnR7i7ZKqzJOOc1E3ntNms2lGoStGKbp1A/8KQv57/mxIXb/HON0Yuv5NktQmpACQUb3blb3AeMDJuZ6ZnWIOP+jgPozwQ3Z8tvilp8WuTukTGGLwasAamgAQtsU2ILV5q4tvyRCcVHR1VzR6Y+0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=raspberrypi.com; spf=pass smtp.mailfrom=raspberrypi.com; dkim=pass (2048-bit key) header.d=raspberrypi.com header.i=@raspberrypi.com header.b=rYxG6wVC; arc=none smtp.client-ip=209.85.221.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=raspberrypi.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=raspberrypi.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="rYxG6wVC" Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-3862b364538so505233f8f.1 for ; Wed, 18 Dec 2024 06:48:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1734533327; x=1735138127; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=yrY2pupmY3cS5kWrlBb91JoKbiwZO8QDmeo+1uchgEg=; b=rYxG6wVC+glELCzGk2fpWlEh5Y95OaZRTxq6PKKjHPUAKMvRaErJcFeZYeoIgcpd6N OQM7zTjkHeJUc8Abhcv1wPOq6Mbxd0xT33kGaHtEz0rbDEFgZ24dnoEq6uzA8K3pIXHZ KbFSiVXg5Piz0qJK8HHoIqjwHgzbrduCH5pK5qTdAzOqg/1mFhrU7xZI4WCho9Xcgr7Q v4yroi2uYsHNsSDindIxvfWPcvTlCB82FZnj1FxjfboDiBlzTp6GfhtbFqLWf3u6ox7S U4jSloPO6Q6Mmk9bclgDiCThxvArD7WHWnlqquina6ji/0hd7RY+Xyodqs1ZO51fVaTa DoAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734533327; x=1735138127; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yrY2pupmY3cS5kWrlBb91JoKbiwZO8QDmeo+1uchgEg=; b=P4iT927gq7ifMMvSiC8vgQr0uk0kpRO+9iYQDWwIfjKK/GfwZ8K5WefNKMNRhTJU9S WCFBg1yMTXOxOOA6Qw8wCb7NjyYxEI4ULlz3fnJOBwbMeKGlLTowH2RbU8ZIadPIcT4y Ozl2m4r9auIKeY7i8xRHbngmx7xc0Jp8on6eaDovNp+0RQfBMIJVhi14+KK7jU0zfX4J 7gsGuIavGjNnARduvmCVqxc/pTVsd/zqTPsVY+x5FeoazOcZXJRy/XiBmP09ZtFw9dz8 iuMf+4iARHBARcTrO5frl0+ZVmR5LXY/HWdhCGGckveOaw47GIVqfX0KswzSUGd9gXPg NZcg== X-Forwarded-Encrypted: i=1; AJvYcCVSO2KYJ0U/TpLPCQMU21bKmjCHJe/LAnwe/4kmOZdYXB5Hu4bgktZDw37EJ/J2UusIA8EzeQukqJVe1DQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yw0lysiDWPKfX6YSC5H6icas7g+j2mDfITG91f/jR6KaufrsjBc lhS6MOjJ1hU8lTBq9NXlEqEACpoAlqMLnXqVIT8Ex7MUOhjQbZ1Fsc6OZ880e3Y= X-Gm-Gg: ASbGncvi4r0SqzuF9ic+AXpGnldxKbq/ZHR0I8zerdAFoVEcqiZzBTkD7guWvKLj5pi lugcE3H6bpfLquRDtOBiKwgrlgWUh/TWaHahUtzIYv1TuYGhoZ3LswtW8Le9DJfEG0XhyK84BY/ xthq8IyQsCgcTVLHkaQokVzogZxz91LdcR3ZNhvC8Adk6Bf9n4nWmUyt92ugQpO6AAsZgHlH5xs dlxEMzLuTUNLP22FuJv8LBEF0tV1C7afiyusb8m089ET5XX X-Google-Smtp-Source: AGHT+IGVb9AVJbgLZf6oo7CR/UM/0zP05m4m7cxzr4ZQnmR8ihuiTVlaXnWyw/vXXHA60mapsdImEQ== X-Received: by 2002:a05:6000:1ac9:b0:385:f64e:f177 with SMTP id ffacd0b85a97d-388e4e1d4f2mr2756907f8f.11.1734533327591; Wed, 18 Dec 2024 06:48:47 -0800 (PST) Received: from [127.0.1.1] ([2a00:1098:3142:e::8]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-388c80613a9sm14165163f8f.101.2024.12.18.06.48.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Dec 2024 06:48:46 -0800 (PST) From: Dave Stevenson Date: Wed, 18 Dec 2024 14:48:33 +0000 Subject: [PATCH v4 2/3] dt-bindings: display: Fix BCM2835 HVS bindings for BCM2712 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241218-dt-bcm2712-fixes-v4-2-54cc88b6c229@raspberrypi.com> References: <20241218-dt-bcm2712-fixes-v4-0-54cc88b6c229@raspberrypi.com> In-Reply-To: <20241218-dt-bcm2712-fixes-v4-0-54cc88b6c229@raspberrypi.com> To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Broadcom internal kernel review list , Eric Anholt , =?utf-8?q?Ma=C3=ADra_Canal?= , Raspberry Pi Kernel Maintenance , Ray Jui , Scott Branden , Doug Berger , Linus Walleij , Bartosz Golaszewski , Thomas Gleixner , Stefan Wahren Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Florian Fainelli , linux-gpio@vger.kernel.org, Dave Stevenson X-Mailer: b4 0.14.1 Commit 6cfcbe548a3a ("dt-bindings: display: Add BCM2712 HVS bindings") added the compatible string for BCM2712, but missed out that the number of interrupts and clocks changed too, and both need to be named. Update to validate clock, interrupts, and their names for the variants. Fixes: 6cfcbe548a3a ("dt-bindings: display: Add BCM2712 HVS bindings") Signed-off-by: Dave Stevenson --- .../bindings/display/brcm,bcm2835-hvs.yaml | 84 ++++++++++++++++++= ---- 1 file changed, 70 insertions(+), 14 deletions(-) diff --git a/Documentation/devicetree/bindings/display/brcm,bcm2835-hvs.yam= l b/Documentation/devicetree/bindings/display/brcm,bcm2835-hvs.yaml index f91c9dce2a44..fd25ee5ce301 100644 --- a/Documentation/devicetree/bindings/display/brcm,bcm2835-hvs.yaml +++ b/Documentation/devicetree/bindings/display/brcm,bcm2835-hvs.yaml @@ -20,11 +20,20 @@ properties: maxItems: 1 =20 interrupts: - maxItems: 1 + minItems: 1 + maxItems: 3 + + interrupt-names: + minItems: 1 + maxItems: 3 =20 clocks: - maxItems: 1 - description: Core Clock + minItems: 1 + maxItems: 2 + + clock-names: + minItems: 1 + maxItems: 2 =20 required: - compatible @@ -33,17 +42,64 @@ required: =20 additionalProperties: false =20 -if: - properties: - compatible: - contains: - enum: - - brcm,bcm2711-hvs - - brcm,bcm2712-hvs - -then: - required: - - clocks +allOf: + - if: + properties: + compatible: + contains: + const: brcm,bcm2711-hvs + + then: + properties: + clocks: + items: + - description: Core Clock + interrupts: + maxItems: 1 + + required: + - clocks + + - if: + properties: + compatible: + contains: + const: brcm,bcm2712-hvs + + then: + properties: + clocks: + minItems: 2 + maxItems: 2 + clock-names: + items: + - const: core + - const: disp + interrupts: + items: + - description: Channel 0 End of frame + - description: Channel 1 End of frame + - description: Channel 2 End of frame + interrupt-names: + items: + - const: ch0-eof + - const: ch1-eof + - const: ch2-eof + required: + - clocks + - clock-names + - interrupt-names + + - if: + properties: + compatible: + contains: + const: brcm,bcm2835-hvs + + then: + properties: + interrupts: + maxItems: 1 =20 examples: - | --=20 2.34.1