From patchwork Mon Jul 31 23:49:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13335588 X-Patchwork-Delegate: geert@linux-m68k.org 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E48FEC04A94 for ; Mon, 31 Jul 2023 23:49:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230303AbjGaXtn (ORCPT ); Mon, 31 Jul 2023 19:49:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230099AbjGaXtm (ORCPT ); Mon, 31 Jul 2023 19:49:42 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2101.outbound.protection.outlook.com [40.107.114.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DE8B10C1; Mon, 31 Jul 2023 16:49:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hJvfX50tqi+8oU2HkTMd2FXDVzxHWHxPNhfkLRupWHnrz7kKWaChnR5Irk+wh0wxRfXNRDaAbmYbD/x7sIbreQjEyZfTE71/HSsIdIq4cqciSkenANG/LXyJeohuoD78OBBG8Ukc7SI/K1zVehr8cxx7pRF4qrH9WmQNCKRkvNymdQoot2pVl7Hc7q98koiBnVpq+vExCU3qpqRMnY0qF5bXLeemT/tYKtx3NJ5atu1eAwx5BL3mqanO0q0Y6STiJZ5imAb1G6Ikpt9HX5aa89UycTg22w7rHIKlHGC1YZpQOcBwWoTQT/x7UcFS7F7WiO0UKUyJ+rA1KyiLCzAv5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XfXBFastFhPT+yarzU3nJNQ56H5g9HojysZv5DVb+hM=; b=Hk63pETksrYeE/T89VKHXLfT6qZx6uUvnQKbdLg++ZWjzvihxkPzWT7/GP+z5ox+qdH0GRxn6Vb8qdfUpgdPR0JcBFO5nZsHyRktAVBqhU0fEgs+34bMdfiH4lxB6YSYmUT66+l2/XDs26E4K8T91WelGxxxypsaHOiod/U8LXCWJDmlxpXOuN4QNnDVJzYybtQ6+2CEeorAFoyfSATWsxLYRYM3QsaK+THH8SfWF5yGcwc1ilsMsPScXnXaeE6+0nqkMsbUrsq6DZajpWEBVNfZJ1dbeWvF1pg+J5GzDJRGCnuU1J3yzLAhFR4QLJtzZDMUn1xuMRGDM8T+PD6Drw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XfXBFastFhPT+yarzU3nJNQ56H5g9HojysZv5DVb+hM=; b=mGpuzItbqzflfENRlSKSRQ9wbhSuJ3uVtGSKPF00QL8KRdk0NulbkQ7Qcckb62DyCoyNLEYiaTzGzMLzCTVZ9zUu6umyZAQzXL1WKafMySdhDV6md81/UxADnR7XcT5GYuJgNxAMKbAlIHKF4PQ65CjeqJYcZYRTRs9lyrww5TQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by TY3PR01MB11995.jpnprd01.prod.outlook.com (2603:1096:400:3dc::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.29; Mon, 31 Jul 2023 23:49:40 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::e6db:c2b4:3f89:e3a5]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::e6db:c2b4:3f89:e3a5%3]) with mapi id 15.20.6631.043; Mon, 31 Jul 2023 23:49:39 +0000 Message-ID: <87o7jrpros.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 2/9] clk: renesas: r8a7796: add 922 ADG User-Agent: Wanderlust/2.15.9 Emacs/27.1 Mule/6.0 To: Geert Uytterhoeven Cc: Linux-Renesas , linux-clk@vger.kernel.org In-Reply-To: <87r0onprph.wl-kuninori.morimoto.gx@renesas.com> References: <87r0onprph.wl-kuninori.morimoto.gx@renesas.com> Date: Mon, 31 Jul 2023 23:49:39 +0000 X-ClientProxiedBy: TYAPR01CA0044.jpnprd01.prod.outlook.com (2603:1096:404:28::32) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3PR01MB8426:EE_|TY3PR01MB11995:EE_ X-MS-Office365-Filtering-Correlation-Id: 894ceff1-8b35-4fc1-376e-08db9220ce2a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iWtUK26QxqPIh9Y4M5evCjZIXRnIELDD3VU6pS7SGZ0hf/IfYf+XYrY7K8HcOatjqaUsZ3BG7ytmfGlE6Ws2szwvMtwfqdfgyipAxXGuQJuQ+KOArw7v09kZYGlzl5TPSW2AIcuchJkS+1pTo4wTjifA/IC+Huw3BSMros854+3N5WVKHb5MslGhADwN3Vq1DOJt3RRs1WJrAS7HCXXVvtn2x+o4pGOI12iHMbiJ6bJkEO063NUgotIJznc3lfBr4vQkQDDM51fgSP0odGOL3kHGesSrNrDX6hGX7ACQ3NEqzSgrMbMpLqL/FYr6TYC5Bi84K3EUxek4tk1LcMLAWdHdOCGvVdfPJ8ip8hj+5h8VfEdIgJwCX5UUCE8+4l9Ag4j3r7g2RW3vPK1CFc8/QmNevg7PTpN2CJ3gCFSPXEBr2DyBdmvMpvNLVVdGUn+sflZBoMIj8UgBLur+4pZK7NRysIMMGD0+re6KDZcb1tE3FSUiUrWfpIPQy2m6IlsLP9uBYJX7I5LgjLx2wn7kFSgMDOEnajoxPpsKBH+b/M34NM0FypAvgZJsgFjJqslYT+M9fTGbRGtmxNiEsESzxWlqeXIR6cNW4tugAi258piq+S98fD4dCP8E+M8qegJb X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OS3PR01MB8426.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(136003)(396003)(346002)(376002)(39860400002)(366004)(451199021)(478600001)(6486002)(6512007)(52116002)(66476007)(41300700001)(26005)(6506007)(186003)(2616005)(316002)(66556008)(2906002)(5660300002)(66946007)(8936002)(8676002)(38350700002)(4744005)(86362001)(36756003)(38100700002)(4326008);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: JOoQlXDgYo3mjFwOxewOpB5jh3Z1+OeOHfSbX9Bg8cPmL40WsmFDc2E2XrvZ9vW1ZAkA9LvYYzCVKkIP9yYN1v8CE1lH4g9ZHuNHtp/b7SkYTXtlzUHspWbaoMOC/xQVNXsWB0a3ruTR9Wp5Be+B9MJlZRCV8Od+PpQ82BD9zvKgnY9kDUeqrG0amVDDlx04pXHmb4BqoDVPkG5/7ms4uTdR43axsAeLZVqXm2mjjjhX9RWKY8WLnQcWRQb+r6Icb50mpyLeSGvMA38zYu7wlcm59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Z934Lxq3UerlEcFj8MKGk9jZR5KaRCFJQFYrvY00vhCafrjiw2kXk+I2SBrzPmKA2cuIu+Q00U75FqGvzqEIW961jQcg1+dRjOxXsy0h+8CjCviqgU1udJnMytXYCo0tSi2auQT/r8jSBfboJAFRwF1np270Dw1XQoiopepU3Hdf/EfTxmcukg6aH9wGKAzv8gV22kF8TIHrH6i0skvP1qLlHQuj8/5An/AZfePqyUp84ONEaRUIpxIjQ0LyiuMf4IC+N2Ac1//SEZ0CrsMKSeaeiKi/hD3rM= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 894ceff1-8b35-4fc1-376e-08db9220ce2a X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2023 23:49:39.9366 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 2e5Sf7v7yB+SzM5eX5gWu1C5qVL8ycRzEBAh3ZNc3U7jU1iKfOglU+5TPh3reZTYBlAObwRJj7aQ6AdoSqImelsg0orVL2/er+ffRY3hY5B82Xm0ZP5IWIhl+fnrOj+g X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY3PR01MB11995 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org R-Car Sound needs to enable "ADG" on RMSTPCR9/SMSTPCR9 22bit to use clk_i which came from internal S0D4. This patch adds it. Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/clk/renesas/r8a7796-cpg-mssr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/renesas/r8a7796-cpg-mssr.c b/drivers/clk/renesas/r8a7796-cpg-mssr.c index c4969318508e..25f0f29d15af 100644 --- a/drivers/clk/renesas/r8a7796-cpg-mssr.c +++ b/drivers/clk/renesas/r8a7796-cpg-mssr.c @@ -236,6 +236,7 @@ static struct mssr_mod_clk r8a7796_mod_clks[] __initdata = { DEF_MOD("rpc-if", 917, R8A7796_CLK_RPCD2), DEF_MOD("i2c6", 918, R8A7796_CLK_S0D6), DEF_MOD("i2c5", 919, R8A7796_CLK_S0D6), + DEF_MOD("adg", 922, R8A7796_CLK_S0D4), DEF_MOD("i2c-dvfs", 926, R8A7796_CLK_CP), DEF_MOD("i2c4", 927, R8A7796_CLK_S0D6), DEF_MOD("i2c3", 928, R8A7796_CLK_S0D6),