Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1172986ybt; Tue, 7 Jul 2020 09:18:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyo0qFhY4XCg9dIWrbY+yHbZT0sC3HYocfpocS+MmJ2CYBKDIobFNjlOx2qOMdBPSPv8NNs X-Received: by 2002:a50:9605:: with SMTP id y5mr10377367eda.388.1594138737038; Tue, 07 Jul 2020 09:18:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594138737; cv=none; d=google.com; s=arc-20160816; b=tUq2stYfHP0V7gr3X+2sxJtS9DdH1e8M5ydlVZU+5WLxsUYjJ/UwnIsr7NhJ65dnvn WKvrevAoVtAfs3A/1j2P7He3eYBcVRIANniGuXle1iSyI7VmmhBXNU0TCYScOMasH3fT oAQ22mZd3LNVYrVss6tKXIcahNmePuquVRFOJFjU4qelClWJ+Ti2jBoR6BglrkNQaKqL CdqbW1Q302VmDevYiCNQVwaY67lDJdk4YASLhctAOAGFA9rPYTFZ22O5rwuCAP2a9rhV +R8heX42vLO21qR1hFbPLi6+y23MMD2QgJTAHfNkM+5dWCRPw06fXf61kjdBEbCiRetn Dh+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=eKEQ/0rrcQeb7x1d/hcy50g3b+3MektHJJ+ElIWVQM0=; b=eMQYzFa338NJefY6wRptYDGNjoA9yEXCXqQFTeDTd1qZBN0FXzkfs+j/X208P7cu9l LnkBQI09W331PyQnkurlXzghYaaM2/DGhMHiTuxd3CwF1nEdSBIsTGOmu2Pn58n28HPi AEzu8QS/nzwPumtt6npEj2MPMGlFQ2MBcdd+vlAST/5VB8veWJfU8Y7NLPrwzkUBM4xz OnPZdYDh6W3BhM6nhvJBPgJHST7E/uO22kJpi82ie1C7PE0ve2WHRMcOvtuuncqe+NWJ zz367WDhTOv8FpKJYdvbL0vG0fnMOjtXi+/3dKAfdPyJ5iH4IlnRCKq2ucU4crnobqxx 9EXg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g12si15814684edv.266.2020.07.07.09.18.34; Tue, 07 Jul 2020 09:18:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728505AbgGGQSV (ORCPT + 99 others); Tue, 7 Jul 2020 12:18:21 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:15810 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727079AbgGGQSV (ORCPT ); Tue, 7 Jul 2020 12:18:21 -0400 X-IronPort-AV: E=Sophos;i="5.75,324,1589209200"; d="scan'208";a="51328897" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 08 Jul 2020 01:18:19 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id CA0424015EC4; Wed, 8 Jul 2020 01:18:16 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Michael Turquette , Stephen Boyd , Linus Walleij , Philipp Zabel Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Lad Prabhakar Subject: [PATCH 03/14] soc: renesas: Identify RZ/G2H Date: Tue, 7 Jul 2020 17:18:01 +0100 Message-Id: <1594138692-16816-2-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1594138692-16816-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <1594138692-16816-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marian-Cristian Rotariu This patch adds support for identifying the RZ/G2H (r8a774e1) SoC. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- drivers/soc/renesas/renesas-soc.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/soc/renesas/renesas-soc.c b/drivers/soc/renesas/renesas-soc.c index 35dba8b8814e..f815a6a8b88b 100644 --- a/drivers/soc/renesas/renesas-soc.c +++ b/drivers/soc/renesas/renesas-soc.c @@ -126,6 +126,11 @@ static const struct renesas_soc soc_rz_g2e __initconst __maybe_unused = { .id = 0x57, }; +static const struct renesas_soc soc_rz_g2h __initconst __maybe_unused = { + .family = &fam_rzg2, + .id = 0x4f, +}; + static const struct renesas_soc soc_rcar_m1a __initconst __maybe_unused = { .family = &fam_rcar_gen1, }; @@ -238,6 +243,9 @@ static const struct of_device_id renesas_socs[] __initconst = { #ifdef CONFIG_ARCH_R8A774C0 { .compatible = "renesas,r8a774c0", .data = &soc_rz_g2e }, #endif +#ifdef CONFIG_ARCH_R8A774E1 + { .compatible = "renesas,r8a774e1", .data = &soc_rz_g2h }, +#endif #ifdef CONFIG_ARCH_R8A7778 { .compatible = "renesas,r8a7778", .data = &soc_rcar_m1a }, #endif -- 2.17.1