Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6042191rwd; Mon, 19 Jun 2023 01:09:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6RFAagnW77Li00tEpcpWs0lyGrgR+tozxtbn7MhYOJ9eyBRP8LvDRMa9kAxahThNCmicqA X-Received: by 2002:a54:4e89:0:b0:39c:7b95:ddc0 with SMTP id c9-20020a544e89000000b0039c7b95ddc0mr9725992oiy.35.1687162173232; Mon, 19 Jun 2023 01:09:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687162173; cv=none; d=google.com; s=arc-20160816; b=sm+JoMeHDhXgVE1kPbWT3MSWrjeLjiZvTmi26tQCYdtwDDcw0maqZgr98+Dc/DFBfP 3RznMB2KKWJnRtIXWQ4eHag/120yUBX7DLjONaTmPW0Khg205M3psMc0OXspQTiIpAX1 3MfWR894A9vhP/CZRqaK/XJlitms5ydxigIv3i20xDZ8nq3vxSCvV27rCB4oEstkTg1D uuPicIq3tgWfyk2U2B4QVHhBsvhLCvPKwGYvHIpxVj3+oDJV4FGu/pPrdGGHWuRXZCHh c4C3YSvKtvYm3c3zw1MRztDP9IlPaXfEDLkpWXSBDCi1aYGbFft5+NoqiIR6zdfcKrlp 18hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=XLT9lvfdAFiEjLCfPnpETuMUdRkZZgjFZwjAEwDY3B0=; b=mAR9p5FyoDltgo0Sy1Y9kBddfNQjzRnZZsk6rsKUIbfkFKLa44w6auuRrtW3Hed4Gc fS+Ix8pPnfhbI+M0gSsTE0aGrn33sNdIEwHC84tLFJO5/zq0UvyhT4rs+to4IY+FkwHd g8F5Y0SYepuZjbOZJQ447LOJYcle9R9yaQT0vWpt2IzpYCT/2spSVTBPaEx+/qak4dnf ewXdpIpAWct2Z9f+4y3LOr4NwiiHnGh8/WGu9qLOTyQ+e2l2oqB43aHkmAMGXZkHpnD/ 0/tBB4W8nPfHliMRhen6BOBgVydikKrRCvhXPDUtwb6p+MTnfK+dZesMfv53Zx73stVj UeZQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r6-20020a17090a1bc600b00252835d797asi6983314pjr.26.2023.06.19.01.09.19; Mon, 19 Jun 2023 01:09: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; 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 S229725AbjFSIGV convert rfc822-to-8bit (ORCPT + 99 others); Mon, 19 Jun 2023 04:06:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230187AbjFSIFh (ORCPT ); Mon, 19 Jun 2023 04:05:37 -0400 Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com [209.85.222.178]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 047A41706; Mon, 19 Jun 2023 01:05:31 -0700 (PDT) Received: by mail-qk1-f178.google.com with SMTP id af79cd13be357-7624af57b21so152579685a.1; Mon, 19 Jun 2023 01:05:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687161930; x=1689753930; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3oz8GNIosqesleY5hwO8jR0lVB7Ix3LZHCQA0peSIcE=; b=mA+W3uIWEkd7n3Ncfv2hqSsLdzb9hdNz3wHsILLWgszoxgchy4PVkOncVgRaZWAU3V YrGGF4SdCwh+KbdjIhAlafIz10/yjR/LgTeSSs8iPGgH16dtmUrQE711iFf7ShCE40aR OXsXMOSsJnkWLuAW5WHrRZfSswqwifLosHF47PHL1Ci5S6JSVjXduMkUYICM+DaaGbli mmTb8Pvdvzo4XUDUNCmJ9drV+5OwMtjFf1iZyhl9Xt71pKpxshyUpclfJq7NLYIap6Pl QHSDm5RTWi3XP+k52d9Br/ipzfjJ6tka/zcsD8X8Si9T7ueQiwTjvAHc9zbtk2luiNsh BTFw== X-Gm-Message-State: AC+VfDy5t+8fsjO65wtr7pPveLr86I5nnBJDxt+YoILGzDJm/SHg+6Os mn0+db1hV068Rl6i/PgRmojYdluvZ6YAIw== X-Received: by 2002:a05:620a:cc6:b0:763:a191:71ec with SMTP id b6-20020a05620a0cc600b00763a19171ecmr503073qkj.32.1687161929830; Mon, 19 Jun 2023 01:05:29 -0700 (PDT) Received: from mail-yb1-f172.google.com (mail-yb1-f172.google.com. [209.85.219.172]) by smtp.gmail.com with ESMTPSA id g124-20020a0dc482000000b0056d4c86b639sm3474416ywd.9.2023.06.19.01.05.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 19 Jun 2023 01:05:29 -0700 (PDT) Received: by mail-yb1-f172.google.com with SMTP id 3f1490d57ef6-bcde2b13fe2so3463398276.3; Mon, 19 Jun 2023 01:05:28 -0700 (PDT) X-Received: by 2002:a5b:88e:0:b0:bce:facd:547a with SMTP id e14-20020a5b088e000000b00bcefacd547amr6680333ybq.25.1687161928415; Mon, 19 Jun 2023 01:05:28 -0700 (PDT) MIME-Version: 1.0 References: <20230617150302.38477-1-aford173@gmail.com> In-Reply-To: <20230617150302.38477-1-aford173@gmail.com> From: Geert Uytterhoeven Date: Mon, 19 Jun 2023 10:05:13 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/4] clk: renesas: rcar-gen3: Add support for ZG clock To: Adam Ford Cc: linux-clk@vger.kernel.org, aford@beaconembedded.com, Michael Turquette , Stephen Boyd , linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 On Sat, Jun 17, 2023 at 5:03 PM Adam Ford wrote: > A clock used for the 3D graphics appears to be common > among multiple SoC's, so add a generic gen3 clock > for clocking the graphics. This is similar to the > cpg_z_clk, with a different frequency control register > and different flags. Instead of duplicating the code, > make cpg_z_clk_register into a helper function and > call the help function with the FCR and flags as > a parameter. > > Signed-off-by: Adam Ford Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-clk-for-v6.6. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds