From patchwork Mon Dec 2 14:31: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: 13890829 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 4D64CD78321 for ; Mon, 2 Dec 2024 14:32:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9FBEE10E76A; Mon, 2 Dec 2024 14:32:19 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="aP8y/Z1m"; dkim-atps=neutral Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by gabe.freedesktop.org (Postfix) with ESMTPS id ECBED10E76A for ; Mon, 2 Dec 2024 14:32:17 +0000 (UTC) Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-434ab114753so36080715e9.0 for ; Mon, 02 Dec 2024 06:32:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1733149936; x=1733754736; 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=iOx9NaY1qX5HDoI2TYyztMEaA2o1c52TzC8u++gvhCQ=; b=aP8y/Z1mqV6CCHavEZN7UbFRmMBGo1KcI5/Jkz0axTHJW1mZPGB9MvEhuYQytbhjEL /ocLMJh8Gxj/rZW2amI2toOkf2hi66cipxBGYBOBhm2RZG6fiuvTc6ia9wQgbd7MTVjZ nD7i7gcSvMSWuBk5e5q+JkncAS0XzCG6/00+JaN2anA0GNBRc+bYHKhJc9PnKPChYUUB XaZgpGhyJCWDuKWFwi0yX9Hps3jFYqdXHB81uk1I9Kob61UidNAl0jszQ1yJpom9CEic GtEgBzOB16w9hq6FF7c96xwKcXkByOmhbyIOkwRI7pw/7Tw28ASJXSMKrUB7OesHOvzi r5HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733149936; x=1733754736; 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=iOx9NaY1qX5HDoI2TYyztMEaA2o1c52TzC8u++gvhCQ=; b=p0D6TcHNMXLBjuNV9H+lDRxhmq+XBw51G2IB7CeBOyaNAfO8Ctk2pvXEOp+/fjWK6N ZQvfm321/NQSiQH34lhhLIuSOPORRPFc9ydkn4Z9gZnmpabGgimGILEkST6v2l1CFYpn uh5v+51vnPuq7kDrjQuWGC9sC4GSeZIMTSFRHaBidXQdaQ5rePjO/X1f6OmIiT82O5Kw VVtQMyAZrJP/lA+3Iq7UvESqUzFXQU5Tsg9vHLvKDJHlMzC/pqVbPx65Fl5VoSgC2usx iy+HOn6Ce9rF8KJmBsDuDbhUAD9lt3YkMz8r4qlBY4lQMneHWfqdFOpmLoP6+gZ32ctn eI0A== X-Gm-Message-State: AOJu0YxpkrbFgYFLuRCvUnXpBEFZKKZtHKDcpyg+9oW6PHT81djbN9gD NMQBbp1p5UmALd0rDGoo5yl2O9vRJ19i+NUwwAjs6Q3LCg0PNRPyMIfO3/995VM= X-Gm-Gg: ASbGncsnYyGpnRmGZ05PiSHVLpdFXFGzJLptjF3PP9rGX6iVPYwEn1b5Kpds5+h4AmH k9k9U+8GQg54GfqgSOuRTLzJBzvjiAyVRiv/8NjWJWliPkeZrk0VxPlh0FfdbRyD6FQFam08vjL iwzE/qQYhCQohy+o1wn7uJOEeMewDrExsP4eoiv14GZyB1mye/7npMy7uMr1qiKs0caEc9xur2s 0u0R+ivuRhRDmtJIPp6TJwxje5hFvmEXTB1om9v4A== X-Google-Smtp-Source: AGHT+IGWILDCH0oN5IIP6AmBZHCVw8v8xYQoGIqxbhQefLB2luB62aEimC6i2AGfGXR0N+C6cAzdpg== X-Received: by 2002:a5d:6c6d:0:b0:385:e8aa:2a4e with SMTP id ffacd0b85a97d-385e8aa2c01mr5694103f8f.31.1733149936076; Mon, 02 Dec 2024 06:32:16 -0800 (PST) Received: from [127.0.1.1] ([2a00:1098:3142:e::8]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-434aa74f1e6sm188429555e9.9.2024.12.02.06.32.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Dec 2024 06:32:15 -0800 (PST) From: Dave Stevenson Date: Mon, 02 Dec 2024 14:31:54 +0000 Subject: [PATCH 1/7] dtbindings: display: bcm2711-hdmi: Correct bindings for 2712 MIME-Version: 1.0 Message-Id: <20241202-dt-bcm2712-fixes-v1-1-fac67cc2f98a@raspberrypi.com> References: <20241202-dt-bcm2712-fixes-v1-0-fac67cc2f98a@raspberrypi.com> In-Reply-To: <20241202-dt-bcm2712-fixes-v1-0-fac67cc2f98a@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 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 previous patch just adding the compatible missed out that the number of interrupts changed Fixes: 62948c62abca ("dt-bindings: display: Add BCM2712 HDMI bindings") Signed-off-by: Dave Stevenson --- .../bindings/display/brcm,bcm2711-hdmi.yaml | 44 +++++++++++++++------- 1 file changed, 30 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..6af342c9b6b8 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 From patchwork Mon Dec 2 14:31: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: 13890831 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 1FE15D78328 for ; Mon, 2 Dec 2024 14:32:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9BFB910E767; Mon, 2 Dec 2024 14:32:21 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="cAU0YddG"; dkim-atps=neutral Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0EFF610E76A for ; Mon, 2 Dec 2024 14:32:18 +0000 (UTC) Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-385e27c75f4so1545244f8f.2 for ; Mon, 02 Dec 2024 06:32:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1733149937; x=1733754737; 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=7AFVILEGG6inA8zYmU/doFUBGD/IkzUATf3B1mIzQMQ=; b=cAU0YddG/4tbVMui0SZmA78Bz6aDGsca5P1BB7NnL3jbnt2vUbc8/55CNv1JUgkw6h wrv3VC9nTMCsedLtSQMaJrKTwlPqtg25jlEaZOLxtYwI2irHEIBVZolwuQ5DGrQBdH+z R8F39MCSNlI/yqjhq1W49qHgsaCnsGM8fZppAJkAx8zCaStoRbgaPtr1sQwYXDpCwOM9 RDVzQR0ivgLQ2HX0mzQYhm/V4UMFCIEgspAxGTMLR+mYv0j2Xo/o5NBGmR9Z/2Nqi6JB dWXudhQWz4xg/D2QVDhEh1VDuVssLsEfePa5piy+LxQpv+ZOxn8yNkU7HnZZJ4Yf2/Lw wjYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733149937; x=1733754737; 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=7AFVILEGG6inA8zYmU/doFUBGD/IkzUATf3B1mIzQMQ=; b=PRb7CIKxo2lv16W8Mu38mEu6QzJvgbDutCXXOUEoI/K75CBJAZ242VW2rCQvurirrC TD4MRfhYBj4AGEDdngn84mHZQ72GZj7Dzt9dCQ5uCoqV27uL0/qV7vqQ6NMYFZ5Nw6IW zp0IaqzVt1p6QrHu2z6QdQ42j3qcsrZ7to43FB3CUAhQMCZh4f9XPdC4ZZtxZL7L+W4z fNkQ1fyfXEMyefwli8gBz8Vjmj7vzTTNgUD3HJW+FY3EcCIlykv0+gsxUwJcmuttlXbw ixdJEx2javvkTHBOhiH5g6J3I6gpK7J+VyLlR9c6voWTwwXocGDChA4X5Wj04ySFPmL1 vetw== X-Gm-Message-State: AOJu0Ywth2vM2+JHsBFSeYQQ28xvT2xYlEX/z0TrB8C3IyMQja8RxLi2 f21N7jslDPGE1Ggyqly5I3MYO9S7rw+5aZ9F2T365TP9lcQ0oTLJYSr/mxOJl5w= X-Gm-Gg: ASbGnculnChd26Rcxhj4StMVGH7kLYmGjHTDBLLiuu0LgQ79cO77YifwdQq5NEhFgSE y+e0BgyWVOdTGhu0ciKjiitQWLKOXc1eRGwHcC8OPY+PcDAuOYrv+Z/tZixETDJkqyuHKsO35Mt 5Ya1k44h30GBKUSYoYSrJFxBrj1cniSLQik+gD6gCctHNHz3dkWJEn7a2V5Jw+5qpNqsD26obaw TQmnQ4W82eDHINb70H8oXHWRUEpHEB/QojLp5s0Vg== X-Google-Smtp-Source: AGHT+IEh8wUvPPp6fmiu8qi70G2dLIyR2cy0B8DQH6XpxZjumKSN1WVLLU9bXrhtMfH6hCylA9amQQ== X-Received: by 2002:a05:6000:4024:b0:385:e4a7:df07 with SMTP id ffacd0b85a97d-385e4a7e08dmr6305010f8f.42.1733149937090; Mon, 02 Dec 2024 06:32:17 -0800 (PST) Received: from [127.0.1.1] ([2a00:1098:3142:e::8]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-434aa74f1e6sm188429555e9.9.2024.12.02.06.32.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Dec 2024 06:32:16 -0800 (PST) From: Dave Stevenson Date: Mon, 02 Dec 2024 14:31:55 +0000 Subject: [PATCH 2/7] dtbindings: display: Fix BCM2835 HVS bindings for BCM2712 MIME-Version: 1.0 Message-Id: <20241202-dt-bcm2712-fixes-v1-2-fac67cc2f98a@raspberrypi.com> References: <20241202-dt-bcm2712-fixes-v1-0-fac67cc2f98a@raspberrypi.com> In-Reply-To: <20241202-dt-bcm2712-fixes-v1-0-fac67cc2f98a@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 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 previous patch adding the compatible string missed out that the number of interrupts and clocks changed with BCM2712 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 | 77 +++++++++++++++++----- 1 file changed, 61 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/display/brcm,bcm2835-hvs.yaml b/Documentation/devicetree/bindings/display/brcm,bcm2835-hvs.yaml index f91c9dce2a44..ab59edbcf32c 100644 --- a/Documentation/devicetree/bindings/display/brcm,bcm2835-hvs.yaml +++ b/Documentation/devicetree/bindings/display/brcm,bcm2835-hvs.yaml @@ -19,12 +19,13 @@ properties: reg: maxItems: 1 - interrupts: - maxItems: 1 + interrupts: true - clocks: - maxItems: 1 - description: Core Clock + interrupt-names: true + + clocks: true + + clock-names: true required: - compatible @@ -33,17 +34,61 @@ 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 + + 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 Mon Dec 2 14:31: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: 13890830 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 38B17D78326 for ; Mon, 2 Dec 2024 14:32:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A289810E768; Mon, 2 Dec 2024 14:32:21 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="fXguO9YP"; dkim-atps=neutral Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) by gabe.freedesktop.org (Postfix) with ESMTPS id D353710E770 for ; Mon, 2 Dec 2024 14:32:19 +0000 (UTC) Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-434a83c6b01so37615455e9.0 for ; Mon, 02 Dec 2024 06:32:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1733149938; x=1733754738; 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=ezuuCfz4dXYu4hmKXltppQihukLHouMCBa2+WZneZxU=; b=fXguO9YPHRKfIyI1I3IoFWcrjq4bQe/WpXh8VwSsbMKkShzK+KYjt+5qnMoUHCkMdI IGUsI73450+b0hCUyheGfwLEv5I8klEM8RQGLYLsf3BAkvGyK9SDXN5yuVNk9ZK3TwCb LolVbkEZyVQi9DoDInxjiMm/zyCeiBWgnLoCuylv2TzfkWEgENJsaek2w8U3sv3s8Yrz wqOuge1ps79UHwwD0kCsWdI1HkBxfgtCaJeHEttFYSZbqLAN8q2VAU5UwUAz342/bzkX kVZS0ldKyswCueNg/OP/HcCcrOySANnZ5U58AQZcJRMklMoCJvfyQyh0NE6yAYX660/g 8drw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733149938; x=1733754738; 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=ezuuCfz4dXYu4hmKXltppQihukLHouMCBa2+WZneZxU=; b=Cwn36mkY7ycPSuA33fVec2ztWMz8i8rqAPqvBIKvI1OWxuWFu7/axtB26VCt/Yqg7H p2FeQo8YOjGjCnSWr/ie54cCdWKHsDmlkPpSEbG55NkqYH0lJYDOl/l9EN80XJXAK1MN mSVi7ecgu/Vr9dLnHbhziawrSMWMNZcXEB80ELkT8tLKvAHhZD+xd+7hMmXeMGbTfKz+ TuiK3hFBNia2QFPM/RhX6oNnZMaStzDM0tL4Jvj2+4Vbxskdq6v18P0osa4mFd6NwRfM O11GHBAG+wKA2kdTwgIOSUFrTAM3xWwpX8cVNW458RtUxpR7YxTiFfn1/5i5cKphCqaB v5FA== X-Gm-Message-State: AOJu0YwI5uIgieSxzCywrLuwZpVBzhZ/0/GkUxJjICXjlPJeNSX8fU4X pTw8XO7XTWbj8wx73FvPG1/5cB6TpazxD00dF/kg0+9P+LnpgEtFXT6yOGVOkJ8= X-Gm-Gg: ASbGnctra03byaGorJy6hXHvJ1APWZ9unlk1NnIuG5dBIv5/XUTj5Pjx9DUNxjWVpJi 7LFkrG3jHdcuBOPU3z8b2oT7G4uyvv3pzzc4KXaLwRcd0z/MGDyBz4n65TM8w1MtIKVWlQJsjkO 5h5eFIgEPung4LhAA2JwU8IihCrwMqdhK1H/r/Yn2i4HLZilPhT+Y55tg25i/bk6Ndv4RQ1uRdd 1a28yBsFUKWaf+QBVXXDPDyd8CxB4hoFmeKL8T20w== X-Google-Smtp-Source: AGHT+IFOZoOXIOMn7ZNkA2Tq2IsupVCxJJKuWUAQoyj7TMD84BgwJO2qsC/1IZqo9dXxiJ/IAPakGA== X-Received: by 2002:a05:600c:474c:b0:431:5aea:95f with SMTP id 5b1f17b1804b1-434a9dc824dmr223443175e9.16.1733149938198; Mon, 02 Dec 2024 06:32:18 -0800 (PST) Received: from [127.0.1.1] ([2a00:1098:3142:e::8]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-434aa74f1e6sm188429555e9.9.2024.12.02.06.32.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Dec 2024 06:32:17 -0800 (PST) From: Dave Stevenson Date: Mon, 02 Dec 2024 14:31:56 +0000 Subject: [PATCH 3/7] dt-bindings: gpio: brcmstb: add gpio-line-name MIME-Version: 1.0 Message-Id: <20241202-dt-bcm2712-fixes-v1-3-fac67cc2f98a@raspberrypi.com> References: <20241202-dt-bcm2712-fixes-v1-0-fac67cc2f98a@raspberrypi.com> In-Reply-To: <20241202-dt-bcm2712-fixes-v1-0-fac67cc2f98a@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 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" Support comes from gpiolib, so permit it through the binding. Signed-off-by: Dave Stevenson --- Documentation/devicetree/bindings/gpio/brcm,brcmstb-gpio.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/brcm,brcmstb-gpio.yaml b/Documentation/devicetree/bindings/gpio/brcm,brcmstb-gpio.yaml index f096f286da19..086d016df6ef 100644 --- a/Documentation/devicetree/bindings/gpio/brcm,brcmstb-gpio.yaml +++ b/Documentation/devicetree/bindings/gpio/brcm,brcmstb-gpio.yaml @@ -64,6 +64,8 @@ properties: gpio-ranges: true + gpio-line-names: true + wakeup-source: type: boolean description: > From patchwork Mon Dec 2 14:31: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: 13890832 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 394D6D78327 for ; Mon, 2 Dec 2024 14:32:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9E3B610E76F; Mon, 2 Dec 2024 14:32:22 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="GYTSf6CL"; dkim-atps=neutral Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) by gabe.freedesktop.org (Postfix) with ESMTPS id F233810E767 for ; Mon, 2 Dec 2024 14:32:20 +0000 (UTC) Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-434a1fe2b43so39079825e9.2 for ; Mon, 02 Dec 2024 06:32:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1733149939; x=1733754739; 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=p56iPdWdF4pt0TGa+sJ5O54kl+ln7VnNVSZs+/e+76c=; b=GYTSf6CL3Lpy/VdrigjG3nYzktoG7zXiXc11qeIThCy/NWvd2PkWp6i3qkvXF8pkx7 IsRpDwqfL/jskE3vQkJYn9iNuBIr7omdTBH+C7BySC7xaKyRiQDnLIvahTctPLp3P4BN wUwFl2/2AkXcch6Gzxc2cBFktIEhr/zfWzCcNG6VpiRNoRuNSBWdlrXhiBaC/qdkuRQR 0dRhlPdiZnuHDN+dnCquW8FkVbsvXEZH8eLRvpZhUgUaExgkw+X0AKkUTWFtHcevcGQA dgK2oBdNTbUiBYTVkWQsnLbBlCI8BGRzaJQl1DtiNFMXbG7HOvG0XnVtt3V3IG4eiU9+ BKSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733149939; x=1733754739; 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=p56iPdWdF4pt0TGa+sJ5O54kl+ln7VnNVSZs+/e+76c=; b=M92kr6CnBaFwcK1GdKH9ycH+A9zmxGUPob5QugPn7yFGRxNwGok2/PVDvBW9Tsq5s5 Oxk6hishMKxfcHqRPV0bW9uEYsb7h9Sz/u7BJxZT1bVFovXOnzNqH7jAg0u2qNtrQY3G T3y51lM9VXIjqzqR4+TcbrdVbsymf/3ySm6TgoUBN+GJdznwD3D3cnN2XChdkm3LYolg 17G/1kX7CeKkTxbwpK0WKSjTUsPGJZqtwi4HwJqI0PpX9uAMzq4o4A9+lsYG+VIfXSF/ vGauvNR4iiVsvcXGH+IWFFcAs6zozM/uIdGwnh+wshv8JSna7GjiyXjOc71OTpFrd6D8 o3Mg== X-Gm-Message-State: AOJu0YwrjFQUNNQBO045NRfUaKWdS7evWgMTGBBkXwp+GRPt8knC5sf3 qKBYyHu47t4TBZQPHpMH4tJcZeTmQJOFWhzgtqI/CP7fkz+LOLgGwmCmE97CvbA= X-Gm-Gg: ASbGnctshfAujeTBvFf/J1L/ygsy5/jyzJRm3e796PAHIn3eZzx9diZqG6PRsLnFJCq YllQKeHb6ns75fo/FgGL/LwoDF2bAOa+XSwkJ7U9kdnNgcMwJ4+3UBe1ttNC+LztSvISfxIYc2O bsvSWh6Yg9CNnh10uqpgHivb4RyKqi2B5nuNFTK/xD2nZ3PIFTgLptyjaDeOsHMHayQQUHadePM 14BVVJQ7BZBWPzHiYCjCzm0m9/4mC+eU7oeJP2d3A== X-Google-Smtp-Source: AGHT+IE4Z97WqPTY6whDYYFojroLMECZvQLJmvdqsAduNjh17iqwixHR8OU1x0n8ZEx4yAwnePdiwQ== X-Received: by 2002:a05:600c:4e8b:b0:431:93d8:e1a1 with SMTP id 5b1f17b1804b1-434a9df1f34mr200128515e9.27.1733149939226; Mon, 02 Dec 2024 06:32:19 -0800 (PST) Received: from [127.0.1.1] ([2a00:1098:3142:e::8]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-434aa74f1e6sm188429555e9.9.2024.12.02.06.32.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Dec 2024 06:32:18 -0800 (PST) From: Dave Stevenson Date: Mon, 02 Dec 2024 14:31:57 +0000 Subject: [PATCH 4/7] arm64: dts: broadcom: Fix device tree warnings for BCM2712 display pipeline MIME-Version: 1.0 Message-Id: <20241202-dt-bcm2712-fixes-v1-4-fac67cc2f98a@raspberrypi.com> References: <20241202-dt-bcm2712-fixes-v1-0-fac67cc2f98a@raspberrypi.com> In-Reply-To: <20241202-dt-bcm2712-fixes-v1-0-fac67cc2f98a@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 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" Fixes up errors on HDMI and interrupt controllers that weren't noticed before merging. Fixes: de9bc2dba3db ("arm64: dts: broadcom: Add display pipeline support to BCM2712") Signed-off-by: Dave Stevenson --- arch/arm64/boot/dts/broadcom/bcm2712.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi index 39305e0869ec..f42fad2d8b37 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 = ; @@ -352,7 +352,7 @@ main_irq: intc@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 Mon Dec 2 14:31:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Stevenson X-Patchwork-Id: 13890833 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 1F09CD78329 for ; Mon, 2 Dec 2024 14:32:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A693810E770; Mon, 2 Dec 2024 14:32:23 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="BWS+k32n"; dkim-atps=neutral Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0BFDD10E76F for ; Mon, 2 Dec 2024 14:32:21 +0000 (UTC) Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-434aa472617so36575185e9.3 for ; Mon, 02 Dec 2024 06:32:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1733149940; x=1733754740; 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=0SWv286JLLtaOue4mQfrx4lljgfdeCl/Poe2xcsSj1A=; b=BWS+k32nmBl9JFcjTsKZWFcfTPAYij149F+Sgj+U32wt6oxQ4v7j4FxQk9QdJwLTB5 HiWKngbVYBPI28fpgkEHQlb9pu6YME7et1Z1+wT0R8v7NRRe0CQYufe4Dadt8biWDyH+ RqZXiGBi2wAphLmlqCDxLOeBvn7yNmdwPPLx/7oWzpPHzdy1+ab4kLJq/5nfJavt8n0f Z0zadFgfWU38CX3+L0UuV/VSy0nKe0LA7kf3sVtK7Gp7CyymL7SB30S4jxm1RO6iq/Ss j3m+EH/HFmZWRWVB2PGvkO1rFhQ8axOFFr1h6DgXk6w64aSZfapJN5pQY4cISlpWsLRJ SFmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733149940; x=1733754740; 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=0SWv286JLLtaOue4mQfrx4lljgfdeCl/Poe2xcsSj1A=; b=Y/dDL+EavAC5XW61KHuKUa4koB3TrVTz178SmSFHxg+Dg8R3ur5iaorQ7VpyQXd+Zh knl7PXAgLMxUIdUlAmi4Qa0bjonAkLBnjpfJMAvlp10ZlyfehUXqMl7fS8lV36+RYvyI OW0pNygBJOE2T6yHM9SLNiKxbQiMm5ZQUPfS+gQcynHeMmqZBs+RvkGoT8ikWIkPNBGZ hPb5kq3oAYY7Jqz5MPpOj3ECC8g8ScLM7r+3a6+Zca8c1HxB1sGnzVktp5wLDcRhoXje givws14susew2679ljIVXTiNj5qC4zs6b7jJzf4lGH63ZzjxHFnisJNRbpSw3u8CcwCn iLng== X-Gm-Message-State: AOJu0YzuzUJDGtyvfIAbopktyVhxIg2uTiSKvPLcxTOo86i0EYdj+vHt MJmAU9WXckjpUoNWNIk592v+V15dskwGXg3l+XZYm2QwbtpEy+RdHXodiMtF5wM= X-Gm-Gg: ASbGncsclJuwuapknHeqrrCuQ89l0kJB8Dw+Ycn6acOKx9Qw+ZlT970ehxxUfoTy3R1 ffs/Mefh9VFaHyKefHolg06mpyDl605F/UxCQ10XbB2dJEGcRfSM3FxFP3O/OanyyXxbHwdnuFy XsUk8DCj0/K33ewuqQyAmv30o4s4+u01fa0tWciep+U27fBw9olH4coMFM+oFPFEEqjJ5yTyApA YQRSYzugOIgESyuqGl2qw2A/hAkOorHdkX40oHybw== X-Google-Smtp-Source: AGHT+IGdEnNzVlMLwDBvV0S4CV4yuBsyp8Dkp7xJueCrLVsr6eLGBmMPHRLxa0QvyyA/TmmOBjlOGA== X-Received: by 2002:a05:600c:45c9:b0:434:a196:6377 with SMTP id 5b1f17b1804b1-434a9dbed9bmr221354295e9.14.1733149940210; Mon, 02 Dec 2024 06:32:20 -0800 (PST) Received: from [127.0.1.1] ([2a00:1098:3142:e::8]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-434aa74f1e6sm188429555e9.9.2024.12.02.06.32.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Dec 2024 06:32:19 -0800 (PST) From: Dave Stevenson Date: Mon, 02 Dec 2024 14:31:58 +0000 Subject: [PATCH 5/7] arm64: dts: broadcom: Add interrupt-controller flag for intc on BCM2712 MIME-Version: 1.0 Message-Id: <20241202-dt-bcm2712-fixes-v1-5-fac67cc2f98a@raspberrypi.com> References: <20241202-dt-bcm2712-fixes-v1-0-fac67cc2f98a@raspberrypi.com> In-Reply-To: <20241202-dt-bcm2712-fixes-v1-0-fac67cc2f98a@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 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" BCM2712 DT was producing dtbinding validation errors of interrupt-controller@7cd00000: 'interrupt-controller' is a required property interrupt-controller@7cd00000: '#interrupt-cells' is a required property Fix them by adding the required flags. Signed-off-by: Dave Stevenson --- arch/arm64/boot/dts/broadcom/bcm2712.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi index f42fad2d8b37..0ba076ab9caf 100644 --- a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi +++ b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi @@ -224,6 +224,8 @@ mailbox: mailbox@7c013880 { local_intc: interrupt-controller@7cd00000 { compatible = "brcm,bcm2836-l1-intc"; reg = <0x7cd00000 0x100>; + interrupt-controller; + #interrupt-cells = <2>; }; uart10: serial@7d001000 { From patchwork Mon Dec 2 14:31:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Stevenson X-Patchwork-Id: 13890835 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 B17ECD78321 for ; Mon, 2 Dec 2024 14:32:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3BF6810E774; Mon, 2 Dec 2024 14:32:32 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="X59RbVOk"; dkim-atps=neutral Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by gabe.freedesktop.org (Postfix) with ESMTPS id 321C110E778 for ; Mon, 2 Dec 2024 14:32:30 +0000 (UTC) Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-434a044dce2so54636775e9.2 for ; Mon, 02 Dec 2024 06:32:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1733149948; x=1733754748; 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=qoO0W1lzMLcOdS6iQBTqdnnGTSDtRuJivefn0QP3emg=; b=X59RbVOkPtXGb5Fgqg3ycqqeLZxfvtrs8mB/L76wVX9PODfMrt6ORAXsDhUGI8QMI9 E8j8MpxH6cbLNnNewkN3tN8FChqJQDI3dTsI8TQ5RbNli3R0XEal5eb2BcU2dDdBIZvT BUeDrX7KIfj9KkPSPaiSchwQcB7a2uaGr53JXtGOAV6xoXCP4MBRk5P8muGaKxJmqoa/ 3cuy5V9QkOl3gq0cgph29uAapQ8cdT12UmGwNLT0hfOTiW2mXAbqZFWqIB7ObYpa0H/p NUq0Y829RjgfcDr9ascuQiwtDsum9bNhs9MqUEjvH61+xfvsS59sJg3aWSRcdIn5K5T9 crxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733149948; x=1733754748; 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=qoO0W1lzMLcOdS6iQBTqdnnGTSDtRuJivefn0QP3emg=; b=RgfXC5fC26Z7/h5hwjXdzqIXUwgOhnh9d+g9GV9XJ5RAsqdUN9gI40pXw78yn8Zar3 v7X5wt2FWgSjCGS1ROkDDUKo1Kgs4dhDiJBh38pcjTaTMb3Jtk0u5MBwqmW0syNzeWIY i4kXR9HKj+hkD7ZXuIIpHZlxe6L7uQ6x0w0rC6pF8D0+8fP9SLSjGm1sThrqTEjLrvls X7nTSkhm4F0W4VqVjsRVds6jq2VUwL/WYKhzFeyNFrmScU/VkVbPTc6xfcaR0aodQOpK Ahgk3SCFHx0QKHUidfL4LbpZrr+KlvxXucdqp8Suey1FJ9v94tVAIuS7HtB9WzpOz31u MZLw== X-Gm-Message-State: AOJu0YzMAAT6bZP2u7WVXqWJm388eouhjPdXv8veM42Rv+oF98Yb1vor 4QPRnUorhZdXkk8nbBIhfKc/W54rxyhmCEiHAdOQPenFgVRkGqYZSDgh1V//7m8= X-Gm-Gg: ASbGncvg1lY9xuZn900v3DIwxnnlyWWBB5A3QKnRuo3aT56EmkktoVtd9PCaCXBrra+ sV8cB1n3s6TbS+33c4DQcwQWz2co+zQxl2JO9wyoOvRhfrD18CZh4WYcWtlfAb+M0ro+CJPLb4Z OFavosSzpjrf8U4EEDfzbzDC2QN0wyDfId67aINStfqN735FJv27YPek9wjPSNuviuo8srMegDZ HXaTqy9omi4MVP9rnkT3+PHA9HGLjn0a4RH2DmzLQ== X-Google-Smtp-Source: AGHT+IE0KkUbbY+W4pZJfpChMoM/Bgrd/vrm1xb0nOBeoKJCjAgqt5slzwSLTSLUpuVmedDgVR+CWQ== X-Received: by 2002:a05:600c:3549:b0:434:a923:9321 with SMTP id 5b1f17b1804b1-434a9dbb626mr248858685e9.5.1733149941245; Mon, 02 Dec 2024 06:32:21 -0800 (PST) Received: from [127.0.1.1] ([2a00:1098:3142:e::8]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-434aa74f1e6sm188429555e9.9.2024.12.02.06.32.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Dec 2024 06:32:20 -0800 (PST) From: Dave Stevenson Date: Mon, 02 Dec 2024 14:31:59 +0000 Subject: [PATCH 6/7] arm: dts: broadcom: Add interrupt-controller flag for intc on BCM2711 MIME-Version: 1.0 Message-Id: <20241202-dt-bcm2712-fixes-v1-6-fac67cc2f98a@raspberrypi.com> References: <20241202-dt-bcm2712-fixes-v1-0-fac67cc2f98a@raspberrypi.com> In-Reply-To: <20241202-dt-bcm2712-fixes-v1-0-fac67cc2f98a@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 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" BCM2711 DT was producing dtbinding validation errors of interrupt-controller@40000000: 'interrupt-controller' is a required property interrupt-controller@40000000: '#interrupt-cells' is a required property Fix them by adding the required flags. Signed-off-by: Dave Stevenson --- arch/arm/boot/dts/broadcom/bcm2711.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/broadcom/bcm2711.dtsi b/arch/arm/boot/dts/broadcom/bcm2711.dtsi index e4e42af21ef3..313b1046d74f 100644 --- a/arch/arm/boot/dts/broadcom/bcm2711.dtsi +++ b/arch/arm/boot/dts/broadcom/bcm2711.dtsi @@ -51,6 +51,8 @@ soc { local_intc: interrupt-controller@40000000 { compatible = "brcm,bcm2836-l1-intc"; reg = <0x40000000 0x100>; + interrupt-controller; + #interrupt-cells = <2>; }; gicv2: interrupt-controller@40041000 { From patchwork Mon Dec 2 14:32:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Stevenson X-Patchwork-Id: 13890834 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 B4C13D78326 for ; Mon, 2 Dec 2024 14:32:26 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2EE8110E773; Mon, 2 Dec 2024 14:32:26 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="HHRs73N6"; dkim-atps=neutral Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) by gabe.freedesktop.org (Postfix) with ESMTPS id 74AFA10E773 for ; Mon, 2 Dec 2024 14:32:25 +0000 (UTC) Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-434a736518eso54700685e9.1 for ; Mon, 02 Dec 2024 06:32:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1733149944; x=1733754744; 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=pli6SsFvDcPYaCKSCtuylkfG7oHLkLI1T7gsEQivs80=; b=HHRs73N6/2uiAo07uKa7UN7jbwr/byGALOyIDHXzDWaCqIcLC5OkRUIP2nRq/+0GXs lMFdol6POjqT5wVWgUGY/km1IR5IX9rrRs3pNtFmpZ3wF2RBmbb6zim7eJKdS9yqd43P A+6EuhMeixk5GNjVS8UQBPbhTp4YhcVgW0t+lGVJF0VAGEOvURwB2qlvkdbPDHOfrYBI f3F9UVDyHhA+f1rZb3yKNOBSxwTNDGHFpmaovdLZ4t+4bXlSmMDHjb5qkq2Rnygo3Gm7 Dsm6e2wk7xL1GtMgCvdo0W1vx6OHQ771CE/r0qxH2jRiFKiqVgOeP5g1EfbYIBgiSoXd vyEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733149944; x=1733754744; 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=pli6SsFvDcPYaCKSCtuylkfG7oHLkLI1T7gsEQivs80=; b=omL/mSRNXmh6tu39686A7lopoPlt65Dii5AxwEwUjFcstUZHgKHwDCbma9Fgl0SoBt jizm0RHtUNF+xnC6s8CpOIpi5ObrtkgBekhZKNvWkbPNR8ABnBXaq0QJ1VzCL6Rw+OYe 8G5ARixXpf5tpZnlMGZFnOoLcTDsGNC+9dUQscbTBN6OHgoQj/gyNGFbDMhl4ofdLDbX fyqWobVSWxJyajC4G8jqqid5YDN9IXNST2OkztU/gVUEUyQ1+h5azGAul6k09clGBVhJ PKNpQg76TM/CHjWKrGKcghNlVodzYWyZ0YdYSIZOCR1Jrv4PQGr1NjVBw6V8LKcyVqBY +PRQ== X-Gm-Message-State: AOJu0Yz5Oo+Qt/Hx0PVbLOrL+U/voEi3snfRu6fwDqRjvim6wkj8Hhad mrtdSW5YphD20DOwcCk72rw0tLWEt2sgs9+aalhm94YrvL1xCvSRYfK4Q8xs2Uk= X-Gm-Gg: ASbGncvFqe/RqVZWqb2TShYqLrMEEJfRFa0kKyzX74n9KfYCBdW78WRckWLf1kPycPn vf1MENsu8qfGbhQiicminfd/ftzlzLCGtWbonNb0m3nFvR88SXCFVdNvjlIrk4+wHmO86wWeFBE xTPcyIGoqafveBKHNCaa9Z0RAos3a2MUBpDA6zbk7ZqEF6YN7vKZ4LcdqhZXZZYSHu0KJWOx1nR dp01wMLas92q70AS9dLuZSRid6/OmWHz4QugtInbQ== X-Google-Smtp-Source: AGHT+IFok6tkFCPxh9TckNxxVOqWD00WXYrj3eZIwv/5rIdvTJ6mEyRfzTjnuA5/i326onD32S2G0w== X-Received: by 2002:a05:600c:4686:b0:434:a986:11cf with SMTP id 5b1f17b1804b1-434a9dc3030mr246706275e9.8.1733149943483; Mon, 02 Dec 2024 06:32:23 -0800 (PST) Received: from [127.0.1.1] ([2a00:1098:3142:e::8]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-434aa74f1e6sm188429555e9.9.2024.12.02.06.32.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Dec 2024 06:32:23 -0800 (PST) From: Dave Stevenson Date: Mon, 02 Dec 2024 14:32:00 +0000 Subject: [PATCH 7/7] arm64: dts: broadcom: Fix device tree errors on BCM2712. MIME-Version: 1.0 Message-Id: <20241202-dt-bcm2712-fixes-v1-7-fac67cc2f98a@raspberrypi.com> References: <20241202-dt-bcm2712-fixes-v1-0-fac67cc2f98a@raspberrypi.com> In-Reply-To: <20241202-dt-bcm2712-fixes-v1-0-fac67cc2f98a@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 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" Resolves the issues on clocks and power nodes Fixes: 4254a647b6c9 ("arm64: dts: broadcom: Add firmware clocks and power nodes to Pi5 DT") Signed-off-by: Dave Stevenson --- arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts b/arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts index fbc56309660f..26e05601416f 100644 --- a/arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts +++ b/arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts @@ -66,11 +66,7 @@ &sdio1 { &soc { firmware: firmware { compatible = "raspberrypi,bcm2835-firmware", "simple-mfd"; - #address-cells = <1>; - #size-cells = <1>; - mboxes = <&mailbox>; - dma-ranges; firmware_clocks: clocks { compatible = "raspberrypi,firmware-clocks"; @@ -85,6 +81,11 @@ reset: reset { power: power { compatible = "raspberrypi,bcm2835-power"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + dma-ranges; + firmware = <&firmware>; #power-domain-cells = <1>; };