From patchwork Fri Nov 12 12:35:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 12692385 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 297DBC433F5 for ; Fri, 12 Nov 2021 12:37:28 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 E8FD3603E8 for ; Fri, 12 Nov 2021 12:37:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E8FD3603E8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=S86ZNjv46SkmJ+eeMPOa2n7ZF6B7jGK7MHCP2GhvxEc=; b=EmI0tIIY3DN59h U9Mi6LJxJWjr6H/4L0IAokxLVAuV8+m5KcB25uKTIVW/lJsol0xG8lCEvW9nXgmGjajDy7HFVpT9T nCoiXFuWhMn31duGusQMwNDfNtG+rWXo+IJxZnwsODvNHeH64ZrbhUqIWRf7usmFJ5/Nvc0ZV4x0u heNWCTyBDxHChPaNS+gR26EkolPOM1QsVLZJTvwlMJj5m7x1twB/foxNN5UsYf0eChyqbIvruSTHo jEEbDoGOmlannXN5m8K+FqudAzfSZEmzOzxG9UxasCHC/xe6JwlR29CNbYGr4qqfMgJ0CqDeCpGlI ffa4Gr4Q+8kXkUmRFgiA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlVmo-00AKFI-Jr; Fri, 12 Nov 2021 12:36:06 +0000 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlVmb-00AKCr-Ur for linux-arm-kernel@lists.infradead.org; Fri, 12 Nov 2021 12:35:55 +0000 Received: by mail-wm1-x332.google.com with SMTP id 67-20020a1c1946000000b0030d4c90fa87so6658347wmz.2 for ; Fri, 12 Nov 2021 04:35:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pbgWBw0F4ihDl2JiKxjBpympL3NHKzsqjTlTX6/jcOM=; b=TgT1GPVM2imsCkUXYDzqIiRL2BFzCV86xyIDpG6AMjINteOK3JZZ+rQnPelUrY7PGm 1TpLEoS11rJpJiRB72jWhqIFy0j2xfU9WmBGOro51Xr1scZsYt2QFaNpbFVe4QnNMeo0 P4TpLDAVBWHZjEmcdgHbZTMsVvy3j8MJwhjlGnie2d2d7ed9HfHea6IEC0wYUxSRWoYk vJ6f0mGWGlrJMsMaX575pp6AX02uXokuPejmDslCfr4TrN2An+UvkNF3BTmX11oVsDnY 6TTnie8yfJeKXkFCzLgbOeP6egrVZCNh7Zp5fcebb2NWyuOMQvsuuCWUK0uQ6tZBhz9O rfTw== 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=pbgWBw0F4ihDl2JiKxjBpympL3NHKzsqjTlTX6/jcOM=; b=zpLbemmiAqGPiIWoQyXksHPoRwfTdTl3poDqjRAFc+m5jOL/fhFCkAevNry0d/gsgP Cq4NajRTuHJGtLSP+Yq7pOCQI+wwhIj/Ti2mJedx//XNlNAZecY0jLPpMaRNSgVsV/8I /y3HI5wlc3wEe8Iy29rX1V05NREk6lovC1t5AakQKctTWfk3nbg/KfWDdRnHKOq3AbKO /RHe744xeqVanvzSz4C970dmphe5dKM2yViGTdsMW6OqAJfTYFpE2fgJJb7eH2OcIxID fCH7z6+Sfv9wAX+GFMnT68B5TFmdnceKLr2dhosuMzuOvJkRtfz/dvORl50eeWgcKOSu xppQ== X-Gm-Message-State: AOAM532X9lmefQgnq8ZKqYq7fgMs6WzeLz5T2TmWD08uGkYSiyinOiFJ XGic4wqs91Or4nl5D7Of43OSkbs9h5DQmQ== X-Google-Smtp-Source: ABdhPJwlfGN6eW1HR4iexTaF1FPWoEgULRPDx/0ulEj3FZBx6M89oHHBeSDactSRfDxMxPpxtS72rQ== X-Received: by 2002:a05:600c:6d2:: with SMTP id b18mr17233324wmn.98.1636720552717; Fri, 12 Nov 2021 04:35:52 -0800 (PST) Received: from localhost ([193.209.96.43]) by smtp.gmail.com with ESMTPSA id 126sm11146152wmz.28.2021.11.12.04.35.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Nov 2021 04:35:51 -0800 (PST) From: Thierry Reding To: Thierry Reding , Rob Herring Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 01/11] dt-bindings: tegra: Describe recent developer kits consistently Date: Fri, 12 Nov 2021 13:35:32 +0100 Message-Id: <20211112123542.3680629-2-thierry.reding@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211112123542.3680629-1-thierry.reding@gmail.com> References: <20211112123542.3680629-1-thierry.reding@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211112_043554_023965_7D918FAE X-CRM114-Status: GOOD ( 10.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Thierry Reding Add descriptions to entries that were missing one and don't try to combine multiple entries into one to avoid confusion. Signed-off-by: Thierry Reding Reviewed-by: Rob Herring --- .../devicetree/bindings/arm/tegra.yaml | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/tegra.yaml b/Documentation/devicetree/bindings/arm/tegra.yaml index d79d36ac0c44..0235b510e0b0 100644 --- a/Documentation/devicetree/bindings/arm/tegra.yaml +++ b/Documentation/devicetree/bindings/arm/tegra.yaml @@ -108,14 +108,17 @@ properties: - nvidia,p2571 - nvidia,p2894-0050-a08 - const: nvidia,tegra210 - - items: - - enum: - - nvidia,p2771-0000 - - nvidia,p3509-0000+p3636-0001 + - description: Jetson TX2 Developer Kit + items: + - const: nvidia,p2771-0000 - const: nvidia,tegra186 - - items: - - enum: - - nvidia,p2972-0000 + - description: Jetson TX2 NX Developer Kit + items: + - const: nvidia,p3509-0000+p3636-0001 + - const: nvidia,tegra186 + - description: Jetson AGX Xavier Developer Kit + items: + - const: nvidia,p2972-0000 - const: nvidia,tegra194 - description: Jetson Xavier NX items: @@ -134,8 +137,7 @@ properties: - const: nvidia,p3509-0000+p3668-0001 - const: nvidia,tegra194 - items: - - enum: - - nvidia,tegra234-vdk + - const: nvidia,tegra234-vdk - const: nvidia,tegra234 additionalProperties: true From patchwork Fri Nov 12 12:35:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 12692386 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F04FFC433F5 for ; Fri, 12 Nov 2021 12:37:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 BA6A960F26 for ; Fri, 12 Nov 2021 12:37:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BA6A960F26 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=S0+X3dF0XuTV7SUZqOfR3uuoB+Lnmha7TyZudDtE12s=; b=lubEHw+NV99csO kbgFmTPZH1TVqppaxH7DIvMlCKMIrau4zP4A5u87m/Ry9nThFQayGjPVjh2GfzIZlu1M4B/ls/klD irZDjt+vOh9WKAQOU/jVIck0IGrZmJbdh1vyOxq1pHL2+1wXiDTq0TiDMh+47xJ7p5BIA3la15qQf flCHgBTnO/Y/8R4QDqU/QsESITzWWn5eeQ7q4kpeadQgplH6mjLTJZssEW1Uumr79bCMvIgpJJz4l 5G3rCjVSbHR0VqYZ+FANbefPxkC3gOv193O74H8keqZ8l6FrymHZz0uuH8ZoUfIsQ4Zs7nMin+VSa 1bbpKp2KGDBtKQJrknaw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlVmz-00AKHm-C2; Fri, 12 Nov 2021 12:36:17 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlVmf-00AKDL-AF for linux-arm-kernel@lists.infradead.org; Fri, 12 Nov 2021 12:35:58 +0000 Received: by mail-wr1-x434.google.com with SMTP id d5so15280448wrc.1 for ; Fri, 12 Nov 2021 04:35:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=aHU4++m+v1PFXNkNfN4KUUp2M62VL6LrCJgTAfczPnw=; b=B1VZWvNzjQxDfBevuUBxUdf9TebiP2fgqI9iNElhL85/hVHE2Oh/UCE5+FsihzUJuJ XC0fULdkW9qggO/AXdmws+ekv5skgvWpVcsDxjpMziO6LTkHFFtRtdLCsp1XfHqLx/mw 4Jpl8MjXDEgLQWzaD3DPxjlMmlptYIwzCAB+njxjv1/ekqyyoBEX0Bk01MyO7iXPaQYX fm7VQwcSFgpJyEWMe2yxduq6Or38TO7bPNjfYZRj4uK5r0+8GuxSjMavhN2yz5BN41cY aQUsh5rY2/G03/m26FP/V19B8tnD8iE9w+UNy4J4PzDLlG7CsgjBkO+fktvCJA80Es4y MYQw== 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=aHU4++m+v1PFXNkNfN4KUUp2M62VL6LrCJgTAfczPnw=; b=J9wL7acTu/dVpRvUS3+p9vpiYUp4UO4H99Zm6KlFb06H519c5aBd92J5znc61NaTRf +fXSQsNuuaHxSORY3nz1YCmPsnqtpwj9g6PNMyWBi3ZeuqUuOBBLiaGecmHKeNELPzsL x7OmJZ+Eypi3s/PpdU3St3KO0xyDQDffrviJaNUg+Mb/+UphvxmIyL5ZTGkmD4m0VzM1 jE4TqnCUMqV5EWmI3XPSDnFGsW+MqQ+d+8VsQgCUXgxOzS3hJmkgyicilipbCOcThhB5 cmzSLPk6QY43Z9zWeTgH4tikQ8jqx84Efljk4jfoy0hlycs8tcX+paRx+geOgzvtK6vp aPtQ== X-Gm-Message-State: AOAM530kc+o03q1NGQYBs5eFTRwzmb3Kz9aEQ9yZYd7ycbnkgCMjYRn5 fiwhSNU2GSUO4apvYCWOeHg= X-Google-Smtp-Source: ABdhPJzI4jbH94wKRnr6APadQiI8PjVFSyWRw+JR+IJ2w4t7jX2+33hH1GcobPZ0Z09nu9X5le0SQw== X-Received: by 2002:a5d:4411:: with SMTP id z17mr17754518wrq.59.1636720555479; Fri, 12 Nov 2021 04:35:55 -0800 (PST) Received: from localhost ([193.209.96.43]) by smtp.gmail.com with ESMTPSA id be3sm1307960wmb.1.2021.11.12.04.35.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Nov 2021 04:35:54 -0800 (PST) From: Thierry Reding To: Thierry Reding , Rob Herring Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 02/11] dt-bindings: tegra: Document Jetson AGX Orin (and devkit) Date: Fri, 12 Nov 2021 13:35:33 +0100 Message-Id: <20211112123542.3680629-3-thierry.reding@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211112123542.3680629-1-thierry.reding@gmail.com> References: <20211112123542.3680629-1-thierry.reding@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211112_043557_383560_16A4D595 X-CRM114-Status: UNSURE ( 9.79 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Thierry Reding Add the compatible strings for the Jetson AGX Orin and the corresponding developer kit. Signed-off-by: Thierry Reding Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/tegra.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/tegra.yaml b/Documentation/devicetree/bindings/arm/tegra.yaml index 0235b510e0b0..3bd0920da274 100644 --- a/Documentation/devicetree/bindings/arm/tegra.yaml +++ b/Documentation/devicetree/bindings/arm/tegra.yaml @@ -139,5 +139,14 @@ properties: - items: - const: nvidia,tegra234-vdk - const: nvidia,tegra234 + - description: Jetson AGX Orin + items: + - const: nvidia,p3701-0000 + - const: nvidia,tegra234 + - description: Jetson AGX Orin Developer Kit + items: + - const: nvidia,p3737-0000+p3701-0000 + - const: nvidia,p3701-0000 + - const: nvidia,tegra234 additionalProperties: true From patchwork Fri Nov 12 12:35:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 12692387 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A273C433EF for ; Fri, 12 Nov 2021 12:37:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 EDF3560F70 for ; Fri, 12 Nov 2021 12:37:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org EDF3560F70 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BFDfuwgMyKv0gyuaycDWtDkwaiHWadmuRADKMYnqwNE=; b=Bw5wmDTx8uxgZY XCSWRtV+LHiDF7dq+HIDgeXbbedFsRR46wt2iQwwonIrv5/28qJyxKyuaor7JLJM7k1yHZMumct+g pX2OXZ+5ToQXb8ZsrSVnFy+XUO4XmWp21KJ7M2l0w+SiMJDGoPUW/B4wiK06VqjcibaFIJ7jRFeAw 9b3xIV8gbIar71d71cocCGHKvD4+sazow8CZP8oKosGaWrm8PlgAdGYehzqGY5gyktUnse5T8HlQ4 47vuYvxCtPNmgIxgJ+EDnXjFBYyhi+4ysbepQ7jSlP8yhswsBHVSdF9TT7nwAI8h0hkdkVVUnd7Vo MREF3ry1Sh8YG9ugl4Og==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlVnB-00AKLH-M8; Fri, 12 Nov 2021 12:36:29 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlVmi-00AKDj-3E for linux-arm-kernel@lists.infradead.org; Fri, 12 Nov 2021 12:36:01 +0000 Received: by mail-wr1-x42a.google.com with SMTP id i5so15296469wrb.2 for ; Fri, 12 Nov 2021 04:35:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=243izrX/RxZR31RQONkzjW80N0L6t2Vzy44t3zq2gr0=; b=Bk4E8X/xB0886BL+7dgirHUwUQgCRPG/Cna8dAKwBf92EFm2q9QH+0UhcE2NJhTSbH +GdITz3rmI40D41Z2PE5pmh6cvQLNMLGlsiznVqoqzVj+wXKSI06q4XXM3jFN0rRW1Pz R7FYfX7HRtZXqhxDV3bfGAOsP+XhEV6kUsSqLU7zkHL5prO2DPkPzBZAQhtuXsKIdCPH mjvDCT0KdmgFSpVufAuCtHQP74PjnFgFDPF2+SWBgIopiwQETBGkxq0zgnark625YWHe VKKli7SxZBh7UsmhVzgAOnRh0sxkfN4Kogar+pR3M1EWyG8wmUi8WRTJSTYsE7jTkngB P2mA== 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=243izrX/RxZR31RQONkzjW80N0L6t2Vzy44t3zq2gr0=; b=wjjoMw67lnXYdUUDcee/4KAlAwFZULALfRX74BrFRsB8qzzX7HEE5ycgzU79AOuMl2 t+3LvCqIpO4nOilNBeRrdT+awuZ+GCfWtTzFkwYb3fWARIi1Guq616DMtWTBdbgwAH/M tjT9gl6hYr40LQWjURb0zKWSR6sdCR4395yEXyUO03hK1ZgUnA9UdAcw0NYTaigced5Z OvB/1Xup48v/irg/YTlMa9bRz0XSeMDCjzH1gbowpEUMXgX+QpoeL9nJkusYVKwBTBTi k9Gy4kDULln1Efkdppi7b6smXvc4/nBdyY5x29658aZrbukxs0bm9gc8UVo4bDhLmz3t 7Hfw== X-Gm-Message-State: AOAM531vHxu1hHtWfRo0vxBjIOfaBYiPjxwZF+xUW4j76WriOvuYkovJ SJXDoH5vprMkVoRXJ6bTzsigRjlIKyoK0A== X-Google-Smtp-Source: ABdhPJwKIcXCM0a4+eG5D8HnEp2y0slms5tkkU14YbU+XzikRF1G5piTvmsrYruL71DdxERBYRadDA== X-Received: by 2002:a05:6000:1541:: with SMTP id 1mr17791140wry.347.1636720558353; Fri, 12 Nov 2021 04:35:58 -0800 (PST) Received: from localhost ([193.209.96.43]) by smtp.gmail.com with ESMTPSA id 21sm5286573wmj.18.2021.11.12.04.35.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Nov 2021 04:35:57 -0800 (PST) From: Thierry Reding To: Thierry Reding , Rob Herring Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 03/11] dt-bindings: Update headers for Tegra234 Date: Fri, 12 Nov 2021 13:35:34 +0100 Message-Id: <20211112123542.3680629-4-thierry.reding@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211112123542.3680629-1-thierry.reding@gmail.com> References: <20211112123542.3680629-1-thierry.reding@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211112_043600_169784_666DDAAC X-CRM114-Status: GOOD ( 12.29 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Mikko Perttunen Add a few more clocks that will be used in follow-up patches to enable more functionality on Tegra234. Signed-off-by: Mikko Perttunen Signed-off-by: Thierry Reding Reviewed-by: Rob Herring --- include/dt-bindings/clock/tegra234-clock.h | 17 ++++++++++++++--- include/dt-bindings/reset/tegra234-reset.h | 12 ++++++++++-- 2 files changed, 24 insertions(+), 5 deletions(-) diff --git a/include/dt-bindings/clock/tegra234-clock.h b/include/dt-bindings/clock/tegra234-clock.h index 2c82072950ee..21ed0c732fb9 100644 --- a/include/dt-bindings/clock/tegra234-clock.h +++ b/include/dt-bindings/clock/tegra234-clock.h @@ -4,11 +4,22 @@ #ifndef DT_BINDINGS_CLOCK_TEGRA234_CLOCK_H #define DT_BINDINGS_CLOCK_TEGRA234_CLOCK_H +/** + * @file + * @defgroup bpmp_clock_ids Clock ID's + * @{ + */ /** @brief output of gate CLK_ENB_FUSE */ -#define TEGRA234_CLK_FUSE 40 +#define TEGRA234_CLK_FUSE 40U /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SDMMC4 */ -#define TEGRA234_CLK_SDMMC4 123 +#define TEGRA234_CLK_SDMMC4 123U /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_UARTA */ -#define TEGRA234_CLK_UARTA 155 +#define TEGRA234_CLK_UARTA 155U +/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_SDMMC_LEGACY_TM switch divider output */ +#define TEGRA234_CLK_SDMMC_LEGACY_TM 219U +/** @brief PLL controlled by CLK_RST_CONTROLLER_PLLC4_BASE */ +#define TEGRA234_CLK_PLLC4 237U +/** @brief 32K input clock provided by PMIC */ +#define TEGRA234_CLK_CLK_32K 289U #endif diff --git a/include/dt-bindings/reset/tegra234-reset.h b/include/dt-bindings/reset/tegra234-reset.h index b3c63be06d2d..50e13bced642 100644 --- a/include/dt-bindings/reset/tegra234-reset.h +++ b/include/dt-bindings/reset/tegra234-reset.h @@ -4,7 +4,15 @@ #ifndef DT_BINDINGS_RESET_TEGRA234_RESET_H #define DT_BINDINGS_RESET_TEGRA234_RESET_H -#define TEGRA234_RESET_SDMMC4 85 -#define TEGRA234_RESET_UARTA 100 +/** + * @file + * @defgroup bpmp_reset_ids Reset ID's + * @brief Identifiers for Resets controllable by firmware + * @{ + */ +#define TEGRA234_RESET_SDMMC4 85U +#define TEGRA234_RESET_UARTA 100U + +/** @} */ #endif From patchwork Fri Nov 12 12:35:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 12692388 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1CC63C433F5 for ; Fri, 12 Nov 2021 12:37:52 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 E724C60F70 for ; Fri, 12 Nov 2021 12:37:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E724C60F70 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=VFOAZK8gEhm/+otY/p6edMrW8hGmwZGSutyFeCzpKsU=; b=qMLLAR4LZd2j7U wWEp7NkOfLJMQOODoi8NTTn4cdOTDWfPXHZeRWAIwR5HWI2wYx1YovKjV52BYu5PlCmfh2AIG0J+J BcqiODfCX5w4JQDJFhweDqXyuFgOSgd1PDqLLTrdP885QMQH50dhIADc4c/UWEz+TpfCab3+u7eUB QUsGKGkd64OWOmoxoI2cZOMEYOxwy4ozngMfp1X32uhIJUkrpncq86SfEXLmr2aPrxSLArd/wHQi+ QuHBdCcbBr584vAGEgA3TImHJTmJbgfGPf0rwP0x8X6wHJ2saESdJJhk1neqtyiRZz1993DcvzxQl INLbdqm031ke7bn1EnhA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlVnM-00AKOR-St; Fri, 12 Nov 2021 12:36:41 +0000 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlVml-00AKEY-29 for linux-arm-kernel@lists.infradead.org; Fri, 12 Nov 2021 12:36:04 +0000 Received: by mail-wr1-x42e.google.com with SMTP id s13so15281457wrb.3 for ; Fri, 12 Nov 2021 04:36:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yqs+cqys/ir40BPfMGdEum8bHX5FxkNmVWBJ3EPKCqY=; b=ljtlTUH17GYjc6mibe/JX022skkPb4/bbHOr32h+XXdSBmwTIA8z6yqBDhacPdCJfQ F6RX00zZ4/cqX8mYCHLisbtQK+jScusXrW7qp7BWh9TA8RQT3D9xx9nNFD9Oysk1z6LN U/4pFRMWSwop63zXJUGIFWM6LVqWoatfRUqQyf+TvgkrZQTd7F7fQgju2UOkJwE17lnm uzDaQHsraiQ4TghQQekueJ1gypGIOF6gV5X4Fr4CSoR5hax3R3Wp7/Be3toDcODN4mQt qWj8tErtSmXbPGy3b8Wc10aHj+nzZX68XOWk172swnu/RAa8e4RTeniHgFYV7Q5c2h1m 5MEQ== 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=yqs+cqys/ir40BPfMGdEum8bHX5FxkNmVWBJ3EPKCqY=; b=SJuSKG1f0fAohqg7FirtzUZDcUxYMvrKfffF8vZdTFP5HfqtN97tA/h8FyVjS0GOPS nnWAVHM5lgN8Ix4ZMvWnzB8jXXoSTqCbyi9eoSQNeHo5T7RXmvoP4cbX81uteZ0fPIuS hD3LcRvxD+yVh1QbOtuTcs35qQZHFAEle1HdIsJOjORrUFNkwz0Y0zaek3isl2oOK5L7 2thw7JsZjCj+H0Ji7Eff22puSmdePvVDHtI9HOm1J7ecdXkAjdmUUoedyHEy+wiP508r 4qpThIidgBbck6b5yOgkQY86yj30SBzIOJhKe5omehuYzOMiI3fhWGMsJbaDDSb8avxf dClw== X-Gm-Message-State: AOAM532KuzWfrkZFwtLA/iTYYnOqhr04GeNYV+OBGCyca3PFpZewU/26 pEgw+BHwmaZELkNkgedUnM8= X-Google-Smtp-Source: ABdhPJxLYsDk1LtGAmZcYmT1oUnGoSY9DxaSV4LgK9cJ44GEnlwGRTugI1OqVpkOWS/Wp8seeCMEFA== X-Received: by 2002:adf:f907:: with SMTP id b7mr18779542wrr.5.1636720561266; Fri, 12 Nov 2021 04:36:01 -0800 (PST) Received: from localhost ([193.209.96.43]) by smtp.gmail.com with ESMTPSA id p2sm12237673wmq.23.2021.11.12.04.35.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Nov 2021 04:36:00 -0800 (PST) From: Thierry Reding To: Thierry Reding , Rob Herring Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 04/11] dt-bindings: sram: Document NVIDIA Tegra SYSRAM Date: Fri, 12 Nov 2021 13:35:35 +0100 Message-Id: <20211112123542.3680629-5-thierry.reding@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211112123542.3680629-1-thierry.reding@gmail.com> References: <20211112123542.3680629-1-thierry.reding@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211112_043603_135882_FA35E277 X-CRM114-Status: GOOD ( 10.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Thierry Reding Tegra SoCs have extra on-chip RAM that can be used for inter-processor communication. Tegra186 and later make use of it to establish a two-way channel between the CCPLEX and BPMP. Add missing compatible strings for Tegra186 and Tegra194 as well as a new compatible string for Tegra234. Signed-off-by: Thierry Reding Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/sram/sram.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/sram/sram.yaml b/Documentation/devicetree/bindings/sram/sram.yaml index d4e418b6a1c1..668a9a41a775 100644 --- a/Documentation/devicetree/bindings/sram/sram.yaml +++ b/Documentation/devicetree/bindings/sram/sram.yaml @@ -31,6 +31,9 @@ properties: - amlogic,meson-gxbb-sram - arm,juno-sram-ns - atmel,sama5d2-securam + - nvidia,tegra186-sysram + - nvidia,tegra194-sysram + - nvidia,tegra234-sysram - qcom,rpm-msg-ram - rockchip,rk3288-pmu-sram From patchwork Fri Nov 12 12:35:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 12692389 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03E49C433EF for ; Fri, 12 Nov 2021 12:38:15 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 BE13360F70 for ; Fri, 12 Nov 2021 12:38:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BE13360F70 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kME5lnngsJsxaCNhOs+k1ODBacYro3V9CD31BF1Nv4c=; b=AMWRbn6piIAtWr fdweB7MQ2MSWH/30wZSAILnTJ2YSJYXjiXv5UvTUyQ5ovvQJuXGCSC93/hQjv45vXaLh//awpMv+l yXe4KiLtcJGHp0GO0J+e9BHM0x3q6Bzs40PvDiYUE6aMaS1o7BzgVHi9/iL86ZGrotWUXE2pZ/y6m d4/Y6kQhEmaCXDOF7fsMYJuQIO7XAtGKL0eB5xv3g9k/b5V5HZNuHZHCy5aaLkaQNAvAQUlpxRTzG trl55dzehoFqfuOSAZo/TSpgF70tG8b3Qk1R2EG1WzAIOEN3qp0z7U6j0Qa9Qw7NdkduNF1TxdSlF QFzSFEEGre4kVy045SSg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlVnc-00AKTJ-80; Fri, 12 Nov 2021 12:36:57 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlVmo-00AKF6-1X for linux-arm-kernel@lists.infradead.org; Fri, 12 Nov 2021 12:36:07 +0000 Received: by mail-wm1-x331.google.com with SMTP id z200so7599991wmc.1 for ; Fri, 12 Nov 2021 04:36:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0IZQ6Ong5axo8LYjco9I1jtetv/Ogvwwz2EHhCIpJ7c=; b=K14OEV1R7qrH1exmW16cs6HtRYxK0IhcYLxL4MOJ4BHpgqdq2JYs/hJcRWkeb3Ar2C rgvyo8K98/uV8DSec8PRo1Z8ZYuA+gmEhj9/6UQYQgN3dpa13ZZpBQdJ5Lqw8NbcTcOM oGZNvzE1+F2HBTcVo/Upn39hw0ueYICXkCtvN2e5kJAXm2XFDjy93KLOEvmJPDQMlKEv 5WCbOeYOfAmSXMg+zOooAMCE5jIskQYOlk3OIi3CRweJ4xfY2/PMzY7asA/Mqtl+3dmF MKKxy6gi5oAI4zDu1y6SvvOLrfaunQVX4aV1eKxmaTsum/XKT0/L+s7IhiDICAvG2IJn Y8Vg== 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=0IZQ6Ong5axo8LYjco9I1jtetv/Ogvwwz2EHhCIpJ7c=; b=bEvjos8MkqoyUnn639vBSMEu6+IU75momhxGAeEFlhTE0rcoa+J0hiJsjhwAh5dsZz hmAATvHFRtskm3wrCFilLPz1OxsOcr0wIqjWfbUOeMuASa0OFP3gj9XLGeAC1Vg6yZ2j S8X62wn9JtzK2U0KPxUMWrUv8YLJ1oTpksfhWNa5Np9y94Tj9Y9cPLx3GiIH3nHMO8AS APyXWgotqjBfH5iEERGX0vdImaJCOsg8tMvmyEhKTMjRveggUXbPzSdpi87cpRdaqtJk /cCzYVUXC19M720QRnLobM8JLI4YN12UvZZ7zLKspa2VjhvrcrfrVjNnzmA65xPTgHV0 Yldw== X-Gm-Message-State: AOAM532msrk1ypBBzzkJ485i7UtHOg/pludBE+3m1h8CHjsKCT4zYqUK GtVorGySlre95RkZg3VvnfU= X-Google-Smtp-Source: ABdhPJwuM4D9xDWdW/Br1GKBZTGHwfBCbwISS31YwjIenT1zwtH5dylQgS+3wFhYDiufuIFYKliZuw== X-Received: by 2002:a1c:1d48:: with SMTP id d69mr16406813wmd.143.1636720564179; Fri, 12 Nov 2021 04:36:04 -0800 (PST) Received: from localhost ([193.209.96.43]) by smtp.gmail.com with ESMTPSA id o12sm7774003wrc.85.2021.11.12.04.36.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Nov 2021 04:36:03 -0800 (PST) From: Thierry Reding To: Thierry Reding , Rob Herring Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 05/11] misc: sram: Add compatible string for Tegra234 SYSRAM Date: Fri, 12 Nov 2021 13:35:36 +0100 Message-Id: <20211112123542.3680629-6-thierry.reding@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211112123542.3680629-1-thierry.reding@gmail.com> References: <20211112123542.3680629-1-thierry.reding@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211112_043606_114654_F917F4E4 X-CRM114-Status: GOOD ( 12.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Mikko Perttunen We want to use the same behavior as on Tegra186 and Tegra194, so add this the compatible string for Tegra234 SYSRAM to the list. Signed-off-by: Mikko Perttunen Signed-off-by: Thierry Reding --- drivers/misc/sram.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/sram.c b/drivers/misc/sram.c index 4c26b19f5154..f0e7f02605eb 100644 --- a/drivers/misc/sram.c +++ b/drivers/misc/sram.c @@ -371,6 +371,7 @@ static const struct of_device_id sram_dt_ids[] = { { .compatible = "atmel,sama5d2-securam", .data = &atmel_securam_config }, { .compatible = "nvidia,tegra186-sysram", .data = &tegra_sysram_config }, { .compatible = "nvidia,tegra194-sysram", .data = &tegra_sysram_config }, + { .compatible = "nvidia,tegra234-sysram", .data = &tegra_sysram_config }, {} }; From patchwork Fri Nov 12 12:35:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 12692390 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8EC1CC433EF for ; Fri, 12 Nov 2021 12:38:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 59A5B60F70 for ; Fri, 12 Nov 2021 12:38:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 59A5B60F70 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=A7LVCUd3R7WkzKF+l6HHiaPTAQCerFGMEJmgVw6u4s4=; b=be9vmIAxnVMR9j KyRcvfVlHIYDHonmLX2uOnBTRoLzZsfIb3tutOhPYiXEOCRLpQv1p9QUkIVDVHFArcJ/cMuFYzdYd Sja85PQF95+SYkG9HSrHaRtd6o8sIuOvtxbgp6U+n2rd8Yil0NZkgqcHlOn0mbQwXK8K5FHAWrJR+ 2aPsDYVElEYPa+4t5CPIz0nq+U57ZWpfa+QM2sToVgkWM+Iw7g/ns+Z7m+6L4BiE8kqU9LcZD5Ow/ X1MtozAe3pU3DV6UEB44stAXjm86fzopuqSPHrYVT962bGKNQrGdJ2QICbnN13fn83wxiGFwiyyo+ Yclvufksmkj9gX6tOokg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlVnw-00AKcT-M6; Fri, 12 Nov 2021 12:37:16 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlVmq-00AKFh-4D for linux-arm-kernel@lists.infradead.org; Fri, 12 Nov 2021 12:36:09 +0000 Received: by mail-wr1-x42a.google.com with SMTP id d5so15281256wrc.1 for ; Fri, 12 Nov 2021 04:36:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+qGnkXG1+NRqhRAlPuguf+Ywnx8OYEijb49VN2NaBSg=; b=VvJCrkJUxgAitILtVBx5QqoCeFzAzROZV0K5ph11PkH5Qy/jkFS5s9aJS6GlKhFAk7 SJ9ylmg8Um/jTRJz+VWPtH7+KsQuH/NZQnSvCv5fK0FYJfTlrCfhLzI0dhUX4v2tAJMT H47hUoy8oGOhk85FDjkJ1fZopPJnzgGEFsLOJTkxAeLtYDX9qBGzPlNGd87PuA/Bhm+D UOCqMv5/Lul6XU7K7V5n4ZcPpG6jqGxY7sDQsL/0kd8d8amy5PWoarqrT/NSyJiwf3lt NXPWcGC52DGol1Iyxqa4da3gQeEWyLAJ/qzTJAeME5ayJqKn3MDkPwB/Eq60jbUhoi7g WQDw== 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=+qGnkXG1+NRqhRAlPuguf+Ywnx8OYEijb49VN2NaBSg=; b=QvrDe4mhIYo2QfME/ljTdfWeYhMujWRkB0YHVe4hYg/juPrbbsCLi7I6xQm+unOIHp SO6yIZeX2ZSppS7VrmP1c5+Gd5ox6Il3SLU0U4sOoI0MIv50/KZ9HkM0OkdUGg0xqvmo fVIErC0U067Qf06rp0GFuwiZaZB5pAv5/MyCSHNzvmK5UyFxqcxGUSrFDC7rknhnnaqM Qvxly3MXCNqNQcRmrI3QcWXxGBa+HxxvU5+NC210yWKGB92PZCX6S1TXitkvSkoJUDcv nj1HzTMqSOq7dPWdNJBYfLA5uBcn8C0ibUz5Wy/n5NNMslA9BN3yK/IzPfxpAh1itX7Z bE1Q== X-Gm-Message-State: AOAM531MDwm93y+MGW2xropJVU292QJ2yuuEFM3+aHyV6Umavycaacx2 CEzLqrfiG+3j2XfGmI8wCymX+Z/+vpjVFQ== X-Google-Smtp-Source: ABdhPJxe4GpVLfOkonCIcpE5dKJ9/YHmfKL5ni201JmBmJpoJrCAE5r/EFJzJviWsvyJn8iV68c1pQ== X-Received: by 2002:adf:e78c:: with SMTP id n12mr18087817wrm.83.1636720566997; Fri, 12 Nov 2021 04:36:06 -0800 (PST) Received: from localhost ([193.209.96.43]) by smtp.gmail.com with ESMTPSA id a1sm6899956wri.89.2021.11.12.04.36.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Nov 2021 04:36:06 -0800 (PST) From: Thierry Reding To: Thierry Reding , Rob Herring Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 06/11] arm64: tegra: Fixup SYSRAM references Date: Fri, 12 Nov 2021 13:35:37 +0100 Message-Id: <20211112123542.3680629-7-thierry.reding@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211112123542.3680629-1-thierry.reding@gmail.com> References: <20211112123542.3680629-1-thierry.reding@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211112_043608_210201_287E8219 X-CRM114-Status: GOOD ( 13.55 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Thierry Reding The json-schema bindings for SRAM expect the nodes to be called "sram" rather than "sysram" or "shmem". Furthermore, place the brackets around the SYSRAM references such that a two-element array is created rather than a two-element array nested in a single-element array. This is not relevant for device tree itself, but allows the nodes to be properly validated against json-schema bindings. Signed-off-by: Thierry Reding --- arch/arm64/boot/dts/nvidia/tegra186.dtsi | 2 +- arch/arm64/boot/dts/nvidia/tegra194.dtsi | 2 +- arch/arm64/boot/dts/nvidia/tegra234.dtsi | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra186.dtsi b/arch/arm64/boot/dts/nvidia/tegra186.dtsi index 9ac4f0140700..5f8132884be0 100644 --- a/arch/arm64/boot/dts/nvidia/tegra186.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra186.dtsi @@ -1771,7 +1771,7 @@ bpmp: bpmp { iommus = <&smmu TEGRA186_SID_BPMP>; mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_DB TEGRA_HSP_DB_MASTER_BPMP>; - shmem = <&cpu_bpmp_tx &cpu_bpmp_rx>; + shmem = <&cpu_bpmp_tx>, <&cpu_bpmp_rx>; #clock-cells = <1>; #reset-cells = <1>; #power-domain-cells = <1>; diff --git a/arch/arm64/boot/dts/nvidia/tegra194.dtsi b/arch/arm64/boot/dts/nvidia/tegra194.dtsi index 851e049b3519..8d29b7fdb044 100644 --- a/arch/arm64/boot/dts/nvidia/tegra194.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra194.dtsi @@ -2467,7 +2467,7 @@ bpmp: bpmp { compatible = "nvidia,tegra186-bpmp"; mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_DB TEGRA_HSP_DB_MASTER_BPMP>; - shmem = <&cpu_bpmp_tx &cpu_bpmp_rx>; + shmem = <&cpu_bpmp_tx>, <&cpu_bpmp_rx>; #clock-cells = <1>; #reset-cells = <1>; #power-domain-cells = <1>; diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi index f0efb3a62804..28961ed31d87 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi @@ -122,20 +122,20 @@ gic: interrupt-controller@f400000 { }; }; - sysram@40000000 { + sram@40000000 { compatible = "nvidia,tegra234-sysram", "mmio-sram"; reg = <0x0 0x40000000 0x0 0x50000>; #address-cells = <1>; #size-cells = <1>; ranges = <0x0 0x0 0x40000000 0x50000>; - cpu_bpmp_tx: shmem@4e000 { + cpu_bpmp_tx: sram@4e000 { reg = <0x4e000 0x1000>; label = "cpu-bpmp-tx"; pool; }; - cpu_bpmp_rx: shmem@4f000 { + cpu_bpmp_rx: sram@4f000 { reg = <0x4f000 0x1000>; label = "cpu-bpmp-rx"; pool; @@ -146,7 +146,7 @@ bpmp: bpmp { compatible = "nvidia,tegra234-bpmp", "nvidia,tegra186-bpmp"; mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_DB TEGRA_HSP_DB_MASTER_BPMP>; - shmem = <&cpu_bpmp_tx &cpu_bpmp_rx>; + shmem = <&cpu_bpmp_tx>, <&cpu_bpmp_rx>; #clock-cells = <1>; #reset-cells = <1>; #power-domain-cells = <1>; From patchwork Fri Nov 12 12:35:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 12692391 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95177C433EF for ; Fri, 12 Nov 2021 12:38:56 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 65B6D603E8 for ; Fri, 12 Nov 2021 12:38:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 65B6D603E8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7LyjGLK2ypoJ/+hSPjrU6bcpRNPTZEHZukCw+cFA4+k=; b=tthyhsDxP4oryI l1FvtsIzsIl6XhZ+dVTGbN28ykR2xqQfPAhDez6sY2s0iFMiW1imYTBHvMKtBZUG2Oj9JT2gcnXUo Y1Y8yoM52YVbIjzGUHoT35NwU1cTlWKrE8uDrdowuNv0cRXSj94vN/UGm/31t1BxvUwZsFo6pKhcW +AN3nkc6knpmWcYdNntYg7MxauXpRhGnVcXeXq6+ehCsFeR9khc/XiAxM8bIRG4US3FFnkSBXMAG2 Bo1TJznu7eGiB2Zh/vvSrjkJVI59N4yy42/7xvj2xzJ6c05szNxIeka03nzNKVgULOyAiOqlVGXxu HWPwGgDedS05xGp+nNcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlVoI-00AKoc-Ks; Fri, 12 Nov 2021 12:37:39 +0000 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlVmt-00AKGR-GB for linux-arm-kernel@lists.infradead.org; Fri, 12 Nov 2021 12:36:12 +0000 Received: by mail-wr1-x42b.google.com with SMTP id d24so15328308wra.0 for ; Fri, 12 Nov 2021 04:36:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kziRFT0Le7hqG38qwsiU3vCtJ2XR7etTqEzKSn/F9Kk=; b=oR6bBKDpesxgQbVvfGyMwanlBIOt5iChcoqgzfnauFEIEIRYWradqbQnUQPIPCw9rF QWOTdwSPOaKjqTW2KS48rTk5GH1IHjwzmLDaYVeMZHJ2OeXZlFJ9pOVb1ThYi9+M4AyF HZa24xIrjcbU5G1+uL1Lqpihti8FEFO3IbElSCfDAw+zXNRH9gm05Mz93Y9fSJh+E5YS NWNGIZjTyW+3sIPQXLBn4zeDb96LPnrsiPqMCr5AlgQLDDfOgHQfQu8SWgoLrM7hcny3 gyBJhXah6U8tQUVvfhJDrmXAsVP7QjAp11pIdj4LdXTVJZCIGIzygkwLTHJXDQGaBZGX 2cbA== 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=kziRFT0Le7hqG38qwsiU3vCtJ2XR7etTqEzKSn/F9Kk=; b=wWOuEyBli1Lo9kV/DfGu2Z6EKLmEjVlzUjAbkNJxKPx5lvAj4Z6VFvqpAfvIuXkjdH BPUh6NTPb1fN5YeaR9TN8qJpEOVZdWGLriYRFkD/Dr30I4WVUN+KRPBn+oOkMO8ahhFl 6dwBBB1PgasIrOjLalpFbX1o5S9oJypTgLBh2q591LMC7m0JskHUwCLpFhU+3/Fyhg87 n5RSaqLcN87XFGL8Fund7D0XVoF4AKuFra7bNsnwgOwqQFViYkG3ah/zOlXdCSyjnmgI IzCbhA/YYd01R3f2kiWpvXkMh+mhAp6EwSRHhqzxQFRTeu/Ptp9KkrLJZZ3rPH4gqrnQ ynpg== X-Gm-Message-State: AOAM531cPtxNAaG+S2JK+za15cJJw8di27g0Q7V/EmYDLbshSsWp/Zrb XE6q9JhxL5g8OPyw7mrVOse9QiU9+KcChw== X-Google-Smtp-Source: ABdhPJwI6R+nrJ4ZCDa2lNrzl4ym1DYmHNkVhR2A5kv7THVyKjgU/4DyiAJJNaau9e3gJ/s+GSwRhw== X-Received: by 2002:a05:6000:12c5:: with SMTP id l5mr18145637wrx.173.1636720569524; Fri, 12 Nov 2021 04:36:09 -0800 (PST) Received: from localhost ([193.209.96.43]) by smtp.gmail.com with ESMTPSA id c79sm5564840wme.43.2021.11.12.04.36.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Nov 2021 04:36:08 -0800 (PST) From: Thierry Reding To: Thierry Reding , Rob Herring Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 07/11] arm64: tegra: Add clock for Tegra234 RTC Date: Fri, 12 Nov 2021 13:35:38 +0100 Message-Id: <20211112123542.3680629-8-thierry.reding@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211112123542.3680629-1-thierry.reding@gmail.com> References: <20211112123542.3680629-1-thierry.reding@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211112_043611_587008_A9156FDD X-CRM114-Status: GOOD ( 10.59 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Mikko Perttunen The RTC device requires a clock. Add it. Signed-off-by: Mikko Perttunen Signed-off-by: Thierry Reding --- arch/arm64/boot/dts/nvidia/tegra234.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi index 28961ed31d87..400c01acc19f 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi @@ -93,6 +93,8 @@ rtc@c2a0000 { reg = <0x0c2a0000 0x10000>; interrupt-parent = <&pmc>; interrupts = <73 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&bpmp TEGRA234_CLK_CLK_32K>; + clock-names = "rtc"; status = "disabled"; }; From patchwork Fri Nov 12 12:35:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 12692392 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3BAEC433F5 for ; Fri, 12 Nov 2021 12:39:17 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 6456A61027 for ; Fri, 12 Nov 2021 12:39:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6456A61027 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Jy2ragzpJxidvyPg/xrr8JqSOmqKgW6eoDRNBm+Yb9Y=; b=4FvKaSHoIF/LZW F+ss83XcohmS7yqKKlFhLst26iI8jFiUNiB+yiFJtNraFYbWYJW+RnRQycXGlQeuVdD+Ih8gNbDml Sd6ur5yeqNCIpDWTcMimiwDKbqU1tjicCi4jG+vIb0Y+TjR9GWlPiOVGtSLYRSWJ3/H8AGAX02dIE xlqlVQ+FyuUwqAm/5OjCwlkrLTeAx04x0BtSwrYOUgq8TLCnjV0LN7rWqNngvNUrAP1da0cjfpdgO K3hEEsHJBnJvbvRW19Q+c6SvkiKequxgIsnEAY0GZrK5BU/FxKiMdImyZh7uXFqjU1fof4vVA9tht TyIl9HJnADvVq12NPj2w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlVoe-00AL1B-Vw; Fri, 12 Nov 2021 12:38:01 +0000 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlVmw-00AKGy-18 for linux-arm-kernel@lists.infradead.org; Fri, 12 Nov 2021 12:36:15 +0000 Received: by mail-wr1-x42c.google.com with SMTP id d3so15233587wrh.8 for ; Fri, 12 Nov 2021 04:36:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ojds7uoTrXBLCO1H2MYmLZ4nSe7NxxdQakvrVqtQ3RE=; b=hwwBk2QZDR/NziyD3Xe1C4hppuXJVGLMkrC/mDiGumcaNCjlXJyniamyq9c+kGs6fz KsfmvGRkiA/lUWhbDRrsGYGGayK4C6Pd90ZoT1Z9Qhbt7oBIfcAm52LsmUwME430d+0I jwj2fkjCqrJT+Lat5nXUMR1HXHLH4kMuMuT6d80WINlfy8yct0VPa4lvAuHab9vvmzi1 DOENga+dNFLvumna+1ZlHqgHkqP42+5jnuIZhjEnXHXYUWREthH87lmZVPM/BSgBMhLr zdV+KcUSNgxIPgGs+cIBScpPjB1XSjEMmc6vPPazDjjY4maPNPg4PbqiMZYLjf/s07es NNGQ== 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=ojds7uoTrXBLCO1H2MYmLZ4nSe7NxxdQakvrVqtQ3RE=; b=GgmA3aLDUVdbvLvKPsZDpkAgSkzILiKjPxxk1RsAP0UUiHdzOOdPNh6++LW0EMc3aM /2uxjGiAcUZ6dFsUcwy0Jb0KvgQagE0aGaI1whkqyj47qZYpuFpCFFwAdtkhKvtYYNTM Nt6smxlHVERV9iZ/s6K3CdXbL6h92i84qgfC4fG078xd53UuwoHUqHRtUHxrtjmq+5Me KGZ1PZqehUJwBrCOKMvMGYPZrMm7V2oGrDprGa/adpzNqUqxNt+RuMaHWlCguL0zK3yb zN3a2teee0m9JvW1WAEC8DV0yApmkyZGomcxGMDszW11oXyhUTHqQDDApRdPL8d7w72+ vDfQ== X-Gm-Message-State: AOAM533ycjPe3De06slEdQGEvSIlaYTFPkd9pmhkxKV+XLwk2mO1TCiR sFwUxXwQl9qek4deLRLNN5o= X-Google-Smtp-Source: ABdhPJyxV1vHoZOMQNPSjOtmt3c6HXHqPIq3WDPyzlEQgipZttT3+ww3S2cMmk61QlvHdq8Biuy1ig== X-Received: by 2002:adf:ba87:: with SMTP id p7mr17842753wrg.282.1636720572181; Fri, 12 Nov 2021 04:36:12 -0800 (PST) Received: from localhost ([193.209.96.43]) by smtp.gmail.com with ESMTPSA id q84sm13373795wme.3.2021.11.12.04.36.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Nov 2021 04:36:11 -0800 (PST) From: Thierry Reding To: Thierry Reding , Rob Herring Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 08/11] arm64: tegra: Update Tegra234 BPMP channel addresses Date: Fri, 12 Nov 2021 13:35:39 +0100 Message-Id: <20211112123542.3680629-9-thierry.reding@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211112123542.3680629-1-thierry.reding@gmail.com> References: <20211112123542.3680629-1-thierry.reding@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211112_043614_102318_C7C92F2C X-CRM114-Status: GOOD ( 11.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Mikko Perttunen On final Tegra234 systems, shared memory for communication with BPMP is located at offset 0x70000 in SYSRAM. Signed-off-by: Mikko Perttunen Signed-off-by: Thierry Reding --- arch/arm64/boot/dts/nvidia/tegra234.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi index 400c01acc19f..844cab44aee6 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi @@ -126,19 +126,19 @@ gic: interrupt-controller@f400000 { sram@40000000 { compatible = "nvidia,tegra234-sysram", "mmio-sram"; - reg = <0x0 0x40000000 0x0 0x50000>; + reg = <0x0 0x40000000 0x0 0x80000>; #address-cells = <1>; #size-cells = <1>; - ranges = <0x0 0x0 0x40000000 0x50000>; + ranges = <0x0 0x0 0x40000000 0x80000>; - cpu_bpmp_tx: sram@4e000 { - reg = <0x4e000 0x1000>; + cpu_bpmp_tx: sram@70000 { + reg = <0x70000 0x1000>; label = "cpu-bpmp-tx"; pool; }; - cpu_bpmp_rx: sram@4f000 { - reg = <0x4f000 0x1000>; + cpu_bpmp_rx: sram@71000 { + reg = <0x71000 0x1000>; label = "cpu-bpmp-rx"; pool; }; From patchwork Fri Nov 12 12:35:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 12692393 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C891C433F5 for ; Fri, 12 Nov 2021 12:39:46 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 1494A60F70 for ; Fri, 12 Nov 2021 12:39:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1494A60F70 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hkzQ/c2hnQ+x35Q2weSREoIy4/rcvDgulgZa5CQzrOo=; b=gVR5Rwnptz+uk0 WmvNyUZYy4MM3cIufqqeYVS6zbjmJc5n9/4l4k1phjdBpiZd3D2uWWC7IvIzVPy8rCzEJoW7XF+iF pSHAXtnkgbjM1R6TsRhHEhrgMm0AFCjJHoUMvE2Gg5KcwVdiKUdCREQviet7nGWOCKnNvI6s+mbiR CKzAB3ifrZX6xwUJLGuiqWkgMCJb2CQwPxrmVyOaJ6zDYl+GxMZU/eYjjhlgcAHWFFCdsAIzyeNJe 94iJ9H868KQchN8+6d2j8yO6Ca65CTsVUnTekNGEsYF1cyI6zG3E4unD0CgeIj04nHxuQ0c2zqC3M pHJde/hKx7V2zjy89cow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlVp3-00ALEY-2j; Fri, 12 Nov 2021 12:38:25 +0000 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlVmy-00AKHY-5m for linux-arm-kernel@lists.infradead.org; Fri, 12 Nov 2021 12:36:17 +0000 Received: by mail-wr1-x42b.google.com with SMTP id t30so15218519wra.10 for ; Fri, 12 Nov 2021 04:36:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eMtyUZCPe3jI4M/02lrSTujHXoLLOzIpEv5CqhrxJIA=; b=ORYwHrY6Cluvd4is2krIsmv0j4cZ/F8qk1Ip1HBnGLT6F0bttmB2y+YD/1+A3BK3G+ rZVgy0C6Dnv/5b1QQeLJXxXiOagJhwKUrYn6Q3DV8pf2Hme44HLKM4PeOTSyGVGLAEqS JTFAhvySZzjV3cgiyYz0tiQtz34R0FVxtDKa9qC9w0RMSXKU7NkIueyL+8BkOe9jCEck NrVM/ILDDa2mg3P6GLblJgLbsdO4Uteaf+nxbo+kUThW1HPSI7aShCmFLAqyVmqiInOX U7vaqUDZ2G5cpRGVAjxZXWOkdfB8GUCq85pzwY/wPKQyYpP0hyE6J8optwW3z5ONFCzO zGTQ== 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=eMtyUZCPe3jI4M/02lrSTujHXoLLOzIpEv5CqhrxJIA=; b=L07sCHZ/K3rqwsrg6uDoUGwi4ab7OcbwIMHR5GrnjsvCNrLUlUPh56dKYktDSmoflP nfVPa6mhqe/ODQW7yD1jjFFp+f5VVkh/pFvlv90cIjo9BnfrYmqLwec8pd5aYMegHPrv 5qe8Hwmt8Y704Na2H0UwYwkgNOdeyunV6cSEG0t3FKK0Q8J5Hgk680XwOtUa47N2A0ow ZuVbZRri12w9p2K7K5BUnp/U8eXSvz3Ovu6jofxQCONfhjYJFrr7z32oIko/dglsncg9 MhXq5hlLvw1AsOEYLVmsmp7IZmxv1cjne6TZUBc9gg5/S5vZVuGbvI98XwZa0TvBxyAm rryA== X-Gm-Message-State: AOAM530KKKbi2C9XNZxkQ3rVGU/+zHkZfRfcO9CL52GBrKeNlVKMGM1q 7qLQ5tKT/ANYSo/AB3iS/W8= X-Google-Smtp-Source: ABdhPJyJAvRYR+npp+ec2spwLMLoe4eT3HeKLQOT95hE3RoP9Z7HgsKggh/XbIrvFEnMq3MVkPy2VA== X-Received: by 2002:a5d:5151:: with SMTP id u17mr18274967wrt.126.1636720574971; Fri, 12 Nov 2021 04:36:14 -0800 (PST) Received: from localhost ([193.209.96.43]) by smtp.gmail.com with ESMTPSA id d8sm5751109wrm.76.2021.11.12.04.36.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Nov 2021 04:36:14 -0800 (PST) From: Thierry Reding To: Thierry Reding , Rob Herring Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 09/11] arm64: tegra: Fill in properties for Tegra234 eMMC Date: Fri, 12 Nov 2021 13:35:40 +0100 Message-Id: <20211112123542.3680629-10-thierry.reding@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211112123542.3680629-1-thierry.reding@gmail.com> References: <20211112123542.3680629-1-thierry.reding@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211112_043616_276369_F4BD25CF X-CRM114-Status: GOOD ( 10.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Mikko Perttunen Add missing properties to the eMMC controller, as required to use it on actual hardware. Signed-off-by: Mikko Perttunen Signed-off-by: Thierry Reding --- arch/arm64/boot/dts/nvidia/tegra234.dtsi | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi index 844cab44aee6..ffe300356e85 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi @@ -40,11 +40,24 @@ mmc@3460000 { compatible = "nvidia,tegra234-sdhci", "nvidia,tegra186-sdhci"; reg = <0x03460000 0x20000>; interrupts = ; - clocks = <&bpmp TEGRA234_CLK_SDMMC4>; - clock-names = "sdhci"; + clocks = <&bpmp TEGRA234_CLK_SDMMC4>, + <&bpmp TEGRA234_CLK_SDMMC_LEGACY_TM>; + clock-names = "sdhci", "tmclk"; + assigned-clocks = <&bpmp TEGRA234_CLK_SDMMC4>, + <&bpmp TEGRA234_CLK_PLLC4>; + assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLC4>; resets = <&bpmp TEGRA234_RESET_SDMMC4>; reset-names = "sdhci"; - dma-coherent; + nvidia,pad-autocal-pull-up-offset-hs400 = <0x00>; + nvidia,pad-autocal-pull-down-offset-hs400 = <0x00>; + nvidia,pad-autocal-pull-up-offset-1v8-timeout = <0x0a>; + nvidia,pad-autocal-pull-down-offset-1v8-timeout = <0x0a>; + nvidia,pad-autocal-pull-up-offset-3v3-timeout = <0x0a>; + nvidia,pad-autocal-pull-down-offset-3v3-timeout = <0x0a>; + nvidia,default-tap = <0x8>; + nvidia,default-trim = <0x14>; + nvidia,dqs-trim = <40>; + supports-cqe; status = "disabled"; }; From patchwork Fri Nov 12 12:35:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 12692394 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D82BC433EF for ; Fri, 12 Nov 2021 12:40:10 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 4473A60F70 for ; Fri, 12 Nov 2021 12:40:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4473A60F70 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sIZywoLuHs6p+jrVMxXYrc+kjtbYpWiPR0hzfxg82h0=; b=pTzPlCzrXxy8pU IfjXMGcJghinmH7b6shhz1ED5m5zUlgAS1p6BdXcmSVsSaQ4InuzHeakJEVCHCg45dlCOr/al/wAz yAmsChI5WiWNGNHqHJoh50NWvx3YKu2aEl9JfxsntgcS7ftoot1jf9SvH5rJo0KmdV7vjBV48DVIQ QGZDORggNAD8HiwFo1e40551ygu8QoMnDbZNa+TmMOWue/G2v6G73oJQh/Q0oJ9fasGQpjjelYlkX BvpnY/D4gqIoKlkuVH3FqtHpr95GpKrzwtG9GPktrERDaa9dBJWzUsPrpHbtj5Pcpc9PmMYqxQ2nx Aq+J+nc8bs/0R8D7NyYA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlVpP-00ALPo-WB; Fri, 12 Nov 2021 12:38:48 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlVn0-00AKIM-MV for linux-arm-kernel@lists.infradead.org; Fri, 12 Nov 2021 12:36:19 +0000 Received: by mail-wm1-x331.google.com with SMTP id n33-20020a05600c502100b0032fb900951eso4445969wmr.4 for ; Fri, 12 Nov 2021 04:36:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6WK1y/cxjTkvXk38aQNwyWf+jeR1VRFj1WgDKlQLAvQ=; b=nS+elp46LHRsibPWGGXBBAwdxb0qF+TPz9BlDbL0KVl5f2PGuJ9D3PexckYwXMmWnZ ySW8jvoAJLRAAhNOXQAvRknWD3KGvMCibcaSmb/7prXIteB83vFOWjn+48UEUiMHY0F8 mgqRycsx0qVoIOzrnA06j9E/onTxej7/pgzae7pTpJeJc9BO83xiPMZnm32+dT9wjOoE hSieZwh24F0Iy6t0UpJmQQmUrMuceMWwAkeTIbsISuC8iZgkAmFZRu5ys2lbI9h4cQ4u MqMwR2z2KbboP7pdCIV0JxJ9vWGjZGQLR3q+zpyqRyJ8FCNeDaTY6j8b6Hm1vOJq6L/o a2Lw== 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=6WK1y/cxjTkvXk38aQNwyWf+jeR1VRFj1WgDKlQLAvQ=; b=ZayLu56xPBbvILj6XzS1QSqaVcGtc1xMbg66GXUO8Iz8SvB9kjlYYfmye+ENF351Fp wolVQh5OVXheS/NrftC8DsXKolGDSW6Fmliqm7qlUhqH2jSl5ecL3beF8sDVSeuEQOQ5 OJZhUNARZSzr+yr6cOGcYPQlRTS0oppznOWWX0ITfpfqKmLFbNh6acfHqEw5HosVLRB9 IGxH2+nw8gNRPXnsC97+ub8UqVYW/pMCna0/eC5QG7bBomXltA3M2aWRZjGnRRuxpunJ EtZdMH576g1H/06ckWU7NCN2Cx3zz1QPZpYBtaeoBl//LWuDH6HAGYcbCOfPvbCJuPls z4rA== X-Gm-Message-State: AOAM53077BoigeC3pzwLx0Kc9EPD6Qptb5+JK97xl7L0rPGZ9K+fZupp LvbjGWRk7OAJZxV2sTNZUd4= X-Google-Smtp-Source: ABdhPJzcVCHOzXmzo+krv4wTO0E0onlIcz4cXe5VlWaa+4SYfJalp251SNYjjmU9slJnSMQfklVWWg== X-Received: by 2002:a7b:c2f7:: with SMTP id e23mr34486844wmk.92.1636720577537; Fri, 12 Nov 2021 04:36:17 -0800 (PST) Received: from localhost ([193.209.96.43]) by smtp.gmail.com with ESMTPSA id p27sm5333500wmi.28.2021.11.12.04.36.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Nov 2021 04:36:16 -0800 (PST) From: Thierry Reding To: Thierry Reding , Rob Herring Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 10/11] arm64: tegra: Add Tegra234 TCU device Date: Fri, 12 Nov 2021 13:35:41 +0100 Message-Id: <20211112123542.3680629-11-thierry.reding@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211112123542.3680629-1-thierry.reding@gmail.com> References: <20211112123542.3680629-1-thierry.reding@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211112_043618_777244_C866568A X-CRM114-Status: GOOD ( 11.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Mikko Perttunen Add a device for TCU (Tegra Combined UART) used for serial console. Signed-off-by: Mikko Perttunen Signed-off-by: Thierry Reding --- arch/arm64/boot/dts/nvidia/tegra234.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra234.dtsi b/arch/arm64/boot/dts/nvidia/tegra234.dtsi index ffe300356e85..63274181d544 100644 --- a/arch/arm64/boot/dts/nvidia/tegra234.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra234.dtsi @@ -192,6 +192,14 @@ psci { method = "smc"; }; + tcu: serial { + compatible = "nvidia,tegra234-tcu", "nvidia,tegra194-tcu"; + mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_SM TEGRA_HSP_SM_RX(0)>, + <&hsp_aon TEGRA_HSP_MBOX_TYPE_SM TEGRA_HSP_SM_TX(1)>; + mbox-names = "rx", "tx"; + status = "disabled"; + }; + timer { compatible = "arm,armv8-timer"; interrupts = , From patchwork Fri Nov 12 12:35:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 12692395 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CBE6FC433FE for ; Fri, 12 Nov 2021 12:40:50 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 A24E5603E8 for ; Fri, 12 Nov 2021 12:40:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A24E5603E8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nw0T0uqx0YftjTYQCO0x0sL7BP+dXOdHAUkgU1ltQ3Q=; b=pt1jIKCc9HLro0 V2Q/DcEMNdiEOgndPbjxRFH47RYd6EG6LWRHg88u9nYfm/SLdUqgqmLKuztXV5wAzY0CqTF8F5BrX NCsl9JyR6QwjSE7B399tzSCSt0mPBI/WfJWDzKOgIEIdjlPYhHp0YPsOhEudiXf4kW0bvoSz10tC4 Oe+XzXjq/EXwnNkbs3FBgj3dBH1inX+PKezPD6HHOktIf3EdrdURSRitzczScztOGim0Au9vyW2l0 2xHfgYw98+JftsL2J6WHPd64GKmOv+Kl/IiRKgPPTVZhV0PdG7yHEKGspxc5EGbjG4eHe7A4/U7uk 98GmcDxc26cgmd7ijivQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlVpx-00ALiC-Ct; Fri, 12 Nov 2021 12:39:22 +0000 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlVn3-00AKJG-C8 for linux-arm-kernel@lists.infradead.org; Fri, 12 Nov 2021 12:36:22 +0000 Received: by mail-wr1-x429.google.com with SMTP id t30so15218955wra.10 for ; Fri, 12 Nov 2021 04:36:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zHiTZHyfCPKYIMhub7GuBrT8ulvTaEX2NWZm9Yhsbb4=; b=W+ite0oDuvPmWMP65ro6yPN67E5dAA+ZnZOZjJxz/aJTE870XxyHBKn0AOkt7wkeid Zm4IIYEvM82+QXoucCC9dMwvgjdFthw8R1fP74Onm/7PeSPMGQ2e4TKiWTPyNZx/JLWm KR1kaBQD4ixmJ4XxYBJgLQMgp+o2HMdvJ5LVKI+WOz6dPFFc0Ar4U2FOy4vDfvOsWymV aVW5GhfqT7LApLV5VO7UAZdh9UJvPlDQP4nYkuBgv9PGZdU4dEOA145zeXWLTzaP6TCR XVW5sRwMhVI2DMXb1sNTZIpgRKvM0Q9OP+WCi/3kh8PdXZlBwUbCYpnuJLuZp5AcvRav K7SA== 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=zHiTZHyfCPKYIMhub7GuBrT8ulvTaEX2NWZm9Yhsbb4=; b=qOThPX+GOJPXzJJeyVD4bLUbUEJkPkNjSp6TQlCmWlWMmMdx/zlkLb2bFsRrkKiFQv d2VgORhephfIm4pQ7SeYdsUssCIhzDCM8Lg2Kz7X4uI08V52q/4zs4C4sUy0eetA6IgE dwNE8Lul4tTEnI4Xl8okKvzrINIDmiV1BYDrnaNiTtqbiWyd1AlKg6DqccUZWnZ2AmjF oa+Vo9q4Qisk1mbYsI0yY1HY/2694wqC76eDD968kM/Q/yavIL3fDKx9HEvuwuiSVewU 639bHxiPHI4LuQ8nrEn61wtSR5jjGXxSzGNmeLNMq6ESUxZfcC7iXsYKd4tp2/DDV8bS 09cQ== X-Gm-Message-State: AOAM531WDYLmncVdwIDGYludGQsjb0xW/+K6P3m86yObLhD4piFrwB5P J4XzumwkK3FGUuhYtuMzYtc= X-Google-Smtp-Source: ABdhPJwigPesw0YSxeUU+3t05dwjD/rfupyAJjvypCLSX4uz37bT2r5oVhLl3fDZR4A4urhiO6SnhA== X-Received: by 2002:a5d:59ae:: with SMTP id p14mr18335060wrr.365.1636720580101; Fri, 12 Nov 2021 04:36:20 -0800 (PST) Received: from localhost ([193.209.96.43]) by smtp.gmail.com with ESMTPSA id o3sm12459754wms.10.2021.11.12.04.36.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Nov 2021 04:36:19 -0800 (PST) From: Thierry Reding To: Thierry Reding , Rob Herring Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 11/11] arm64: tegra: Add NVIDIA Jetson AGX Orin Developer Kit support Date: Fri, 12 Nov 2021 13:35:42 +0100 Message-Id: <20211112123542.3680629-12-thierry.reding@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211112123542.3680629-1-thierry.reding@gmail.com> References: <20211112123542.3680629-1-thierry.reding@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211112_043621_442571_02039B67 X-CRM114-Status: GOOD ( 15.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Mikko Perttunen The Jetson AGX Orin Developer Kit is a continuation of the Jetson Developer Kit line using the new NVIDIA Tegra234 (Orin) SoC. Signed-off-by: Mikko Perttunen Signed-off-by: Thierry Reding --- arch/arm64/boot/dts/nvidia/Makefile | 1 + .../boot/dts/nvidia/tegra234-p3701-0000.dtsi | 25 +++++++++++++++++++ .../nvidia/tegra234-p3737-0000+p3701-0000.dts | 24 ++++++++++++++++++ .../boot/dts/nvidia/tegra234-p3737-0000.dtsi | 5 ++++ 4 files changed, 55 insertions(+) create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi diff --git a/arch/arm64/boot/dts/nvidia/Makefile b/arch/arm64/boot/dts/nvidia/Makefile index c80f7dc2935e..ea3f338fd013 100644 --- a/arch/arm64/boot/dts/nvidia/Makefile +++ b/arch/arm64/boot/dts/nvidia/Makefile @@ -12,3 +12,4 @@ dtb-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra194-p2972-0000.dtb dtb-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra194-p3509-0000+p3668-0000.dtb dtb-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra194-p3509-0000+p3668-0001.dtb dtb-$(CONFIG_ARCH_TEGRA_234_SOC) += tegra234-sim-vdk.dtb +dtb-$(CONFIG_ARCH_TEGRA_234_SOC) += tegra234-p3737-0000+p3701-0000.dtb diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi new file mode 100644 index 000000000000..d3c936822186 --- /dev/null +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include "tegra234.dtsi" + +/ { + model = "NVIDIA Jetson AGX Orin"; + compatible = "nvidia,p3701-0000", "nvidia,tegra234"; + + bus@0 { + mmc@3460000 { + status = "okay"; + bus-width = <8>; + non-removable; + only-1-8-v; + }; + + rtc@c2a0000 { + status = "okay"; + }; + + pmc@c360000 { + nvidia,invert-interrupt; + }; + }; +}; diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts new file mode 100644 index 000000000000..e3bb874869df --- /dev/null +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts @@ -0,0 +1,24 @@ +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "tegra234-p3701-0000.dtsi" +#include "tegra234-p3737-0000.dtsi" + +/ { + model = "NVIDIA Jetson AGX Orin Developer Kit"; + compatible = "nvidia,p3737-0000+p3701-0000", "nvidia,p3701-0000", "nvidia,tegra234"; + + aliases { + mmc3 = "/bus@0/mmc@3460000"; + serial0 = &tcu; + }; + + chosen { + bootargs = "console=ttyS0,115200n8"; + stdout-path = "serial0:115200n8"; + }; + + tcu { + status = "okay"; + }; +}; diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi new file mode 100644 index 000000000000..a85993c85e45 --- /dev/null +++ b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi @@ -0,0 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0 + +/ { + compatible = "nvidia,p3737-0000"; +};