From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Subject: [PATCH v2 1/2] dt-bindings: Add documentation for GV11B GPU Date: Thu, 16 Jul 2020 16:33:40 +0200 Message-ID: <20200716143341.545804-1-thierry.reding@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Thierry Reding Cc: Rob Herring , Jon Hunter , Terje Bergstrom , Debarshi Dutta , linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: linux-tegra@vger.kernel.org From: Thierry Reding The GV11B's device tree bindings are the same as for GP10B, though the GPU is not completely compatible, so all that is needed is a different compatible string. Signed-off-by: Thierry Reding --- .../devicetree/bindings/gpu/nvidia,gk20a.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt b/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt index f32bbba4d3bc..533edb4c3eec 100644 --- a/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt +++ b/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt @@ -6,6 +6,7 @@ Required properties: - nvidia,gk20a - nvidia,gm20b - nvidia,gp10b + - nvidia,gv11b - reg: Physical base address and length of the controller's registers. Must contain two entries: - first entry for bar0 @@ -88,3 +89,21 @@ Example for GP10B: power-domains = <&bpmp TEGRA186_POWER_DOMAIN_GPU>; iommus = <&smmu TEGRA186_SID_GPU>; }; + +Example for GV11B: + + gpu@17000000 { + compatible = "nvidia,gv11b"; + reg = <0x17000000 0x10000000>, + <0x18000000 0x10000000>; + interrupts = , + ; + interrupt-names = "stall", "nonstall"; + clocks = <&bpmp TEGRA194_CLK_GPCCLK>, + <&bpmp TEGRA194_CLK_GPU_PWR>; + clock-names = "gpu", "pwr"; + resets = <&bpmp TEGRA194_RESET_GPU>; + reset-names = "gpu"; + power-domains = <&bpmp TEGRA194_POWER_DOMAIN_GPU>; + iommus = <&smmu TEGRA194_SID_GPU>; + }; -- 2.27.0 From mboxrd@z Thu Jan 1 00:00:00 1970 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=-13.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, 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 EB1ECC433E2 for ; Thu, 16 Jul 2020 14:33:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C5D7F207CB for ; Thu, 16 Jul 2020 14:33:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="e7sZLkgb" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727844AbgGPOds (ORCPT ); Thu, 16 Jul 2020 10:33:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726963AbgGPOdr (ORCPT ); Thu, 16 Jul 2020 10:33:47 -0400 Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8708CC061755; Thu, 16 Jul 2020 07:33:47 -0700 (PDT) Received: by mail-ed1-x544.google.com with SMTP id z17so4904009edr.9; Thu, 16 Jul 2020 07:33:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HEwVwfYlTT2pmymqyaazzSn/Ii+VxfI7QEp8UVQCKaY=; b=e7sZLkgbguIfKzJ416HutW9XQ6G4M3oFl+o6j+dtHOMuJB7FKxXsxDeO7p/kegkV2U F7O1kDbujixm/xIa7RGuCDgl/dw5RgmObd+GzUiIujKTM7y6Hkc18PxG3Nq/Pqm5Yo2t 9X4IQiXLCXnvVt5xcFf1BwGqMx3vAN59ZlH1TFxuqSHf00+2eNWkgf3h9MMre2g8+ypk Y+fa0J/M7tj5JrSlnlHsurrejFI/1JN405WgQTBkdA5lTCZdjj9yxUpAIdAvt0+aIxPg Afs1iKUAsH1jILcvehN9TQSJ33AO+71srml1MlMVJzELaPSGyCwNoHNG+mxY1QtQrL9V c4Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HEwVwfYlTT2pmymqyaazzSn/Ii+VxfI7QEp8UVQCKaY=; b=lljIeo1+cQec5d4XH5PCh7/Lok3HIagDz12zHZuM7UghmWoWXB096hZJQkYukUVp8H 3L/wjCHsJkGn5yP5VqI4GpLuhyxU6jG/IQbGzEfrl29zJ5BkvVQlef+PKn1V+1lDKoRO GLLSnK9Zh4a3eoyxX9VnD4IR5xHebTrbtgRZJ+Vi4fGTwE3pGDzAFapCIJPNBnwKuSif hqw/GyM20xjUBF2fkH5M4+JCQpRxZhKxxIBgTAPBDtjO1GVQ1FXdwI2D75ikDgGgDwIl fSucnBNXr2cb398TT9sufvlvHZMbtEXX9bd0XDpGcRUcjemy7lILtyGdqvlB6faYXIGk ui/Q== X-Gm-Message-State: AOAM532rDRwXp3IcKoAhWz327NxrvnOaMziQ/H3qEmauuWyVFqtlrFqe RjvzP0gwikfSXE/o6REH8Wg= X-Google-Smtp-Source: ABdhPJwc0FF0XQx/jWz80bghse2U1SS94cy2WHRnJ09AcsyVXGMmc7sXeuw03b8YX8norObXlCyCoQ== X-Received: by 2002:aa7:d1c8:: with SMTP id g8mr4787186edp.337.1594910026189; Thu, 16 Jul 2020 07:33:46 -0700 (PDT) Received: from localhost ([62.96.65.119]) by smtp.gmail.com with ESMTPSA id sa10sm5331518ejb.79.2020.07.16.07.33.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 07:33:45 -0700 (PDT) From: Thierry Reding To: Thierry Reding Cc: Rob Herring , Jon Hunter , Terje Bergstrom , Debarshi Dutta , linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 1/2] dt-bindings: Add documentation for GV11B GPU Date: Thu, 16 Jul 2020 16:33:40 +0200 Message-Id: <20200716143341.545804-1-thierry.reding@gmail.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Thierry Reding The GV11B's device tree bindings are the same as for GP10B, though the GPU is not completely compatible, so all that is needed is a different compatible string. Signed-off-by: Thierry Reding --- .../devicetree/bindings/gpu/nvidia,gk20a.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt b/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt index f32bbba4d3bc..533edb4c3eec 100644 --- a/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt +++ b/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt @@ -6,6 +6,7 @@ Required properties: - nvidia,gk20a - nvidia,gm20b - nvidia,gp10b + - nvidia,gv11b - reg: Physical base address and length of the controller's registers. Must contain two entries: - first entry for bar0 @@ -88,3 +89,21 @@ Example for GP10B: power-domains = <&bpmp TEGRA186_POWER_DOMAIN_GPU>; iommus = <&smmu TEGRA186_SID_GPU>; }; + +Example for GV11B: + + gpu@17000000 { + compatible = "nvidia,gv11b"; + reg = <0x17000000 0x10000000>, + <0x18000000 0x10000000>; + interrupts = , + ; + interrupt-names = "stall", "nonstall"; + clocks = <&bpmp TEGRA194_CLK_GPCCLK>, + <&bpmp TEGRA194_CLK_GPU_PWR>; + clock-names = "gpu", "pwr"; + resets = <&bpmp TEGRA194_RESET_GPU>; + reset-names = "gpu"; + power-domains = <&bpmp TEGRA194_POWER_DOMAIN_GPU>; + iommus = <&smmu TEGRA194_SID_GPU>; + }; -- 2.27.0 From mboxrd@z Thu Jan 1 00:00:00 1970 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=-13.0 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,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 CFAE7C433E2 for ; Thu, 16 Jul 2020 14:35:10 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9A393206C1 for ; Thu, 16 Jul 2020 14:35:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="mrb8d5b0"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="e7sZLkgb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9A393206C1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=+4W7fsBjSo95xi5Um9ktkqGGrgox6PfMezZyCYA0q/A=; b=mrb8d5b0VoP1RMk80oh1v96Vv3 m1XJ4pVrwGDkvKPWbAQSHmtv2irlB4uix06ShWLPnj+zY3+/tFBKuW1t/K3HTFgUmKgLDXp/G6sDe c9UGegFovwUgPnVNjKJh4Vszu466ihzS8so7xnl/X5h/UJsWyxRdYdBzLAubl/Xi6jQOzn/xhZezW aMl/BDAQza8IpX3AmzBhebSRbHFoQCw5loYg1LsVdsSdHWsd0MYqw/1HJdUjvR9ewQttm+ojK2wl8 yM3mvUcb/dcDjX6FnGhuoZO+LQ6cafyHiFvqHkwDh48e6cV9biTRiXlApPdCpjWtl6sp4I1Y0uiv3 v0+CEBaw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4xJ-0007gE-Pk; Thu, 16 Jul 2020 14:33:49 +0000 Received: from mail-ed1-x543.google.com ([2a00:1450:4864:20::543]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4xH-0007fb-Bd for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 14:33:48 +0000 Received: by mail-ed1-x543.google.com with SMTP id a1so4897517edt.10 for ; Thu, 16 Jul 2020 07:33:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HEwVwfYlTT2pmymqyaazzSn/Ii+VxfI7QEp8UVQCKaY=; b=e7sZLkgbguIfKzJ416HutW9XQ6G4M3oFl+o6j+dtHOMuJB7FKxXsxDeO7p/kegkV2U F7O1kDbujixm/xIa7RGuCDgl/dw5RgmObd+GzUiIujKTM7y6Hkc18PxG3Nq/Pqm5Yo2t 9X4IQiXLCXnvVt5xcFf1BwGqMx3vAN59ZlH1TFxuqSHf00+2eNWkgf3h9MMre2g8+ypk Y+fa0J/M7tj5JrSlnlHsurrejFI/1JN405WgQTBkdA5lTCZdjj9yxUpAIdAvt0+aIxPg Afs1iKUAsH1jILcvehN9TQSJ33AO+71srml1MlMVJzELaPSGyCwNoHNG+mxY1QtQrL9V c4Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HEwVwfYlTT2pmymqyaazzSn/Ii+VxfI7QEp8UVQCKaY=; b=RYT4u0UcwVyYEMd7j4sgV1WtPBr18BSmaVQ9ZR7qOrA9+1+ee6KoEDhJzKdmqBbPVU GDmnhqiRF131QP/0BULkq64vF2RrX+LZMDAOrv14r8VC1xhcuZaKTLyX0kgkL0l/bpwG L3aqOCwdUvgs5yiC4xjRokZN6/qYn7AXZ9kZ49N14SuZnmZ9GXUWOueDeUsfci5JWATW NbzIYEDhkO7DM0IBAF6KFJoOX41vynhGLGwOlu70A9URJ3YemQROZcT6UweoVLaIR50D x0WXqCO/MTuDqlhSuwbmMRv3ydyLkZmla3kQ3XqdvgAlsydLCfjCNdt89WbOisYV+fMI GCuQ== X-Gm-Message-State: AOAM533uN/vmRMFTrGBZFax674s84D9czI5lCPBDJAcVG3ndOGp8vD4T 0pDKAk0ESTR3JUJtlEO3zhs= X-Google-Smtp-Source: ABdhPJwc0FF0XQx/jWz80bghse2U1SS94cy2WHRnJ09AcsyVXGMmc7sXeuw03b8YX8norObXlCyCoQ== X-Received: by 2002:aa7:d1c8:: with SMTP id g8mr4787186edp.337.1594910026189; Thu, 16 Jul 2020 07:33:46 -0700 (PDT) Received: from localhost ([62.96.65.119]) by smtp.gmail.com with ESMTPSA id sa10sm5331518ejb.79.2020.07.16.07.33.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 07:33:45 -0700 (PDT) From: Thierry Reding To: Thierry Reding Subject: [PATCH v2 1/2] dt-bindings: Add documentation for GV11B GPU Date: Thu, 16 Jul 2020 16:33:40 +0200 Message-Id: <20200716143341.545804-1-thierry.reding@gmail.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_103347_416978_79B10B92 X-CRM114-Status: UNSURE ( 9.52 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Debarshi Dutta , Terje Bergstrom , Jon Hunter , Rob Herring , linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Thierry Reding The GV11B's device tree bindings are the same as for GP10B, though the GPU is not completely compatible, so all that is needed is a different compatible string. Signed-off-by: Thierry Reding --- .../devicetree/bindings/gpu/nvidia,gk20a.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt b/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt index f32bbba4d3bc..533edb4c3eec 100644 --- a/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt +++ b/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt @@ -6,6 +6,7 @@ Required properties: - nvidia,gk20a - nvidia,gm20b - nvidia,gp10b + - nvidia,gv11b - reg: Physical base address and length of the controller's registers. Must contain two entries: - first entry for bar0 @@ -88,3 +89,21 @@ Example for GP10B: power-domains = <&bpmp TEGRA186_POWER_DOMAIN_GPU>; iommus = <&smmu TEGRA186_SID_GPU>; }; + +Example for GV11B: + + gpu@17000000 { + compatible = "nvidia,gv11b"; + reg = <0x17000000 0x10000000>, + <0x18000000 0x10000000>; + interrupts = , + ; + interrupt-names = "stall", "nonstall"; + clocks = <&bpmp TEGRA194_CLK_GPCCLK>, + <&bpmp TEGRA194_CLK_GPU_PWR>; + clock-names = "gpu", "pwr"; + resets = <&bpmp TEGRA194_RESET_GPU>; + reset-names = "gpu"; + power-domains = <&bpmp TEGRA194_POWER_DOMAIN_GPU>; + iommus = <&smmu TEGRA194_SID_GPU>; + }; -- 2.27.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel