From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 785A53BE172; Thu, 8 Oct 2026 13:19:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791465571; cv=none; b=mJwiNqEplpUxoE/MTGal1uqu+SnaWsok2Omg4qZPRVwYstf3R0wWrHz3nCN3DrwPQ9VuHVPn4k6aME6804q7NaxIJRIexONJpMEO2w15cEQCajO+bO+LzIbXD/oTprTxueMLVS641YhKKNg1iq5gBlafbJHlvIpcMFxIR9lud/I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791465571; c=relaxed/simple; bh=FLqniTou4JQnWTRSbyJYhIPig7BctcqFyncv79mGFio=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=Oi/N2Loe35rF6Txh0UrYNc68XgmpGq/eFmBiYF4QOk5KrxTTgg1tVUOkRMTL6Q5lDhOxKucFVaC4rXGeGGmG2cLx1ByGG1hVxb1qPXc/f6c7mxD0rA1OwZPIFdx5+sJi7knysgEbehvcm6f2QzArJAcDaVkVed7CETZcNptAP8A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=KVBBI148; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="KVBBI148" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1791465570; x=1823001570; h=from:date:subject:mime-version:content-transfer-encoding: message-id:references:in-reply-to:to:cc; bh=FLqniTou4JQnWTRSbyJYhIPig7BctcqFyncv79mGFio=; b=KVBBI148o1MML3rCyFenXrF6dn6izD3yOAqM2b6HGSZ7J1Or50xdM1h6 sqaAd9Wfl5AFH+tv+I15p6aVgh+SoeseUzoGLmNPDClX7hAVnPuORnfVM q+LYegmtwXBlpKFbMbnIFJIeVZHGAhUpMDc3mwIpUVdJAadN3RnmA53BV zXVrNcX2cvah4cD9UC/JGYWgmr/5xESxhBytOxlPn2CszQnAW9KMnFaWp Sd2qp2TCCVa/NxbwaDQ1aNFMUZlOfA3oeKcMyGWLw3htn29RdX3rpBUSC K4lSWazSFO/axj4FyET0y6/lMMxfRltQX3CaVerdHyjgK+VdPcPHEgllj A==; X-CSE-ConnectionGUID: iml0RNraRi6mrDv+4R1r/g== X-CSE-MsgGUID: mkLwKhQBSsujs7jbt/XZBg== X-IronPort-AV: E=Sophos;i="6.27,146,1787036400"; d="scan'208";a="63811736" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 08 Oct 2026 06:19:29 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.58; Thu, 8 Oct 2026 06:19:28 -0700 Received: from ROU-LL-M19942.mpu32.int (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.58 via Frontend Transport; Thu, 8 Oct 2026 06:19:24 -0700 From: Cyrille Pitchen Date: Thu, 8 Oct 2026 15:19:01 +0200 Subject: [PATCH v10 1/5] dt-bindings: gpu: add bindings for the Microchip GFX2D GPU Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20261008-cpitchen-mainline_gfx2d-v10-1-67ca2477b3d5@microchip.com> References: <20261008-cpitchen-mainline_gfx2d-v10-0-67ca2477b3d5@microchip.com> In-Reply-To: <20261008-cpitchen-mainline_gfx2d-v10-0-67ca2477b3d5@microchip.com> To: David Airlie , Simona Vetter , "Maarten Lankhorst" , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nicolas Ferre , "Alexandre Belloni" , Claudiu Beznea , Russell King CC: , , , , Cyrille Pitchen , Conor Dooley X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1772; i=cyrille.pitchen@microchip.com; h=from:subject:message-id; bh=FLqniTou4JQnWTRSbyJYhIPig7BctcqFyncv79mGFio=; b=owGbwMvMwCXmf6yzKqEsVIbxtFoSQ9bxGaGeRxdvWn1W57niHY01+61X+pj1h5otW5v37lm7z 59WDs4PHaUsDGJcDLJiiiyH3mztzTz+6rHdK1EpmDmsTCBDGLg4BWAibw4x/LN5WFbj+rBjR0BQ 0PvD57a8/FRsWxGj8dMjiG313PraymZGhpVJMduaotLnTPnwev+TkIprazxjHn89ZnbvpO8Jm9M iD/kB X-Developer-Key: i=cyrille.pitchen@microchip.com; a=openpgp; fpr=7A21115D7D6026585D0E183E0EF12AA1BFAC073D The Microchip GFX2D GPU is embedded in the SAM9X60 and SAM9X7 SoC family. Describe how the GFX2D GPU is integrated in these SoCs, including register space, interrupt and clock. Acked-by: Conor Dooley Reviewed-by: Nicolas Ferre Signed-off-by: Cyrille Pitchen --- .../bindings/gpu/microchip,sam9x60-gfx2d.yaml | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/Documentation/devicetree/bindings/gpu/microchip,sam9x60-gfx2d.yaml b/Documentation/devicetree/bindings/gpu/microchip,sam9x60-gfx2d.yaml new file mode 100644 index 000000000000..1c0faef83900 --- /dev/null +++ b/Documentation/devicetree/bindings/gpu/microchip,sam9x60-gfx2d.yaml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpu/microchip,sam9x60-gfx2d.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip GFX2D GPU + +maintainers: + - Cyrille Pitchen + +properties: + compatible: + enum: + - microchip,sam9x60-gfx2d + - microchip,sam9x7-gfx2d + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + #include + #include + gpu@f0018000 { + compatible = "microchip,sam9x60-gfx2d"; + reg = <0xf0018000 0x100>; + interrupts = <36 IRQ_TYPE_LEVEL_HIGH 0>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 36>; + }; + +... -- 2.53.0