From patchwork Mon Sep 20 12:53:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 12505271 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1F08C433F5 for ; Mon, 20 Sep 2021 12:53:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 97A3E6109D for ; Mon, 20 Sep 2021 12:53:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238735AbhITMyj (ORCPT ); Mon, 20 Sep 2021 08:54:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238707AbhITMyi (ORCPT ); Mon, 20 Sep 2021 08:54:38 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60588C061760 for ; Mon, 20 Sep 2021 05:53:11 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id d21so29341270wra.12 for ; Mon, 20 Sep 2021 05:53:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2EhNQJduhIIpt0g9bBw1gJAdUiO0vbmeH1OITalz0ek=; b=u7B1IpxjjytDA+htBK/6iD5yIbgYKK7ExlI8p1uLLX4xqVmszSL3rL5nXP1DnKm4Gw UMRuYNgHrVjl8ogu8MkmXFc+66RoVrAR12dE1NS+l3BLRfEU+nrunzqgUhLId+s38KPt WJ4rsv8q03s0su6YzkJbBX8bgCnAefBEgmo+pUY5HZNqVjXLswedYlTiK1NcZK8FeriW G8D0q8mL4eISAYrzfietBe+WWR3qki6YjYTPhhjsEqTU9oBrh/gv9asfuklQJoQXC25z 2LvkQOGBByRelCv636NWzS0yV06GLDwHmL+k+ducgEJ+GHuPFMRTKXkS7NB62/tZAAj4 7EBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2EhNQJduhIIpt0g9bBw1gJAdUiO0vbmeH1OITalz0ek=; b=XHZL9YoIeBp/NRh9d8rz3qkk4WiWolrmsv4HbOuQeC5Tv791F/Y+0CGsnTC7moCcch JX4AAD6KUPY/4HsCWVLz906XTGJ0NV/sMPEbsls9kgxmesebK0seTzFlD/1ue/IxDS0N A8YKMjh9dqAR9hC6DV2u7Oc2AAKdntcYwTgwD/pIfwwlvg7QpNh8ffdLIGrMfMJ7SLsc s5uTNzv5Nrks9TXhBM0V2ZrJaCMW+HE4/jCdwqlFL/R3r8vBd+gUF0DhBj2sm4E8rAw8 8/SDKg029viSACtbtqnVPt/EK0bbGAO/7ePXoZWnoyQmRQMH6KPx2b1XQzDmDAKqGtU9 +KYw== X-Gm-Message-State: AOAM531MfdU4RgoyFl11AObzMf8/ooWzUkPq+D1t483nHhPNWTFJXVhv j/SWe1roe16D+DizMBy6tzKDDDzXXUIg+Pyo X-Google-Smtp-Source: ABdhPJx68KEaF5ggIZnnJ43U+q30rj8y309b7yqfTezWSOWT8G78/S+ydkvbB7XbfPYhOcCj7Tc3Fg== X-Received: by 2002:a5d:4950:: with SMTP id r16mr28735797wrs.265.1632142389790; Mon, 20 Sep 2021 05:53:09 -0700 (PDT) Received: from localhost.localdomain ([2001:861:44c0:66c0:aa8a:ef22:59c5:1bf3]) by smtp.gmail.com with ESMTPSA id j21sm15791643wrd.48.2021.09.20.05.53.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Sep 2021 05:53:09 -0700 (PDT) From: Neil Armstrong To: tony@atomide.com Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Gowtham Tammana , Jyri Sarha , Neil Armstrong Subject: [PATCH 1/4] ARM: dts: dra7: add entry for bb2d module Date: Mon, 20 Sep 2021 14:53:03 +0200 Message-Id: <20210920125306.12347-2-narmstrong@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210920125306.12347-1-narmstrong@baylibre.com> References: <20210920125306.12347-1-narmstrong@baylibre.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: Gowtham Tammana BB2D is a Vivante GC 2D Accelerator. This adds the node to the dts file within a target module node. Crossbar index number is used for interrupt mapping. Signed-off-by: Gowtham Tammana Signed-off-by: Jyri Sarha Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/dra7.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index dfc1ef8ef6ae..8a9df5ed5439 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi @@ -965,6 +965,26 @@ hdmi: encoder@0 { }; }; + target-module@59000000 { + compatible = "ti,sysc-omap4", "ti,sysc"; + reg = <0x59000020 0x4>; + reg-names = "rev"; + clocks = <&dss_clkctrl DRA7_DSS_BB2D_CLKCTRL 0>; + clock-names = "fck"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x59000000 0x1000>; + + bb2d: gpu@0 { + compatible = "vivante,gc"; + reg = <0x0 0x0700>; + interrupts = ; + clocks = <&dss_clkctrl DRA7_BB2D_CLKCTRL 0>; + clock-names = "core"; + status = "disabled"; + }; + }; + aes1_target: target-module@4b500000 { compatible = "ti,sysc-omap2", "ti,sysc"; reg = <0x4b500080 0x4>,