From patchwork Fri Jan 10 05:39:52 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ao Xu via B4 Relay X-Patchwork-Id: 13933593 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 A559DE77188 for ; Fri, 10 Jan 2025 05:40:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 90E8B10EF9F; Fri, 10 Jan 2025 05:39:58 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="Exyo91DN"; dkim-atps=neutral Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1382910E4E2 for ; Fri, 10 Jan 2025 05:39:57 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 58EF85C5D80; Fri, 10 Jan 2025 05:39:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id ACE4CC4AF09; Fri, 10 Jan 2025 05:39:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736487595; bh=frtywl3wLzeQuIyk3GJEqbgkTJRh2VIXvwLzzjzOTNM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Exyo91DNOy1DaVs+EQxxa+V/bU0ZwmmlcgtCFQojGXWf/nDpY0EeAo6K+mPdEH9yl +V+KIZHWQKyE64xNQMdIa4yn5EFfc3Ama5ZWrYSMCw15ph5SzMS4pcaH/4U6t0/4Z7 xMl+bEQRIWLkTw2sOazgpUXDlf6xq7vd5rV8/ZPWE5yfUsthZ0wPxC3obpvP11gcsT k4omQ3nuNOQkjp/uyGaYoqf0B4Ny315lu1kZfBcc2vbHyWW6MFVvN3Ee+OVEqDU541 ti+GIGh7QgUlrBwxv8aVFDoohw2nA0C2IPFajON5iulcR8eUPuz/lAfVhhjjes0uj/ VXb89s0UCfOrg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E0C8E7719E; Fri, 10 Jan 2025 05:39:55 +0000 (UTC) From: Ao Xu via B4 Relay Date: Fri, 10 Jan 2025 13:39:52 +0800 Subject: [PATCH 02/11] dt-bindings: display: meson-vpu: Add compatible for S4 display controller MIME-Version: 1.0 Message-Id: <20250110-drm-s4-v1-2-cbc2d5edaae8@amlogic.com> References: <20250110-drm-s4-v1-0-cbc2d5edaae8@amlogic.com> In-Reply-To: <20250110-drm-s4-v1-0-cbc2d5edaae8@amlogic.com> To: Neil Armstrong , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Cc: dri-devel@lists.freedesktop.org, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ao Xu X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1736487593; l=2203; i=ao.xu@amlogic.com; s=20250103; h=from:subject:message-id; bh=7+BtboC52S07wz4NFzmNC6kZHvkpp2eBKVt3C4Xqx5Y=; b=CfujSyzUv9OLLfUTtlU/ZasbtyNhObfGZZzeJqGPSuymCtEYkqty8iYTDGqEc3XrrmliBV6r1 pypNDhmrAXdCOb1JDhpEygzsZ+uDPnUt6CnWrJ0A1eycBeCoOwfv2gV X-Developer-Key: i=ao.xu@amlogic.com; a=ed25519; pk=c0TSXrwQuL4EhPVf3lJ676U27ax2yfFTqmRoseP/fA8= X-Endpoint-Received: by B4 Relay for ao.xu@amlogic.com/20250103 with auth_id=308 X-Original-From: Ao Xu 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: , Reply-To: ao.xu@amlogic.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Ao Xu Add devicetree document for S4 VPU Signed-off-by: Ao Xu --- .../bindings/display/amlogic,meson-vpu.yaml | 48 ++++++++++++++++++++-- 1 file changed, 44 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/display/amlogic,meson-vpu.yaml b/Documentation/devicetree/bindings/display/amlogic,meson-vpu.yaml index cb0a90f0232190031430c08f936b8f0d3b217601..3d7eceb3724e81d9c911039507df072d332a028f 100644 --- a/Documentation/devicetree/bindings/display/amlogic,meson-vpu.yaml +++ b/Documentation/devicetree/bindings/display/amlogic,meson-vpu.yaml @@ -66,14 +66,13 @@ properties: - const: amlogic,meson-gx-vpu - enum: - amlogic,meson-g12a-vpu # G12A (S905X2, S905Y2, S905D2) + - amlogic,meson-s4-vpu # S4 (S905Y4) reg: - maxItems: 2 + minItems: 2 reg-names: - items: - - const: vpu - - const: hhi + minItems: 2 interrupts: maxItems: 1 @@ -117,6 +116,47 @@ required: - "#size-cells" - amlogic,canvas +allOf: + - if: + properties: + compatible: + contains: + const: amlogic,meson-s4-vpu + then: + properties: + reg: + items: + - description: vcbus registers + - description: hhi registers + - description: clkctrl registers + - description: power control registers + - description: sysctrl registers + reg-names: + items: + - const: vpu + - const: hhi + - const: clkctrl + - const: pwctrl + - const: sysctrl + clocks: + items: + - description: vpu clock + - description: vapb clock + clock-names: + items: + - const: vpu + - const: vapb + else: + properties: + reg: + items: + - description: vcbus registers + - description: hhi registers + reg-names: + items: + - const: vpu + - const: hhi + additionalProperties: false examples: