From patchwork Tue Feb 27 23:25:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13574587 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 0C6D7C5478C for ; Tue, 27 Feb 2024 23:26:18 +0000 (UTC) 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=eM5+1W/Jhw8fZUzmJcgn92rdCO1bdRENFKsFplKgbCw=; b=njcP/5uSlNpmV5 mOqIS/fT0fnbPa5NvPciH3bDNkcKeckS/2M647qi48p8aUty5z+wSfr1a6iZy8wc6U4icPYY23KBP 08+p/lFtE1URgx6zRsktnz8ResVUOWafUwdin4v0YNd9U2FLODl5YaKGclMhDxfLcD3CgutIJ4FVh WJxoCTQ8WU+LEZwtSdjpf3G90mgDXcA8KgURni4U9Cq51da42AqMo5318EajHWPfr4rNM+4Z/4ha8 IgznUktRRQCCIfatsuuN02wVaMfU/XVsafwbZSNTYAwmZ38EHY+jg/aomqkQdaAGcg9O+ht6dOj6s /+qyQCDsmfGbXaJG+MmA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rf6pq-00000007EZq-1JPG; Tue, 27 Feb 2024 23:26:06 +0000 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rf6pm-00000007EXi-40os for linux-arm-kernel@lists.infradead.org; Tue, 27 Feb 2024 23:26:04 +0000 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-33d90dfe73cso163658f8f.0 for ; Tue, 27 Feb 2024 15:26:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709076361; x=1709681161; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Xtbn+FDNjujpPzD3jmB3iR9JG4D2RuAxm5BC1nUBpuo=; b=gZxCDFJuRxBr4kZRVT2jI8AvKBc4Vh3XdyaJHWzUcRathIlc/FDSvQ/r1AjOkwDvTP NujGr8TSBNSAnewr/wQRzCdqgECOU1uxO7AbAJVkLdd8e9XbMP5l30RTe5j0gCjjw6XP otqeT9GZFtbPA0owLsTvkSoL3ivHFWsQPSTQaFrg2Bu30MI+aPgj0KatnZii50awkKVd O9GSlXGcraOCfuxoEb46Gzxci/6j+yGX+eSELJxGAFUSB42U0LtR14eRmekr3ydxN8nF y6w1C0h29QMVMjMjQExCDyAMEf3BiZmQhGXKR5TWsWDyxXd67kf1CGbn5kC8/cPdgeCQ OV3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709076361; x=1709681161; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Xtbn+FDNjujpPzD3jmB3iR9JG4D2RuAxm5BC1nUBpuo=; b=HgMpfmtTaGcj0+IvqC7F3kmab8sZAq+LZx7ISLX4fsZ+9cCy86WEL0YQZX+s3UUzxF XMZDe0xSP07nnxlwlyPqBZDYhieOQ6fjFkQjsDum/TqmGSQ0EDPNffW3vSroSLGbUupx RRfQRNPN+3sqGrggw1oXwnaQZv/rI0ErDnjR8o90awDOyK3lyQ44/U761xyiLEc4hXbo ztEEE8jjxxuyla6MZWecbNrsld0Tn/+wqDRtaBTz3z1qEbRGEPys8strPau2S5cd43Fb 6240Xm1KfPqcBH3+BL47doBPH3z5kUesMP1JSBAN1yTODNs25Pb7jolcT9wIzDJFhPu5 YVbQ== X-Gm-Message-State: AOJu0YyNDUNoGLbC3Nd2YZT11s45PatTrqq72qwEGUuBcOiogmT355Jq 8lQftHs/U9cP+VkMihU6SFt8SNlpUN8EqtL9EG32C2p+tRkjcYCZ X-Google-Smtp-Source: AGHT+IHHVqb8hSoU6tdNu/vV7BvrdXIaV01NcPyQB+G8llM+dG/LoUBcvVaaoXUaMX82lZiGbfngEA== X-Received: by 2002:a05:6000:103:b0:33d:1ece:d618 with SMTP id o3-20020a056000010300b0033d1eced618mr597294wrx.8.1709076361149; Tue, 27 Feb 2024 15:26:01 -0800 (PST) Received: from prasmi.home ([2a00:23c8:2500:a01:e6a2:98b:e06b:631a]) by smtp.gmail.com with ESMTPSA id co22-20020a0560000a1600b0033d96b4efbasm13014444wrb.21.2024.02.27.15.25.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 15:26:00 -0800 (PST) From: Prabhakar X-Google-Original-From: Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Fabrizio Castro , Lad Prabhakar , Krzysztof Kozlowski Subject: [PATCH v2 1/4] dt-bindings: soc: renesas: Document Renesas RZ/V2H(P) SoC variants Date: Tue, 27 Feb 2024 23:25:28 +0000 Message-Id: <20240227232531.218159-2-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240227232531.218159-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20240227232531.218159-1-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240227_152603_021274_78F7E334 X-CRM114-Status: GOOD ( 10.18 ) 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: Lad Prabhakar Document Renesas RZ/V2H(P) (R9A09G057) SoC variants. Signed-off-by: Lad Prabhakar Reviewed-by: Fabrizio Castro Acked-by: Krzysztof Kozlowski Reviewed-by: Geert Uytterhoeven --- v1 -> v2 - Replaced RZ/V2H{P} -> RZ/V2H(P) - Included Ack and RB tags --- .../devicetree/bindings/soc/renesas/renesas.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/renesas/renesas.yaml b/Documentation/devicetree/bindings/soc/renesas/renesas.yaml index c1ce4da2dc32..09d3ce97efa2 100644 --- a/Documentation/devicetree/bindings/soc/renesas/renesas.yaml +++ b/Documentation/devicetree/bindings/soc/renesas/renesas.yaml @@ -513,6 +513,14 @@ properties: - renesas,rzv2mevk2 # RZ/V2M Eval Board v2.0 - const: renesas,r9a09g011 + - description: RZ/V2H(P) (R9A09G057) + items: + - enum: + - renesas,r9a09g057h41 # RZ/V2H + - renesas,r9a09g057h42 # RZ/V2H with Mali-G31 support + - renesas,r9a09g057h44 # RZ/V2HP with Mali-G31 + Mali-C55 support + - const: renesas,r9a09g057 + additionalProperties: true ... From patchwork Tue Feb 27 23:25:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13574589 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 46E24C5478C for ; Tue, 27 Feb 2024 23:26:35 +0000 (UTC) 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=EAGmpzr/cjN0Pb+HNnpZbmG7xlAuX/TPOTYDOViuPHU=; b=wyfeQuaoMe3nOb knwdRmplOs6033MSOTkIRP7RvigjWaQSAkJouP372A7wLwQVo4dHr9wSi5etoRn6UKqeWRb1r7oCd LOPLbsva5rPToNc0tO67ZF2tcZHfWq1xMpCXPSJ0M26wuv5tDoKBRYrrTcg1FVxSN4suveUH1FnkQ 8OkBEiHsdSUKojdbKIPQxqEp0ajYGeb+dzOMMGPsWF7NXv1Hkr3Aos02nXl9XrEwuUyX7dpNd4WZk 2Dc97UJxTSov7VFFGuCkdL0KQS0R015PhAqNjO5zQlbRXYhZS5SAB7KSS30tS/loY0oTbZxOdIPXd B5vw8JuJvVKg4GjsNaCA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rf6qA-00000007EjU-398U; Tue, 27 Feb 2024 23:26:26 +0000 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rf6po-00000007EXr-0mNS for linux-arm-kernel@lists.infradead.org; Tue, 27 Feb 2024 23:26:06 +0000 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-412a9ea61adso12832115e9.0 for ; Tue, 27 Feb 2024 15:26:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709076362; x=1709681162; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Q0ma3PIRLS2/lZAGTM7OFOKNZqV04AlFCQIzgTx9y0U=; b=dfyrEnP/PZ3EMXipn//m3HlxQBDuOTC97gq20n3W2JEgl3u4QSa+Xp0Hz+UQghMSyG IHDj1cOTB1VWAmSrqxVGUhe63A8d/2bpPNsp4Q1O4cKylWTJqiHYmLMqJCuG8IZ1pqw3 N3an4s2eCQSAl7YCqNH5wzq4uEvXafgIckAr0xri3SpbSeZGoqO8TlQaZ7eoR/zEAzoc m5Gsppv1i5HW6v02BkM1WQRTF1wbbXL1KS0Aq49z0UEqcGHWa33lwpOd3Uw6KbL9aknE jCQgVoHXWONRQ4JqMR6SFsFfVjfMuJxJyVXA1WpW3aWNZBGzS3fQC0H000977Xv50rjq zoPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709076362; x=1709681162; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Q0ma3PIRLS2/lZAGTM7OFOKNZqV04AlFCQIzgTx9y0U=; b=XK5ES/B5t9tl+6j8qT7MTgCVI6AeImK3uQu1XUMqOrmrABq/WlKZrxysKdlXQhgLx8 +oknDB3DKhQjksj7+yGGkCW9s3S7q0EpPTPAIr/QeMs/1yFuH5bX8JpyPkX5enG0CKKV VjTeXo/O6Em4eHzY1KjboJnOCYfMvHOXAl9u1SOTLsi1SL9930dn+roCvtPqoBpOzy9b SxxRUqCHOhxDspRmwJGbhAAWZr++DiJ/PbiZ2jRyLW6A3NH8sJ6hi7o2Vp9zv5VKlN8H L/NK43/0CosckoW1DgG3yY2q6s6Jburu7stDeEZLlRAmFgr6htRk4Cyl6PH6k9uKeBQ5 fgNg== X-Gm-Message-State: AOJu0YxNVU0gDUPBUeF9ZhbC5TpypPTtwhPUxLmyUGcVieOAiTpYO38T 07IlIXiH2oyvqAfGp49bvK4tczQhDwuvjA4Gq9DwC/3Fdhrw1Bg5 X-Google-Smtp-Source: AGHT+IE3mkEwOn8Q8tjquPjbHTzBnx9Hda8D4G1DHBshf+Z6nX6aPedYQYIcBTi48yeUFLMhp2oVEg== X-Received: by 2002:a5d:490b:0:b0:33d:5548:435e with SMTP id x11-20020a5d490b000000b0033d5548435emr6852450wrq.53.1709076362186; Tue, 27 Feb 2024 15:26:02 -0800 (PST) Received: from prasmi.home ([2a00:23c8:2500:a01:e6a2:98b:e06b:631a]) by smtp.gmail.com with ESMTPSA id co22-20020a0560000a1600b0033d96b4efbasm13014444wrb.21.2024.02.27.15.26.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 15:26:01 -0800 (PST) From: Prabhakar X-Google-Original-From: Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Fabrizio Castro , Lad Prabhakar Subject: [PATCH v2 2/4] dt-bindings: arm: renesas: Document Renesas RZ/V2H(P) System Controller Date: Tue, 27 Feb 2024 23:25:29 +0000 Message-Id: <20240227232531.218159-3-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240227232531.218159-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20240227232531.218159-1-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240227_152604_255245_175759AF X-CRM114-Status: GOOD ( 15.67 ) 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: Lad Prabhakar Add DT binding documentation for System Controller (SYS) found on RZ/V2H(P) ("R9A09G057") SoC's. SYS block contains the SYS_LSI_DEVID register which can be used to retrieve SoC version information. Signed-off-by: Lad Prabhakar Reviewed-by: Fabrizio Castro Reviewed-by: Krzysztof Kozlowski Reviewed-by: Geert Uytterhoeven --- v1 -> v2 - Dropped extal_clk node from example - Replaced RZ/V2H{P} -> RZ/V2H(P) - Dropped description for clocks & resets properties - used for clocks in example node --- .../soc/renesas/renesas,r9a09g057-sys.yaml | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/renesas/renesas,r9a09g057-sys.yaml diff --git a/Documentation/devicetree/bindings/soc/renesas/renesas,r9a09g057-sys.yaml b/Documentation/devicetree/bindings/soc/renesas/renesas,r9a09g057-sys.yaml new file mode 100644 index 000000000000..72bf8e733dcd --- /dev/null +++ b/Documentation/devicetree/bindings/soc/renesas/renesas,r9a09g057-sys.yaml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/renesas/renesas,r9a09g057-sys.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas RZ/V2H(P) System Controller (SYS) + +maintainers: + - Geert Uytterhoeven + +description: + The RZ/V2H(P) SYS (System Controller) controls the overall + configuration of the LSI and supports the following functions, + - Trust zone control + - Extend access by specific masters to address beyond 4GB space + - GBETH configuration + - Control of settings and states of SRAM/PCIe/CM33/CA55/CR8/xSPI/ADC/TSU + - LSI version + - WDT stop control + - General registers + +properties: + compatible: + const: renesas,r9a09g057-sys + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - resets + +additionalProperties: false + +examples: + - | + sys: system-controller@10430000 { + compatible = "renesas,r9a09g057-sys"; + reg = <0x10430000 0x10000>; + clocks = <&cpg 1>; + resets = <&cpg 1>; + }; From patchwork Tue Feb 27 23:25:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13574591 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id DD9F6C5478C for ; Tue, 27 Feb 2024 23:26:38 +0000 (UTC) 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=PCLtCPNxARGspQv+dUdgxGxkhzTkamn4z+5umk/q66g=; b=EAMcI+C4dR2FCJ D4sW3DvrYstL3pv6xLXj3ggrmHlFtYb1rf9MRiyRjvGAtymdTyLfw0iImw9dhJuhZcSQ9TDTBerlS efE6jTnkLftRf/xwlIyI3rtIoRRr4QV36f/kK6/cp9mNzNqD2Dt8NBms/czC/QBWqPn3OjimaU7+Z 44Y5diKUsHCA8NTM0OrU8BDg/FPCYBlhJbQGqcYIE9/kIGP1liv3r8aEZ/M2dDcSzmcN+loBiHpO/ +C2l3b9cqBQLMTcQY9B3rjLQlIwOYnFANgT/H65Bxm2bZ3tHcOwke4FlBOhTxPHn+aJXYq52B79Yq B667D3Sd7UnmV6CAzmtg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rf6qB-00000007Ekb-38FC; Tue, 27 Feb 2024 23:26:27 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rf6pp-00000007EYd-1goZ for linux-arm-kernel@lists.infradead.org; Tue, 27 Feb 2024 23:26:06 +0000 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-412b36b1b86so748085e9.0 for ; Tue, 27 Feb 2024 15:26:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709076363; x=1709681163; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Vrbq9/3K+cXKsueDWBzf+N6MdOLNDuDdOsXrr/s8YT8=; b=YvgGmReDzbhT//6y5c+jVd4WU0YNDMFq3GFSLoM8ID3BaynV1lzo3PyElgxcjJOA4o Roe+NSNY6OBZYl6VysqRj/N1jIzsqnYgr8hxjYSUeZnCMQp/M00ZZbfj/kp7/k65LZd8 9di569FPSeAqpazjTjJbE3JB5b65J5rvX+RciBIAG6/PLcDH2b/pGI610VXGNPjZlIjX CC7v5YYjCXG5P/rZQE8kLjPWq+r7zCLo7n/kyzea0LdxHXx+gfK7/YA+1swPHwOevIag AtpyDt6I3pOTqM1KJAP4f7RTurccxPSOm01ZKi8tCKAZAk4ZxAt0rrvEA2YIF6VsndqT Odkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709076363; x=1709681163; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Vrbq9/3K+cXKsueDWBzf+N6MdOLNDuDdOsXrr/s8YT8=; b=Cred/g7HTIuaXaodd22IK84mHBkYgmqBCYcxHQ/Xc7Ate0JeqPqF8CPCX2sjCsBKnn hmNManl82+hXe9i1LumM2pKx8veKiu4MkqxMMxx3gMnCJ6hCps28LTz2kGtyKZELH2/1 KNovS27eTB/G5wHoc7k/JpVJvacG60VpWId76eWhQRnyh3nJ/tE0Lnw/zB08hoFndlgw Gte+kNG6gZZwFZESaRKGqJwBtc0sZ5IEBRbJ4LMPD8GcJeaZYgZMz80ecB+LK3U7/IL+ EkGld/Al9IzEhj85mrRDUC6p6n6wQllhZ2Ir2guWdnv1RTaJkXfI3ESO/xixYnmeJomm TI3g== X-Gm-Message-State: AOJu0Yx7DJnxfc+WbsgOb05h9qfnBytZjBYJz5xgqnccj2bvq69xCGi7 rCJgSNlZpmk6HHG8fLfawWLjmgCS/2ChcwRWsrblPDT5jqKqsyJgkhpwbgge X-Google-Smtp-Source: AGHT+IHsVjm2Q7TKH3P6XxUjdsf5x35MHtvMZ9f8l+fBRTkAGh8oJVyX1oT6LH8aHrVqysjgwPOOpQ== X-Received: by 2002:a5d:6649:0:b0:33d:aa78:ed82 with SMTP id f9-20020a5d6649000000b0033daa78ed82mr7972508wrw.34.1709076363542; Tue, 27 Feb 2024 15:26:03 -0800 (PST) Received: from prasmi.home ([2a00:23c8:2500:a01:e6a2:98b:e06b:631a]) by smtp.gmail.com with ESMTPSA id co22-20020a0560000a1600b0033d96b4efbasm13014444wrb.21.2024.02.27.15.26.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 15:26:02 -0800 (PST) From: Prabhakar X-Google-Original-From: Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Fabrizio Castro , Lad Prabhakar Subject: [PATCH v2 3/4] soc: renesas: Add identification support for RZ/V2H SoC Date: Tue, 27 Feb 2024 23:25:30 +0000 Message-Id: <20240227232531.218159-4-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240227232531.218159-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20240227232531.218159-1-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240227_152605_471245_0E342AD9 X-CRM114-Status: GOOD ( 17.73 ) 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: Lad Prabhakar Add support to identify the RZ/V2H (R9A09G057) SoC. Signed-off-by: Lad Prabhakar Reviewed-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven --- v1 -> v2 - Replaced RZ/V2H{P} -> RZ/V2H(P) - Used small case for hex value --- drivers/soc/renesas/Kconfig | 5 +++++ drivers/soc/renesas/renesas-soc.c | 20 +++++++++++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/drivers/soc/renesas/Kconfig b/drivers/soc/renesas/Kconfig index 5deca747fb77..91464ea48baf 100644 --- a/drivers/soc/renesas/Kconfig +++ b/drivers/soc/renesas/Kconfig @@ -344,6 +344,11 @@ config ARCH_R9A09G011 help This enables support for the Renesas RZ/V2M SoC. +config ARCH_R9A09G057 + bool "ARM64 Platform support for RZ/V2H(P)" + help + This enables support for the Renesas RZ/V2H(P) SoC variants. + endif # ARM64 if RISCV diff --git a/drivers/soc/renesas/renesas-soc.c b/drivers/soc/renesas/renesas-soc.c index 8f9b8d3736dc..172d59e6fbcf 100644 --- a/drivers/soc/renesas/renesas-soc.c +++ b/drivers/soc/renesas/renesas-soc.c @@ -75,6 +75,10 @@ static const struct renesas_family fam_rzg3s __initconst __maybe_unused = { .name = "RZ/G3S", }; +static const struct renesas_family fam_rzv2h __initconst __maybe_unused = { + .name = "RZ/V2H", +}; + static const struct renesas_family fam_rzv2l __initconst __maybe_unused = { .name = "RZ/V2L", }; @@ -177,6 +181,11 @@ static const struct renesas_soc soc_rz_g3s __initconst __maybe_unused = { .id = 0x85e0447, }; +static const struct renesas_soc soc_rz_v2h __initconst __maybe_unused = { + .family = &fam_rzv2h, + .id = 0x847a447, +}; + static const struct renesas_soc soc_rz_v2l __initconst __maybe_unused = { .family = &fam_rzv2l, .id = 0x8447447, @@ -407,6 +416,9 @@ static const struct of_device_id renesas_socs[] __initconst __maybe_unused = { #ifdef CONFIG_ARCH_R9A09G011 { .compatible = "renesas,r9a09g011", .data = &soc_rz_v2m }, #endif +#ifdef CONFIG_ARCH_R9A09G057 + { .compatible = "renesas,r9a09g057", .data = &soc_rz_v2h }, +#endif #ifdef CONFIG_ARCH_SH73A0 { .compatible = "renesas,sh73a0", .data = &soc_shmobile_ag5 }, #endif @@ -432,6 +444,11 @@ static const struct renesas_id id_rzg2l __initconst = { .mask = 0xfffffff, }; +static const struct renesas_id id_rzv2h __initconst = { + .offset = 0x304, + .mask = 0xfffffff, +}; + static const struct renesas_id id_rzv2m __initconst = { .offset = 0x104, .mask = 0xff, @@ -449,6 +466,7 @@ static const struct of_device_id renesas_ids[] __initconst = { { .compatible = "renesas,r9a07g054-sysc", .data = &id_rzg2l }, { .compatible = "renesas,r9a08g045-sysc", .data = &id_rzg2l }, { .compatible = "renesas,r9a09g011-sys", .data = &id_rzv2m }, + { .compatible = "renesas,r9a09g057-sys", .data = &id_rzv2h }, { .compatible = "renesas,prr", .data = &id_prr }, { /* sentinel */ } }; @@ -513,7 +531,7 @@ static int __init renesas_soc_init(void) eslo = product & 0xf; soc_dev_attr->revision = kasprintf(GFP_KERNEL, "ES%u.%u", eshi, eslo); - } else if (id == &id_rzg2l) { + } else if (id == &id_rzg2l || id == &id_rzv2h) { eshi = ((product >> 28) & 0x0f); soc_dev_attr->revision = kasprintf(GFP_KERNEL, "%u", eshi); From patchwork Tue Feb 27 23:25:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13574590 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 84A3EC54798 for ; Tue, 27 Feb 2024 23:26:39 +0000 (UTC) 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=uYWTcltAXADYNbjF3R9YLaaV/PN+J6gm3JQaYkbVg8E=; b=A+hI4KAzyM0MCA NiFbjkA4OqJbDl735UYuc1g/qYFHJLOETSqxtMr8KtCwVQB2g7q40Pn2l67fcfHOtUfFeh864+qq7 mOy5sn2JkmatPkMsNE68YQxHHsPdP86dXtemGit/P6V5LEOxTAGDHa4P0Z1A5/b57U3FLlRoS7iX5 RdBI0+ZriJfYqlg6boWQhWs88kONwjIfjbHeA9Vb27dHiCybT+pPbxHLUQ+Gimbk3K9X7F6fmDf87 5tGyjnolGPqihOrX6n7riU/NJ4Bs9y2Toh/C6nad02jVIzwZMERWj3zVihthZ7d4fhQ1LoIy5pD9V OXALyD6w1uG3YyDgKIrg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rf6qC-00000007El7-2xT4; Tue, 27 Feb 2024 23:26:28 +0000 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rf6pr-00000007EZl-1VpV for linux-arm-kernel@lists.infradead.org; Tue, 27 Feb 2024 23:26:08 +0000 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-40fb3b5893eso37693315e9.0 for ; Tue, 27 Feb 2024 15:26:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709076365; x=1709681165; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YhEo3Syaw+1D/UqZTo0d5+c1XDDsjDM+0yQgqzieH6I=; b=Ico6idPZ1F5TAQdesnHHyP+c0QMuawCxkZCbSgRzdfjEGrHRz6LnDKu0giHau7/e9f KQPuGVSEtqNrgkX314hMLkbhtC9oMSM9dzvlgC/PesYS/OEU4adLbrENQGdGANBz9mKZ CiGI4/2j8W1sCaXBcEIi49LnqR1RkbUP6I2ZDgL/ECl9AvpaIoThzuaKawIKtrB3YIik j1DjFx1ANsst9n+tMQmELhiBOF5gQH9kDLwaKMeALuUXe9IUTodYXCiGoQvfDSXbOosk TtJSIJFJex8lzs5eIcIIh+kYO8GBqqEkjFwEGJOO5obOgt7AUun8jhngJqFxRykF2Pcf m/iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709076365; x=1709681165; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YhEo3Syaw+1D/UqZTo0d5+c1XDDsjDM+0yQgqzieH6I=; b=VzXV9IXFoJWP/ac3Hpq6w9X677M9rWtSDDv8a0aB6oAUa4A9epP5JzNyTKJssZ82uQ g17Dw/wEbg5MIuvsPRKudWnfKumPCPi6GdakEKRI3kWemNakfcZllbSSL0x+7HUQKKaa obvXB7KM8JCCVyHSudqbQZldE+jzVHzClf5H7CcgvX/aF0ztZVHndAbzYid1ceokKmbQ 4Bb6FXIPQQnH9hO0+vm5KWs1fMqCnbs3tUXXa3HrLOg0fpypcAY6ZsNrquYYgt18YMyN CFuP6u+29tMG8hUzCI86pYaAnisl83d6xAVQ0386qJvgMEC+nMs2it5fra7nSIshVCtR lhWA== X-Gm-Message-State: AOJu0Yxt2Lmq9/u40L2lZOH32us7Cr3MFWG/Jd0YuH1uycu/F75lU0vz ve96fzp5bWtYZ9W6PiozC++088G1z0Bprv9P+an0YPETSJ01NwBdH2eJ7gpO X-Google-Smtp-Source: AGHT+IE5cIYZP/pJspkNW0mFurBM2o3ODZa4zFnZfzPeGTaQE6+YzT3Cy/WJPNYgR/WrURSqQgOMVw== X-Received: by 2002:a05:600c:4885:b0:412:981d:2889 with SMTP id j5-20020a05600c488500b00412981d2889mr7465933wmp.40.1709076365455; Tue, 27 Feb 2024 15:26:05 -0800 (PST) Received: from prasmi.home ([2a00:23c8:2500:a01:e6a2:98b:e06b:631a]) by smtp.gmail.com with ESMTPSA id co22-20020a0560000a1600b0033d96b4efbasm13014444wrb.21.2024.02.27.15.26.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 15:26:04 -0800 (PST) From: Prabhakar X-Google-Original-From: Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Fabrizio Castro , Lad Prabhakar Subject: [PATCH v2 4/4] arm64: defconfig: Enable R9A09G057 SoC Date: Tue, 27 Feb 2024 23:25:31 +0000 Message-Id: <20240227232531.218159-5-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240227232531.218159-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20240227232531.218159-1-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240227_152607_457662_3343CD5E X-CRM114-Status: GOOD ( 11.03 ) 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: Lad Prabhakar Enable support for the Renesas RZ/V2H (R9A09G057) SoC in the ARM64 defconfig. Signed-off-by: Lad Prabhakar Reviewed-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven --- v1 -> v2 - Included RB tag --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index f9cc5bff157c..5d51ab7d14a3 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1387,6 +1387,7 @@ CONFIG_ARCH_R9A07G044=y CONFIG_ARCH_R9A07G054=y CONFIG_ARCH_R9A08G045=y CONFIG_ARCH_R9A09G011=y +CONFIG_ARCH_R9A09G057=y CONFIG_ROCKCHIP_IODOMAIN=y CONFIG_ARCH_TEGRA_132_SOC=y CONFIG_ARCH_TEGRA_210_SOC=y