From patchwork Mon Feb 19 16:09:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13562874 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 B966FC48BC3 for ; Mon, 19 Feb 2024 16:10:16 +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=ZZHLFHq1dMdL9yiV2FDZPNBTXH0dP7mAzhIETYQFgm4=; b=xHdm8VB4ZPZ3QZ 3aM2bgy9l7MqY1rvQjbp2uwqKMOTgpJrjqS9wMSjkmr6VsjKVEV0HIOeepUcSh6qJyviIeKiGYFVU sLlWVvA2Gs9rGdDWXLAk3JuSRpBZQc3oSGwM43uKT/veDYGP3DS7KfFC12hhjIQ6Cj1+jj8YTwnuB G+zSfYRFnmxBvQPzc3Nnr13tr9B3RR9gsoSJb4G8FL6yZMmIU+MImvSv0V9tTUFZ/DIWMjs+2QjvH lALQEIkM0tT8HVTbOwZA2t9e/f3ffGJQA3beWHqenYBUQeDFI9izZ2mxBrm80EF6ysgEC+utGZY2R VujPKanQOZ9hS/JsHeDg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rc6DT-0000000BHG0-2Xd3; Mon, 19 Feb 2024 16:10:03 +0000 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rc6DM-0000000BHBy-3MVs for linux-arm-kernel@lists.infradead.org; Mon, 19 Feb 2024 16:09:58 +0000 Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2d21a68dd3bso40483131fa.1 for ; Mon, 19 Feb 2024 08:09:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708358993; x=1708963793; 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=5h1gyFepUXpminNkUQmVqPlZQwS+g2zBZirXjStpZCk=; b=nZ3wCbFUuyuuCwC6rIzJUO6OUgjfgbAJb6veJybBREHoZ7IHGVPNs6BCLZEf4xQpwu J1eUm7wpcuZboPfHRxHSyjKIAdJkef7umSBMuFR8TH1VZEi0Xoe0rcC67MTDjLXG9d2P X/T+bsiDSsPzlVa/iSB31M2DCdHMvqgYGVm6scGsVKStA8Jd1eKf/Vi4hJTPXuFb502w es0/CibUjINb21vB7fqxdHqz/YBX1RX4agDgafPvgbrXzK4or3y/jn/RvHgItui8Hzrz 8UqzDRxZ+HzKypk/cGrHBl+beu2S+rZjCnhEy6y5zKoerbqTvDjieTM5sL2dzqM2D9h+ APjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708358993; x=1708963793; 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=5h1gyFepUXpminNkUQmVqPlZQwS+g2zBZirXjStpZCk=; b=BtQTYg/mTz2EFAJXMQw0trm5NZORAFcfsc/GDGl09zAXfZBPfviZjv70ZXXHHkIBdb sfMc9TsEwEecmcIYw8gdd+ZRZuOkZ75CZIyrLJHMAsc0tIlZjp6eDJ2aw6/5T90fak/C aPcvawXwMgaT92ZPi1w3zkBzMdwTngWg792q3T+8oSVdjwLYWAgJam6kFEgUACGv5MqM MEXcCxRLe/diyNUur90sEWJr2Ov3chmEEwKLboecK8eroAktEcwYMoysai0NsLMCeEQA JLh588xlsFOFTZ5nb9VU2DS7ESrAn1Yw1D+mhDlV2LX0uReFn/Z2thM7OZAqUx4ABPHy 6Paw== X-Gm-Message-State: AOJu0YzZdaxyr7qX0Fbz1T++89HhtB0+wtRHQnP3DPXEBmviCrnQ4eXP WwX1g0jq/XeEkM1Qr3HjCNvxClDDXdTZtFXvd617EHm/eUhtCxGZ X-Google-Smtp-Source: AGHT+IHXJ5jdds4R66iOr1SPOl+gYdrMt7Xb0LSwije1srKFZ11JFY5D4isRYUHLrSTGw8YTOqfmOg== X-Received: by 2002:a05:651c:b12:b0:2d2:3978:a14 with SMTP id b18-20020a05651c0b1200b002d239780a14mr2846870ljr.34.1708358992385; Mon, 19 Feb 2024 08:09:52 -0800 (PST) Received: from prasmi.home ([2a00:23c8:2500:a01:3c2e:cd45:f50f:f083]) by smtp.gmail.com with ESMTPSA id l14-20020a7bc44e000000b00411d1ce4f9dsm11592670wmi.34.2024.02.19.08.09.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 08:09:51 -0800 (PST) From: Prabhakar X-Google-Original-From: Prabhakar To: Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Fabrizio Castro , Lad Prabhakar Subject: [PATCH 1/4] dt-bindings: soc: renesas: Document Renesas RZ/V2H{P} SoC variants Date: Mon, 19 Feb 2024 16:09:09 +0000 Message-Id: <20240219160912.1206647-2-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240219160912.1206647-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20240219160912.1206647-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-20240219_080956_869533_18C438A4 X-CRM114-Status: UNSURE ( 9.95 ) 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: 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 --- .../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..109fbc8d48db 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 Mon Feb 19 16:09:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13562873 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 D02CBC48BF8 for ; Mon, 19 Feb 2024 16:10:13 +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=RsfvaLrakJ/2GnmkumPvRssU47kCEm+IBSNyzOfGemc=; b=PTooWnDweVUevr BKjtNBTIulzTpcztzV6D//m+8UAOcIB4u/h6t1NwX8x8Y56tmYgGbTWxFDgq5hxh05bJRzxmtnrEv PEKC0Kt5/r6vMC86EjeKpbJzOhNagiovLgH+g1aUlHUaTNS8BEmJ1F5hZxrJyky7LH5BTTTxHUHrJ hZWhAKNFYPB5zemBuaCusnqnRYfeJr/3y0egNxsbNFpuDXxAA9V9qrUzeD0xJ2M2+8GU8gYmpchlh 9THD9/h/hCVzG9aVDEsZuKAAMjFJsYtHrXV0sKeOK8XAxUeQCJxvoGCwPb0sjQpWNrHa6aoYyuHhJ vguw1jMlvp34FBDJyycQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rc6DS-0000000BHFP-3wqa; Mon, 19 Feb 2024 16:10:02 +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 1rc6DK-0000000BHC0-43z0 for linux-arm-kernel@lists.infradead.org; Mon, 19 Feb 2024 16:09:56 +0000 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-41241f64c6bso23957035e9.0 for ; Mon, 19 Feb 2024 08:09:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708358993; x=1708963793; 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=Xh9vUfoHPZFnPPcTVso6vUO3bMJmWkfyYVswHNjvUxU=; b=g/bv1v4a5WEhKkLtYBPiEiKdqj3umx9i9Dudq8/ResXbDh2HRPx5iWE1J/7oSN+R0s JgjxCrk2sB2kYSU0GGNNm82FE9ETWgFc/gISD2uzrDxy/KslH5gUeg3eAjsg5imqiB5K vstuoGtoINa79mh6QGKFryMi3IHoyxBNBK7JmRfvZeNdOFWSD/ay28pcGrd03l+qE8Ul /6+ON/l+kYcHeGdsGqwY6+lv81XyYg7E/6OJaBeFDedM7wU7szz9jFiqzxeH34NMIYTK Wacl//QuZnUqdNbBnKF31xlp8uNmgw3wi5h5BYBkTTQgioBqJjtbFoWblc1d1cxJ2uo8 8+Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708358993; x=1708963793; 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=Xh9vUfoHPZFnPPcTVso6vUO3bMJmWkfyYVswHNjvUxU=; b=fQsvLu5LFWyHDxzZBw4Ue34FVa3Jk53RaSIcNbAbPzHpjnwGPz2Zcy9LobvfiIGt0l Qgrrbe4/ArzOlwPYSRzSmQOsFXMw4FtIZgVGo/pbNwPHPEQtFV0STRwahyes6ef+tRJE Sh+8GomxJkdmRoC13HXcVOztwsyn5xBdwVy+oNbuLSObZjKqwj8O53eEuQUT4jwySUi0 LmeGuCYlV9LsxsNeliz+GtrHwBwe4wyCnQZveNSRcfl2WpibDB8rEr2ULI0XGXe9ViZg LLmF3gL2MaA+uJG9YiNruBsRrC8lxLigxRtQVdE3piDZ0JMJjyNMm8ASZ1sXDWXYYop7 KkYw== X-Gm-Message-State: AOJu0YyvG6hg6KN48NfbsFguiyDDMpFDVXJJbEcB/uOR8JQ9331oV8qk FCGkcYVszqbT+iLEyDWYtxahcVDA+LmMKdvDPEDP8x9dqApCrOOs X-Google-Smtp-Source: AGHT+IGwHO1+9bzW+aeUsfuP4YK/bsb8fDl3AXVY3KJdwWdOV6wi0ZHETgfjh87YtN31Ug3+vIUc7g== X-Received: by 2002:a05:600c:1396:b0:411:d889:f3cd with SMTP id u22-20020a05600c139600b00411d889f3cdmr8958674wmf.34.1708358993362; Mon, 19 Feb 2024 08:09:53 -0800 (PST) Received: from prasmi.home ([2a00:23c8:2500:a01:3c2e:cd45:f50f:f083]) by smtp.gmail.com with ESMTPSA id l14-20020a7bc44e000000b00411d1ce4f9dsm11592670wmi.34.2024.02.19.08.09.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 08:09:52 -0800 (PST) From: Prabhakar X-Google-Original-From: Prabhakar To: Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Fabrizio Castro , Lad Prabhakar Subject: [PATCH 2/4] dt-bindings: arm: renesas: Document Renesas RZ/V2H{P} System Controller Date: Mon, 19 Feb 2024 16:09:10 +0000 Message-Id: <20240219160912.1206647-3-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240219160912.1206647-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20240219160912.1206647-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-20240219_080955_037123_7A887787 X-CRM114-Status: GOOD ( 16.26 ) 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 --- Note, the reset index in example node will be update once the CPG support is upstreamed. --- .../soc/renesas/renesas,r9a09g057-sys.yaml | 59 +++++++++++++++++++ 1 file changed, 59 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..ba30d7734ee8 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/renesas/renesas,r9a09g057-sys.yaml @@ -0,0 +1,59 @@ +# 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: + items: + - description: Clock from external oscillator + + resets: + items: + - description: SYS_0_PRESETN reset signal + +required: + - compatible + - reg + - clocks + - resets + +additionalProperties: false + +examples: + - | + extal_clk: extal-clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + }; + + sys: system-controller@10430000 { + compatible = "renesas,r9a09g057-sys"; + reg = <0x10430000 0x10000>; + clocks = <&extal_clk>; + resets = <&cpg 1>; + }; From patchwork Mon Feb 19 16:09:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13562872 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 072E2C5475B for ; Mon, 19 Feb 2024 16:10:14 +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=SS8UepXPinvbMpuO0qi8ax0sFLZy/EWgQOKOqT/Vj1c=; b=cwGib46haKbLvc 7nGRB46turhfQcqGm0tYdu82SvhifnM6sNeWoxsnAvjQTHG+vjttuw0dch5VKeNi5+4rEREmRvd+P g0qLjqkjf1CEmN01uqy8TNSAFHpujt5pAM7nO3w05B13zdtzYqjk+2fOYPgHKKGt4YwKN5TsVJtIg W861SwrPt9LfEJnf2YW9ySo76sr29kfqfSaC1i8LcP358h1WMtUDRqFUEpC7UAfw+A3cjIVrA2/Fg coX6CQvn8XZKczkAOT8dAXqyKafvGi09kyMJQvCIz9BY3yBAf/s0CJS15oQ8jJE/OYurxHKT1rlrg nv/Z/BScVimS2LEMIlgw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rc6DU-0000000BHGe-2Xyf; Mon, 19 Feb 2024 16:10:04 +0000 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rc6DO-0000000BHCo-0Cxe for linux-arm-kernel@lists.infradead.org; Mon, 19 Feb 2024 16:09:59 +0000 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-4126aa42402so3698235e9.0 for ; Mon, 19 Feb 2024 08:09:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708358995; x=1708963795; 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=JAty1mWdwmMOLtDVPwWFJ/YPRqG9UrpAtFa4aRlt5qc=; b=JIeo6K5UNAEHNb8947ZQTcJ9bhpqqNyBtWVIqol5mT+4ciVY2PKAZrhfAryTs4kqo+ XHkAAb9QxVEbPs1hFRpsykDMeZ1eMyAK1HNuQ4nT8S0k4HIn4ZNZ5QrR8ruSgsz+UlMJ ftt2CUH10d17Eth3QNQt4fvQi7zFJ9qwaqqXHN99ELfxM/MDmZ66rX5minL1m9BNCw/G 8nzf6y4I3Itos8rLybBXH9dsInZ8+tNRW5P3P7fMIUue/mrsYh3kAkBHr/jMA2Yg8v6e 5+bMhKLyETgSAt8lrTnggWltlVC+sQTQT0L4R8JFlkwdO/DrOIcNceUKYO1bBiaiplWe zFLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708358995; x=1708963795; 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=JAty1mWdwmMOLtDVPwWFJ/YPRqG9UrpAtFa4aRlt5qc=; b=IbN8OUxT6dEXLDK4AJkD32hshzAbIsk8RFDNebdXI67wH9ixDE2oGdf+ny7Ch1Pr1w 9aJy0kvx3RSsIa+7DR5PgzWnnTqE/5RW1Y9XhNvoESGLzEdq1pPa20aXvhNe2EKnEeLF RqiqdCVnhgHDGkUpuDrL96dzRWUsWey0q/AIaZo4Dvk21+k/+GfZGwCdgjQOk040qes/ RSiGkzMSHLsDRGTne65rom2LyU/fdOhNcRzpi0W+dj1XUpalF/4BxMATt0TX8pKmwO44 kwRzecEETfxR71U8CW5Zcd2jkUwUCFOaGiP60d+u9qf/caW2o4+Bfb8Y3FEF6SLWY87U /7vg== X-Gm-Message-State: AOJu0YyIzw5c90Ejy+9THAu87K1llKNf90On8wHX4IrKGPDcqcBkt0q1 Hf9+YC3Ni5GiJHwWpLKTl37EftbHpxeh2nB8F7TJZy9F/l8Qz4Wx X-Google-Smtp-Source: AGHT+IHrkzblkrWsemQP5Dqf+bUZAM56ai8td+o/veIe6vP6nnk/AAMbYi1zMp751ZFku+6MsMv4Rg== X-Received: by 2002:a05:600c:3790:b0:40f:cf69:3e1a with SMTP id o16-20020a05600c379000b0040fcf693e1amr9584304wmr.39.1708358994673; Mon, 19 Feb 2024 08:09:54 -0800 (PST) Received: from prasmi.home ([2a00:23c8:2500:a01:3c2e:cd45:f50f:f083]) by smtp.gmail.com with ESMTPSA id l14-20020a7bc44e000000b00411d1ce4f9dsm11592670wmi.34.2024.02.19.08.09.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 08:09:53 -0800 (PST) From: Prabhakar X-Google-Original-From: Prabhakar To: Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Fabrizio Castro , Lad Prabhakar Subject: [PATCH 3/4] soc: renesas: Add identification support for RZ/V2H SoC Date: Mon, 19 Feb 2024 16:09:11 +0000 Message-Id: <20240219160912.1206647-4-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240219160912.1206647-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20240219160912.1206647-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-20240219_080958_621835_B161A1C3 X-CRM114-Status: GOOD ( 17.38 ) 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 --- 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..78d656d7699f 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..499d120f9978 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 Mon Feb 19 16:09:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 13562875 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 4975CC48BF8 for ; Mon, 19 Feb 2024 16:10:17 +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=19coNmylNAdIDs77e7BoJAQrNoZwNI2zrfY/GX4n488=; b=dnDyRPwaGJUgNH JpMuN2cJYAf2d1ArTUwpgHLKmyQInOprXCcjZ/o4zIbfRDWvu9+DGii0zqlRlDlTqWTiwpziLC5nE 55d7JlCojI338UClNOeOSzvp0a+rh4s1rYEs3DTyJj4JlqmJw80d+MeoCSY/ai4NuzGJ7EMPAfvtu 4cjYkGOtxnq+Tq1lwY9v6yvdo1xwaKa7Ntn5mKtYhEZPKBCjwc7VEmTWg10msYscPyPFJl+Zrd3ga cM0D+WLZPGGw7eBTz2wv0yvcC3DgAwMjVIL8eIolMkBqfW5jcdc7J1a+urxclWSMm0rwbpeZXvLgX wKwz1AqE2RPMxRutJxNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rc6DV-0000000BHHQ-2Mmm; Mon, 19 Feb 2024 16:10:05 +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 1rc6DO-0000000BHCp-0E2V for linux-arm-kernel@lists.infradead.org; Mon, 19 Feb 2024 16:09:59 +0000 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-41268a88cdaso5704495e9.2 for ; Mon, 19 Feb 2024 08:09:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708358995; x=1708963795; 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=IcSzz7g/FXeqXPU2ZtW7Zce4uvUpW6Qhsx4YHP77Rr0=; b=IxUurFQwOcG8w23RyUA6gWaea/ltuTFB28uuObS0/rmFM7MgrPNvZypyYVmgTV6hrL ObT5waFi/xUasp62rcLVq9oQ3LXg5RJVfTPp0/a+Z7ed0p+eFT4LXYl6e0NYPcMl1Y+x /SdPXRFXM4OePmlqzg0gwAxqEm6nJleJuGKCOiyah/J/kBitPhvap/sSyiaZGFdPqZYj Zh6dOSjU92KugNcumUYHlnFBipkOy/Br0rs8RoZFDFbz/+x/CXaYQ3XO4Avqaa8vm986 w0kKogz64B7POMYJS1WGDHyLJU7dNm7pOkOkfqRlEUhfmbE7a9nUXZfTqZdAUGQQG1V1 x96Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708358995; x=1708963795; 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=IcSzz7g/FXeqXPU2ZtW7Zce4uvUpW6Qhsx4YHP77Rr0=; b=hDf5PwZkfYQZkryZq3GnFunc8XXlECX5kbKXV8FfKF1GFy7v9pNkezPcFmQgaVCQMy uVNe6+56wsZbkyTPil5PeQPaEKE/UjIYpITIkTvff+Jq5/HTrRWowYPYD0ZdTkNia9Of yRCS2tIRVOBtZr5nk+7ay3zV8+G09E8IGsRECyAEdQbFTAHIwH89cY91fnpDWcChw//f ZC/m/dloZI+1agP05p1GraxverBBbFspAJcIwYYq8yaJqjQQqMITPlCBiQFGHGC2zOYD ZyJ85XRHLTcXIfFPqZFzFWHXjeY9EprInMK1z8af5X+defKqCz28hqxoVAoNxK7Y997u QtwA== X-Gm-Message-State: AOJu0YzvuRRcCRyexxy1oH6OmmFH19Az60jZ86wK0PnAKDEiOa4dt5uE p34uraQ88t7wb/FNDPoFmCbrV3iOdN+QT4nJfHHmEpQbK0FTsDJl X-Google-Smtp-Source: AGHT+IHYJOd7OkQJ+RxOn3mWD6F4cG3u5619ahizdkR4xGYSVkPM72ZOGf5heQNBoSanegiBRAFEzA== X-Received: by 2002:a7b:c850:0:b0:40f:ed18:f74b with SMTP id c16-20020a7bc850000000b0040fed18f74bmr8844128wml.35.1708358995582; Mon, 19 Feb 2024 08:09:55 -0800 (PST) Received: from prasmi.home ([2a00:23c8:2500:a01:3c2e:cd45:f50f:f083]) by smtp.gmail.com with ESMTPSA id l14-20020a7bc44e000000b00411d1ce4f9dsm11592670wmi.34.2024.02.19.08.09.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 08:09:55 -0800 (PST) From: Prabhakar X-Google-Original-From: Prabhakar To: Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Fabrizio Castro , Lad Prabhakar Subject: [PATCH 4/4] arm64: defconfig: Enable R9A09G057 SoC Date: Mon, 19 Feb 2024 16:09:12 +0000 Message-Id: <20240219160912.1206647-5-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240219160912.1206647-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20240219160912.1206647-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-20240219_080958_626371_573338B9 X-CRM114-Status: GOOD ( 10.90 ) 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 --- 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