Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp288128rdb; Fri, 6 Oct 2023 03:42:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH/1VFIWFh3TIVeIoBCFWHFffqNgUgoC7Qw3O/sexUe6MWRbcDQ81oxpJ0oEf7VdSso8obU X-Received: by 2002:a05:6a00:84b:b0:693:3cac:7897 with SMTP id q11-20020a056a00084b00b006933cac7897mr8784489pfk.9.1696588951637; Fri, 06 Oct 2023 03:42:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696588951; cv=none; d=google.com; s=arc-20160816; b=0IOe6dQb1cCo8MT4rBy8eT9YsynQSCrJjnRvio+BPd+NY6Ei/hw/nvEOQNAWWy4erG P3S3HxAaWjQDkai1QekXUKo8SCPCyawraCYye6/QM8YS3EB38++cEekaTF/xJ0CzpulN SyWkUjPW2E4UpvSDsXpDLWDBSchNTfOBzwnv7RHBqQnnVrSkol4pdtiHWClsnV2ZW+VS zCAfNvxbHFQugcNmM5tQ6IeZt9ww/mKmffmcFq4WUFCsN6mShK05Xj51zgnRtXgw1in4 7BoT7uP21BWCJIuHqkg+PVMUFaq0EigMhfaQRc5itR7iqxPotau0Qd+RNnA/oyXb+k7N HAOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=KeQqgG9kHc72c2g0exnbDlVNb4xPw3G7iuO/4geTEVQ=; fh=fYT+7h6ujAsHtdcGPDh+dwkfZ5enFK++rK4CZpGP4pE=; b=Y4fl/lhFwm9PblRed9pjwlNy3g55dRZTMcafXdhsZdbbtLwxJrPvlJNRS/37PAm6r/ JGgtOZ9qc/N2v89IEbrUzzs/td7VnB0SxOdVWnWVu4A84njZZkPIhi+gxNgyxvBW4DbU Cs/dmCI1FctOoSKZ8mdPobIQDkP8gRZ4ge7pMxPcDHX+MXfuuKSwbu3cai3BVeI2oMq5 CXGSmE6e0UnXnr/bI+uAQYa1Qrk3QsM3uMO4W55lVw1O9UYD+0s6h/ufR3vw09uy7pUB UxxcBdfyTfKxqBbLumAD7WStWKSU8TEXp6W22Vrs+HPaNq3tvM8hX6NDr+JMVn8Fbj+m h8jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=eVaKKxPV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id j13-20020a63cf0d000000b00589876a1c18si1568335pgg.209.2023.10.06.03.42.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 03:42:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=eVaKKxPV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 19B5680384F8; Fri, 6 Oct 2023 03:40:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231818AbjJFKkZ (ORCPT + 99 others); Fri, 6 Oct 2023 06:40:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229938AbjJFKkY (ORCPT ); Fri, 6 Oct 2023 06:40:24 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E76E9F for ; Fri, 6 Oct 2023 03:40:22 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-99c1c66876aso372507666b.2 for ; Fri, 06 Oct 2023 03:40:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1696588821; x=1697193621; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=KeQqgG9kHc72c2g0exnbDlVNb4xPw3G7iuO/4geTEVQ=; b=eVaKKxPVNCaiezl69xNhZrzLn9Li3v0m4TrLKxnFAqJbdyZXvr72PJICTyXDKw10g3 m9X/L8xui4uhSqYiNv58mmBqqyUgvkN9dEuRy3xUJs1lNRLXBUDA1VR0t69/twUgwfX4 fLe7w2kKDSAMQoc5P8GpvX13feseMsiuxXEazYOU5sEIElUCASUQhufuMibB4IKZkZOs 4yk3GxVABsKvyVTA1ivQNT//ezcjeefA0W6lKMomDs4DYEAJLLnxFK4fARnKiDM21vy/ IPRXXstR8Ax+cxddcuqz+b2imLUg1kegX7JuZHL+mQD8KSg7tV2iGCECgM2NgdNDvzt6 oxyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696588821; x=1697193621; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KeQqgG9kHc72c2g0exnbDlVNb4xPw3G7iuO/4geTEVQ=; b=kWHnVfr8EIvXJsxi9EC1OIMSBvVEAZU5aovwuxrQsansLQDHYnvR8eH9m0+M3re3+n PHYuTsAVoaVek0Kme6AGmgldfzrKNBQip9Vi8rd+xZrxYbCZu6L4VagRT94ygcMABZiI JaTrorjtA+YI1Eric64z+96ZhGc2e/2XRxsrkL9pSTosezxaRMS2W2h7ivhw1Y7z1uRB U9UunUE9GXKC0RBqO3y0s/PR6A6mqI/9RGKkuHFHaCfMxQgWNQGhRToUYOSoWDfNKuye TAmuI3Z2Upo28d0CFzOoW8NpZWAwDh0JPFZ6u9iVKLtfOz1BeRFFDgUTD7bODAdjKI/k ncng== X-Gm-Message-State: AOJu0Yz7pNSv4tn/jV4Gd7DrDlzqTBieqke9STXwDh+EthjkqCgqmgwH dEoxXt+NHdRn2TgsA0+cAQ9jtw== X-Received: by 2002:a17:907:78d7:b0:9ae:3a68:93e8 with SMTP id kv23-20020a17090778d700b009ae3a6893e8mr7117382ejc.14.1696588820745; Fri, 06 Oct 2023 03:40:20 -0700 (PDT) Received: from claudiu-X670E-Pro-RS.. ([82.78.167.24]) by smtp.gmail.com with ESMTPSA id br13-20020a170906d14d00b0099cb349d570sm2642490ejb.185.2023.10.06.03.40.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 03:40:20 -0700 (PDT) From: Claudiu X-Google-Original-From: Claudiu To: geert+renesas@glider.be, mturquette@baylibre.com, sboyd@kernel.org, gregkh@linuxfoundation.org, jirislaby@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, magnus.damm@gmail.com Cc: linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Claudiu Beznea Subject: [PATCH v3 0/4] Add new Renesas RZ/G3S SoC and RZ/G3S SMARC EVK Date: Fri, 6 Oct 2023 13:39:55 +0300 Message-Id: <20231006103959.197485-1-claudiu.beznea.uj@bp.renesas.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 06 Oct 2023 03:40:42 -0700 (PDT) X-Spam-Level: ** From: Claudiu Beznea Hi, This patch series adds initial support for The Renesas RZ/G3S (R9A08G045{S33}) SoC. The RZ/G3S device is a general-purpose microprocessor with a single-core Arm® Cortex®-A55 (1.1GHz) and a dual-core Arm® Cortex®-M33 (250MHz), perfect for an IOT gateway controller. This includes: - SoC identification; - clocks (core clocks, pin controller clock, serial interface, SD ch0 clock) and corresponding resets; - minimal device tree for SoM and carrier boards. With this series Linux can boot from eMMC or SD card. The eMMC and uSD interface are multiplexed on the SoM; selection is made using a hardware switch. Patches are gouped as follows: - 01 documents scif support; - 02-04 clock changes needed by RZ/G3S Changes in v3: - remove from series patches that were already integrated - addressed review comments - please see individual patches for detailed changes Changes in v2: - addressed review comments - collected tags - removed from series patches that were already integrated - added patches: - [PATCH v2 19/28] dt-bindings: pinctrl: renesas: set additionalProperties: false - [PATCH v2 23/28] dt-bindings: arm: renesas: document RZ/G3S SMARC SoM - [PATCH v2 26/28] dt-bindings: arm: renesas: document SMARC Carrier-II EVK - please see individual patches for detailed changes Claudiu Beznea (4): dt-bindings: serial: renesas,scif: document r9a08g045 support clk: renesas: rzg2l: refactor sd mux driver clk: renesas: rzg2l: add a divider clock for RZ/G3S clk: renesas: add minimal boot support for RZ/G3S SoC .../bindings/serial/renesas,scif.yaml | 1 + drivers/clk/renesas/Kconfig | 7 +- drivers/clk/renesas/Makefile | 1 + drivers/clk/renesas/r9a07g043-cpg.c | 12 +- drivers/clk/renesas/r9a07g044-cpg.c | 12 +- drivers/clk/renesas/r9a08g045-cpg.c | 214 +++++++++++ drivers/clk/renesas/rzg2l-cpg.c | 342 +++++++++++++++--- drivers/clk/renesas/rzg2l-cpg.h | 28 +- 8 files changed, 565 insertions(+), 52 deletions(-) create mode 100644 drivers/clk/renesas/r9a08g045-cpg.c -- 2.39.2