From patchwork Thu Dec 12 16:18:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Stevenson X-Patchwork-Id: 13905555 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 9994DE77182 for ; Thu, 12 Dec 2024 16:19:08 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BE03510EE24; Thu, 12 Dec 2024 16:19:06 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="nwme/1tM"; dkim-atps=neutral Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by gabe.freedesktop.org (Postfix) with ESMTPS id C338C10E279 for ; Thu, 12 Dec 2024 16:19:05 +0000 (UTC) Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-435004228c0so10349495e9.0 for ; Thu, 12 Dec 2024 08:19:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1734020344; x=1734625144; darn=lists.freedesktop.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=y6HwzRhtwuck+pMBjZMoVZ4D2FniLRRRufqq2y2rOjs=; b=nwme/1tMXo7aO5haoRYJ10ZNm0qu2mpqrsyvDRixY16bitKcd5uH+g2VeWGRW3CaMq iTUzhtmMSKacO9I4zZT0HyJAjKp41IaVgRi+TJ/8aPYHJf84vNw73SmpEguaA7bFbCQr LLBw9IbQylEjeYmU0kOogS2BwGN/uwLy0KLIpfqUmsgZthh9+hU6dg8NfnO6Oj+fQnT8 H2xDcVn6ULA9drAPmQubQbO2xU4ra1SsrLN1ybTBqosiYRQ4IQJtzTSIpcHy2WAIx+67 hdDcn6RfFLp18DvNmdC/imMMucwxWY7srwm1I0c8utxHGDVLMbozt8w4Jcv8jrWG477C GU3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734020344; x=1734625144; 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=y6HwzRhtwuck+pMBjZMoVZ4D2FniLRRRufqq2y2rOjs=; b=Tj1asbOsZbIt+sh7FGpCde1iQcfcLEE5KBFgmNqAXLYsb2VmgBATu66QgzYlPjDd1y Mkiwz3ZEjcWOzHtdO11YMgaRWneaFTmpkwOEp7Sv1TK9WXxlraBwVsWUReD5zBoG2zA8 dOl0X7CFY0W3hNqY1paTVBfw+H82Aa2g0QyIn3pbeQZcW6ZBM2g0XyuzPCvdURKBl88v 5WtLrt2P2C9rf6HW06b5ay0yt4QGJhdQJuscBnv0BxeMoUh3lQeEcE6Chg5/vDydCdqg 4gpn2cd/n+6Bb5vzjDuzvZrfswhu/5IJ9MwIQu+C8nWvcAP0TO9/gNvu7B6ZV1JAu4Uf YyWQ== X-Gm-Message-State: AOJu0YzqWU1f2yaCEyrVfj4ZE9YdKuIOHxbr8EUNSKwm1ECoAvE09Ov9 zGuIhONLWGA4E2QKlku/u1qG3ZncP4ORP7EnZTal+/pC0orCYM5VIEzZEljV028= X-Gm-Gg: ASbGncsXiZw9lu7dtoU5HaJDVXoviJNk/VWq3q4K1UMpOFhn5JQ76A3EdqcNG8yGQFQ Lva5rs2Q9dZ7mObqaP2wcY5PtWPF0HFbgoMtt/orjQ1lMuVoZ9v+oPdEFCULY07Ju/ov2/n2PrX 6W8GfNUJIPw8PCpy04EqgvBnJ5H9KVsi8CyGmvoBL5N6Wbm+L4bhEkqPCc8o+H6B41JRvptrcpB rMEHrHhINd1lhb+HvaeUtTCNLGcH7OKoUE5Z62Z7kkT+1eJ X-Google-Smtp-Source: AGHT+IECJruZQ6LwRw858w1Yxs8MMZZ8ljYIT9r3bgD0QLs1iDMGolWGCI6cX4+UuSx7QkTjWRFBnA== X-Received: by 2002:a05:600c:524b:b0:434:a781:f5d9 with SMTP id 5b1f17b1804b1-4361c3aaefamr71124875e9.11.1734020344259; Thu, 12 Dec 2024 08:19:04 -0800 (PST) Received: from [127.0.1.1] ([2a00:1098:3142:e::8]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4361e322328sm44336105e9.0.2024.12.12.08.19.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2024 08:19:03 -0800 (PST) From: Dave Stevenson Date: Thu, 12 Dec 2024 16:18:51 +0000 Subject: [PATCH v2 1/7] dt-bindings: display: bcm2711-hdmi: Add interrupt details for BCM2712 MIME-Version: 1.0 Message-Id: <20241212-dt-bcm2712-fixes-v2-1-35986e04d0f4@raspberrypi.com> References: <20241212-dt-bcm2712-fixes-v2-0-35986e04d0f4@raspberrypi.com> In-Reply-To: <20241212-dt-bcm2712-fixes-v2-0-35986e04d0f4@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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Commit 62948c62abca ("dt-bindings: display: Add BCM2712 HDMI bindings") added the compatible strings for BCM2712, but missed out that the number of interrupts changed. Update the schema to include the interrupt requirements. Fixes: 62948c62abca ("dt-bindings: display: Add BCM2712 HDMI bindings") Signed-off-by: Dave Stevenson --- .../bindings/display/brcm,bcm2711-hdmi.yaml | 107 ++++++++++++++++++--- 1 file changed, 93 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..a7ca3a336187 100644 --- a/Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml +++ b/Documentation/devicetree/bindings/display/brcm,bcm2711-hdmi.yaml @@ -56,22 +56,38 @@ 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 + oneOf: + - 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 + + - items: + - description: CEC TX interrupt + - description: CEC RX interrupt + - description: CEC stuck at low 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 + oneOf: + - items: + - const: cec-tx + - const: cec-rx + - const: cec-low + - const: wakeup + - const: hpd-connected + - const: hpd-removed + + - items: + - const: cec-tx + - const: cec-rx + - const: cec-low + - const: hpd-connected + - const: hpd-removed ddc: $ref: /schemas/types.yaml#/definitions/phandle @@ -112,6 +128,66 @@ 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 + + + required: + - interrupts + - interrupt-names + + - 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 +212,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 Thu Dec 12 16:18:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Stevenson X-Patchwork-Id: 13905557 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 D4C83E77182 for ; Thu, 12 Dec 2024 16:19:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A564510EE2C; Thu, 12 Dec 2024 16:19:10 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="bdMCrBJI"; dkim-atps=neutral Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by gabe.freedesktop.org (Postfix) with ESMTPS id 12E3010EE28 for ; Thu, 12 Dec 2024 16:19:07 +0000 (UTC) Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-4361dc6322fso5766505e9.3 for ; Thu, 12 Dec 2024 08:19:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1734020345; x=1734625145; darn=lists.freedesktop.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=ZmY4nSeOHfUAeSRoOGUYAdGnJvM3BDuelhiAae/7ZWg=; b=bdMCrBJI2YhEFzuAs6jhoQqT76txfyyrFxyci5LQCYZgBukIaFlxxC8GV64ngsiFYs oVwAD/di+CQcNCU+qo/loXFkw6zDz1MLHfbE56TRHf36DPmv1i62z22zYvSDmQg6h6KH G4Y+tJk+aSFZcg1uwrkVFxBOYqdECTl1NkALxDK+5NM2We/m6g20zBbm4lcLymNCEG4m O+n0ivJzz0V7BNjDMVK0ayP0Tq6QvpijMa8+duVQP4N9H2m+eJGfhji0LL6TYX8I9gm/ mhELmrlMUaSb1mDi0+DFY4tfjS3TqE62JG5zfepE29vv0HQ/MCCmaMSyNIzjHXJS9CBQ oYKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734020345; x=1734625145; 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=ZmY4nSeOHfUAeSRoOGUYAdGnJvM3BDuelhiAae/7ZWg=; b=TCDN/VWHwNBiU8RSJWLX+0vrl/azsosuiUcTbkynjuRqlD/UXCGf+LCQPnUwlgq6n2 sCVG48pHoKf4SZECSMkmcLrKPl0D0h6eeonQVLAohOq5NYpKXZWsosy32qv2cRmpCBIm eJkW6SI7Otqnr8r87wtZrJvhtboJP9/k0RsvS46aQIJMBpjKTCpve5q590/nqmGSR5Gg mwSPhXcJV0BOC1t7QCpFTV2i+wGxlTHooVatBQlk+pf7BOwkP8+utwFtq8SmcGP9VeSr ftB6n2raJjU2rgFsT+h/Ayk1NtLwMasb3fnRJhpFpnDssyo9w6ueCsiICNsbjsqXSJyj 6Q+A== X-Gm-Message-State: AOJu0Ywu0z6FaPAldkjklFoNT3zmuYWcoiGLo8K8vP0V7o2UkVnfHZYt uQj3RysdbP4CecpNQfwCmy+5V5bT83yymxnm5yKuw2scZ/8wzLl2k7Fzz3qfbMM= X-Gm-Gg: ASbGncsAVpFs59OkTv1zmbZyk9pX4ZlQhk8cPU4IWNeYQt4GDTxS7QV7dFqo9PCTfy8 YmS4ZfmABEUZpzAA08u7aXJYhhl6y0qggMVuOjes/EBeCGfdW2bfWCs6lhlGng2eoMl1Z+n4GH+ /sHFem+dNfVYXWGTa3p2/b9Ogsw5nXtkkfd6kEfpG+y7UrcV1fk46CI6BchzpeJrLVIrhaZjzFm 8D0OlL60b5Y1bsVQKp44jO7wyE/AljP7chmV/tGJGibTXdy X-Google-Smtp-Source: AGHT+IGaFVqNcAbsh2wXwykvgIG8wIvYr5xOyoWGcWi8bclbVOgLkhFW5BR0LdTPsNVGk8Tlgv5MLQ== X-Received: by 2002:a05:600c:b86:b0:434:f2f4:4c07 with SMTP id 5b1f17b1804b1-4361c373f5fmr66829415e9.15.1734020345541; Thu, 12 Dec 2024 08:19:05 -0800 (PST) Received: from [127.0.1.1] ([2a00:1098:3142:e::8]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4361e322328sm44336105e9.0.2024.12.12.08.19.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2024 08:19:04 -0800 (PST) From: Dave Stevenson Date: Thu, 12 Dec 2024 16:18:52 +0000 Subject: [PATCH v2 2/7] dt-bindings: display: Fix BCM2835 HVS bindings for BCM2712 MIME-Version: 1.0 Message-Id: <20241212-dt-bcm2712-fixes-v2-2-35986e04d0f4@raspberrypi.com> References: <20241212-dt-bcm2712-fixes-v2-0-35986e04d0f4@raspberrypi.com> In-Reply-To: <20241212-dt-bcm2712-fixes-v2-0-35986e04d0f4@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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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. Update to validate clock and interrupts for the variants. Fixes: 6cfcbe548a3a ("dt-bindings: display: Add BCM2712 HVS bindings") Signed-off-by: Dave Stevenson --- .../bindings/display/brcm,bcm2835-hvs.yaml | 83 ++++++++++++++++++---- 1 file changed, 69 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..36bf8eec88a6 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,63 @@ 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 + + required: + - clocks + + - if: + properties: + compatible: + contains: + const: brcm,bcm2712-hvs + + then: + properties: + clocks: + 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 examples: - | From patchwork Thu Dec 12 16:18:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Stevenson X-Patchwork-Id: 13905556 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 2CB89E77180 for ; Thu, 12 Dec 2024 16:19:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9CF7F10EE28; Thu, 12 Dec 2024 16:19:10 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="rU71ALn4"; dkim-atps=neutral Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6711010EE28 for ; Thu, 12 Dec 2024 16:19:08 +0000 (UTC) Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-4361f796586so10232055e9.3 for ; Thu, 12 Dec 2024 08:19:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1734020347; x=1734625147; darn=lists.freedesktop.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=Fzut7xbqOYPi19sCzyZBocxByvsBqwohQ5FyR54rsTQ=; b=rU71ALn4DEwlMW0IH45r7/kkqJVhMD70teM4gSsvunwMYtHdlZiUZ90SrCzJc9COwg lpLyrjrfehkGdNNo8wwzPcYD9QKX6bBcPk3cLzzZqWiq/aHiwLPjhAHvoRxrNKakH6CW dIJB+d09eBGkT5awnCfbw7O/OcbZMb8rtsUhHzfVZnYd45s984DRa1codgEaNp8STs+o GV10j0w+zi++xvP7LuPvjgDat0qNTlXJvArNuGpAfIZzUPZ+/eGIIwVYoonNljJC17wk 5OXSUbETWSlLPv+w38ReYgBNRWtmRsljw8bRC16f/TRBo/uLBeZ6/p8fuNsWWzhAJ3A5 UZdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734020347; x=1734625147; 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=Fzut7xbqOYPi19sCzyZBocxByvsBqwohQ5FyR54rsTQ=; b=l6W28yrGv0AwXa/s8XFGMpAUO1sZxIKk3EwIJjDg+bXHjSGrH/aQjIxN7cdbtLwn37 Jm1nFN13IOWP61DaNjzQEl/VZO2Wfwrq81LNp/qKFr7CVnDM/2wUUIZM5xS38nthcXUW nQ3M0QkF2RwKQ3DvktMUO8FqRuU1KpuUVp46D09FslQwSfYVd+EpeJcMhv/+Rv1eimWb 0LRAIBPj13PriI0HtcIwqgSuGSQZvy2BJ7pnUQE0zJpwziiMWdw9m+OhGU8k7cDR6kdg wuptl7T/yvw7sdpDs9ZwPDMgUMadTaG+J4tKlLl4NIywCU/0Qcg5lpxy6QkLNeiU5ZAJ GgRw== X-Gm-Message-State: AOJu0YwnMKUxMVQ+hGyGHcWWhvJUMY6rYRQeQSKQ7rnlZkGQ4mpof7c0 vSQwoF4LZ7aho8p9uEQ4Ix0o2UKpidUxBLVs78V8lauxaD1TyWwzf0wsm84OmWs= X-Gm-Gg: ASbGnctRTwyjPh1DoYoWEXosJ/s1Xk1q4zbrPwu0L+Ldl0htn+a3nG0dfPIuhJJE+MF TpJiJh6NdYzCzSp1Rz8gB9lD+VZSmQ7UE2fcuM1+OVFy94N1p/trxU4gedKQQcaZbXI4cVWfpIF O3a3cwAkxMTp6BAzQvZfr83HeUFJi8Sid5TnX83/f51hmRqHeofqH98RlnijeA7SxjPFdqm9LMr d/0l2z57RHg+igUOkizx+POXTz1MbqqsVdpNkS158typOIO X-Google-Smtp-Source: AGHT+IHoZqbjRY4dxkOhKOSnSfMy3sMqazkkzCHwzeDCSj2+qMUGuSSsMXf/szART5dZ1m3BKwwUjQ== X-Received: by 2002:a05:600c:468c:b0:436:18d0:aa6e with SMTP id 5b1f17b1804b1-4361c396ad1mr69550575e9.5.1734020346842; Thu, 12 Dec 2024 08:19:06 -0800 (PST) Received: from [127.0.1.1] ([2a00:1098:3142:e::8]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4361e322328sm44336105e9.0.2024.12.12.08.19.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2024 08:19:06 -0800 (PST) From: Dave Stevenson Date: Thu, 12 Dec 2024 16:18:53 +0000 Subject: [PATCH v2 3/7] dt-bindings: gpio: brcmstb: permit gpio-line-names property MIME-Version: 1.0 Message-Id: <20241212-dt-bcm2712-fixes-v2-3-35986e04d0f4@raspberrypi.com> References: <20241212-dt-bcm2712-fixes-v2-0-35986e04d0f4@raspberrypi.com> In-Reply-To: <20241212-dt-bcm2712-fixes-v2-0-35986e04d0f4@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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" gpio-line-names is a generic property that can be supported by any GPIO controller, so permit it through the binding. It is permitted to have a variable number of GPIOs per node based on brcm,gpio-bank-widths, so define an arbitrary maximum number of items based on current users. Signed-off-by: Dave Stevenson --- Documentation/devicetree/bindings/gpio/brcm,brcmstb-gpio.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/brcm,brcmstb-gpio.yaml b/Documentation/devicetree/bindings/gpio/brcm,brcmstb-gpio.yaml index f096f286da19..fbd69b4cecc7 100644 --- a/Documentation/devicetree/bindings/gpio/brcm,brcmstb-gpio.yaml +++ b/Documentation/devicetree/bindings/gpio/brcm,brcmstb-gpio.yaml @@ -64,6 +64,10 @@ properties: gpio-ranges: true + gpio-line-names: + minItems: 1 + maxItems: 128 + wakeup-source: type: boolean description: > From patchwork Thu Dec 12 16:18:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Stevenson X-Patchwork-Id: 13905558 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 BBB4CE7717F for ; Thu, 12 Dec 2024 16:19:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 373AD10EE2E; Thu, 12 Dec 2024 16:19:14 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="nlhOnvr5"; dkim-atps=neutral Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by gabe.freedesktop.org (Postfix) with ESMTPS id 863D910EE28 for ; Thu, 12 Dec 2024 16:19:09 +0000 (UTC) Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-43618283dedso7602085e9.3 for ; Thu, 12 Dec 2024 08:19:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1734020348; x=1734625148; darn=lists.freedesktop.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=fMHTsU0ZjvRQjwquvG/Hg5h2182Nwlr0NKl2ofXPRL8=; b=nlhOnvr5kAuSqdgpaqM0CN7grALGLIRj32du37pm+nddrbpR6oMnDfqIm+9/k12a65 pw1DtexdtEAi7XI2GJxtXnlDKvSillrzKbd1BSoiIg0t/L7f0GFTZJX4QIpzWSNiOdO7 OdZzbMZwQIime+C8ZcAx/U4LZrj7lDx1d1ino5NBjnusYZoL5R7v5xMjEllizg11ulbg xQauCIMs4T4CjJdK/u2StMXLDF3iIA6ZWTSZANKaatSNOYptG6gDQzl7V1fHETUW1bLV +syl5TAVOBuQhQpXJQJpwfmyXmy1k6jub3S9zclEhFWGYLZNR1gx1MAuC4lO/Ddb7DUA eErw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734020348; x=1734625148; 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=fMHTsU0ZjvRQjwquvG/Hg5h2182Nwlr0NKl2ofXPRL8=; b=c3Hvw7SXBpNVqHSD3EJy4IRAcRmX63G6jwdoCr/ePN88rGKcg+zn1T+Jf6r95Cv2zu VLoVR4W1BMq3ikqGmayP21drJDRlTWa+JuYfkruvvFKgd7k4keHF8ceUKAb5KaHxRHbr /UVtY//JgmFdZ3Gy/aSNfXgpLsCiQRnqaHAGcMtSJRb9Wvwys0B5nKeGnFu0OacOCJ7F uYoX7/3AWQMvmP3C7JeDoJQkm3+EQP2PJOlAWqbarg+TaD+WbnqyZZG2lvn3Xs9Rnbdp B2yVIKFgsWZy0CBxL29kzPfpJ682BgEeBpx1LHwuigQwo2ZC8i5YIrFWZi/qNPfxdVc5 fSEw== X-Gm-Message-State: AOJu0YzFFUXw/eTv7yypS2gCoh31n63Fa3mpwZDn/P1TR5oIDiWlmp1P megBaX5j6iBW7FWRaPhyCwJ26ZCnCGVbMmfz4awztLdpm0xinIrysAVr2UC0+UM= X-Gm-Gg: ASbGncsVubgIFtEkTkMfqjY8m6nk9gcO5bIyfW/dk5BX3UhQBbnJMip09TBG6XQrEB/ er6zg8zBNMqBqTq+cBsAaDpXM4f6c2tmL0A+q6heUp7RK0cbDofUwyRMdmrcPP1wYzZT/YRovSj FQzIEk1Z1upnWENtWpYmlaRZduqqEN3nknQrzZwcA5veaWT/FVk5T1TbsQJyWXYCl/oStSLsltQ NxOG7uGZXgfJSVzS2njS6rYLOcDmsUyd2OT/wjXvo6KDhiB X-Google-Smtp-Source: AGHT+IEW963IsJu+5kmA4Oes4+Y3LvbmvGkTXDKtXSMQMJQRuXOcNzh2GjScR8bf2D3ZBqv1bcGbwg== X-Received: by 2002:a05:600c:1c82:b0:434:a815:2b57 with SMTP id 5b1f17b1804b1-4362286399fmr31867605e9.20.1734020348074; Thu, 12 Dec 2024 08:19:08 -0800 (PST) Received: from [127.0.1.1] ([2a00:1098:3142:e::8]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4361e322328sm44336105e9.0.2024.12.12.08.19.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2024 08:19:07 -0800 (PST) From: Dave Stevenson Date: Thu, 12 Dec 2024 16:18:54 +0000 Subject: [PATCH v2 4/7] dt-bindings: interrupt-controller: brcm,bcm2836-l1-intc: Drop interrupt-controller requirement MIME-Version: 1.0 Message-Id: <20241212-dt-bcm2712-fixes-v2-4-35986e04d0f4@raspberrypi.com> References: <20241212-dt-bcm2712-fixes-v2-0-35986e04d0f4@raspberrypi.com> In-Reply-To: <20241212-dt-bcm2712-fixes-v2-0-35986e04d0f4@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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 --- .../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 From patchwork Thu Dec 12 16:18:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Stevenson X-Patchwork-Id: 13905560 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 98165E77180 for ; Thu, 12 Dec 2024 16:19:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 15D7610EE33; Thu, 12 Dec 2024 16:19:18 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="MOhvhoS4"; dkim-atps=neutral Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by gabe.freedesktop.org (Postfix) with ESMTPS id E401A10EE2D for ; Thu, 12 Dec 2024 16:19:10 +0000 (UTC) Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-385e87b25f0so1303914f8f.0 for ; Thu, 12 Dec 2024 08:19:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1734020349; x=1734625149; darn=lists.freedesktop.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=3qoOTheHNyDXx09eLZAAbq+8+9HV4ZRvdNqNlfNALco=; b=MOhvhoS4XsGmTn1X/xtzAIyHZDtBg79CbmA8yV0Gm73SxhG1eOpmID6sck4jcbwCMF RIoFmF07G4blRhRB3uT8X36xpeCnkTTByDdNyvE4Y/obqkFYpRN1NIXL2V8fqd8XR+3p 4vjsS0PdKTzRJaPu/ZGiUFJ/p3hTNmdy99sd13S1NyrwP9yJO11P5qkH0sDtX8wIHKT4 ErkmDuABDTNfDEbhmvI9I8IMLHBwXcdCaKxtEOdNj0/o+q5lx44t+o28BW66b2y15pjj gwIenWtazhopS3SC/uWNgRgMrJV5CodILeASJ9t7qS6ndmx+ntWOlKDGIrfNJ0xySmYR BCjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734020349; x=1734625149; 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=3qoOTheHNyDXx09eLZAAbq+8+9HV4ZRvdNqNlfNALco=; b=EhukCw3nZ/AaVgIbL4U1MwspQEraGozQV57WIpUnaskqIBLBtQXTeu2+StdFikg0mo bPK7vAc92IRKQ0UzY0ocrWSinbiu7NRytQEb2SFlG0d/ccIXLe06pGKpDZ+huPktLWRj G9GiTRiS2nasTx7XRqVEeUuFK/NYPo5V4L2mpt4V1Dlrn72Qy3Pf8E/5BRQfSnKvmWN6 HQ+A2jjpOeCz9ZFvbwG/lr7lrckm2fkgnYncRXZiRrNrvwZjaNCrlYdNhX841EPnZepd FaowwdN/qIfECNWdG/0/VMmab3QL0gfLoTwMraqCMhYirINLlKQcKm5oMX/hoLQuttUX gdMg== X-Gm-Message-State: AOJu0YyKRL9F0D3SMkCIPEFduqsCDaMovI3G+NfsXvsNys3XijHpivvg IH2Fw9MsCabtH1SaHOB2IKaVcwRF67v48P17rp0FTY0M5LGg7kDxkZx+Qs50po8= X-Gm-Gg: ASbGnctWwZXekV8yc4cQslyF2I8nO+maM3QN0jTE/52McEVwr/TFOMKF1OEjbeHj2X4 ljAwL09DUWOBMLTjpEwGwl8N+E2PnWFVYHuwo18MlSJsqRCcTxytBpxoeeYy5EDOnjUCO+eYwWK BLa5J18EPe/VntphhA1N1/iiUawl2AqHZIgUhLjuODJr4Mx/cQmcH6NtjOS/h2NPwBVfME2uVa0 Iv033VOqdJ28rTkeIJoMihP0dbMXGfBFRHRLqoqbHmUGB19 X-Google-Smtp-Source: AGHT+IF5fGK4r7ZLa2m+qI5r0OgFGblEAcI0fkSDXGfPScJLkRcm9817axtMEaqmzm5LoWtpIkmCVA== X-Received: by 2002:a5d:64ae:0:b0:386:321e:f124 with SMTP id ffacd0b85a97d-387887fe47cmr2895855f8f.13.1734020349363; Thu, 12 Dec 2024 08:19:09 -0800 (PST) Received: from [127.0.1.1] ([2a00:1098:3142:e::8]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4361e322328sm44336105e9.0.2024.12.12.08.19.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2024 08:19:08 -0800 (PST) From: Dave Stevenson Date: Thu, 12 Dec 2024 16:18:55 +0000 Subject: [PATCH v2 5/7] arm64: dts: broadcom: Rename bcm2712 interrupt controllers MIME-Version: 1.0 Message-Id: <20241212-dt-bcm2712-fixes-v2-5-35986e04d0f4@raspberrypi.com> References: <20241212-dt-bcm2712-fixes-v2-0-35986e04d0f4@raspberrypi.com> In-Reply-To: <20241212-dt-bcm2712-fixes-v2-0-35986e04d0f4@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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" CHECK_DTBS produces errors on bcm2712-rpi-5-b.dtb and bcm2712-d-rpi-5-b.dtb of: intc@7d508380: $nodename:0: 'intc@7d508380' does not match '^interrupt-controller(@[0-9a-f,]+)*$' from schema $id: http://devicetree.org/schemas/interrupt-controller/brcm,l2-intc.yaml# intc@7d508400: $nodename:0: 'intc@7d508400' does not match '^interrupt-controller(@[0-9a-f,]+)*$' from schema $id: http://devicetree.org/schemas/interrupt-controller/brcm,l2-intc.yaml# Rename the nodes from intc to interrupt-controller. Fixes: f66b382affd8 ("arm64: dts: broadcom: Add display pipeline support to BCM2712") Signed-off-by: Dave Stevenson --- arch/arm64/boot/dts/broadcom/bcm2712.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi index 39305e0869ec..bd78af0211b6 100644 --- a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi +++ b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi @@ -336,7 +336,7 @@ ddc1: i2c@7d508280 { #size-cells = <0>; }; - bsc_irq: intc@7d508380 { + bsc_irq: interrupt-controller@7d508380 { compatible = "brcm,bcm7271-l2-intc"; reg = <0x7d508380 0x10>; interrupts = ; @@ -344,7 +344,7 @@ bsc_irq: intc@7d508380 { #interrupt-cells = <1>; }; - main_irq: intc@7d508400 { + main_irq: interrupt-controller@7d508400 { compatible = "brcm,bcm7271-l2-intc"; reg = <0x7d508400 0x10>; interrupts = ; From patchwork Thu Dec 12 16:18:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Stevenson X-Patchwork-Id: 13905559 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 6A688E77182 for ; Thu, 12 Dec 2024 16:19:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E002410EE2D; Thu, 12 Dec 2024 16:19:15 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="cemZdlu0"; dkim-atps=neutral Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by gabe.freedesktop.org (Postfix) with ESMTPS id 454D110EE2D for ; Thu, 12 Dec 2024 16:19:12 +0000 (UTC) Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-38637614567so402418f8f.3 for ; Thu, 12 Dec 2024 08:19:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1734020351; x=1734625151; darn=lists.freedesktop.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=SDsnxHgs8pPYbt5Sxgc7PD1JuNe9FEImA9X5O9hYyxM=; b=cemZdlu00YCMwPKRiLOnbcckmR/Cqwfeh3AYJDaBZxJyKYAOZiSPoro99s92xujgfF 58gJ6EwZlX+ycyG2TsbmIWtu5p9zmxuW28Lf80etGviK0XE9abbff7QZGDH5ATdE/C+Q 2wv9SUUHfQ8wTNVLnDZMngcgSD7l2OYvn9pvc5jWNjbgM0xxM4w8S1jejpN9+22Hi6NP bkvUTRRdhJROBlcimdTFVzo61FaNylPcQU9Jsj3Gefjg4qQkyrcZzVEfUccLKueVpbmy Z9JKFw06sU2lgrYsrUinqDmi5lSK13XlrlDf6E5d1Ipc+sBvZSGdFlkrotKm1czOlYmS 7R8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734020351; x=1734625151; 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=SDsnxHgs8pPYbt5Sxgc7PD1JuNe9FEImA9X5O9hYyxM=; b=TzqZ2GCQWeoMEcTlJU7F/+hR0swKvdZBHvkamRFlvqgSTdpp0KzM97xMtHj7hv/YUk sB4Bkx7QT19HVfQcfVNlSzRtynobD/Mx/5EmDt8JsvKipAwzlIw9ALCJTP4Fl7MsSFgv WlLtAbc7QDogrHJ0fNejW7Bl1fKKQYmw2LGUAIMvtdgGNP8+cXLhqYwfP88VayOROfEf xgq64/lp25lomG3wlzKpytIQbHztC+BB4r8yTSNkGQt8tFOe/mdiK7x9LcZoydtzOvbS rcHWpLqfjBJ/KCl+IwU2FGJ7WZgoouOU+xfu9acj1vGI8RdXaCmWz/QJTGjS3UZEOwkk G3vQ== X-Gm-Message-State: AOJu0Yy6jxmDX3RsBmXDSVagex6UuxUVWv6Nx2UIyxgj5qfaW7f7AOeK UOoAt4LNRen68s4obZneKQdKg0csxRIjjHOkf542mYtnqNUq3elOAg03Uxgg/Q8= X-Gm-Gg: ASbGncsj+1ditMj49erjRPfa5z9MAh+499X+8ULpB2LgDq2Jo7KVe/j0AeXK1tiNqUi wpoAUkWymx/ytmG1e24oNhhBUSd3ESx3zjT+wxVjzYMQh+Y4B9F6d3Om8A8NIxcIp4TXzul1iQ4 U50BKnr1qSd5KjVdQJ6uAgi/LcXIJH+vU7s2W9V7mmcgqIREyrZxsvf/b75ulncB+iUxI2tKG9m vlVymKiXfAUN6PJHCllDO4smVDs5/hAFVd9QLW5r1RnKejA X-Google-Smtp-Source: AGHT+IHSgOEfwH+piApFqEC2IhYZWJ+1L5bPpX/eXc0mgxxp6hdmD6CIHtNXbZfUGagQsK5T5vfHeQ== X-Received: by 2002:a05:6000:4026:b0:385:ef39:6cd5 with SMTP id ffacd0b85a97d-3864ce89425mr6133942f8f.1.1734020350544; Thu, 12 Dec 2024 08:19:10 -0800 (PST) Received: from [127.0.1.1] ([2a00:1098:3142:e::8]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4361e322328sm44336105e9.0.2024.12.12.08.19.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2024 08:19:09 -0800 (PST) From: Dave Stevenson Date: Thu, 12 Dec 2024 16:18:56 +0000 Subject: [PATCH v2 6/7] arm64: dts: broadcom: Correct hdmi device node names MIME-Version: 1.0 Message-Id: <20241212-dt-bcm2712-fixes-v2-6-35986e04d0f4@raspberrypi.com> References: <20241212-dt-bcm2712-fixes-v2-0-35986e04d0f4@raspberrypi.com> In-Reply-To: <20241212-dt-bcm2712-fixes-v2-0-35986e04d0f4@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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The names of the hdmi0 and hdmi1 nodes had addresses that didn't match the reg properties for the nodes. Fixes: f66b382affd8 ("arm64: dts: broadcom: Add display pipeline support to BCM2712") Signed-off-by: Dave Stevenson --- arch/arm64/boot/dts/broadcom/bcm2712.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi index bd78af0211b6..f42fad2d8b37 100644 --- a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi +++ b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi @@ -352,7 +352,7 @@ main_irq: interrupt-controller@7d508400 { #interrupt-cells = <1>; }; - hdmi0: hdmi@7ef00700 { + hdmi0: hdmi@7c701400 { compatible = "brcm,bcm2712-hdmi0"; reg = <0x7c701400 0x300>, <0x7c701000 0x200>, @@ -381,7 +381,7 @@ hdmi0: hdmi@7ef00700 { ddc = <&ddc0>; }; - hdmi1: hdmi@7ef05700 { + hdmi1: hdmi@7c706400 { compatible = "brcm,bcm2712-hdmi1"; reg = <0x7c706400 0x300>, <0x7c706000 0x200>, From patchwork Thu Dec 12 16:18:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Stevenson X-Patchwork-Id: 13905561 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 31D2BE7717F for ; Thu, 12 Dec 2024 16:19:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A382610EE35; Thu, 12 Dec 2024 16:19:18 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="ftX9Hl03"; dkim-atps=neutral Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by gabe.freedesktop.org (Postfix) with ESMTPS id 39ACD10EE2D for ; Thu, 12 Dec 2024 16:19:13 +0000 (UTC) Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-4361b6f9faeso5267215e9.1 for ; Thu, 12 Dec 2024 08:19:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1734020352; x=1734625152; darn=lists.freedesktop.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=ZNTGzlog7Q9IZQyQd4eTU3kXEBDBdmsulQeLjahgS6Q=; b=ftX9Hl03wRe9RAG/8k3i9CN4nvfBv4v3+aVRE4yDKSvaq/q6cyEskWfJiKQwRaKwYt TgN2UqYkLsu8dKJwX2CS6HDhC6XXdfokLgKwtcqmjdSKhtct0+CVyyL5+lZtnbx3AMiJ GKN/+LMp033G2H6gSRZC01cW3BwjX+8krZrqgwaJe/YUdQFdI2jmMlj9NkBnjxI0qUuJ ZoL+Utf+p9voI39gdiMlinBtdX8o/sHN1Ouy+kExZStdCgtWd9Wtpm3Xj0SiqqmXw9Sd 1idkjpTAFtp1NfLOx4gNPiU41bqjWg4LoewhYWwEPDrxLfO5IrcbS3eJrls+7KPQSEik YLPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734020352; x=1734625152; 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=ZNTGzlog7Q9IZQyQd4eTU3kXEBDBdmsulQeLjahgS6Q=; b=JNGn+1kGsTAQLbV+uqLaI67sx1APH8AEgQEDT+faVZ2WADHUGk0l42bV3DWJvdHhUZ euPK767TOWz3y9xPYYPv+4v/2ODZeqh63NzYcwc9Nkw0RwF1vXArPxUMD0zz4WDO5ImP tig6sP8l74PXzie8cw+Mb1FzgBhVvdLCvM3xiqblPuj+32HwqpC1sodhudPenpzSjq11 7E/69RkNMrX6j8lj5xyuyg1sFHi+XUpvynfCOgyyAkX8RUxlDCSa4eRAMEdUFmzRnRHJ UBNtnmosgJHD/YCbsMi1aAILGEv19zXKOdPBROyQKhGpWPfQRPSarWeO6Bnmdc3jIeN+ GDmA== X-Gm-Message-State: AOJu0YxDuFLQFhy8Jn6z5RyCErA8/lJ7Dd/HMFO34/APAlNPRvfgw6gG dypJRlutewnmZgRp9/CwBt6GHEbp5jk+aG2b6V7DyQ11CdV3ogi8KMrdiHNrQ4k= X-Gm-Gg: ASbGncsq3C01r43cN0i2uc4i7zya8XgiR5hn3ivB6U2NJaEDkNDeUsfzTw4t5L+Sv3w 9wOAZasY0QVEJywVwhOw17HLByVkElVP2MmT1l2CqEZ1qtl34n3FWkZdCmqAUbzCAjQgLLXYcaQ b1pqVmkTgB1t2xyyJ44pZa6tdM5IVkX5Md2qh1+2pNcORzGyjnZeq5vT+PYqSBj8AYIsIEkcbo7 dolua+Qq8eiTk0r26IsT4JV+TdyrzV4lwrOoIuArEJWlU16 X-Google-Smtp-Source: AGHT+IH8oJmO1yg1ubSZ+z90KdtGpUstGhHd0JFOT72Tqf8VNjDPTT60N6GaHw5YeT5mJn8XmnjWIQ== X-Received: by 2002:a05:600c:c8c:b0:434:f9ad:7222 with SMTP id 5b1f17b1804b1-436230dfe7cmr29162515e9.7.1734020351732; Thu, 12 Dec 2024 08:19:11 -0800 (PST) Received: from [127.0.1.1] ([2a00:1098:3142:e::8]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4361e322328sm44336105e9.0.2024.12.12.08.19.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2024 08:19:11 -0800 (PST) From: Dave Stevenson Date: Thu, 12 Dec 2024 16:18:57 +0000 Subject: [PATCH v2 7/7] arm64: dts: broadcom: Remove intc controller on BCM2712. MIME-Version: 1.0 Message-Id: <20241212-dt-bcm2712-fixes-v2-7-35986e04d0f4@raspberrypi.com> References: <20241212-dt-bcm2712-fixes-v2-0-35986e04d0f4@raspberrypi.com> In-Reply-To: <20241212-dt-bcm2712-fixes-v2-0-35986e04d0f4@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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The brcm,bcm2836-l1-intc controller isn't used on this platform. It is used on 32-bit kernels for the smp_boot_secondary hook, but BCM2712 can't run a 32-bit kernel. Remove the node. Fixes: e1417095a139 ("arm64: dts: broadcom: Add firmware clocks and power nodes to Pi5 DT") Signed-off-by: Dave Stevenson --- arch/arm64/boot/dts/broadcom/bcm2712.dtsi | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi index f42fad2d8b37..9a426aa27c74 100644 --- a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi +++ b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi @@ -221,11 +221,6 @@ mailbox: mailbox@7c013880 { #mbox-cells = <0>; }; - local_intc: interrupt-controller@7cd00000 { - compatible = "brcm,bcm2836-l1-intc"; - reg = <0x7cd00000 0x100>; - }; - uart10: serial@7d001000 { compatible = "arm,pl011", "arm,primecell"; reg = <0x7d001000 0x200>;