From patchwork Tue Nov 23 10:26:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 517362 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AA84CC4332F for ; Tue, 23 Nov 2021 10:26:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235353AbhKWK30 (ORCPT ); Tue, 23 Nov 2021 05:29:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:45334 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235333AbhKWK3X (ORCPT ); Tue, 23 Nov 2021 05:29:23 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1650160FED; Tue, 23 Nov 2021 10:26:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1637663176; bh=GkkzDrPN3gvbRpySqrAoi0o0ncoxYPPz7mEl7oQUqHE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dD3kfBjrm0CDAbNIsdpi0TMkuc20/msC8rBhB92D8d80CHceBtHzk2u2UpnxwEVVJ BmIKV4xLI70pw1TyWTIrVkmFq0kNXABcKTOq+KxsnfCHB/c7goQKcRKwcTOSgRXQrT F76o+Lq7RzbJKg5qNuYIc4IHgsAeINjS450KLRncotv0dtmYo6b1zUeyE2hfKmlyuQ lyyDls3Y9ZeRay9CyOSRiqp53EeClkzzkEsowLxooRyux/loOMHf1k9+dyujQ59yhF pQ2QtBXfGUkTWzB1UlXI0nb01Xba8l9AvU90O0I188sejN4V4ro97g9AmjUaq4B3mF Nw+HdvSE8Q4sQ== From: Roger Quadros To: krzysztof.kozlowski@canonical.com, tony@atomide.com Cc: kishon@ti.com, nm@ti.com, vigneshr@ti.com, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Roger Quadros , Rob Herring Subject: [PATCH 1/4] dt-bindings: memory-controllers: ti, gpmc: Add compatible for AM64 Date: Tue, 23 Nov 2021 12:26:02 +0200 Message-Id: <20211123102607.13002-2-rogerq@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211123102607.13002-1-rogerq@kernel.org> References: <20211123102607.13002-1-rogerq@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org AM64 SoC contains the GPMC module. Add compatible for it. Newer SoCs don't necessarily map GPMC data region at the same place as legacy SoCs. Add reg-names "data", to provide this information to the device driver. Cc: Rob Herring Signed-off-by: Roger Quadros --- .../bindings/memory-controllers/ti,gpmc.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/memory-controllers/ti,gpmc.yaml b/Documentation/devicetree/bindings/memory-controllers/ti,gpmc.yaml index 25b42d68f9b3..1869cc6f949b 100644 --- a/Documentation/devicetree/bindings/memory-controllers/ti,gpmc.yaml +++ b/Documentation/devicetree/bindings/memory-controllers/ti,gpmc.yaml @@ -23,13 +23,20 @@ properties: items: - enum: - ti,am3352-gpmc + - ti,am64-gpmc - ti,omap2420-gpmc - ti,omap2430-gpmc - ti,omap3430-gpmc - ti,omap4430-gpmc reg: - maxItems: 1 + minItems: 1 + maxItems: 2 + + reg-names: + items: + - const: cfg + - const: data interrupts: maxItems: 1 @@ -44,6 +51,9 @@ properties: items: - const: fck + power-domains: + maxItems: 1 + dmas: items: - description: DMA channel for GPMC NAND prefetch