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: 846757 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (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 DCB0A20B7E1 for ; Mon, 2 Dec 2024 14:32:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733149939; cv=none; b=eRE4/EwlQ+aQvGN5D8u6EexAs+Aw4YoOUsFP7TgnfHxQcm6g7c1YCEXwUsrVUkSjuZPqFryuM/c9DLmquFrSYt62la1sDtxfG9si5EQsyPGcmT0NHvxAvt5ZmVpuI4npwg96YMVMRmOc7gZOhhoo9phjZ3vbXlWaKvZ3mlsjEDU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733149939; c=relaxed/simple; bh=qOmQJTbCQeuHlJprqQwHbB2+QP0lQNzJMUj3CXSju98=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=oz2uRfuS6nfWdvJVML685S6YdC3Jv/uPsGtMnvjWsqf7OLQGSig3e2ktP69AF8BWE/ZrmwZzZNLbNxkP4f+qrvxsAnTEGVFDISrQRpW6X+pbKOviJ0WF7B8iqt4KrFtWZ+YxhDe+Fczcz4kD7+xm67OtuUVrhs6F5qtnLZ7/JPk= 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=SBFZtwSh; arc=none smtp.client-ip=209.85.221.54 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="SBFZtwSh" Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-385f06d0c8eso762478f8f.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=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=iOx9NaY1qX5HDoI2TYyztMEaA2o1c52TzC8u++gvhCQ=; b=SBFZtwShXawYeNjjUhQw+4rL9onAhwCscQ9RguLo0UFvZVSaYE6fdFw2emSBV+sbYr 0Gpk6kcv64QNj4Ffm3MFy/+T7n8YXvGPiGdAVhKaly+CrOS7S4P9yHuIrIz7t7xbE3DC 9BxHxtL2DGZ12+7E3s/iDpmY/t4RfA6gKFuHsyIBgoptIT7ftKlF/SxSpqEgruKPqbYr PgEf1+/OBWMrjCm4WDh1juXONUBFm60P9qXZg2dSK9VwuvOLzfK/Hn1FLUCbSyYBiS1g QdkuDxNKDABgHOXn3MoplgmvNpDaCmWox5/D+e7/C4It+MmQ2ZPjw+k7r9nAg15ewGU7 7dTQ== 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=HgKJva71JC+uKnQO0XDbsiqU+JpMZRhDh83ybJxBKWQTlKfnvveXdq3rLJQdR1QLjx Od1u+PGEa46LOlJT/3UU9+VFZmxlIpuiINhyrYqhItu40Gh2MaYKKxihZGAAnes4ctFM AU/YbFH1jUtasFRxVwVDWGNs4MCMZOA9Il4hudZnDsmWgauBrJnVsC03kwtOWuSAwgD2 pJz2omTuHPauCUSTuZKmI+xQATtvvi/NuO+g4cz+8znJuzUpc1v3oXrZQCTpIT9IVNZk NA7IUytiBO+5PqnRGDYPtnewwAmsdNDJx5WmMw/3eBFs8r8frE7XBZYdz5lhMe8jzVqA vsMA== X-Forwarded-Encrypted: i=1; AJvYcCVsGGkdpL14g1SuDVGs+d9sNNN8GiecsX5LmLWLiGcKUY4E0G+yhci+eYc5vVL9eiY43iyYUHT9hdxA@vger.kernel.org X-Gm-Message-State: AOJu0Yw9SeR3AFfB0OWm8bzuyzuc5LuTSEQ+pMlKXU1iW6AKTiocftKn JaHuQTt31/Az9U+/u91CBiN1Lr1/f0h/nFAiSv5T1eRsogaQRaCz3zeafNwgUvw= X-Gm-Gg: ASbGnct+YGV389Mlj91LAfeEGtIn6DRuytmnui5lT3IxqYwmJ+Yz76wImAdCj34HaL2 CdOObioFc7iZ4DPIzYkV5TWm8vYWNM8toQ2IXN/HraxB9WSpvX1mCfbccxW+wCvsQXu4hZYxW0u Ca0ayPPPYRyBu3Qzp2+CXb0sxqy5a7dedahAHvr84ov3UiKvj7jSeEgAPRZQZWszw0AhdjbiOX/ lxWmVkbzxnCnSZq1/1pSaIHVgLFzty1jsZZaBPT/Q== 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 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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: 846756 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (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 D8C7420B80F for ; Mon, 2 Dec 2024 14:32:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733149942; cv=none; b=aWLzybpAtXWxWUT17HSJgjusVvb3Ucri70rGWu5Qt28ZTccORWBbUN7IZ2SH7oc2/Wn4qKpvyzT0nJU4Es/ab1I5ZSSh9aOZwaQnhzFs16BmnohrubFA3hE2n3ZiUOU+1gSF0V0WLLL04FMjRGPdx8mh1RUNyPsCHL09gur3Csw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733149942; c=relaxed/simple; bh=FQOZmUNicupuaj+h7+nIqZLEwfVhlNCxkDeqgMBEpIo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=S9CDXaTAQj+QRcUiKIlFXjwLD4Nv3ohGzTNQw751Slx0Hi5SLih54Y+FkggLeRp0/MZjkzdSBoeK4W7pMcyEnaO6LDPGUiil9BQ3F2RK9cYb8AgffCr1Jum6qDx4dnNMI9yZkYDo3r7VsxX7v8fpjWxVYRScI9/06IXolrajVnM= 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=d3x+UxdZ; arc=none smtp.client-ip=209.85.221.54 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="d3x+UxdZ" Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-385e27c75f4so1545242f8f.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=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=7AFVILEGG6inA8zYmU/doFUBGD/IkzUATf3B1mIzQMQ=; b=d3x+UxdZbLevh/ZBKcrsuOUyjOFQULhVF14UVtAk757k+6YDMiVWbX5ICak/lR8ihr BsaH3S41avVqHG6VEgaVzL54U4Db7YaslfJ50wOcQzV5Q/PVa3dAf11jhz52X4IaQ7pu WCXsgVcGkIuk+n1bYZ/C8cC34jpfv/qjsg+0vw1CroP8ZVZ2UA+blKW8tqrGrlPnrF6c vm54BkjHlBzRfY/Mu5vmTCZ5/EQIzhwGzmxNHKUCJuh4rKdUP3LFPA+5Pm9+f7xXHPir iDzw36qMwgYc+9cFRhYP2WJt7956NL1VOO8Gk7kQ7rP6xRB5XFPl2Ig77eRpJ7oNHqAI sSMg== 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=t31E921A2qzYpl7xkCyT49u3uK5KY72bpElz9awETAr5dnpj+nCFX/Lj5DuDjxpMKN lhTY2PwCmplyztn+98foLtKw6gVFUc1nUDjKoHHfAwYOYRUv6oMpYqNkZhC87SQrB2b8 h11C6l7VzzFLH9EeRdY0+wrzzyR7GQYaiyb0RML7MlrOFufMuvbk2zT/cWgL32vaDGCD gYt/lifguA6eJJsQYWo0ZeqirOu/zr4uxgpo6Rbql3Vf8s7HtcOyQ4YfTH7yj7NDv4YE wYqEj6FTtHjLtKdYr6eQHZP/TI9ls4QYMqzvq2CVx3mmcdJm+5trxBhJx558pcLI2Bbb /mVw== X-Forwarded-Encrypted: i=1; AJvYcCVil5QHhhZDSV+EXEcwL8pbpJgV4KrQaY38o3kyH0knN7C3+cr31Ts8p6bo8kiVSQvOBTI3Q/NAuEQU@vger.kernel.org X-Gm-Message-State: AOJu0Yy/UhnFy7OzM8mEcxFMNwqlvcx5YqjABJVzNBvqUrMLstwNkBm+ 10LB5toyMFsxBtSeKP8wuNtmHd31dsGuJ2pJytIgo3SeLu8RAN8pg0PVqyWIwow= X-Gm-Gg: ASbGncv+rRJ5HR0sNw/eaFEZ+8LDhXwWxU/uvopiOEpNLeCXxbRlzleVqvRfAq137pl QcQA30aVakskjV5yazptxAhZ4SsbGg+NqzKtGdlTHfWOKw3AkX3oSFjnHEkhMqSBW6fmAi15ST+ jpFvIIk8S8JCrGSH1YokwsCBXIp00oEML8feLnOCHCj1OZzjVorsRtKW8Bxxcl+WrlwUetNrqA7 7jKkSeQ4xGD4stE2QmefZd0kJQFEVZXEAhcLFq5PA== 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 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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: 847110 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 DE8BA20C00C for ; Mon, 2 Dec 2024 14:32:19 +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=1733149942; cv=none; b=cBhFhBk18/QtRjRqIMZIoQeIk4Dz/3SANuVUd5orUSN0ETHSNy+c+ve0QSBh3LebEzyS6g5H2xd4HR+Ou0e8MZZboVoBpI5r+BWy/YqqIXZ8Vy4CXTaXbqemY8hl05Rv9TDw30tSpRydZWbw+lona4CSf6JA9oql66HYzuWZltM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733149942; c=relaxed/simple; bh=o+XWrIWz9NMGyzj7C0rloJz0rrUxtTpuh520hN9VdLM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=CKBvg5BHr4SDtmpUUSrOJ/H4HSEqWfCsr59R9/Q3fhtjOryXpBDAMeck11Oypwt8kraK0kozyrfFmwkTkNkU22GOvk6Bjtp85X/XagbX4wupWBRNpcc40wl9dv40pVjY++ROknQG9k9dSsvyRcUq/B5vyfah8LCSx15aMDqqTmk= 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=iL9hfwJ7; 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="iL9hfwJ7" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4349e1467fbso37530315e9.1 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=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=ezuuCfz4dXYu4hmKXltppQihukLHouMCBa2+WZneZxU=; b=iL9hfwJ7oYOeQ0hyc3UkH++I8Tn74OEvyvNbHOCTQ73+qE2ILjTfGJ0KAhIYGBxLYr EzZr8TBPh3of+Np59n7sH0wR9PDqIThD+HZd9DBXkpmsHR8hOT06gnG4tMck45M5fUhj v6Zo10tg6+AtR91VjKMmDzpfSzn3DaeLjB1FVS/OaOedX/ozqz+mMED1ZXGdmyrlPoir 2QgFTnt3b5FT5AZxQBgY7PtcmF7H9OZp/W6QUrbl+pAciwO0y6iJw7QiKBRBDuWSyUe5 fLd370F9fTUeZN4DeDI/lbkFtHiWtH6FhDPX+F6aoeMD1nUf5IzZbF17+hRbKt4Zc920 e2/w== 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=mFRHxwLP9ssIQSfJlSCVYzOdv15IdMug/712Ijnmk0RrsCPmWFi1IBdp4hVDqATAsn r0pVzh2wTZckWxK0x6aZ2QDzJh8uY3oN5kkUrfpz9KNvTGrht+OpmdhYkDsTvICfkC2Z 8FbV0uNGyYT3wZAaMcUF/Aqre7OXUyeMaP1Q2OkkCtenyJz+dWX+JpNSkrg9N6GT3s5M J4JYn8qxAQ40K8Qm/Ozn0WrApkiUYSVjhQF6KSg9lszJZADX7LJx+8X3vHQedcYsFBx9 jLevHniAhQgRirmcNkhsFw1TVkbou0itXKdAbFukbc3Ia7omyCbu3IVQIjUFtYfUBCW6 Y0jw== X-Forwarded-Encrypted: i=1; AJvYcCVR/yQgkBxYXDtOiV/MxDlNWsq3QZpNqoX0d4eouhO0Y3wCMUcv9aTcsDb17KH6OWOzBtztA5cXeJ4N@vger.kernel.org X-Gm-Message-State: AOJu0YzMhKDXWE4116otsfLaxlxJBxkGG1JPNK7f5MkDy8dMM/8qf3ST WsSapRu++0gc2nbPXEgOir+88NOYClAEpI0PYbDZrSEzNldnzcOIZnqK8hcjmBI= X-Gm-Gg: ASbGncvLmPBaeDtcEOfteKGNzM3VPXE+363UiN4xM5VPYO+Qr+KbVyJ+OGOchRpFTaB FE8iHACFPt2pBVNfpInM8+iZOPyH+1N3sjiol45+wBC9lytA3SQGsMgNgmSCMTnvsmcpDFlLvUU xA9Ngu8Hk9RjZpNEDJQsuDE29p+NBV6tad+SFvy/ZVC1ZtZM67aJVUmmi4YXUNu+ZL2QWX2wE2A WINyZR7AZTDdtGSEveL55GCiLfO4KGIBpPdSdS44g== 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 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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: 847109 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (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 062FB20C00E for ; Mon, 2 Dec 2024 14:32:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733149944; cv=none; b=ioUkyaHknl1WlI4z3gskm9ZTSvg7CYf1KvbLlACjtIbUp+S98UbQFWVRhXo3Ze61LrTa32ZVqahl84wLCLRzo2GtxwgATpQkPeyrGo4eufEQoNYAcKugTPbQwBpfmJOhQSbAKaelLDO9Pw+F0uMcVuMhJcY3DuBaFeSd8C2kIRk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733149944; c=relaxed/simple; bh=2PwZe615qE2EwcJm/HQBJ/KJWDj8hvYZrNBL6lFE46A=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QoAhGUYUpP8mHFArVck0oFRaIc2cRA84AlDx5eUDU56Jsz8Tx3N8MyH+0eM6nezCYbUUjFq6zfD5ENj9yyQXgm71OwZwfIGfURU+vPYZrEgIDZwXAmngfKQHLI02opEju1gMXSLD6BXJK+rYkWq4lQwcx5XKoG7p6aU7jvozdvM= 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=qFllo910; arc=none smtp.client-ip=209.85.128.54 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="qFllo910" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-434a1fe2b43so39079835e9.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=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=p56iPdWdF4pt0TGa+sJ5O54kl+ln7VnNVSZs+/e+76c=; b=qFllo910ZhAY/1s2VjgAwyeGF0XoXv0k6I0Am5icZMORl8AUi7HzVm120p805K8shq e6fQC/s3vR/2spiYhxOOsiMBf/qaeV7by3ViGrIxhfHQcnL+iNh7VdKJYzlyerySY5D9 41nyk/4MQ0RM1dTuWt2um6nhetnVGS74mwFlr6fhVKjYLJFgqAMqAa7MGOJWPAJe3Qnn CwV+gjXjcxf7odbtWUH8GTiCAshcZmbkf8YvGOnDQTtOt/9oHO/VT3gNprlRwgJ8eNnt Eruc5CXvXvMdk3HZ1eIVkdAjfQl1iSReuiH/1MOOSprVvRnRUAcUYL7L7yW6d3BabcYD bRaw== 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=lgjSZ6Y0T0WF+vKBvM7Ruu8JuTMwL5D42jC/jDvIFhy+qBAHrnYJoiJJ4Pj3PU+2kq rDpSuVmCCebefooNFJ5TQKmLXjPnfa49tBiOSt/5c6sZKqDT+EotrU2Zr2ws2gsxS6Ep nNsbs1bPdxjHAblmeZh9sI58zLb9apdiq60QxzEqIIJoNF2jK4NouNBlppSB3BbZbo03 An2ZQxRoKYvKkz1oRPLwT0J5lfflFAITpPcTC8TAMaxfA204b5w1ZJ8VmGw445zO6scL 5O4bBRVXcuMNC3wWblMIfhG+y/l0cLJwxI7GrQxGpItXNl7u7BozZon7fc0DNXZrgdy/ Rm6A== X-Forwarded-Encrypted: i=1; AJvYcCUwcTkbSSSI1wWf3ad8HWO8fhU16jqID3W0O11aEIpE8M4nZ2jh0njct/e5IhEHf2nlfuc+TVtAPFP6@vger.kernel.org X-Gm-Message-State: AOJu0YyMogpJE9LpSu0g+9onGXWQiXggqYQib6TW4Hk13JlJNVXcvo6g MYcalRTF0I50mGgqJIXUtv3LX7mDkC5n4zkcPeB8oE0w5AgkDDjYpzXkrsj0UJg= X-Gm-Gg: ASbGncvxOl/ENaGHg52l1FyhRAsIpkgUZrev2NMnRC+h4/r4LNvQ0+QkjTHckJBdKY5 QigsR63Bd9HCY0ou5llHnEW7+nhBQ5Dq1Py75XTIFJoSjWTkggz8aQbTjW7iORpEGPO6GGxfyg8 YR3wpMfhhNtsz9pxXeKNBigg/oKW4osgQMYNZ/SRnCpoW9HHmIUHiD4dLXb8liM3Ep4jtjrWAZc qAvIGI1/kL6rs0xG2/9z93Di5GsJ9E/zI0SCcLEzQ== 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 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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: 846755 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 059D620C02E for ; Mon, 2 Dec 2024 14:32:21 +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=1733149944; cv=none; b=SHJSLVKV3fHw2MHftyMcbBjwSXPh+HL/zCDkdlq8Go+Ir/aJBbcnXlHkfninGFANdgolTmUQQjetQZynpSWbRQ0/o6w8vnD5iixl/6ZBIFoOiSwCHhPH2lQIXY9xSNkBMXm3F4nn9KVA2pBXTCPWMJR/G9wdrqukhJSeTy2dmXY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733149944; c=relaxed/simple; bh=qsen7kpH4VQmiESFj7V0wT47esSpDLB8//iY+z6pNNU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=oMk8/soCyiHVZDx1WZidBWdktziDH7V8Nak5eovT4b3syVd1rbbVenvIk1L8JYNYq7JzOF7JXLiAprHbKfHhRYwxsSur773O08s9HNflkF7SrIMSfU1pf+jT2TH0yUAEkDT/zFO613p7klKG06Kf2caDDPPgw8pvcO1oWKZVC3I= 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=knUY+1F2; 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="knUY+1F2" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-4349f160d62so36587435e9.2 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=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=0SWv286JLLtaOue4mQfrx4lljgfdeCl/Poe2xcsSj1A=; b=knUY+1F2e7K/fwawvYzH/1/EM+1DSin4RiN2Ki2sDeDLKyV8J0fQA+Zf+1BFeHTi6s SVbJ1Jn9YmzpQodv8TCGiHMLAwzR89d3vICtHYwmhC+DzUto7ySOgIJ9HPXe9mZEiBFv fDYUQRnnlPxuUv70HP6hUY7MWxpFsokegHVh7tPKQM4BSR+KAc4RBu8zPZt2voP3nhdK DUUasswnxDVFB1uZbKsZn2tZQNDoaZrgvhRYcx6vjIZGOJ2onZzIlaaQ/MhzB4wrRvky b7QDsI1kSOrvI6P2DyKrPoEx1O2Et21LMuFPesVyiS17IkYjVHrR6LpbI72+ItzOzJMj i8Ag== 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=MNMiYn+J17vq8S3zR5SkC4Wd/Z3GjICJEI8/YfcN8LUmSIyxWz5DE9b/1DPh/QAEQL G+WHdVTJLm9Dazwfd0AhxUgy5VNoZsZWFOgC0sOZ/AokLEN297XNBWdL8MUJW5OaoLcs e9ixo98aZorTxIadr/3aKQlAZOgpytquz1YjqE3vNL9ich2PsiP9zEUV0wNL/IQKgcny Rrl5AwSw0zfW1wHbFunKtdOhGQsNNopyVweaC88V7+ogbX1uYU4cl8S8dZ4+scQJrD6u gWL2DmNE6CePNlfCEv0N5tuhwHRwhjfLXBItq1oieOYv1J4VAf4SadR88UnG6aLsa2yk DkNg== X-Forwarded-Encrypted: i=1; AJvYcCV0kFBWJYp6whK7kTHqDIsdFPYEa5PUASrAnhkM6dMOSOqn5xQpgW/g9vxn83yfKYWw4qCadgUUGk0I@vger.kernel.org X-Gm-Message-State: AOJu0YyJ5YRXz5Ip8NQHf10s551WkzrtAVUTndkzruhmJMiKcqqqVW0k A9fnsLcw2KZMRDGBVQGUOIsYyP+ApiotufquEXzAZjw44PxZNcQiHunagL0lspI= X-Gm-Gg: ASbGncthG1UMJuzOGgW8J5DH3pIO+9GmUpXLdPMKn7eQBAp0vL+Stt3DGMj+LZay+pN bIvAr5j/klpu8dsMXjaKhugYv/gLu6XOKJrrGTeYvz43eXPeYYhFOvNTJoQ+lt1HNcj1qRN86OZ WxpHEk5OXzDgSWtat/u2BynUnk9z+bm/6Yg2w9thzulCfD8b/kcTo2mgZzJ01WTKqAwzazIZ/vr FmUVlYhTOWI3TUHSOFZfO+mCI9BpcMmay3tnzU9oA== 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 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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: 847108 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 30E6C20DD62 for ; Mon, 2 Dec 2024 14:32:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733149951; cv=none; b=jbBYT+bO3kKJdCamh/vwfZzYVweatsIQittX6E3WRMvZHkMawIHQUrtlfbpxnhgam929RIfqCALYxbmyCZWY134/YU47/AtdWEdhMGPec0T1sJXoxR9Swdd5hDGREQOGddP4mV3ZINDLmQEbi9j/CZZ1DAEV2Zh+sxWX5FhnJek= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733149951; c=relaxed/simple; bh=VpIZ3WAj8mBewaf40+mFXB+hswqRhINEMgjB6sIu+Jg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=tCoGTwyMfMIbZa+oZUcl7CRE+XCsNMytmGAN7Nwq+JG8QDoKiVLwnGUkf3KWUMn13pR0nSSQHGxWj0Qt4/vgWSGK/PLPvk4ntdbL+8mFxksVzEI4+2J5j3gMS1BoBkZVQg2xMP22ndnJEVPs2EXOJkqpNCuVH8wio+xjvy1SSRg= 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=rOVlOKqN; arc=none smtp.client-ip=209.85.128.41 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="rOVlOKqN" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-434a736518eso54702075e9.1 for ; Mon, 02 Dec 2024 06:32:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1733149948; x=1733754748; 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=qoO0W1lzMLcOdS6iQBTqdnnGTSDtRuJivefn0QP3emg=; b=rOVlOKqNRaLJKPfY3LeLf/dLnSSeXjaRxsQZ3ndhAbTn+WPM5mMOfZK5mHYLoTAoTb rIPIjMCgH/IsLoxPZ/VVtYOPR7kS8tBpQ6xhvkTOPHFalKq4exvumPcgA+1I/JpLUXkV 30hEk+3a9ctVtM49gCRKGKVcYtgoCM2JSzNkUi3RXX7oQDjEB3GkAwz3xOs1B+FA/WrI 8JkweOd3LotNUxRnQfTBL6TFRFUK2hLA4Hd/5E8xw9K0iahBAVWnSo4Dto8vUaKF3hdb dNw/xE1mVKyGuD1KYR5pnQgnUJIRZgsRECau15nVVwLSjPmG06W7bswQjth7a6Fp3Cou WZNQ== 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=uSFOHulFpaSQ31/ZExhTUhpdVro+NHmL8MR3j0G7ntZE3Qi8NgTwP0QrBQTwgQsaeU eJ4is6dBB3HrHwziWsC0MNdwG+Pu5Tx/+rutIHyrTJuCFJNSAodUdru7a++ZNMmFlbEX VrMKaOo/BWuRW+Sj7CbRvnKFpQqLZw1rqS9lSluC+pV6NQtvYjpBRHE2B4dhoT5kBUeS DSG60/h3r3Q2mVRDVy3n6XC2l9W7wZrgabZgwRPsTrHzNAHR4qDRRK2ASzldb442tCJ+ 1H2N8STZFk96FmjyrdWCTXwBTPfdj92gGVv9YPESstvqnm7Qdheyw8N4+8l61c7sfLcf cynA== X-Forwarded-Encrypted: i=1; AJvYcCUfDKJTeyC3qXnlaWa6gLwiuSRY65WZJVj1sFN2oRN0XuzkJv6K451H+La5B/5I0h8g2hR9shC4Mafq@vger.kernel.org X-Gm-Message-State: AOJu0Yxx08MHb+WcQz+z4rH9Q2Q8NpSg6OlPf+MDV4Ms7UoKJPY4JyQk H1T4XmZjS3d8yE8BGBSnhO6qnS79C6nZwhy6EW5hS+/khBvOMCDx0AmYJ9ZLvBE= X-Gm-Gg: ASbGnctULyyphMB3NAdqQk/Oeh6O608WFp4jkWsdmilEbZvv2FRdajpR1Xdf8UC21e+ 9lAPYZs+G0eWkRuBmB/dkrfbz3klbr97n80NF5q1KH6Dk1lse79iw6qy7sN3f/IHP54Dcnf2Mtj dvI4WNMmbw/t6bDNLO+to+TSnUhN8sRylGwIEseN93E0TG/TE8ip7WHThS1qFkKjU7GVuYPljwe elpycphat6Zfw2EUj3K463Uh+UxZEVfzfgAui5X9A== 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 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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: 846754 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 5960220CCEB for ; Mon, 2 Dec 2024 14:32:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733149947; cv=none; b=ouaiQplNGYsBMBpVjpaJDD4G+twzP7RijikGwNUx27mkaWcRDpkpx55lYE/wbQxrsnhl20aLTLYQYTGBOPh46g8fADXt5f10fhzflINzRap/AWl1BLkTbxyodYsZM454nZxmeU19kmvBstnLurnyM/2s92fIzVBvysQUiJjmqpA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733149947; c=relaxed/simple; bh=0oZ971I0wmrs4nr2rUYR0k2yCq01uDEq0P6ftRI3PNE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JFstE1JEJnYghzxyDOdxI6lvCgjKVhBkXgX//lc2xZWaKo3xZ3pnEfvenZXF0NZbRy7V6w2niuXwO8SDzeRf8Zw6DOBTX4CtLwTbmc6agOBHrNSlSPwgsFT6rOGBBFmdPmGUjtto/FqzpobPVMahJbWBEJ5eARFsClEn7HhQUWo= 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=FU3oBlUp; arc=none smtp.client-ip=209.85.128.52 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="FU3oBlUp" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-434a45f05feso54620575e9.3 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=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=pli6SsFvDcPYaCKSCtuylkfG7oHLkLI1T7gsEQivs80=; b=FU3oBlUpxVravc1Nj/VlpDsUlZiMM80dWlzXJq465hCTejwJHscMBaJCIea7BBKeRN yopyw+OTOjWrtx3gxBtiWz0/wkDv4RWEy25DDFHc68ZaDpV/ut1FIBoO1HTFVTiZIB6a uTfPe1kVaw88NedHiXXsSFlaFz7uSHlC163RRgLb98hKnKtkDxi1QeAXwAZ9dPCC30+y ION1qa1AqrmuHslsdmSNID41P/qqG/7LoGginMQD4AUFLPO7AT8uidC9puuXcoSFDBjH H+WGcIM9UR13Mx794JCyMTdRdks52MSv4IRPqpRtlu4n2pQtdDh4UNPnDFta3wEJq49G jdlw== 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=lfJs0x9A6+bOobvhxfGEaRvI1IgFlFtHaEB4EWW3IwOywAEl5veWqLzfc6G8JJZZPg dRkJ5jNL/nivSrkxxrSGAtuR22GYoB68PFOyz+onUb9S1SlsI862rJ0ZAg82IpqQWhN7 Nn0Xq3TSYoWsZz37gYiFUw9zROvhplNnUC+taW3BQdsFkPFFO/5N5+Wuiu5KXHE9cmv6 wJcqwguj22twB4J37cyOa9fLPAyDS9fY2oBc3cPHb7X+ncFnFUDE7eh4qs1C+BmDYlM3 R9v2thSKXigOF+zKHPfnnuusgvMKcHyz0E7QZXXivMHVtTvTrtUJlTXDJUO+hxJVDLCC 1RTg== X-Forwarded-Encrypted: i=1; AJvYcCVBkDrxWFfeUmUErbCswh8m5Mt5UMgvtVYbWyhf3sOC4zFBwJK+5Y9cndGfbB54Wfy+bBv5H4Edb+ev@vger.kernel.org X-Gm-Message-State: AOJu0YyNRqpjYd9yYt2KIOPi4eFTOuTynuAMBUp8laqo8W4vsVhXTNjP SBzZYSO/PzRLl6wLGclV4yW3Yr2tGEbD6mOh+ZE1JIg9ivMN55N2oCeMyEEYEeY= X-Gm-Gg: ASbGncstjX+QwXrOOPuamZWcLR4PiATAyVx4/h/e/XXoCzDHkclfhr3IXgpK5hJW8Q7 3ikQHsc2s+2gP4iJ6K7rfTgs8HsZy6QxLzyTdssOm+Oy+FndwGxACerom7Xty6KNMuEgX0bUv+t hyRnc1V/xYayFUyNiVbyajQQMwTXdY9lOQtAIzpnZrR5+POdHAI9s2nta+VPxpNhHESHQz+ogX1 v9nF9aRgKEJpiUjKZOSkrfVWJzEINle1H4GQ6So8w== 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. Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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>; };