From patchwork Mon Jul 31 23:49:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13335603 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 2A8EEC001DE for ; Mon, 31 Jul 2023 23:49:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230226AbjGaXtm (ORCPT ); Mon, 31 Jul 2023 19:49:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229887AbjGaXtl (ORCPT ); Mon, 31 Jul 2023 19:49:41 -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 42AD910C7; Mon, 31 Jul 2023 16:49:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j/rRRI6AbxZDRVxL/KNK4n0UztLLuxzURN8RxilCJ+XVcZxN+NGSkjGuV7WmooOrPf7H1dTVOVqc1lT0mWtyk8InzeUWPG4XG9XkaIBm5Z1FAgjvJWUrewPa7zSfBhwNoILyzTxM87tdkI5c3MP19NvRxFYcwW4JXSt0jKhBK9Rn+5aZ4AI1gU9x55hailqu86DITL8SXuzTshC3ltA1NddNuQgFEi8px7njKFCyNGCoJ7Rpdpz3AY930JFeNOctEYvvKCNWtLxQOZ+Yr8acQZhsM2HUlWOeiale5JkWFQ8Z57l8bggqvd5/WaZYown3hf/cJwNFjr7oj2ycCNbSEQ== 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=qZyM01yg2OoUyUUtXPU+iwPhrpN+XtBilAswDjkQWqg=; b=LBnqPfFGjVnDKpdWAqEpAAVq5yq81dnZYaAO3+CbAuaT4335HGUAeKwWY+lD+bVW9F+MWK2ZS/HlZLVZqcWCsuja1BEYrUP8A8rvkuLFWzrrseHtpUrf1pL0UNuK7V+kGtEvaXTp0HwnHhqx4C9K55INaAEOTUXDJjBboczJ5HFyA+g/af5B9S5jQ0Z0B0RWWAeJmx0SApGhNcK73yeu5l5Ncp5QBTm/CBSGkBmG/y6EYQWHioc7zFasmk1ADFoCt0RSRv6pM5afC8++7/DeM7awFsGT8gyFuNMW7UjEZve+JOpBjazjlmSBYiqcRq7oTfSi9Pq7npekpDks3ZcMpg== 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=qZyM01yg2OoUyUUtXPU+iwPhrpN+XtBilAswDjkQWqg=; b=NZGBEKTSlS95vq7RD4fzi0hXhLzqq9Ik7Muq5oXgQxSKkMeDxt/Fn4K69O1o3fo5MzailREjhlQqh2fKsuOUoqPn3GNVNflO0SoK7emU5kbVbxcW0BFR6YgUCdBMVoJCyEoYTT7Ft6Vde60A9uIs9AvumpGa0CbyCsg5N+VRVVs= 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:35 +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:35 +0000 Message-ID: <87pm47prox.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 1/9] clk: renesas: r8a7795: 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:34 +0000 X-ClientProxiedBy: TYBP286CA0022.JPNP286.PROD.OUTLOOK.COM (2603:1096:404:ce::34) 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: 1fee0d6c-30e7-46a5-434e-08db9220cb28 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0jFqfZvgl1eEZ+dUwGrgvn6xwmLzfaDpRtskxpiYDAzssDeiRiOQP7Y+lpFjULMuN8yctSfO51SuY3y72KxUqUC2ieno2capejtbqev7X28ztAiIanSgNNOlRc0JuBJdvQL6M/EgS6oHDwA/Pcibw53tKmhFPQ9kUo9FDfxk0tgymbIVgDXaM6rrm3zClur49QzBLJ7j1m/vTgxfMF3Xvv2dnnIp+8RDTU/JOGoO0pdkby6irQUOuuk5r9hG+RfBVJhBZm9ckD7MtOYhZrcVQj6fmStuF6H/+jRG7Pbj1ZNx8M/cwQuhjTBElKHXpKQm1RLHUXdt0bBmb9rn8wv6JqaFL+6K2m1IQqD9XSfVo7/gqX/yDhAM4d2T6At5gcxkK78o2pGhfkrKmuGD5Bz+ZxMg0Owai1v/oB6Fh9CnBqQWbol806jWrJlWhtYKMLLLZfw4u/2aUzcxrXkHAJaON1O6e0J7XaCUj9TK9XDJWwOJ9P3ZJeQlVsIiZ3PIkSr/Nd4UeAoOhcIRtdVzPsiwqKOwwwXLLtZp3egyACFQZYcsdJz7RGhaZECq8tN4VJKuNCkiVWqZr+TrihySAoNEC2LLpIIDBFBeryi3Y9980toOpn+c+1/inmFcjaerFWEC 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: 5Vxbs4rmooAXTKyqUc4PyrS/m/jKDIm2i+p90csfOFMC4LW9RRQjme7df1Owe+vQJuOZ08zI7IlE4ZjszaVfLDG/866toW+DnpNpBtjgy8TlhUm7+QdfwI7ftjne4rZykulFpcb9clPqUJo+v+G7jsu0pgL1itYKcKjOr9NcKs7yrg/0FsNwYWK+a7kyvUBhoesegBzBJzXkQN0Vme2eeFvdNCSOvmInKO71HwdzzjBwpC/pStwH2BYjr1FIy5xF0eiFcNHxLFGzxHnQbiplgxze8wP1+ELs9vDmJJ62zPxGQiX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+9GpSfcFrRlf0LxHN7NXon0XxjMIUcAd7L4XCxWa80/zv4nZQUvDOdZMjtPq8+PDgO/UZaNmyAvdOzmOGkjHRlb3NVTTqVF3jXTcEryNtMMeTFPdAVCERec2fK4leJjP/rNIXhwNxraThN2WE0+4Tm/Fl9z5pbVbSB2PxYtuzUtoUSUZuifrv7QrbAoIkagFOu6op8J/7cj7Fif3s3shreoqPCu7ld7liyamuietoDuAJ1rD/tJMRrRahPUhnmX3E2Hy4KerlUOJbhDmJwA= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1fee0d6c-30e7-46a5-434e-08db9220cb28 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:35.0696 (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: epSUvyiby4axWjuYH/E86q+Bw4anxULq/y+DsSYri9Q93mhxxYfWQu39Ln+BexyznQhdWvk3PJbnKuIJYNqyjxidYbSH29IjW6UPWNIkzqIEQYdMXnylCM9KZBIXY4cR X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY3PR01MB11995 Precedence: bulk List-ID: X-Mailing-List: linux-clk@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/r8a7795-cpg-mssr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/renesas/r8a7795-cpg-mssr.c b/drivers/clk/renesas/r8a7795-cpg-mssr.c index 7a585a777d38..152d5c1ba3cc 100644 --- a/drivers/clk/renesas/r8a7795-cpg-mssr.c +++ b/drivers/clk/renesas/r8a7795-cpg-mssr.c @@ -251,6 +251,7 @@ static struct mssr_mod_clk r8a7795_mod_clks[] __initdata = { DEF_MOD("rpc-if", 917, R8A7795_CLK_RPCD2), DEF_MOD("i2c6", 918, R8A7795_CLK_S0D6), DEF_MOD("i2c5", 919, R8A7795_CLK_S0D6), + DEF_MOD("adg", 922, R8A7795_CLK_S0D4), DEF_MOD("i2c-dvfs", 926, R8A7795_CLK_CP), DEF_MOD("i2c4", 927, R8A7795_CLK_S0D6), DEF_MOD("i2c3", 928, R8A7795_CLK_S0D6), 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: 13335604 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 D33A7C04E69 for ; Mon, 31 Jul 2023 23:49:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229887AbjGaXtn (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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GEAkx5FXuCmvKU8ltyNTNsMYspikwR+8LXgQp8qTKI+UbJ5Q+CEj3+KWzStH/2Tt8OpEWfkVuNDUdWLOFRE5+2REh6KzyGLRiqhyWZpa6oumtOLCzRyijOWuR0raOAEeYdM5KFl2x9EVIOz/sSxuJEUr7cQ71Dk46YihtHFhsWM5ILvYvfOnhGC/tIk+ocxsmr0gDhGY6OzkbRz5pwAdHTJXbN2eA+r/KEt9q6NuvxqqZhxv6tFyP7ob34bGEdsTFbGAniCPg6Tpto/GtK1I36NInVsqiZSidhwCuQ0xGuGBfZ934Lxq3UerlEcFj8MKGk9jZR5KaRCFJQFYrvY00vhCafrjiw2kXk+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-clk@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), From patchwork Mon Jul 31 23:49:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13335605 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 2E7CCC41513 for ; Mon, 31 Jul 2023 23:50:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231969AbjGaXt7 (ORCPT ); Mon, 31 Jul 2023 19:49:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231876AbjGaXt5 (ORCPT ); Mon, 31 Jul 2023 19:49:57 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2135.outbound.protection.outlook.com [40.107.114.135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7368A10DD; Mon, 31 Jul 2023 16:49:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GSpi2E7jxxiSUk7ny2DPXWALO1tbSe6j8pvKktzFNdLP4p9owhoYHs/Ajs/U04PXns4/10aYH+js5ySYauMxOclqrEOh/mlWv3fqttMGyJaSswkWBJuN5sQJ49tlnT/s3EO0dUukpGg38lYNRsL+P4L4HDRVF3Ey26MTfj0mzGZLDWB3nVfbvPs9Ndv/XpLgVEYYA5rjI4E5L+JxuNjenyzm9SKXBJbXuy5Eqn0NVTe3T1dDFWLwsRGNffvClSyFNbTMKzkQrp92t+muAZBX58A4XnUzktS1fHG0CDVhv7eLrGQtWpOltDY8kel6yceObB4mhlZUCLv8At01iueCag== 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=WqYRj2+L30nhMe2j47yVStE+d4sFszM0WIkOlNMHr6w=; b=El27ZS/XN/UnhckaWCdDx2uwe9PmwQBRVBir+Nh5i6tlAYTwJeybpqXmu606LK801DZb85aURAELg//Xym/cH9JBzgQMC+XVGMYN8y7AEA8ayEIVA2Z+Ez9xecGLYpWCeZD18+bBUSghT9Mg6+nt1h+zG5vkR29In0eGfz4JIhvd/k/1AbF1/gWJtRt117GqPISxilQtPwjf951Ixo4AnNPX87ftyeXi6dCw3N0ra10Yl+wva48EtB/ApBV0oi8x1rYmWRHefQR3qPGxQcukKKJTXUA7f8e6TK6JZXPoTIZllHZC34m6fHIAbIfdxpJ9R0GiBAX7CeGDbjgq4aoyrA== 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=WqYRj2+L30nhMe2j47yVStE+d4sFszM0WIkOlNMHr6w=; b=JL0b/eZ6zgA3qBEchq1FzCInyOPdDsTOaPxPQNIQ2wTEkCGZeILToseQwfRRl3jwZJSkhzBfdBGz58/WSV0qpBMWmx3IyzUCvjZEHX/Uzo5pknQnImnCoyKWr+UhY9QwEuD5bbbiNF8awXm3QfZEjgFhVrDtNbvthqMrOoVPpEg= 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:45 +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:45 +0000 Message-ID: <87mszbpron.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 3/9] clk: renesas: r8a774a1: 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:44 +0000 X-ClientProxiedBy: TYAPR01CA0033.jpnprd01.prod.outlook.com (2603:1096:404:28::21) 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: 9fc7b4ba-e9b2-4f1d-5262-08db9220d133 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BA3WCdMtbt7iPACwD5XasTc6y0hYuuy6zpMEg3JMp++WRKLc0bbk16QhA2bAZ4Ih4i2gAHw0v8F1pcoGKNx9qdjLuGMGks6DiidO+SiwXLSeLLMEV4WcbhMoxPWou7MuyCHLSiaC3BYn5Rjhjv98pgj4tCy+TF7hrGlLKxVxrO1t+YevoK9UlY8KmhfP1Oyjm+5bYbuZPeCXZ3b/mtX6EZFgz1tY1z4KlQLWWWg2kywdjXOkO3/1w70OabxowzzACuiHXEkTDqn9izl4vmxBFcDNAVp/roAt0cAaby05SdVxXP/LM/U7RRIvNP2yQDmGkv34ur3OTQWtosoYEFrmjIDzkf0Od5WmpfnqkNDtqHX/zoKj3x3IBH/2HbppGijb4ko2WlvTsaEFjfPvefTrFSRVn7jKVlBjg/as2OZiMGAxU0Gj95lttZQY40q3Som5sdiueXR76W2o/IwMWxQGrXm22vDu4jsq2N/1dD3N2H1j+GskwVsaK8nLpPWHB4Wv++tUNpWBpBii4+4owjfuItIhp2elz3M6fFV5T4GO/j53u9rRND8DItyAnTEP+cG7G5uTvigsoj3viv9CQjiocYmDO2fpAd0JAV3EGrkwUGnmaXyJcO2dyuOhAJJ/D3cO 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: HMjuAr04EElmbpf7DbM0cqACR8jWR91IqbTui7JUR3WSvWrahHHmRDogzqW0ViQLo39jE2GtBROHjYs1kRxpGonrpiWvFISRpfYDxABKvFWg2L8IzKDeMcFLvEYBnlDjn7TYwsOY59KO/YwFk3DmWjvKzWtNOIJeRasu0N6pHhI+b3K/PubLBl/oyf4Ztf9Cqgilvpk/qq8L+yDDChqoweHyGPvRpFvtAFchWlAjwi+ZYdAlcizc+ZxhJFDBEU0TFDHOv5crf3ES/ZbYKL435ddxzLmoHFZwe6lpt5jckfoIg08V5lZiaifHEGvur69VGzFo17llcB5RlExp6G/eNgshnvoc3WkI8LjEg44nNZPHIA3JukGsgWtHZ+9g4rlF+NwES4cWYajc+ZoAqcZvYaDDtAUHk65vNjYWtYTxJ50dED9LU92M2yeVbmNtfeGahBpmBcPYT+2UgiLkUQcvsQ50AlrP1Vf7wQ/fKcqAMMZ15UURXDT9+NeQPv6l4d8YjSLUPa/VOWog778DQSfox47X35OR5HAk42tpsurZBOl0gv4rYGQg9a0aZUW1PWHncSVnquKLQ/MtTyjW9pM9z//ZeES5wqG1clUyFvNhUVPtJAswmlWmXGFCknQ6zBnuM5KI3Zu9guCROb9zA1rw3fAcSDl9BP+0zVaZ1X6Z/2z6Zg07ru5pOZ7WsFUJTVHq0E3vpoLBGRBk50icicDs4MeYBL4EUZcKu6eY1ifWHxodb4geBZrixYGfqPrmO7Xwe9iRI1S6t1p6cctsPBL+x9xa1XRWer/EWMQiHegmJUH7OLM7wqXuDUcRqIxEH7aeac7QTnyHYtY2Lxa5oM6cqR/7CnZZQflUImlDsa4jUhe2XYEOa/DSmhfkf/4TJIYCayZRrr/qWgxDAxc5KgJAUf+iLnifhaNUsqjv6KPp+Ild0pscv+xzzNV+VbZlT7U7FYkITAl7EvxY+TFPkDkRTeXQ+YFNFNGBznBHhK73IF47Pgv4u4hrmDLvbHwnG0NMwBffHXSX1n6U+fcD30YolLQwhvBgnUpK9pk1VAUtvZqXaL8GIo67/jPN4mDV9SciQmkF72wmjAV4a9qKfkpWmZRDOl+pQcPUVMkvhf9LYOClw4YUhaFN/FDLtqIu9XykH7Jp7MzfaB3/7vGH9TqYMoXgx7JgAHGwWNLFkZXzzH216icjzlKcy8twEQBlLpyd4DJ+GgQ55nTJI5Lxj7m01zfga18IZayw66t8jXvlBp5x8FYkWgH/xzzbivm+Z5HRPz4D4g0Hdj/eyzX/Dvmu7LcnOe0ZaqwvYGD0Lwp4w37ehF1V7Z2jntyIWdhIvewj0QWYX+6Db7MPIQmZG13EnGmG3TbIV/scg/GlCUrZze6v7iHS4JHZfBSSGGPG9WVosXvo9hw1ONoNT3f7wvIdw0Vtrw3ROUSruS4rSi1NZZITz8u5Z71Glm6i+XH9UzF0qPiz43+OAjU3dbbks9gOuwmsKkpxE7atyLuBrmn9PCUeDLJ3rZJu8IxHtR3J1z9PLLaa4pblTTUx5TBTLzHBN8ndF4a/LD4ZYP8erjzLobSi5e9jgWH5M/CFmO91qxutttO94v/j6e5ETXSaHnr6HTyEklw4DDlW8crg2RZLDVs= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9fc7b4ba-e9b2-4f1d-5262-08db9220d133 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:45.0299 (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: yAdxKlFrxEPQHAg5jx6FYqYWOG4RTQfzOTqdDjiQelhRxQNgOpesVsNm2M3dJgu6qM2Nweze2bs8UzvzpHlxzdSJdNEG0s9+u7PKuVFLOeBeRBnGJlMoFPXY/ODvWdVO X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY3PR01MB11995 Precedence: bulk List-ID: X-Mailing-List: linux-clk@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/r8a774a1-cpg-mssr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/renesas/r8a774a1-cpg-mssr.c b/drivers/clk/renesas/r8a774a1-cpg-mssr.c index ad03c09ebc1f..daa3fd34c69e 100644 --- a/drivers/clk/renesas/r8a774a1-cpg-mssr.c +++ b/drivers/clk/renesas/r8a774a1-cpg-mssr.c @@ -213,6 +213,7 @@ static const struct mssr_mod_clk r8a774a1_mod_clks[] __initconst = { DEF_MOD("rpc-if", 917, R8A774A1_CLK_RPCD2), DEF_MOD("i2c6", 918, R8A774A1_CLK_S0D6), DEF_MOD("i2c5", 919, R8A774A1_CLK_S0D6), + DEF_MOD("adg", 922, R8A774A1_CLK_S0D4), DEF_MOD("iic-pmic", 926, R8A774A1_CLK_CP), DEF_MOD("i2c4", 927, R8A774A1_CLK_S0D6), DEF_MOD("i2c3", 928, R8A774A1_CLK_S0D6), From patchwork Mon Jul 31 23:49:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13335606 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 75339C41513 for ; Mon, 31 Jul 2023 23:50:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231429AbjGaXuL (ORCPT ); Mon, 31 Jul 2023 19:50:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232037AbjGaXuB (ORCPT ); Mon, 31 Jul 2023 19:50:01 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2131.outbound.protection.outlook.com [40.107.114.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E63FA1FD2; Mon, 31 Jul 2023 16:49:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q8dT3ZlQ2XKgFyZO86iOUqwRw8P5o97OZBtewTMVq7tygoQ7bLOK2Avwtm3BTqfNJJG4JygDmRjHF0dzbqyhsW5IB3qS4vQ2jyJnAQ0jcu5xS9IzwjPH6tfKv/6QpwjKToufxeDNq2El7+Wq8M+cXsyvRnAwEM6QBpaXfLnIm+M9JMr7sraPbZolYxGtZ0pwz/pBPfMssqv4ON1lxvggBK9fS/M9Z5OI7UCO00Wh2DX0Mrn7lPsaGwh5h+yGmi2jt5UgJHkFeicDbuhP3Mu8U+8ce/Opz4aePAynKSQjG+fogcyw9gMF1VPc2GdzTKfVVhQXwaHFlHv6rnqD4bUzlg== 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=bOjt1qgd5Vqr9Q7N3PmwMyKHVhkoXYDPKBLEEQx8IyE=; b=b22Rr3/RL99AZuMzXAdcKu0EYRPd5gelyiOKUb2CRyvasy19kEjCytug5gYdojZlxEuOP234mT/ILLI4m7Cfn2E8uWuLIWqxuiZ1fzb76IA3wR4gKglkS52JIM6727PAs8GglXbMuUlXizvMExXwmPNkKTkdWF5Rgm1FBzV8e+IDoRCCnxVviDUJXZybpG5FUwvzzDyEDYLhfT4y4EZJS7Inuymamm0b+qn4nCIkhdAnxVsOGM5ssJD/npc4CSKpns0JBbM5Tw18AC7DqJxNW7guomKDsaruojhVOIJOJNx1w5LE9aHoFy7d9OaWiBE3KbCw9yOzZyjimnlhYEbbgg== 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=bOjt1qgd5Vqr9Q7N3PmwMyKHVhkoXYDPKBLEEQx8IyE=; b=ASxQY8/RnWgw/vgPssociT8yyOsEajqRdowMzTqjj3olcu1ikGgMsTalb4mVMDzzW2YXmuTHZG3aF9RZDUdOJxn5Ud60NzJ0quaGzC06L+6I0Xqv3eZbXd/SOYRGetS50caYJHXjcMHYG+/XTZWMFWlihK1QdTNqXGpArV+Ilvk= 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:50 +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:50 +0000 Message-ID: <87leevproh.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 4/9] clk: renesas: r8a774b1: 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:50 +0000 X-ClientProxiedBy: TYAPR01CA0032.jpnprd01.prod.outlook.com (2603:1096:404:28::20) 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: 17d72298-55a3-487d-f08e-08db9220d483 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CI+dHx+3lJEKNGgjEBcH0NdIIge7QNv8daS8jj590b1wiSUVynn1KHFC3kLezJcWAxAvHqvE/49b04tOTll7D6x7mcZOWAQQnshEf7DhAGVCxp9lcu1IlNFNZjxtxjEFVDjz9KohBKfiF10zYIV1l7aKHR7coqDRmW8/GiRI20NNHOcrb7Rtn+19mCdjao4Bi2RXxHxIVyTXmZNJmBAuh5hC2kvyF6x3v0YQac5Ovli4qG++OehGQ5Uxa4W6cQalzEorDcMBdlZU5MEPaJTh6DxcwUUF7KOZvU0ShjYrsAISVDphT6fdBjmxTJH5jadGxk5lVqe++U0w8VZaqIcaDJDsGqOfBmrrIWSMZQCMVlg3PNYXIdnqxtOATn/2KqShxT6ML4kM105fC3FWgGfwqTQqYvy407mOoKFZyXMmA7r2oekqIf7lvmzZy/Oq5si3eVqXWUsDHXHZOukeGqlr8HdtuFeV3MEc8nv/3HBfEwdolIhBmLixlnD45YHgYmwILPoHEXWb+NAh06rwALlg8vO7A57SisqM8eScRtE9ydVyRUUTm29aOOJKl/goRtU3/ZgrWFv+FoKHegnjKyGG4KBXziTe3MB1L7rUtLZrNTiTKINiISxX6wPNsjT5iLIQ 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: e00HHI4zIg7O/YcdC/neI1ZfPqxPUgbeE98vtjArw3i+TrDBfw/teF2QylpGk/EytZxf7jwtn5XjBPIoKGLnyGhddRWwCCZFiQFZOGeGOiRrgthN1ssMTI8EdijGB5W6IqvIoB2wVaPAW3jJ9aSJ4r0UkezWtQZgx1VF3g8wLwRMfRNi7CMlJoyH4XPLGbAQIu00jbv8Yijlto5BHOKQtzj+1rGki7v1VDfY+6h9ltuS0ghjhMIcQFzYz/gLW/4uKzw1AiROdWPfZ/td7fDXofdA3oNWrVeYH54qz6d3mfxJRPitW5g0pU67gVp/cFmigHRNVleFRyGAfl37OCiHEHdp7PeVtcWE7VgpZWdBERXJYYxQv6MiZbJA655GR5KrNRMhCj3F11o764d3W/mBwHWzrLzRkpFc/969DyhlYpnYnzeFGe+PI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WeCVWaSX7CbLzBiAmxgWetFzSaaSAwrBZhuXF1HdEh4/bsPnKx4pUkdtJfVbxlDG+y7aA5bD9BdVzQedhI3yR7MgtoOsiiEJuVC3tKHN78nso6mbj0rBtw5Y0SBxKj8efiW5VyeiF/25c= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 17d72298-55a3-487d-f08e-08db9220d483 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:50.8435 (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: a6NFrZ1fmcOTVFHyDhIFUe4FQbTDF7oX6NwYewllyowd0xHwIu/e54C9p9X/YlyiCBCP/i893TcT+YHwbOt3vM1E7z+bzJAslA7N1O2Ufl8on3qsc+ktRY4PAZ0yiYAm X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY3PR01MB11995 Precedence: bulk List-ID: X-Mailing-List: linux-clk@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/r8a774b1-cpg-mssr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/renesas/r8a774b1-cpg-mssr.c b/drivers/clk/renesas/r8a774b1-cpg-mssr.c index ab087b02ef90..60ae4df7f033 100644 --- a/drivers/clk/renesas/r8a774b1-cpg-mssr.c +++ b/drivers/clk/renesas/r8a774b1-cpg-mssr.c @@ -209,6 +209,7 @@ static const struct mssr_mod_clk r8a774b1_mod_clks[] __initconst = { DEF_MOD("rpc-if", 917, R8A774B1_CLK_RPCD2), DEF_MOD("i2c6", 918, R8A774B1_CLK_S0D6), DEF_MOD("i2c5", 919, R8A774B1_CLK_S0D6), + DEF_MOD("adg", 922, R8A774B1_CLK_S0D4), DEF_MOD("iic-pmic", 926, R8A774B1_CLK_CP), DEF_MOD("i2c4", 927, R8A774B1_CLK_S0D6), DEF_MOD("i2c3", 928, R8A774B1_CLK_S0D6), From patchwork Mon Jul 31 23:49:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13335607 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 DFEA1C04FE1 for ; Mon, 31 Jul 2023 23:50:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230190AbjGaXuO (ORCPT ); Mon, 31 Jul 2023 19:50:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230342AbjGaXuG (ORCPT ); Mon, 31 Jul 2023 19:50:06 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2131.outbound.protection.outlook.com [40.107.114.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A3CB10C1; Mon, 31 Jul 2023 16:49:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XyKo6XvdsxKEa05HtxLXBs2y+dMLJGU4nQU3twOHWxQ8Lz3RM9QCRN3Pj1ZpMvj37s17DQ8WcJyeGLDaKraUcIayCjsdV5jD/vZ/TG/VMJBbkLCnFEkmBavBczv8nHZ+IxRbCGLIMNFgQMGXtjmxHstyQ4ey3/wj98Xjhg9K/ymRDzh62zQzCACXPPNRKVLqak8qu2rCykWPIACdgdEkZc+z/sJP60pSD4XlKJD+zW1PHDcOM0J+oC0OTpu/kH+3GaHH0H+wxnD8DksybuEDTGCBNDoEccH4tnEqmvaTpqCLmWFpDQaLhU7gSLKwF+Htk/8tGmZ7a6+YLMzzT+NJTw== 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=kEahrsadXHTOxFCP2FJXdkWk1izyLMmocB8N7FWXxIw=; b=SXgCP/k0X7vhZVTBp4a2ZOpDry4hhvqsQd0cL+micjU1hU5K2hCUWqh5xUFWWtjE5lWRrVSMe0MKYa/JbmUB3+qdSnPaW4WDUIe33D8MNjoc3iDi2qpdNs52Q/lzAMze0Z9OFhZMK8ZvljUccjObYRmk8gUu0TYWkvn7YC/uil3t/dKFkLh/fQsuAcXtN/XWo5uhh6GnQQzq7FhZYHOCs/cUWFtGrDyZzqutwFT+0G0rnIn9It/MnxfhkP3ZdKoFnYjWnTBieKoP1gIdkpJ/vSoHMSAEIf9cVywpsHWTerC+BLUDUzYkbfEGh84GrCc3VTnV5qXUPxNb7iOanTLBrQ== 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=kEahrsadXHTOxFCP2FJXdkWk1izyLMmocB8N7FWXxIw=; b=FQw79RDF7DJoT+3RplNcFgcpT1dPqnBX/ay987pYiy4JBfdjqpBu3Bykfju6Hk06GMu1VNv2uPZchNx9+ajX9xM6E12fcMy7vFv5C1Ntq7jNPttdCp0NkHyOrC4/L9AqTUI6SrguiXGPTy7UMSctPO+Pk/VWeRXXfDOmUxRt4Zs= 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:55 +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:55 +0000 Message-ID: <87jzufprod.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 5/9] clk: renesas: r8a774c0: 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:55 +0000 X-ClientProxiedBy: TYCP301CA0021.JPNP301.PROD.OUTLOOK.COM (2603:1096:400:381::18) 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: bc06f775-b3db-4910-aeea-08db9220d74c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TbqKnA/zdjGkD1051UyhwCUGQBCOft/7P4phhgAVpT5tpxcIdCnAoRRidH+AwOcEBTWby1W8U1DwvFHYIAZF3S2B8sbtZIRWEgrf9p4vQF/ZyGeRmNrocAq0qtGSW3On6Blo2GVwNErcguIfkKaUo1keZ0rgtLyUxgyujFLE6apkeqVTKYWp8ZZWqI5Pv6H4kEsLBjIjkFnfEq6C+1k/Pa/JqX5SMIIlWSQx4MIpVJbEj7YutanxBl7drwdENioi4fmTwyrzTtGCeQqhy8xcPaIT+tM8M6xCv+95eFuiTxvhk5ZN9TGNhADMJ2qsWYuAfIZNxvBtCpc0JGQNb0OM2u7sasakA74Q4XwE/S30sxuKwNpBbT/O0wQNn6xwDqQdzqpbBZXc8hJ37iaAGSYO5HqzqYb4HqTPEgwz9SMK+z0BSiHHdkiyHRfJLFAKh9baHCq9i1aemg8sdowLtL47eEoDr0+3+ZYSq5izAm9U7y1Hjue9hs1/MBqUsbJl9eHaKudmYCq0Vr9sYNKstsRF5/08T61FpH0R5uifeVBkJfeGlG1k5yGFId+UWZXdwNEyg7WSD2GIX0GB28gU30iduKerrip4WOXaLKGB09jL5ZuwLE0kQsMT7CugFEIDNB/U 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: quLgL1D/qFm4fbassmhyDwQkVn1jud02klP6jhsGq/T1Jc0Dw51nIqLBV3Y1XjbA5xpOln52ctOgtGn2xMoA3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NWlhsiLUwmveI4ViYX/xjn5jK/tnPX0IRD5ruQwoGXA1cf0nnvvPmX2K9NUHaeqx5Ez98l6eS33e3CkiH44UazcuUkrV43IacODGZ7U3WLNKJCFNtMWqokknXVK1ufUEoVeQf2klFFXjerRbf6Bok7RZAZuWEFhlAyCRq4O6F3fEKCvXtwdK8u8hU3ZZuWihf+6+Oft1XONSPD/WePAZaqBx8xCGZhM2ltV2XRwTGQ+Rfn+6B08grM2G3fQvqNESixl4YqjbLIIxGNGN5MKS9jYSmTLyD9g0x8TojJQpHd7Xmw331MsqyYfiiVCo1+yRzMZeR/efvkV6UePUM3ZtIwyg8o6jqsldtZQoFZc3C4LBnGCMnCiWUKB2YzeX43YR0HF6j5nkwO5b+24HpayicDlXgW6lYY32j9Z8JMtQZ9jtqnq8iplbpnhny9w/48clpyi2Rhy7uFoLfZDAn5Tfd2q6JbxPXZnon0N/kprNUfiO5S1cBc8jUEivB4g4ck= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: bc06f775-b3db-4910-aeea-08db9220d74c 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:55.3200 (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: gRYmDOIuLnLkROV+7m4hxpuMXuREXUMQCClKSrT1D4N+7558EEfcChRlfn8339CY6Lhr1/zn8texQIB4ADBoxM31tmGpiutBDXQX8PXvpJ0AeFTNjuq7jE+VuGI5HSI5 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY3PR01MB11995 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org R-Car Sound needs to enable "ADG" on RMSTPCR9/SMSTPCR9 22bit to use clk_i which came from internal ZA2. This patch adds it. Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/clk/renesas/r8a774c0-cpg-mssr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/renesas/r8a774c0-cpg-mssr.c b/drivers/clk/renesas/r8a774c0-cpg-mssr.c index c9c8fde0f0a6..870f8c55eb28 100644 --- a/drivers/clk/renesas/r8a774c0-cpg-mssr.c +++ b/drivers/clk/renesas/r8a774c0-cpg-mssr.c @@ -211,6 +211,7 @@ static const struct mssr_mod_clk r8a774c0_mod_clks[] __initconst = { DEF_MOD("rpc-if", 917, R8A774C0_CLK_RPCD2), DEF_MOD("i2c6", 918, R8A774C0_CLK_S3D2), DEF_MOD("i2c5", 919, R8A774C0_CLK_S3D2), + DEF_MOD("adg", 922, R8A774C0_CLK_ZA2), DEF_MOD("iic-pmic", 926, R8A774C0_CLK_CP), DEF_MOD("i2c4", 927, R8A774C0_CLK_S3D2), DEF_MOD("i2c3", 928, R8A774C0_CLK_S3D2), From patchwork Mon Jul 31 23:49:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13335608 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 305E4C04A94 for ; Mon, 31 Jul 2023 23:51:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232112AbjGaXvB (ORCPT ); Mon, 31 Jul 2023 19:51:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232129AbjGaXuk (ORCPT ); Mon, 31 Jul 2023 19:50:40 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2131.outbound.protection.outlook.com [40.107.114.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9373C1FD7; Mon, 31 Jul 2023 16:50:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VouuPhdNzznm4tL8X9wQP6ObhaR0yR7v/tqb7juHlmew54jVfwsoxoq7Povc7xJSotVkGv1vXIQFcEZUAhqyyanYc+RvwAnr/48LFNHhncBk09+sKUOkzECdCnm96ivdbC5d6Cc/5F3o8QIgTGhrOVwUw5x+IBBWk5wj5L4FHgulzI9NW298E6+9B5NKxfYsgp/+WQF60wRkWgtisPoL07pUhARdYYwZnZYZ6E+q04+ohsRNHVW7Y1BpSokfv2d0BmZisvP5HDHUk9J/LNL57m1WvqSfTJ1KvWfb9MjJkrNRqVD6Ldu3aK2MAHeGw8d5KhyoBtSvgWkdns4p8D5dmA== 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=cqLlP+kYIvVOBY6ji3xqBhCybW6O03TS8wahYAVMHRk=; b=ae6WkWmRk5HM8R1jbgC9Ls6RXOO33Z1eAmb6wiyD/b2dSxyZ9mI6ZfzMip+95P+YI6xLjgqFl2TMuDjzA9g9keU/CjMXoYKzVZZ1H6e1eMgICExzYC717hhDThR+jvovWOqabNdp3uoyLryeAfEZx0kbnORzu8jKJ7sqfPxamkk1FnhyXywrvX/JFOsCDY8S2g4rRDvYYg3+9ufQ93e+aXMf6+tv+YDYjWmQqPIg3yz5fYlWmHlPr9zHBaRNPGU3OdqEQsUu4/dk9N9qd3lFBCju5lpMF5cjAJDAshrEMbuAFCfN1uXoI0UvTVchuy5JKM4IoMkAzj66FYy/fpDNyQ== 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=cqLlP+kYIvVOBY6ji3xqBhCybW6O03TS8wahYAVMHRk=; b=JZNZtfFKQu6S2pUds2yt7LYTnoQ2nCuNoVcH74lHl7CXqyYx12c3jTEWwQjHR+78VCH1eU3xb9Ce+sHsKtgNkUOLGpNztavzmpgP7XKMZzQZbGm6eATnxRKYPP1V2GQ+Y/akUfyp/2QgR9CRz7U8Bq3P72P6NYlspUKK4+0DFpM= 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:59 +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:59 +0000 Message-ID: <87il9zpro8.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 6/9] clk: renesas: r8a774e1: 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:59 +0000 X-ClientProxiedBy: TYAPR01CA0162.jpnprd01.prod.outlook.com (2603:1096:404:7e::30) 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: 30e41e49-0aab-4984-34c2-08db9220d9fb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MrZ+WzlNSryG0SVoT3XN8aeCsRQI0iCFKNugwVT3FrCic9vnbXvEkZWmLH3FVbhiBG7kT7CLQdDZY1HWj8FaAqzkgmBoWkZTxlZTr/Z2djOyBe8INrXHFwY6NfWyqta30u1eXM1KiodMRp8CJnrFkmBbOweIGkANylCm5hOVJpk6ExbZ7HOs8sMaJVYtUO7df7FMkDFdeaQTSy/4TQg1tA8Et/kXeXK5gn06+yKQ1MehFffYYUno/04XHoQV2/pT7/TAdHzKZMLM6yzas5awePXORnALN8HIYmOGQ0G7SYRAYKbF7e695Ztt2PhxNS1i3o1sBix2LM88G0yoeI80OuuDEPfXgrGfQOkOxveRZSp1VSI9NKS5nn4Mdx8To4LED4qfNqRUrsOF7PcDr4qA3zLDCx5tXEpXncAdArH7t40armKaJ1qOkSGp2f2MP1fkRrHe/NEucyU55RECdvmKTBe13YMn5aAuwgZUGlEraBFtNb6p7EGEhKoFY4kx/mseHfoLAZiYnOA6gmaiV1AQo47s86xIaJcrXVJAK80F3/0Xix6y4TurrCihKtQjktFrfDrltbuq2Gr5iMiHw53gExrNc21xapmZU8PBsa45LvXAzKpCfBgvaic5eTDplncD 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)(83380400001)(38100700002)(4326008);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: nEdTGcj1RAwKGLKieV2wvIVhjWwB0otms2DNN1Gp2GSsrAiCuOv3/U3FqtV6Oo7yNmz/dbpF8o3uwUBXGnsXe7M9x0imy6FqK6pdsLd7dlGCtP4s9bjErUeO4w8HlbTfBu9Gm7s+XiTwes0D859cJott3qCTUtu+87Te6Y//+MvEjOLVeDBelcxopoAjwjhgeDmH6CWYUhSMryejtKa7CJtWo5nqlUsduW081Rko4P0xwmKatNWY0iLgGeHkRGr+mbXBADay2/5D/nsJNvzvuQYju5uGQbbdOlv48BE4qPLP82BElDPqbsQDy8/8uFwz1dhD+gHlhIWeQTQnT8q+ZkJwjay+d7B6cR3Unc7l0kKoBZJDs8MDlBl90lwEvZZs2xuXjLYylua9pYOFJbXWFlC1HdczdVe4jza5AI4A0kkOICaG2iELGva7XU6OJq1urKWRigsUIP4NcTOseO5XxGk1/RzvrricwznihXvFkBEhVSwgjG0tQ1kxPCikL8kql9EobxSI3pHzAfu1svokOwZpHZsuoZhrgjiv/P/tFiBZjsWmtURAq3IxI+3RkskPCTlJnQdaQ7XwfaU2tUV2aonMBmxthhpB8CiSqxz3+ye7ifMBOCz/jRoypoLTdwQRNaXMwoUMczuFZL7Y9Zgl/HZE2+vvdkjAE3PBuyvQpDtEv6QmabXwtf10X+nu0AjfMn4ZmaYIipqKhn4DpATQMAvQ0q2K3qSevPEC52Gv3DiYMbCrEooBFNtbTFnqEgEmyMudhsvlCjMAD3AmIzt2it572aSGE6E5XfHQm5eVcoBQ4xmECrRH9oX17sKiD5l+dX/rM4W7j0p5WCLGDcSN/h04tqazlSJy0T3M180tCB8ZWQXtRF7MPQIhzSg9RGVzl4RKwil5ISsJpTd0nqMNEN0y5modJ1xV/Zj5gqwChcsVQL5R9ED2tyDuWJ6rVgNU2SKDVmskJzrnwhT7F8njPbVuWs9Z1e6k6tv85RMR2p8hkH30DnGNTQlH5151v+xJfaX2lH5yJyKx0m2ZUMVpfbjnW6zs8DuV3YmvyyMJhfjMHPO9O7D1slfeVcGncbCTzuqbSZniSd2Ng8ULZ95XfbzHyUrbV0UU0Efun02w3l0lbE3w9lTzjYsUQjMoMJpiHWDpgwHL5V0lcdEORu9j0iy92WP+UEhkTFC4EtfIVgSFVi2zomWg6EUqnB5UB/vYU4rNjb1wn3BJWbRi0JmHMILmbusqVJLRASt3WDFOFAF3bbnxzFS5l+rOt4lCSoW/r5x9uq7/wHWZ/lFRsF0rb8QhCEfQMVpO+n3x2GrfZBuFdWuljZYmEQlR8rSovTq41QLxZFaWQR7oJ4lhDzh90u4LpS0U/yLtKhp718WgouaLYSDwggtqWuvdUlsCqrAkocJYN2aHW5vb+3X2FLJuog8XNMI79iP7glWWfq+9yJHhsdRsRZ5L67p0MqvodgDy2jZ37fxPKZ1e9M2HrjrIWuCbpmzADXR5c4jx/u1NCApB1YYVMrm/xcaTsKDPL8h3hABTXx0a7lVi++3GytxpKxCe9lqESlgPALWxaPPZGB2VISGOPeutfDh9/2vMm/e9aVlXbiTXZM4fP1QfjkN9H3c0tFzOso5CvhxJDjDH3tY= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 30e41e49-0aab-4984-34c2-08db9220d9fb 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:59.7772 (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: F5wyjkJvZ2t4B8YBAX+V/L+peHYFkESBBbljMWjSnQr0fCqBBr7HbM5WSsuR3loiCzv2A0EWhL6q7v/oeVtvjF7e1etikmhs9CYt722HIHXfgvzJbLrCNcBL25ePUd1M X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY3PR01MB11995 Precedence: bulk List-ID: X-Mailing-List: linux-clk@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/r8a774e1-cpg-mssr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/renesas/r8a774e1-cpg-mssr.c b/drivers/clk/renesas/r8a774e1-cpg-mssr.c index a790061db877..1a70e1a3cdaf 100644 --- a/drivers/clk/renesas/r8a774e1-cpg-mssr.c +++ b/drivers/clk/renesas/r8a774e1-cpg-mssr.c @@ -221,7 +221,7 @@ static const struct mssr_mod_clk r8a774e1_mod_clks[] __initconst = { DEF_MOD("rpc-if", 917, R8A774E1_CLK_RPCD2), DEF_MOD("i2c6", 918, R8A774E1_CLK_S0D6), DEF_MOD("i2c5", 919, R8A774E1_CLK_S0D6), - DEF_MOD("adg", 922, R8A774E1_CLK_S0D1), + DEF_MOD("adg", 922, R8A774E1_CLK_S0D4), DEF_MOD("iic-pmic", 926, R8A774E1_CLK_CP), DEF_MOD("i2c4", 927, R8A774E1_CLK_S0D6), DEF_MOD("i2c3", 928, R8A774E1_CLK_S0D6), From patchwork Mon Jul 31 23:50:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13335610 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 D67E6C41513 for ; Mon, 31 Jul 2023 23:51:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232115AbjGaXvR (ORCPT ); Mon, 31 Jul 2023 19:51:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232120AbjGaXvB (ORCPT ); Mon, 31 Jul 2023 19:51:01 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2131.outbound.protection.outlook.com [40.107.114.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7ADF32D4C; Mon, 31 Jul 2023 16:50:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZtZf+PVrrtXT5RH4T09Qr5/Lm8xW1bjNCdgz/dHekeQUm3GgKF9FE+/bkZp3TfWuQANFoLxnvoGeSpvvr4ZS+RuF2Wzj0Hmpkcx/eu/+Xa/ZKrHp90fdcGDo1w+e7an28T5Ljln8CJxU7yX45u+VgtS7ZwEXaaLcrgXd4CIAqR4asnuP71LJEcmhks0yEJNCiIpXz+fx5Ol1eUZ14zq33+2GoAhkZddeY7/xvC+UqzRGpTxjXZppvXavKeEK4QmSu0a2r/SvOq8ux4LAgdkK4fAu6wpSFCVQBTRMiC8lbkKY0B7NHSqYIAwKfasCoZ3hxMabQb9nVo0rnRoF+b8IuQ== 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=U9orcNDFQqBhC+0dPa+Ilh2IA96qs4I0nyCE/tRGBV8=; b=nKB3sqV8cpExinMSylnQxzgOfpMyYU64UjjOMrFrlD6ssnQSZRgfnSIRKrKtdHUzmA/LB5qJy4DOaMl9QHX3cAAXYxjVkgBOXevjgCslN7BzvSXx0nEpfpF7z51ErO7hdPFkS8x8VP/4Th3OVP3Tp6aEORZ2I5Gh1dedKdZaUHDxGHsIKGxMQKzbWwK1m3V1TyKWjmB2MVQ8G20tkI9yrSdE3D7IvPIf6USK91D741VpnvaePyLr0+7UUDT6w93elXpaxYn9hcCyqKaCFEGi6ZpHM72pnzQO724bAVhtND0hg65o9AalUnDz/JVEbyBl2xK+mJBiH7/BPGK0kseEwA== 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=U9orcNDFQqBhC+0dPa+Ilh2IA96qs4I0nyCE/tRGBV8=; b=GNK2EBif+WDtBP0bNPCel8lXUI1HbN9ow4Eb7BRrqyro8PniE16QJutuWaPCS5ons7+0oetRGnCohayPgW8g0+ej+FezOUn/qXauOWQPzEj+VMs9517Apqznt+Lo3x/3W6f8t5QSp4cxkgtSJ407Vxf2bIDoIReaqPbIrVXOa7k= 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:50:04 +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:50:04 +0000 Message-ID: <87h6pjpro4.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 7/9] clk: renesas: r8a77965: 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:50:04 +0000 X-ClientProxiedBy: TYAPR01CA0160.jpnprd01.prod.outlook.com (2603:1096:404:7e::28) 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: 7180838f-c8fd-43c3-2e9f-08db9220dcbf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xzvXAZ2dVkeDPpIaNrW4mpQnMxMfRrMNvpaFCovhWYm5pPG2neh4LLONR+XgPvKFo0obcQtwwtpJ6otXMCgqhwg9PRjjHfrVB+SOSiuNDyDHLkPUOsf6CCV2jRqqIKaveAKY9KIwZKEeDgF8XLcMEtDCgUF0+UA/q6On+bxhX8xi3Ef12apf+NNTVCcGuEaN33g5kVRl7xqPb25ru9pXFQTb6s2Pla7xtGBr9i3m8F/TUN2xSJd4vXCE/AIW8wrtvtXwLs5r2umTFTX6MgZkaYFPZgH9v6PVu7Br/xPUjwX0uCuoWhR/Msi3IN3MlqSM92dQIW9e7akimL0s4PpPK7LYEB+0CPcHuveC8oRlL/gBpHv0Nq3NhXk4EurnXz3uQHm5C5WCtN30r3pKwen3Lozsqne7ckeR1P9wwoVlk/vJWojfpy+EMIB8eTrzZoQkyeOf1ntPKm8vdctHUEUNG7HEIGjTjoiwGWsRJpPc/rynh/dRvLofl86gqB2u/avwDZAYgjKHB8lndFTwu5futoxdc/tpwi71l2qd0COOCzJFPIWhvsNyY97v2WGSxFTOY5Z6EDYqEmF7uXWK4g7OmBHVPwWMX7tOeVFYi/XUV21LLpvp5bcZHPACxF80X6ql 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: VogCK4SAIiqn43kG5FHur06CXpdtEO2TuMmvTFGNbUOA7acDuntHC0HCD8F1r8nLZxf2EzxeaI4WsG7P+tIMqiXSRHzsPJ8c9v398iH2xbYiqlgmNWl7L4AXMpnk3xd+Kvamh8BJQJtQudrhmtBm8PfumoR/TYmSIpZfHKeU2bSV1HJNeVU4+Zs6KB//W5IQyNRxm9DnfEnl1YBAvdYiUf7eXlPio0RwiC2osq3rcqMbM2RVwHvJsx2e4905Wy6HIxvY7O3YW9sKpVY9vkif/448CYocmGa6igxa/G/Y3qXUx1nCrr/q4fG/X60g4Mx9+iP8c7g3VD2V5vGQN1j+MFsi9Q+msg5YKq4KTNIawrrHO1l4tD9iKvoNYT7M1YojTwBGnbQucCcpMeAquw/AUTrr3J97Sw5p7XEE1l5aYjGv/SwUjrBCeSacI4kZJTfNeYj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dVbONbjgJqhmk3Dvlx/GXw1ZK47wzWX2bEAel9fDAJMWyC8p/fkOm1s09dQKoVSCLCp2QiKHat/IrZwwrDYV8sl5+jSYlkEHWV9wwGNHM6eBWf0HWNA= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7180838f-c8fd-43c3-2e9f-08db9220dcbf 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:50:04.4075 (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: ke3QABTWqaIrdyLpZsX+lRc1h3aSNZchQEY5gLLL7aq3eX1rxPhYyVKnzXTWlIIbQukaWOaFyOg8kq2yqEoMToukPaa8YwnXRMkvd+apk0oidNER0bHy9f7pYL4N5TX/ X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY3PR01MB11995 Precedence: bulk List-ID: X-Mailing-List: linux-clk@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 Tested-by: Vincenzo De Michele Tested-by: Patrick Keil Reviewed-by: Geert Uytterhoeven --- drivers/clk/renesas/r8a77965-cpg-mssr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/renesas/r8a77965-cpg-mssr.c b/drivers/clk/renesas/r8a77965-cpg-mssr.c index 78f6e530848e..48aa4bd8ee4e 100644 --- a/drivers/clk/renesas/r8a77965-cpg-mssr.c +++ b/drivers/clk/renesas/r8a77965-cpg-mssr.c @@ -236,6 +236,7 @@ static const struct mssr_mod_clk r8a77965_mod_clks[] __initconst = { DEF_MOD("rpc-if", 917, R8A77965_CLK_RPCD2), DEF_MOD("i2c6", 918, R8A77965_CLK_S0D6), DEF_MOD("i2c5", 919, R8A77965_CLK_S0D6), + DEF_MOD("adg", 922, R8A77965_CLK_S0D4), DEF_MOD("i2c-dvfs", 926, R8A77965_CLK_CP), DEF_MOD("i2c4", 927, R8A77965_CLK_S0D6), DEF_MOD("i2c3", 928, R8A77965_CLK_S0D6), From patchwork Mon Jul 31 23:50:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13335609 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 05063C04E69 for ; Mon, 31 Jul 2023 23:51:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232064AbjGaXvH (ORCPT ); Mon, 31 Jul 2023 19:51:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232066AbjGaXux (ORCPT ); Mon, 31 Jul 2023 19:50:53 -0400 Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2092.outbound.protection.outlook.com [40.107.113.92]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A02192111; Mon, 31 Jul 2023 16:50:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Lyy0z9P2ceS/oU6YPd8Zbj0PDGTM9S4wCSVsB2YeSQEZ9nuZ2kkyjc8pdiMSpk88bDWrSON1c3Pvo3TP/Cl1KbPQ/JL+BZWV0omOL80iIb8hZs6ajJ/fNmMfGc6GIfHismlCHELXZuN/BqzUlpItG/2Jy+N69pL0/gIGa/iiTaZjuyyP80eFF3LBG/BNO47PRA2kTaUsjmx/THQzZ5VGks8AhxUfEzJLgzq5XHC5/MOwGJRiI65e0taAztakp/rfrjR/l0IQJVTrsAvwTLmohgd9n24fzLtmTpnycnnIqCHNUggfYoZeuoMpLWozzm7L2tCitfCYgZ8XlKmDkDgz7A== 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=b7YO0pEcOu5wPn29UFlF7PLGv3TlbCdMao2em7LlGeM=; b=KO40PXyNlDlf6j0i35iPd2HGJfAhj/0OKVDZO9gkXjEGjSURCDldHopIp+drIqHJPY7da24dxpn50J355CkoFyJJ3TmLE1qDQqMJiLYL82j0w/Ab0yqU6WLeJbLtCZoh9N7xYuxQJkspp4eirzau4/S8CnohRXF4HP7inOnp8SzpbKpb6nFzVfz6Q6EcyM1FPfyZXmY3dJBTYi6hd+lFOuqh3JHgPjrdFMFJsWPhNZYCJO5ccBd2BpEJau52MXuRhRFAthJ0zE5lybwEc1HjA5thxLIDh5hPpm0yi1Da6cJS58j7crJKMn6xue4JNyrBR3Lyz3hUs2cbt66svpl/Lw== 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=b7YO0pEcOu5wPn29UFlF7PLGv3TlbCdMao2em7LlGeM=; b=PbrHpG+ZVKvjoo2BFFytRQwji23mvlICC1fUIMaiUUwGdaS+qO28+eaQPJYy5K9QngR8udqRgFjsD8QyWw8/43mMMwUcQpiW36BNs7kCR+x0xtqOglPHgOttIoS2Unf+Ye6DPgbHVbS7DkziDdr9EKC71XpZ/K/xA9MUEeGBnSk= 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 OS3PR01MB7732.jpnprd01.prod.outlook.com (2603:1096:604:179::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.44; Mon, 31 Jul 2023 23:50:10 +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:50:10 +0000 Message-ID: <87fs53prny.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 8/9] clk: renesas: r8a77990: 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:50:10 +0000 X-ClientProxiedBy: TY2PR02CA0024.apcprd02.prod.outlook.com (2603:1096:404:56::36) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3PR01MB8426:EE_|OS3PR01MB7732:EE_ X-MS-Office365-Filtering-Correlation-Id: 7576751e-0f1f-4017-a050-08db9220e046 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yT+BuMTQbZ7HQZylcKw9YTMBVf9ZL8IA034Oiin83d2NHcyeb9WKoVeVRFG4RV2m4fSP7lrVj6e/eBo3muZ8oEtEcTsabFXLx9YT1B1rYjCCJ8O6ZfkqGWa93n3ZFfsFccdrVOlHerMChY8yG6LkG6X7Ia0gQQYNiHq7yzKMKwSt7ew6gUHD0XhZs6lBBTMmo3YznA8yCMyeB0DbigUxVk98FhCu4XmLGbdMIc8XTcp/7A2us+j3n0N+xXz/ltXkmV9uiuegiSaIUdtqhKNFecYKfIMFv2N7pOx9/vkKKneGkt1U5FOX+Gs4l8zjubbYpiAIoaR+eOAlbtNDw/A+DOGMu/D0BCtylcOFhhD4xYwtv9e7+RhZm+IyVi7j6MnN8frRGsugHrkoxAy8hqNgYees3cMAD6ridCCioP6zwql3mZOFt9crTHIrEs/YPfLhWCbzvSNzpBo2R87crjfCaqGTifQTocv3Z/1wAKDlII5fB1AG8OgX632Oa03N/L4yXIIsIL4XUV8wm/jpO7sBRRnd61fARCAw6GTG1BdJgwkNtX0YoFLviwkp7FlGisuXh441BEaAiqhGHOp2YslkosQfrYX/D4UspOK3//b/1kelIPpSkyKX0/MSwbRWBbB/ 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)(346002)(39860400002)(396003)(136003)(376002)(366004)(451199021)(38350700002)(38100700002)(86362001)(36756003)(6512007)(478600001)(52116002)(6486002)(2616005)(186003)(8676002)(26005)(6506007)(8936002)(5660300002)(66556008)(66946007)(66476007)(2906002)(4326008)(316002)(41300700001)(4744005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: DkPTA9ej643g4k/BDdPC/s0kHe25Nwwoznr5apezeDEn84It6T2l9uAjBsFp7AvSNo+ELF+vCdnebbpraP+dXcm4546ZWYURc5k7gNri7tQAGstCN0XCQmaRVdWV46MLSP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sdKaIs2gzfE9QTH8wAn3Mp5hC1iPXlZSktITbQtPnLaupZxQKtFV5eDMZbafIaFUocSLxyJ5S8uDj/bUagyuMeuUu+jrEmYwZXlaefvG6VJLrlEEqDevkDCbiLqgDU5zPcOQObvFMOzgSwwKzq6r9MR0lGBp+38rJuhBAA382hCZJrbF/Ay/3IyvYzd2OA/PL4IRt7Hccl6SD/SFTmiqCy2yzL2ZWELVuoGcGRvGlTSGqnG84yGSTeNIE/NJ1V8z9zpf0VP37ImC/HcFC0BQ6EYuepWWXyUX1Mz2iZR2Zd323ZwUZ2FHfp3lRZj6j1iBw9TkoMNfvh7k4gmj0HEyPJHb2pMo7fG9b9fU40HDqvqtgfkIZvF9Lvuk1cJR/A5j1BPpIB+l871Gx/8X1wKE0yYz9ZATJb+tPPvmsAPv+Y9tyPB/oAi9xWpYOA0= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7576751e-0f1f-4017-a050-08db9220e046 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:50:10.3577 (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: 8yXDI5jaJc4iwi40l+XGIJpjSyA4FqaajXRgjEGH2MqBRQT+BNRSzPxRqoz7SxllbpBd10mv1zsqBNJ8NETXg1Hc/B7ZrJuiqRniDKLG6OcRa+wUDg2VGSi/ie5JKlMZ X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3PR01MB7732 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org R-Car Sound needs to enable "ADG" on RMSTPCR9/SMSTPCR9 22bit to use clk_i which came from internal ZA2. This patch adds it. Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/clk/renesas/r8a77990-cpg-mssr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/renesas/r8a77990-cpg-mssr.c b/drivers/clk/renesas/r8a77990-cpg-mssr.c index b666d099365e..b2f82c594925 100644 --- a/drivers/clk/renesas/r8a77990-cpg-mssr.c +++ b/drivers/clk/renesas/r8a77990-cpg-mssr.c @@ -224,6 +224,7 @@ static const struct mssr_mod_clk r8a77990_mod_clks[] __initconst = { DEF_MOD("rpc-if", 917, R8A77990_CLK_RPCD2), DEF_MOD("i2c6", 918, R8A77990_CLK_S3D2), DEF_MOD("i2c5", 919, R8A77990_CLK_S3D2), + DEF_MOD("adg", 922, R8A77990_CLK_ZA2), DEF_MOD("i2c-dvfs", 926, R8A77990_CLK_CP), DEF_MOD("i2c4", 927, R8A77990_CLK_S3D2), DEF_MOD("i2c3", 928, R8A77990_CLK_S3D2), From patchwork Mon Jul 31 23:50:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13335611 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 E8A7DC04E69 for ; Mon, 31 Jul 2023 23:51:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232069AbjGaXv2 (ORCPT ); Mon, 31 Jul 2023 19:51:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230306AbjGaXvI (ORCPT ); Mon, 31 Jul 2023 19:51:08 -0400 Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2092.outbound.protection.outlook.com [40.107.113.92]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 132B12D62; Mon, 31 Jul 2023 16:50:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZCBPKktZKgdbIZvSPOihjRo02+kuGIA/Xbd4GWT2WOVvjMt2bfPQWR4Hz2TRor28APIZe5T9lftbpeYKunJQtVW3kXoksaFQqdS3MlqoT2KlxjOsUda4AeSErv+Ot+MOqjq7TOAe1a+i8kHpyFLQyHzWp10HyCkzLH1J0MlkD4EjmokVx8HT5CkYxgkobtG60/MHiSPHT6ZtAPdCV7O1EFNYEp6A75l6raWF5qpG6FWKpoNQtgZOM1s1HFYjpT1+TtlcI7LJ06tZG8N4pM1uFdIkjrmAwfYWg4zOOwSJarLR/fL/gvfBgFhDqNu9wionZ4vxdG2MM1z8h6OM9c0ETQ== 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=JQUqP7FTZ6f7RWAsjYOH63h9nfDu41dpgPXWmXsSnNg=; b=WqgXkjQD/ecMvIxy4JXX+MT4Iog65ImfLNjHKaPDUJnqc+oRz6kqlU1Cy98ilFCckJG4FrLomvKSxDE4qwW/xOSYNDvV2Is1TDoBpitv2oaTYNc7wMBeofsUJem+5lWnVVUT8pdZ0hm7Ggu1aTSZSOQJRmM9W+t+/PR6DizGUGzubIQ7LLHwVWVOfBZdG5XyrRpAsx0zdG6BdVbV14e0Z5cjPcBXCSpV6BWrkGK+NOtoTCfi5sQg/NFtW2ghQaBQu9kXEzNWQw+ikUGN0IiNUXBbSlNfWKf5NG/+ZpEHqXJq0lbXlAMPDvP4EL/kv37/Hlvy2kJ+vIxapf1nWJmAWA== 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=JQUqP7FTZ6f7RWAsjYOH63h9nfDu41dpgPXWmXsSnNg=; b=f7favY2mXHjiKuXX8osXwfPxfCQM+fcJ5VMYfPZ8Ml9F12PADx44fwJ+GS9MzdOBPn9OnVjte7ihYv82GUhW7Jq4dg2vaqkp0rDGugu5S7wlzmog9sd+hQLeuzszH866JCEFPaVuRHaqUi+0H5JzwopNj3jQk+wm8vbzyLvWkVg= 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 OS3PR01MB7732.jpnprd01.prod.outlook.com (2603:1096:604:179::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.44; Mon, 31 Jul 2023 23:50:15 +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:50:15 +0000 Message-ID: <87edknprnt.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 9/9] clk: renesas: r8a77995: 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:50:15 +0000 X-ClientProxiedBy: TYAPR01CA0172.jpnprd01.prod.outlook.com (2603:1096:404:ba::16) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3PR01MB8426:EE_|OS3PR01MB7732:EE_ X-MS-Office365-Filtering-Correlation-Id: 7164afc3-a5b8-4b04-0b86-08db9220e33f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kjBmbbISdz0E4AsMW4EctHA2sjWgpi1tl8ex588RFsYS533eDc0rwhTrTI0iKhKFo97Fu4wEZLIkOVF7RHAqugXO/HtU+/Hejp2pCt4RH/0kE2T2n4fe57J/yI+PtxlM+nSkCcwuzkr4e551jVRJSzUOfONFoxPdg08k9k/bZxaN9t86k75w+c+jIukCvhfjoZggQLv7J3xjr5XfvFDTU04LkZQ8IR3mj9+Ws32rB1UImNzbayWobFo+7erKdn2zE+6jmDPPh4LBXQEfQ+wCqpEFCnD0u56gO4+ZNufgNaaT7EIV6UoV7YyYN0JFeXXm3SafD1i0rSW8z2cdoVRtsO2jjRFfAm7auDTkeyphYSPHZGH2djYtbZUhEP4OehWDrque6BhCT/JMxu3LFlMkWhNV2/B6ergZDpHIkL3SVRFSTq/ojJx4g08wYDAWV/mIbxkX7u7EefXU2nfG0ZE1QfVJk4C9dwEd4JCKNPmDc+8AijhxmlvORbYMSYwbjCD9E/881qf8TnAY88FIPfamq65lzsI0vN6HG4NSnfZGtbMtcPhprqbLP1uFf2jV60C6uEpLkBlR6adewhqPGyakbqLygeChm9sp2IHrlEFOcJDow+me5NNYAwwHBbuHAjTs 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)(346002)(39860400002)(396003)(136003)(376002)(366004)(451199021)(38350700002)(38100700002)(86362001)(36756003)(6512007)(478600001)(52116002)(6486002)(2616005)(186003)(8676002)(26005)(6506007)(8936002)(5660300002)(66556008)(66946007)(66476007)(2906002)(4326008)(316002)(41300700001)(4744005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 93phW3ki0/g/PZ6ssuwxhiUPlvcFQ4xX81CHBeS1PAe7Ws6E0Y0qsEmB5L5kh1Xip6J4NAL17SMDXG77x1MyjEOwUu8vs47QqwAerSnaJ2JfgIDBpBf113KGyxTe2v9dvf3QL2eTa7dL4nuYaiCjLazEOcTeOzZ3kgHkMbcRwlya66dGvarxkng27lih8cDBSAQgnbhp0c18jJhPq23ASbohSPbu9JsxPHlFhkqayhSJK5anMw/mxxNXYOIzsLSC/EpYrhV+HRQX9AqGVsRQdH5y8Qw3cXK2C37UfpBkaPRVHg0Qv63Cz9aWcFHX+5YXJSiuD+lUVpoFcyR2trpt5PUcWjJUqa51yYoYnhn5pEn+DcB65sfc1Sks8lgiwnN4O3Nd8CdSZyBX+uf0FzUjIkNTLenbOlErq5UxINg4zsEf7k/2ETpQjkoYDIJubVf1e862xB6q6r5eSu8/OCXSTLQPEN6wUJIZRXqUiB6DxK2lm8/Zr9J1Xbcy1vNK2FXlD4JBTpTA2NgDTlqz09iBS0u8WtVuu6w0xtWwEGZuwDDRuIsgiR0Y5jMFWu654lAfSCrpgcMgvHKViZa3nC1Syx+tImCiNIQVLCQwE4F7Sv1KbZUzM5NiuW0t6Xdw8iomh8HEQts4PJEgVydrb3u2HvjwKvC04dD3Mr6hWO1mRPok43s0dF1QxZl6q6BIBJMyxv04Xz+mKphIL8EkrH8Emodd4MPgOctpuzpvLQCqOtL56ltUcwGro0k1mNuZ9q9T/6gJyTWo5uoSrzbelj3j6je3ZIG0UciEXU9m7Z63UHnzYqjcOjrcWZD+VlPirWYQwUEdsyU7p5UyjG+Ni7P78EIKIFnCjv8eKzq7WNU9wEeZhN2DFptH83Vh839SSWWIiySFvcGXwLgprIOMM5K5EfzpHQygxZVwN170d3ZDcnU6+bh+XicZzszpGiRL6ZpB5em/HqS5Q0LefcjbxHIpt2/ZrWPZC2DONVOi5owFTGX+qhPnSaUOcsQ4FrM4D+6znoxglRy12Th4yqdBIV0eHNHfKKamtUO+1PQ5Ipa//BvDSvAegVTwT1r4d1bHvBwOs2HfvwCW7jqYboGnTpCfkMVMfAF/hv7dEQF+45A8z4Nr7ZBvd6QJvnF170JWjYZxpN5JIHpGvpnhZZgnX9KWm7W5v7c2NAY0rPIvdXQHGMGWC3d3uAK59BF1ARvvsEeafvSySh+auJuVl7N5bLgayTYioHNpjAKWvRZU8Nog85k6giIT1N0v+zPprs1UfxT5/h5i1P0p76HM3bcgRYrMC6e4gN2R8rLvEDCL/9ROd/C+1rMnLc4AFbk/5jttIiHUNkZvPMJ2BzMCKYMZKCx3HeltWuq5q5/DDgQG1h+jvCqr/PYolihnQgMMyg/nKFC7BQJcf1cwEuXoxqfH4aUtJbsFsd8Q/LdpE1J1saQCOWoLL4TvMFgHMBlwhx6KVd6brZ2GbqXq5bx29Q6VyIrnO4nAcXv3hc04L1x308+fx5w/y0ev19XFKmySG/nP+zfcvQTsViwLgdFfZADE9hR5iWwWMXPznqL/zur/cu4jVe6YDnjiiWS7meLhqsrBvsHiSEWPb2JkkZFdqzanFRuqUyiOfxsb5UTbSTKuqXW33Lk= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7164afc3-a5b8-4b04-0b86-08db9220e33f 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:50:15.5347 (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: cBCRSB15csUDAMBJ6GQBaRjTcWfmvgd8xm+dhyWE+pSC5HQ/fs8Bj/Kp1CpVe0eNB1pRkdeNsKnyllfVOekNAF2p+qPreYkCSMR5DZWNwMpGjPZl0Sm4KhG8aCq6NpHK X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3PR01MB7732 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org R-Car Sound needs to enable "ADG" on RMSTPCR9/SMSTPCR9 22bit to use clk_i which came from internal ZA2. This patch adds it. Signed-off-by: Kuninori Morimoto Reviewed-by: Geert Uytterhoeven --- drivers/clk/renesas/r8a77995-cpg-mssr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/renesas/r8a77995-cpg-mssr.c b/drivers/clk/renesas/r8a77995-cpg-mssr.c index 3a73f6f911dd..162fa86c81ff 100644 --- a/drivers/clk/renesas/r8a77995-cpg-mssr.c +++ b/drivers/clk/renesas/r8a77995-cpg-mssr.c @@ -181,6 +181,7 @@ static const struct mssr_mod_clk r8a77995_mod_clks[] __initconst = { DEF_MOD("can-if1", 915, R8A77995_CLK_S3D4), DEF_MOD("can-if0", 916, R8A77995_CLK_S3D4), DEF_MOD("rpc-if", 917, R8A77995_CLK_RPCD2), + DEF_MOD("adg", 922, R8A77995_CLK_ZA2), DEF_MOD("i2c3", 928, R8A77995_CLK_S3D2), DEF_MOD("i2c2", 929, R8A77995_CLK_S3D2), DEF_MOD("i2c1", 930, R8A77995_CLK_S3D2),