From patchwork Tue Nov 15 19:26:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Helms X-Patchwork-Id: 1690 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2904780wru; Tue, 15 Nov 2022 11:28:38 -0800 (PST) X-Google-Smtp-Source: AA0mqf5nGGp325tMQWF2/JWJMoNDYs3M7FsmQ6QcAaICC831JRy8sKJXSDyGJbWX73+Ng0+rTuWe X-Received: by 2002:a62:1757:0:b0:557:ef5e:6db3 with SMTP id 84-20020a621757000000b00557ef5e6db3mr19928479pfx.13.1668540517880; Tue, 15 Nov 2022 11:28:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668540517; cv=pass; d=google.com; s=arc-20160816; b=d1onbDIlIK/3LWIco2QeH13SVPvXTTr5yO/XKJ3g3thx459JfYlSgKD3tE+WOv7Sox MPcd+I6nl0E8enHq/OSa3V2XAUgitgKoNght46uHW81vhHyE9duiSdSVCj1Cf6sq58Vc e04d6SC+PJUm3SlSX+xOLL3XNMgNuVldJcqmrHLQdtrSh+80JCBbQgcLWj2GqCmblEw7 gjRMbEwZ677DwLtmDy4z0FtN/+Vm4OSotAOqftObOSUq8n7rvsuOKpKK2C1SiQHHJOO6 AiJF8zPcXoeHZVwZzO3NPY9hlF+jTW14WyvIIClYHqMSeFuKV4f3dUC5SuPrp2WK+/oA RTcg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=5iTml/Tdtensao2GltxQlRaTS/ICox853gA6KI3OMGY=; b=dw/7u0CZoNDHlX9J3xhX20e8TVIw2bCR+jHXK7y1zxEiBB9MGNwM+lL2+pRLrMCx5u 8d2Fl/jwCWmWJdQyLo7qeNDdME4LmoZiNDwlYpM31fhMsdjFEMNeHJBRQgLE288t56KP p0D8tmKqXO0rqyIZsLtivExyv63dnVqXCLTYgWMeuBc+p1Pvn+WMVgTYdJJzEJCT4dqg idIMSFxMAgHXbC5DEk7xs2YkrQmbDiJviiLue9DNdf+EoD3/me/1Hd5DCTbpMc212RHk /31pqi6NDBAn+GC0Efk5RTJWnm0bBfOMW9Fkilwa2eOIbaiuiMfbnscu3+qWNslpyPc2 rJug== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@renesas.com header.s=selector1 header.b=bRegdyuh; arc=pass (i=1 spf=pass spfdomain=renesas.com dkim=pass dkdomain=renesas.com dmarc=pass fromdomain=renesas.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x21-20020a63db55000000b0043941763eadsi12441055pgi.835.2022.11.15.11.28.23; Tue, 15 Nov 2022 11:28:37 -0800 (PST) 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=pass header.i=@renesas.com header.s=selector1 header.b=bRegdyuh; arc=pass (i=1 spf=pass spfdomain=renesas.com dkim=pass dkdomain=renesas.com dmarc=pass fromdomain=renesas.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230410AbiKOT0y (ORCPT + 99 others); Tue, 15 Nov 2022 14:26:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230136AbiKOT0t (ORCPT ); Tue, 15 Nov 2022 14:26:49 -0500 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on20712.outbound.protection.outlook.com [IPv6:2a01:111:f403:7010::712]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F1B62F38C; Tue, 15 Nov 2022 11:26:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ckdwVhfShalf35O+SZmFQDh6KY4KjVjC+yRGoqmgPuJNcSL24MoffvGlUzpLdJwxKrJwAEV461YxDzkn2TP4IOOXQQTm1jW+HKn59FqpPNDLK6OeeT1q8T1QkSz8ckWsTr3VOwp3zLtS3fC+Yi1iEAk62RkIaMfqVaL2Pe5mDOWE9w6AgMnNDr9du6iYbG+BfvspmmpXFBLw17VjjLGWJ7CeWXT6WVYQZ+yN1XgSXDrlHoXuJo5SgZYsqMm7ZNEVix8Fu4YLZS/eFV3dxWt6/65Xuv8SCJ6wZmRip6jHlXM6nF8o3H9/dOxETvryBV2QNFQTWWPEnQsnvwh6P/ZlyQ== 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=5iTml/Tdtensao2GltxQlRaTS/ICox853gA6KI3OMGY=; b=n9+sFV4RvahWFSXvKQ//3KT5ZdrjnT5eun/HI8Mw/Ti+bJxkqFRjISAWRxoFOsZQArs5l0njvFJRHhxMU46PpFX36fFljHpBpE6iipLHNvfpy6fP/RY6pOHj9zc5M1JB1RtoTpR/KYSkh42fV1lzXA2bvUkL8AV9El67HU/laRsI6NRhLOi+TEoe8h5XTsZaY8MgY6F43bZrfq4Ewniq1ewab4B9Ufw7tgMcL1HFiPJcXZcFlL8puWhFBsTbd+g7E2oGV8na8VZT8p5BOJjjjpcvgOfMwzM1IqbxCUoquvY47ioMV3q/9x0A6Eunbon2blUZ+Y0BH7Ivs/Fx2Adq0A== 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=5iTml/Tdtensao2GltxQlRaTS/ICox853gA6KI3OMGY=; b=bRegdyuhjYPTuqkOSHzyyb48qkkAYPbF6X0mymrCjSiFGdyqi11L1/369tHBytAi7ltmI9OPlFrcyprBlyKgu16y13SOhYK33qouVse3l8Yy5CulbjCZ32Hg8R5+gcwldzQ5m6ykblLJVxgjhbm2VfeTW6uIWdP3Opv/Fs+6UiE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OSAPR01MB3892.jpnprd01.prod.outlook.com (2603:1096:604:5b::23) by TYWPR01MB10539.jpnprd01.prod.outlook.com (2603:1096:400:2fe::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.18; Tue, 15 Nov 2022 19:26:43 +0000 Received: from OSAPR01MB3892.jpnprd01.prod.outlook.com ([fe80::60f7:f062:7c7c:d289]) by OSAPR01MB3892.jpnprd01.prod.outlook.com ([fe80::60f7:f062:7c7c:d289%6]) with mapi id 15.20.5813.018; Tue, 15 Nov 2022 19:26:42 +0000 From: Alex Helms To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org Cc: krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, sboyd@kernel.org, mturquette@baylibre.com, geert+renesas@glider.be, alexander.helms.jy@renesas.com Subject: [PATCH 0/2] Add support for Renesas PhiClock 9FGV1006 clock generator Date: Tue, 15 Nov 2022 12:26:23 -0700 Message-Id: <20221115192625.9410-1-alexander.helms.jy@renesas.com> X-Mailer: git-send-email 2.25.1 X-ClientProxiedBy: BYAPR11CA0057.namprd11.prod.outlook.com (2603:10b6:a03:80::34) To OSAPR01MB3892.jpnprd01.prod.outlook.com (2603:1096:604:5b::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OSAPR01MB3892:EE_|TYWPR01MB10539:EE_ X-MS-Office365-Filtering-Correlation-Id: 76211f4b-6d98-4040-b65f-08dac73f5316 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rmAk/qfr348ovY2BjRIw3iLTKsTZRJaZIvEJHDLIOwI+1VA9t6ffxLG7C1p36EM+21phH9d6Jw/BuIXVQqeYJLQyXa5aIsnDxpPTIV3CNxG0wjuwfFdnXmXJbP/HejuY8kyXzFSjePGvVa6QjUzE/AP6p5xV1Ed+grYA0H+84CJuAz0kgVS2xDeErvfJ5nWsaM6vd1+fIWlfwO0XSdlttOCjHm261Yk7p1GJcTsMEixlBLJYQydKjzeWrmfL+FbtYpwzLNPmGQ6RGbhdGwIcv7kpxUwURsVPjAa7dq/QWcqCPLegzGSG6XrnXS/gDxYYTMA5SOzF+kbuMtC71nqvoufscLp53mSHWcuDTqmPihldDm3zYp3hN5r8U9rz2TnnMkLmGAKXztNqMpEgFdxCFt+IWBrV/zU71UCi1XbWY+iMQbWSkMG/DctFVDVezdzfwxXy7SX1wDgCveGzYxXwJq9uqND50Pc6XTPEvAIO4sai0STrx4lYsO4vUv9YTAwRc9JSad3WB3K9UYuSQNYj/pCqzQ3ULWxn13pL4xU8/6hPl/BNc0kHg7SSAW8ISr+nBJaMDHDw8RAjxu9zyA7FZ3mIrN3QW5K06+Ecobtuc9trRILMo1j9Dvm5OdSfe4is85C+DiV/vrtNbz4Cs2A0uOIn0q7LJ60eVu/5EdrboBiSIkSj+xoJhhWDdOoOdurDcCTs/sB59dj9I/Uuhez2q4VCCvA4hGl7E5SIP/4SOUR4S4heeGgDvH6Oz7YOdSxyDdLBk6jlb9bLkoEixDsT1A== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OSAPR01MB3892.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(366004)(39860400002)(396003)(136003)(376002)(346002)(451199015)(2906002)(8936002)(8676002)(83380400001)(36756003)(2616005)(66946007)(66556008)(66476007)(41300700001)(86362001)(6506007)(38350700002)(38100700002)(52116002)(186003)(5660300002)(1076003)(4744005)(4326008)(103116003)(316002)(26005)(6486002)(107886003)(6512007)(478600001)(6666004);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ayUqtKCLtiEXb2gq+XUBJILpSJTo6SU4x4snNz4bkJNJKZys4t8+/h/FikjnSEfE/sOjwnK1s2GgnPKdkv2MXLhnztltA1wQk1IGFov1cPjRynv/Z4EigbXN3EeKCRPlHGm0OxCz0WeVzf1AxvpozApkSKGSgFPb43b/PLEM/+Ohv7xcp1cxaBKWJ7Y3TJ0DQTx7cdQdeOZsVpPO2uCfExqcmfEXt9IKsCJo4iNwGHQ2+/xErAG0hJBkneeTgGeYtrE0rqbRoooQGqlGhJGg7v0NnNIDOvrGAT3YCZCmJM/1vLnet100sS1mbkdWLnNtDMTI0RA+IJA9iVqmZHGDTZpfAlKL3tooue+upmq08J4npOeApn6mJ9DBSw4PhsKJL9GMFG9KzzZZJ6XCyB/dGGlJEuUX+x8GceSPi3avwwWBUws0v0bxbc9y830o8tOTPDMg0cNpS3+DQB/Y8fjHKCFl3HuHsWyArGaVaggQJl57JWJb/hEWvLHaleKlrsjhz1a7vsI4J6vtvGrzhqQimIksgVkw2idVA4kFi4YJXotVEVj2Iv/sC+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X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 76211f4b-6d98-4040-b65f-08dac73f5316 X-MS-Exchange-CrossTenant-AuthSource: OSAPR01MB3892.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Nov 2022 19:26:41.9710 (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: oFJxZbKWNi6yqmh3GOu+VO/JYTtcE2g7tDMHL7GXBfonBEZ6GErLwTf5A8fOUi5XmvHQrJQLunygd4E0Szt4G9bnBEL4SJf9c/ukrN/LHJ4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYWPR01MB10539 X-Spam-Status: No, score=0.9 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS, SPF_PASS 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?1749591541962818191?= X-GMAIL-MSGID: =?utf-8?q?1749591541962818191?= Device tree bindings and a common clock framework device driver for the Renesas PhiClock 9FGV1006 clock generator. Alex Helms (2): dtbindings: clock: Add bindings for Renesas PhiClock clk: Add support for Renesas PhiClock clock generator .../bindings/clock/renesas,phiclock.yaml | 81 ++ MAINTAINERS | 6 + drivers/clk/Kconfig | 9 + drivers/clk/Makefile | 1 + drivers/clk/clk-phiclock.c | 729 ++++++++++++++++++ 5 files changed, 826 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/renesas,phiclock.yaml create mode 100644 drivers/clk/clk-phiclock.c base-commit: 094226ad94f471a9f19e8f8e7140a09c2625abaa