From patchwork Fri Dec 20 18:11:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Stevenson X-Patchwork-Id: 852597 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.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 8C8C021A449 for ; Fri, 20 Dec 2024 18:11:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734718287; cv=none; b=Qd6i0scotxi46yeMxFtYVO7ViK/LazixFthbVRsH0hSNjY/QzqxudOQylsEGvTDaVY4YblR7oGTFCDQUF+rsfqlOWGmUjqvrSO07phIoKGzN6pgvlZdwS7IgmRfXYz+cLE65KxRPXuQYrz3cgSCZw2wDxw0/nhlFtbW80ZWqgn4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734718287; c=relaxed/simple; bh=zcR7lxnGhhWEN5cw6h7Vm/gHy1+W70Ne4xGJNt6ufUc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=YBfJKtwiKSj33s6W+TNX91fx2P5bZXbpfVRROaznzq3v6z1h6zbuEDMPnIf1zQ+OOZXFtOESYlqt9R9uDwCRgnf3WSBQz+Eiu/ppCYoqMn5xdipCaQ35i3VIgurOWDwZs9POByYc/FQDJCwJ55y7oJmdVtjU1ajeNX3DlAoyfMI= 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=GF3eGBxe; arc=none smtp.client-ip=209.85.128.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="GF3eGBxe" Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-4363ae65100so24077595e9.0 for ; Fri, 20 Dec 2024 10:11:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1734718284; x=1735323084; 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=VKnwwPFe/+dE7hLJc1Yz3pFEYPu928FDpcSUb/vByrQ=; b=GF3eGBxeeqEoaiMd2UgQ+nJDcRcZd01ILTf1tAlPK2lDqasI9iIPcF1CLxLZiRUtJm eKbgNNYE/4H1Es+f2Uoh2ZAS/UEV8u12/aKnALx11FcP04fftqcnLBL7OoAkS8T7/WmP U7S0VIjMZO7JxIAS1ivLWPpN4XjM/VMLL6waT0zVPwyxKwNdEUqT989gJQtoJHILaXXI g4q3/rJtkYlLqExFTrbhjXBBWrzZarR4ZzV4D3rDSXKVpUeOupqXi7zrx6tXwrSAPeks Cb1PmY9pFSbv8tACzHulVfcX4zoyqFXxCgLihRzYYUJ4m/gq4/C4O5Fee7M7x7oPkflV M0IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734718284; x=1735323084; 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=VKnwwPFe/+dE7hLJc1Yz3pFEYPu928FDpcSUb/vByrQ=; b=QnYceoaqA3V8dyh2216A+6J03e11itDS+VF8oTKEC+Fn4mUqDRyLSklvXLLVN1tUaT tJJEe32EY8s6meXW2TMfUvvkYykxYTvEMZSFcK5Grq6zjxWasZpiGaYYjz93ovgky3fO xpX/OfQmL9/D6l/HdgCTBlMlQJ3OiW4m/FsW0hvSZGQprFBYzJbz390iCyOf4et+KRg6 EX2bbi1Jw5ebBDnH5xzVGvbi7P7GXx6hjMmnmHNzfdxo0uL+CXTenUK81s+vWAgFpKkO +U0nnfcuCSlpagVbsfY6g4kOYXocwhYwN6IBqpGvX1f9iMK/R8a3cNQfZ6ctxcDULUgG Weyg== X-Forwarded-Encrypted: i=1; AJvYcCUAyg18pXre0Nc7mLBbnLYCGW+vsRT66nl/UOF89JUGVS0htxXLPPh9EZl2+tuSdKLuVUSorCMCMOLv@vger.kernel.org X-Gm-Message-State: AOJu0YytsCYPdH/Y2tk043ibcGINQaz2jHV93p9PRsOZzwaUcfc2is83 GoHUhJ2p1owIjSYXERc3pGw4syo0ylmc1ePZzkwZUiynat02h7eZJpVzsNXHasw= X-Gm-Gg: ASbGncuS/7upTfOcR0/BBfbNiYQNIG2EDtbtrloxRSBREZF79CROlUiOS/ASqRLhH1w ikB+duhULyWkgEcBZUychoT+69SlqI6nKZggiE5WER72zlhuPnvz6vG+zEGxCbmC2Rqy6Ed0qu0 709YBSkKR+HQ2upQp1OGpjVwaU8uQMhVmu9VK9Tz/5cgDr/uo4CIxHtHrfBWYlBSWXMshkddlI6 UON5VgU0rYNmgNNNzrJEH9rQ3eaFf6cXA/nevohgXRVNB/g X-Google-Smtp-Source: AGHT+IEuWHn26jFE8mEN526e1pripavNV4jfCGcWV22FyYVXEe2zax7RoEXGtmhyz0wWSN2QoW0ULg== X-Received: by 2002:a05:600c:1388:b0:434:f131:1e71 with SMTP id 5b1f17b1804b1-4366854c07emr38472865e9.8.1734718283903; Fri, 20 Dec 2024 10:11:23 -0800 (PST) Received: from [127.0.1.1] ([2a00:1098:3142:e::8]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4366127c488sm51460075e9.27.2024.12.20.10.11.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Dec 2024 10:11:22 -0800 (PST) From: Dave Stevenson Date: Fri, 20 Dec 2024 18:11:11 +0000 Subject: [PATCH v5 1/3] dt-bindings: display: bcm2711-hdmi: Add interrupt details for BCM2712 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241220-dt-bcm2712-fixes-v5-1-cbbf13d2e97a@raspberrypi.com> References: <20241220-dt-bcm2712-fixes-v5-0-cbbf13d2e97a@raspberrypi.com> In-Reply-To: <20241220-dt-bcm2712-fixes-v5-0-cbbf13d2e97a@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 62948c62abca ("dt-bindings: display: Add BCM2712 HDMI bindings") added the compatible strings for BCM2712, but missed out that the number of interrupts changed, and for BCM2712 the driver changes[1] required that the interrupts are named. Update the schema to correct the interrupt requirements for BCM2712. (Requirements for BCM2711 should be unchanged). [1] Commit 0b1dbe82e051 ("drm/vc4: hdmi: Add support for BCM2712 HDMI controllers") Fixes: 62948c62abca ("dt-bindings: display: Add BCM2712 HDMI bindings") Signed-off-by: Dave Stevenson --- .../bindings/display/brcm,bcm2711-hdmi.yaml | 76 ++++++++++++++++++---- 1 file changed, 62 insertions(+), 14 deletions(-) diff --git a/Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml b/Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml index 6d11f5955b51..c1cefd547391 100644 --- a/Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml +++ b/Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml @@ -56,22 +56,12 @@ properties: - const: cec interrupts: - items: - - description: CEC TX interrupt - - description: CEC RX interrupt - - description: CEC stuck at low interrupt - - description: Wake-up interrupt - - description: Hotplug connected interrupt - - description: Hotplug removed interrupt + minItems: 5 + maxItems: 6 interrupt-names: - items: - - const: cec-tx - - const: cec-rx - - const: cec-low - - const: wakeup - - const: hpd-connected - - const: hpd-removed + minItems: 5 + maxItems: 6 ddc: $ref: /schemas/types.yaml#/definitions/phandle @@ -112,6 +102,61 @@ required: additionalProperties: false +allOf: + - if: + properties: + compatible: + contains: + enum: + - brcm,bcm2711-hdmi0 + - brcm,bcm2711-hdmi1 + then: + properties: + interrupts: + items: + - description: CEC TX interrupt + - description: CEC RX interrupt + - description: CEC stuck at low interrupt + - description: Wake-up interrupt + - description: Hotplug connected interrupt + - description: Hotplug removed interrupt + interrupt-names: + items: + - const: cec-tx + - const: cec-rx + - const: cec-low + - const: wakeup + - const: hpd-connected + - const: hpd-removed + + - if: + properties: + compatible: + contains: + enum: + - brcm,bcm2712-hdmi0 + - brcm,bcm2712-hdmi1 + then: + properties: + interrupts: + items: + - description: CEC TX interrupt + - description: CEC RX interrupt + - description: CEC stuck at low interrupt + - description: Hotplug connected interrupt + - description: Hotplug removed interrupt + interrupts-names: + items: + - const: cec-tx + - const: cec-rx + - const: cec-low + - const: hpd-connected + - const: hpd-removed + + required: + - interrupts + - interrupt-names + examples: - | hdmi0: hdmi@7ef00700 { @@ -136,6 +181,9 @@ examples: "hd"; clocks = <&firmware_clocks 13>, <&firmware_clocks 14>, <&dvp 1>, <&clk_27MHz>; clock-names = "hdmi", "bvb", "audio", "cec"; + interrupts = <0>, <1>, <2>, <3>, <4>, <5>; + interrupt-names = "cec-tx", "cec-rx", "cec-low", "wakeup", + "hpd-connected", "hpd-removed"; resets = <&dvp 0>; ddc = <&ddc0>; }; From patchwork Fri Dec 20 18:11:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Stevenson X-Patchwork-Id: 853032 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 84C4821D5A5 for ; Fri, 20 Dec 2024 18:11:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734718290; cv=none; b=cP4hrbI0ZfvwSyui9i8aJQTh+aovL+jfMrMxa6Krd5jiOBkgQeJHpdBUUQjIIc0oITbH8whlbD/Sn5wjHQjW1KrzfPgLHzsDqFUiZXpjVYxPs3N9JdgsqBx2hNFPEt5p9NMJTemlsIPJU55Ms+OQrhkAp/K+hh+kqfjMhBA8DOs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734718290; c=relaxed/simple; bh=f++A39P0hC2PNYe2xMEbczHdYmf36DPvvwKlnSwS2e4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=IP9ib7Eo6KIRkWszKUIwrw172guDXDbIuTCEBp2LoamD0ERIOM/2Jp27lD0pHdxP+YSQZBwvdEJk4DQOIfJ8keW1dXPijwW0/sb59GBg6FtZ5tGHBeH+X2M4i5QTf8aTSmSRw5erJdIjKt/3GVj8hpXNVeBAr9DrF7cSAIPFODQ= 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=XFHbUPON; arc=none smtp.client-ip=209.85.128.49 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="XFHbUPON" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-4361dc6322fso15413135e9.3 for ; Fri, 20 Dec 2024 10:11:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1734718285; x=1735323085; 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=9Sl5vZ6DuvY58dxwG3krkGImhGuVFYQY4MkC0DJ9Dic=; b=XFHbUPONFscyXnVZrdGr25THUfH5DRNoN2f4MpMqrx185l8XvIeCwMsYdZ3PlXJQE1 aY6Vme/A8y676mji2NQyzmoy3J3KxoyHgfuwQOltiZGkjfA+zKRbu7UlEp5BrODck+n0 zb5gB6GHFn+SyoVWfVpZyzkvAnUK0s+oaVl7YmyPhoHQZQ3nLEtJ/jwmTJu6DXFyz3PO pX+gvTgXSmSdVOh11kUqLd8rY1o5HMxK2zShMeaOwGGRCO07COsJ2xfuxaTddWi+L0jt AnD14nKp407NhZyEqajCZX5ehpozPpk1ikTSnj8esNoXerIqwz7lTwJLznyRBYAUYIPh 1ywg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734718285; x=1735323085; 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=9Sl5vZ6DuvY58dxwG3krkGImhGuVFYQY4MkC0DJ9Dic=; b=xDNRWvJMbd9+DFLqUF9xPVBM8zCPwO9hNYniZc/92KDnESMUy+7yoFkPDqpNpW3Oag gLSWl4RQcfJnKLnZGwA7+71TuxVzW06vbPczXvAuRM8v0q3LOuo2a8HbMzSDd20IZu84 ZP0lBoBNHa5cxX7BR/k3wvoQF2blJDA6jIu3CINlfr3RcIVxAr6YlYbPm2dugLrwNgFU Td3eEW1MfrW51RC5MdWhp1TPubZzW3JNAtUsxSfx23/PnhkNIsfEhVqqXM8B8fsX3ToV 0xvXLd+LiHkzYOBMDOYazNR1tYlxWYfOs3tLCoJVkOkirRqzsy9S7P5pHdf/E0JFbTXr LNZg== X-Forwarded-Encrypted: i=1; AJvYcCUoNqLdJrC8Jsi0jjBO/b/IhNl5/K4oPvWf7Wef8Oa5QbvOLJqpU1LhPePCCtFVQsvwP2PX0n/EEFmH@vger.kernel.org X-Gm-Message-State: AOJu0Ywi0Uxctxxjp5qV221yxmBSGLLzsa7JxjpakOH7+6GP3pVAdu55 lfd/TucM/ISqRBxvbO6tTzIsjWh4uladsBTlwz39Wt2HtCinsDFKiZg9nGgfnjyhOzzLLzOnBRa yNKU= X-Gm-Gg: ASbGncsMZISyGOf0CW6XUUIlMTFXRH/IBazmO8QMGRYOWfz3cZKmiCUBrum9wF6/Ik+ dPaxhOHDUsbcMIu5ycIzqLbiLjZKtPHZcEnOW4TVhQW2ONP0yzv33YsQvPJdU0lITYheCFngnYf 8ZTeGsN6KZDqCRpQrPo0R4MQpQ63GYpLYU3/+B2QUzgtIkQapsLI1buswfPEl3pL/ns0BxN7vvK yadSaDPjGgVladCc2mdRJZ7DcrSijhRYBiWMAhNtgmI96Nd X-Google-Smtp-Source: AGHT+IEvTWbavoXhQ6+vfbkOhG8cbDKYZMOKpzg5ZpuFE1J+Gc33Tj3rIi7Es/smHvmbL2/NSCBTrA== X-Received: by 2002:a05:600c:1912:b0:434:a968:89a3 with SMTP id 5b1f17b1804b1-436686436f9mr40093445e9.9.1734718284772; Fri, 20 Dec 2024 10:11:24 -0800 (PST) Received: from [127.0.1.1] ([2a00:1098:3142:e::8]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4366127c488sm51460075e9.27.2024.12.20.10.11.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Dec 2024 10:11:24 -0800 (PST) From: Dave Stevenson Date: Fri, 20 Dec 2024 18:11:12 +0000 Subject: [PATCH v5 2/3] dt-bindings: display: Fix brcm,bcm2835-hvs bindings for BCM2712 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241220-dt-bcm2712-fixes-v5-2-cbbf13d2e97a@raspberrypi.com> References: <20241220-dt-bcm2712-fixes-v5-0-cbbf13d2e97a@raspberrypi.com> In-Reply-To: <20241220-dt-bcm2712-fixes-v5-0-cbbf13d2e97a@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. The driver commit adding support for BCM2712 [1] also requires that both interrupts and clocks are named, so the relevant -names properties are also added to "required" for BCM2712. Update to validate clock, interrupts, and their names for the BCM2712 variant. (There should be no change in the binding requirements for the other variants). [1] Commit 7687a12153d3 ("drm/vc4: hvs: Add support for BCM2712 HVS") Fixes: 6cfcbe548a3a ("dt-bindings: display: Add BCM2712 HVS bindings") Signed-off-by: Dave Stevenson --- .../bindings/display/brcm,bcm2835-hvs.yaml | 88 ++++++++++++++++++---- 1 file changed, 74 insertions(+), 14 deletions(-) diff --git a/Documentation/devicetree/bindings/display/brcm,bcm2835-hvs.yaml b/Documentation/devicetree/bindings/display/brcm,bcm2835-hvs.yaml index f91c9dce2a44..9aca38a58a16 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 interrupts: - maxItems: 1 + minItems: 1 + maxItems: 3 + + interrupt-names: + minItems: 1 + maxItems: 3 clocks: - maxItems: 1 - description: Core Clock + minItems: 1 + maxItems: 2 + + clock-names: + minItems: 1 + maxItems: 2 required: - compatible @@ -33,17 +42,68 @@ required: additionalProperties: false -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 + clock-names: false + interrupt-names: false + + 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 + clock-names: false + interrupt-names: false examples: - | From patchwork Fri Dec 20 18:11:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Stevenson X-Patchwork-Id: 852596 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 EF52C21E092 for ; Fri, 20 Dec 2024 18:11:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734718290; cv=none; b=o0SEHlHW9m7TDnFUb2pu/X9aUsvcKaB47jKKe3+D30J7UY0Am8DUSQ7MJrw37mt5lhhnA6lnHD5aWZLi1G4m/k9j7J0SLY9u/i6k2Szh8jdtNL4u920Nw5goEhXEdGsGmhqdjHuguj/1N/SuK/thZOXTA7CsHVk0y0cxrHKye6s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734718290; c=relaxed/simple; bh=f4JY6yOakOEmuyUC4NcRoVc5/HAIx8k6tCo3tXdIsWY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Nc3yXH/A9OBK4O3UyHavP2MXWKmOO/+/t4SFuK0I0zlLFM2u8CzMU5VXW/lY26OqFsEwjA9jobXof4denRgSOUHcVUsA0LU+/039R+OvVXHZCQ6yo2HkiAwNQyt1rOC2qIteF5KbP25tc8cmGLf19wQD90VIaGXpbyKG2kBToKE= 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=bc3Fd/+T; arc=none smtp.client-ip=209.85.128.43 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="bc3Fd/+T" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-43622354a3eso15511465e9.1 for ; Fri, 20 Dec 2024 10:11:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1734718286; x=1735323086; 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=VdlpFNH3uxbIb6jb7BUkFAfn6xTxvwPpL6GXsJonkco=; b=bc3Fd/+Th5cqI+TKDeiUhgnsEJ/Jx1OQpO/cUfFJxOP7HdSaYOl3220MAc5cHOhOV/ vQVfMtmz1GAffmoptyCbBNrXe1jul7da5WafKwiab5IGg37ej29C82VuIAXSB7t7K5Fo luCDVznrFKT3v9wu0KkXl7duZXswEMbetckN+LMq/j4xPmpRgwXSjRXn9+7JD4r8WdN1 +kcc6Pf7Z+peaCBOdQtIgfGx08hNM7xexs6l7lBqdS5Z1o2ql/ZgAgT91j0gXkDwo9e1 u8ZGQ1D6BH50s78tSqdvpg5YKwcMG8WkjyKvnEkAT3UYqR1QXAefofyhDqB6EURxfoc0 +iFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734718286; x=1735323086; 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=VdlpFNH3uxbIb6jb7BUkFAfn6xTxvwPpL6GXsJonkco=; b=CHCr6jDHVDm8XDlyQIBy9Q7LPuNhnucgjY2nOIX+AHQ3uJkc9xJqMWdXLPZXDSpAQo jOsJYXHEABd8OlLlwnWX5AZ79TMh605XC5c7zQme/mtmwDCaL+7pM6vlKwjyIb62o0RX lrMF2wqfN9Vy4CXdVwmVjBvlYo6d2r/yQkQv9pwnlsrwdK9wWTrWzwsNWgluEmaE2G0x fMASpgzQtV6/liTNeZS8A/dMfYh/IQ266qoA5EBm6fI2M27SxmC9fNs4GhEfyTUNxpWR coDBEwOhQmjlk5Bfl36MapbyrmsJIdLZYlwkh2sEf5NsOTvCa9Vcbvqu9RIH1TNvkX+/ WXoQ== X-Forwarded-Encrypted: i=1; AJvYcCVkX0H5DGdmv+DVsDOUJDrAJik3PwWnzeFcNNR1U0Le81XM336Wg03ZfY/1GZryreNH778n/vIqrd8T@vger.kernel.org X-Gm-Message-State: AOJu0Yx1QBsZfEqmWuXPmFl4JO/aahQLSsBzGmcCkhOIWF6kZfiZT+gK IpX/399JZCrlsYTrCl9RXwMtYImFjD27MqBeKVczW2Z8zfyQqTTm+uG98fRTnco= X-Gm-Gg: ASbGnctU3OUJ2mdFaJkCPVNE9U9op/ABbZW8AVWCmM1TlLovcWWcs+e+ENVaZMFQRXJ KMdMGruxEm/Tj6K0aJdtSOjteoCvmJuvPyAji+oui53J6u2YSGi+qZftmx2AxPfH8BgEYx0xPa5 KMpdbg59fP9ccPb/TvcEbCkNToeM+kjY6VH4QqpWM+17bVZZrYN+gcvpGdJ6fIBgEDHgpZB0nc8 +BofQHVPLdHM5TCdlim+z0pPrw/NQb/PyaAiaXZzrbZ4wpw X-Google-Smtp-Source: AGHT+IGkUJ6wiQ+PFzhrRg9QEs0JFLnzOAYHhAM3qA2cpb4nCgeQZdE914UHndE0hNBgPmIssevaTg== X-Received: by 2002:a05:600c:4586:b0:434:a902:97cd with SMTP id 5b1f17b1804b1-4366864364dmr37590895e9.12.1734718286362; Fri, 20 Dec 2024 10:11:26 -0800 (PST) Received: from [127.0.1.1] ([2a00:1098:3142:e::8]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4366127c488sm51460075e9.27.2024.12.20.10.11.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Dec 2024 10:11:25 -0800 (PST) From: Dave Stevenson Date: Fri, 20 Dec 2024 18:11:13 +0000 Subject: [PATCH v5 3/3] dt-bindings: interrupt-controller: brcm,bcm2836-l1-intc: Drop interrupt-controller requirement Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241220-dt-bcm2712-fixes-v5-3-cbbf13d2e97a@raspberrypi.com> References: <20241220-dt-bcm2712-fixes-v5-0-cbbf13d2e97a@raspberrypi.com> In-Reply-To: <20241220-dt-bcm2712-fixes-v5-0-cbbf13d2e97a@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 , Krzysztof Kozlowski X-Mailer: b4 0.14.1 Since commit 88bbe85dcd37 ("irqchip: bcm2836: Move SMP startup code to arch/arm (v2)") the bcm2836-l1-intc block on bcm2711 is only used as a base address for the smp_boot_secondary hook on 32 bit kernels. It is not used as an interrupt controller. Drop the binding requirement for interrupt-controller and interrupt-cells to satisfy validation on this platform. Signed-off-by: Dave Stevenson Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/interrupt-controller/brcm,bcm2836-l1-intc.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2836-l1-intc.yaml b/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2836-l1-intc.yaml index 5fda626c80ce..2ff390c1705b 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2836-l1-intc.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2836-l1-intc.yaml @@ -34,8 +34,6 @@ properties: required: - compatible - reg - - interrupt-controller - - '#interrupt-cells' additionalProperties: false