From patchwork Thu Nov 3 20:55:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 1130 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a40e:b0:83:7221:86ba with SMTP id ck14csp1104067dyb; Thu, 3 Nov 2022 13:57:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6etpcJrYXhgM3oyf52b9UYigqcC40Zkb4hNJzGQic5dIBdN0pdd8AwrLI2Ymo09O+GXtTD X-Received: by 2002:a05:6402:524e:b0:461:fa05:aff8 with SMTP id t14-20020a056402524e00b00461fa05aff8mr32395362edd.283.1667509053442; Thu, 03 Nov 2022 13:57:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667509053; cv=none; d=google.com; s=arc-20160816; b=FAtefzjh5FX9tFGSLXNspaLnLzV5AzL9cetM5fgO3gQyKh+c14nIYJu9WWCHjR1C9C qsyQtqejBtuDvaVf/xB6eJ0w1tFp5euzF1428vFgx1EGBBbLeXucLPXNKKNEaibJoLYN UilM0mGmjrAnOOoen/c0py1j0/WAJguBIJ4y9DLC+uKIssRizC9j6VTM4Q1sL6RuvFnO dXM8expQK4Adbj2oX76jDNSSJMc8gFILdBXy977sBam3GfXUTIyIO8QnLqcQSftkr/AF VTOt3eFar3ivKe0zoLZqYfUTxASreY1TwH1FqLvz7gq86zxMs3AOIOLPi40/rG0pAkN9 ZAsw== 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=10iIyNpJBWXMgUPwwQphux5WHTyqKltZBZ+/1+dgxcI=; b=xBtI/HDUEQztJi90xelkZBp2anwuzZi4How5but0RTLutqm5pfgbd/bpnAdjT7kTvH s93UAfN7MEelbOhDt8c+HAEERi7qT/iky3r+MitfiNasFia3XfNmkgUbb8NYNQisjOTg rEduaPfKHBXehustKomX2djijS9v+jmfuLkQIoG1KkpAquM8lPjVEkc9AmIM21OahMVz nTqCzlKWv7tsnAk3puBxYBGTokR08vh7G4tFEHtsai5fiswNu/02+6txnjAKDttcvup9 mOmoAw8Jw/0Ih6BBj546A7t3YRthIRAM5Gb30plZDpBQkV0f6xMkLOVB/U6OuHa2+xjp Z+0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b="rxRDac/X"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q1-20020a170906144100b007ad8a7a1a7asi2126382ejc.511.2022.11.03.13.57.08; Thu, 03 Nov 2022 13:57:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b="rxRDac/X"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230388AbiKCU4B (ORCPT + 99 others); Thu, 3 Nov 2022 16:56:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230376AbiKCUzz (ORCPT ); Thu, 3 Nov 2022 16:55:55 -0400 Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BCB720F61 for ; Thu, 3 Nov 2022 13:55:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=sang-engineering.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=k1; bh=JWjIjltlEQXtONld3iwSzFWfb1s APlyroiYNxkfAmBQ=; b=rxRDac/XSEVNcpceFHptYTNrmGWgOJ8+sjNdQZEZovo 4ZA7x5wemWPUC3+Z3+xvfmD5eYPjErYGgvO2pan0sLrJTC7+nlXBp5yhP4O28/jH eFpd6BVCuAH+a3GJveUuEUZLMFaoDCFotGBiEa7AgsK5LCCVOUv0fzAj4Gp93CJI = Received: (qmail 2787654 invoked from network); 3 Nov 2022 21:55:51 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 3 Nov 2022 21:55:51 +0100 X-UD-Smtp-Session: l3s3148p1@8EKvLpfsuOUujns0 From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Wolfram Sang , devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/4] r8a779g0: add TMU support Date: Thu, 3 Nov 2022 21:55:41 +0100 Message-Id: <20221103205546.24836-1-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748509972867647629?= X-GMAIL-MSGID: =?utf-8?q?1748509972867647629?= Here are the clk and DTS changes to enable TMU timers on the R-Car V4H based WhiteHawk board. Tested with the 'clocksource-switch' selftest. Nothing special, very similar to S4-8. Happy hacking! Wolfram Sang (4): clk: renesas: r8a779g0: Add TMU and SASYNCRT clocks arm64: dts: renesas: r8a779g0: Add TMU nodes arm64: dts: renesas: white-hawk-cpu: sort RWDT entry correctly TEST: arm64: dts: renesas: white-hawk-cpu: Enable TMU .../dts/renesas/r8a779g0-white-hawk-cpu.dtsi | 24 ++++++- arch/arm64/boot/dts/renesas/r8a779g0.dtsi | 65 +++++++++++++++++++ drivers/clk/renesas/r8a779g0-cpg-mssr.c | 6 ++ 3 files changed, 93 insertions(+), 2 deletions(-)