Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp541748rdg; Tue, 10 Oct 2023 19:50:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFrAKTwZWCx3fQhPuqjj16QghjaV9xdMhNlDgCcOqMi5lrc2xRmpYzLamGTxl7L1/aX4xZF X-Received: by 2002:a17:902:d4c9:b0:1c7:8345:f377 with SMTP id o9-20020a170902d4c900b001c78345f377mr20641542plg.29.1696992635240; Tue, 10 Oct 2023 19:50:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696992635; cv=pass; d=google.com; s=arc-20160816; b=QPyjKxV1vNyUkMrlOD2wa4SgDKVUvrZmNszUEdg/peMleUmi6JJIgkJvS9Put/W2tA 0dgptlqacTLINyJj3PFsE6q9xVVCUqHQAdDz4oDXKGSYN7CcSQvgrKXnUbP4xIO2LhKg SXLXXfN6BqCMNDK2aZEnHZ/HxzTV7RuwK6K6oI1HCuPlewg/nYLdvxt9fy4MV/lt021N VsDwYvOwI9/ibKJxMC5VoahTCoruTSt4HOCaT6vy38UjSAW1Q2aapiQsQ4i1DKYiMrEs ZEwKPxs/Yv7zbdY9a7+T7l78qIulRRkkBm27LYCj/j8C9p8jKFSzYgdUVPfu6/v1AHfs 8HWA== 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 :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=s74HjkzSQr56YXmtVLL8mK7Q8FfFT8/LksnS8c/3y1c=; fh=4a3dhAl6uSkyzAK2gqYcnx2pzpu1Hsz/4QvoWpM1v0E=; b=FxSWF+ZVB2xv+Xz68Ck85LvglA3XnuvcjQzlB0V//WzivsK1w9kYylSmRH1+A+t8ne lhQJYLabyruZQvie/VQBrrP6Py1zf6kzL2DSmAYAutNL089cGLpa28rwz2AlgU0pHAxB 0FCJ7h7Yl5+xoI/UJ3vEKvkHWD64L+XJPlUwvhGAx2LbsXohv4e7pNPt5L1gATHlLR8H vUUflJnJf9Ss9g8NcIBgEKjbGC30FhhG9bt10Ah8sXY0UH0Dy+yYXm0m3tLqd4XySwa5 pDtpYIUuIgOw/w6Pkqgn7H7VkrnYsq5NV5no85VUTalP4VllNgw8YhFsm1PtYwwWhLZZ MliQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amlogic.com header.s=selector1 header.b=j5Z2nNo3; arc=pass (i=1 spf=pass spfdomain=amlogic.com dkim=pass dkdomain=amlogic.com dmarc=pass fromdomain=amlogic.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id d11-20020a170902cecb00b001c5ff477ebcsi10784907plg.265.2023.10.10.19.50.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 19:50:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@amlogic.com header.s=selector1 header.b=j5Z2nNo3; arc=pass (i=1 spf=pass spfdomain=amlogic.com dkim=pass dkdomain=amlogic.com dmarc=pass fromdomain=amlogic.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 419B680E7601; Tue, 10 Oct 2023 19:50:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344880AbjJKCuZ (ORCPT + 99 others); Tue, 10 Oct 2023 22:50:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344862AbjJKCuY (ORCPT ); Tue, 10 Oct 2023 22:50:24 -0400 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2093.outbound.protection.outlook.com [40.107.255.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B697594; Tue, 10 Oct 2023 19:50:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d7ataCgcZMUcPe/0BXOioCeFLdD/ZLXFYuRmGZE7Da8/AoGm09AIoxJn99PWgpVpbFx/jm5Vghu/9US3YpiDROosIc0luvwsusrdxuDyeI53PeHaFCdNCnEdv3y3ZTMjagQxx0cHxPWAEL9tpbR5VWI2spRoliwyx/6PAwQL7ilixcaHqCQEPXI0r91JmNvhjF/21kPTY1D4PaJzXd8AkOqWZFn+P0l9TkrUeL+1xLM0OOXSKI5eyRx4opgryp+c8v48eUU8PdKFMe9VEi7PzIdbz4M8/3Xy1Iv18ghXtZJ2S7wDEgu6mBki4vcQnXb7yXN6pJOidxAbCoK9XN1BZw== 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=s74HjkzSQr56YXmtVLL8mK7Q8FfFT8/LksnS8c/3y1c=; b=WQenpPjAvpTczNqmBTAoMEoTH7X5kU+gvK3eHpCy3/VsKWDXm5+gv3JiMLKslLIUQfaB29oDqJYeG+/ZqTT3II6baoTw6KI8cQiwkTTFENXkE8mry/fP//PGJ+6/lerVsDTvpM41XQl+0HjKs9R2PhGiZTtBm/lKjL9g5gjuG8CpGis1gyZdtA+C+I+XPay6RTBmI9ofn3tuNjoPAbOlhSg+zyTObaiU5/yPcHDJoPbz5laNvqV3r4b4vzu6wAwj7aM6A8nepGToawCOUdrS6NWAzc28Av/9XpbHcBbYzf8yUUp7PzxCLUMIfucTYV83/gdKSaedivuxuMgtiymlMQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amlogic.com; dmarc=pass action=none header.from=amlogic.com; dkim=pass header.d=amlogic.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amlogic.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=s74HjkzSQr56YXmtVLL8mK7Q8FfFT8/LksnS8c/3y1c=; b=j5Z2nNo3ldeMbtDtpQoomKQOXXygnVLk58rEZUoAGqKdc0ZhCvZPhS/0fmMrqFDwHTfbRpZaQCbq1WlWQT5HeJPM0LKbEHb/cFpuo/MKwKlC85mDGoVD5LJsTqFml9+tSUa1iwS6UFjDlQ393xqg5oF8TOagIAhJuYtc281WESWLAanEcU6B52j6qZEj4ONA45zENS4WqsRNjNNQvv9bjk6tbiCUqtLnauEFDR6ye5uLA+R1/h98GrtAUaZrWgwdxL7JlQWdCDNEDXSJJaIcbMP/8ahKPLXYlepP1qF3OJUxeyKgBCpHtf1Go5iC3YrLbtmHxxGMOmJTSkiBBgqwcQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amlogic.com; Received: from TYZPR03MB6896.apcprd03.prod.outlook.com (2603:1096:400:289::14) by SI2PR03MB5771.apcprd03.prod.outlook.com (2603:1096:4:150::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.38; Wed, 11 Oct 2023 02:50:12 +0000 Received: from TYZPR03MB6896.apcprd03.prod.outlook.com ([fe80::792a:209d:4919:5db6]) by TYZPR03MB6896.apcprd03.prod.outlook.com ([fe80::792a:209d:4919:5db6%7]) with mapi id 15.20.6863.041; Wed, 11 Oct 2023 02:50:11 +0000 Message-ID: <291f03f9-72aa-2842-b44a-c88c812df4f1@amlogic.com> Date: Wed, 11 Oct 2023 10:50:04 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH V2 1/4] dt-bindings: clock: add Amlogic C3 PLL clock controller bindings Content-Language: en-US To: Rob Herring Cc: linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Neil Armstrong , Jerome Brunet , Michael Turquette , Stephen Boyd , Krzysztof Kozlowski , Kevin Hilman , Martin Blumenstingl , Chuan Liu References: <20231010062917.3624223-1-xianwei.zhao@amlogic.com> <20231010062917.3624223-2-xianwei.zhao@amlogic.com> <20231010132151.GA557938-robh@kernel.org> From: Xianwei Zhao In-Reply-To: <20231010132151.GA557938-robh@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SI2PR06CA0002.apcprd06.prod.outlook.com (2603:1096:4:186::10) To TYZPR03MB6896.apcprd03.prod.outlook.com (2603:1096:400:289::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR03MB6896:EE_|SI2PR03MB5771:EE_ X-MS-Office365-Filtering-Correlation-Id: 5ee20711-979f-44cf-3f98-08dbca04c94f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +tA1jHiInbtT6X6HDQk3P4vDy3jmA1Jrk+YJ31Zr3r8Rsr90DI2rSfjdoUMi5EJRk1pZY8ugZoca6tXrgNHR/5C2GdIh6XZMwbBFrKt78IdX4qoCXFNt4Wqh6FxY1KVb660K5PQxTACaZpsHZE7GJWFJAxBxkc+h07f2fb+Vg6+cADG3eQQFBL1d3zInspbuD27SphhwOV9xDpK6slykuy30KGXqUCYU619OrkrW0ZSvGfnT/G8WRiI36COqMnssdPLYoiij+XuRWjBm33YW7kn5MUTPVc51TU6hHcqLwbaoZhioFtl9u6Znk+Qjv0jtYYmXLGSFRlnXlsIrcH0TsLEAoyRA8gke4moqxbCG3spCLlRzZZYfZcSxZzFBvyq3fviOxKJNUw2+HVoFnH/B4R8tFmSOs07b7HbdRCebAKdItV5cMH5xhBt+kVeVDrYfHXS5cwXfjI20w1xckQ9dZKBpFwz7AUu1ZcJIRm2EYeLes04MSKoX9KFIgxZexFCyTFgUZQ32/BrQ5sPjSSjpTDWCs2yzNuCoybtLzpD4b1Nki+qzagVBgEtdXxlCvyqMtI/3ZSGxmkSU/5eTEF51bBTNlZvOocvyA1MpEQ+7mFJ6Q0kswiXYFUomLv3Xad8lLw2DVxo+EfoDJ5Acl7nfDlwV0BtxVq0iCnl7G6obXt4zd/oHMmsmY1AY8ofdwgrz X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYZPR03MB6896.apcprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39850400004)(346002)(396003)(136003)(376002)(366004)(230922051799003)(451199024)(64100799003)(186009)(1800799009)(31686004)(26005)(53546011)(2616005)(86362001)(38100700002)(36756003)(31696002)(6512007)(4326008)(2906002)(8676002)(7416002)(107886003)(8936002)(54906003)(6666004)(5660300002)(508600001)(6506007)(6916009)(966005)(66946007)(6486002)(83380400001)(316002)(41300700001)(66476007)(66556008)(44832011)(45980500001)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?NFRpengyUFpUek5W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UbDYz?= =?utf-8?B?ZXliRURKVXhrcDJhZUFCMnk3UUtISEFoSENlWWdUQjlpZlo4a1Q3N3lzOVdC?= =?utf-8?B?MWx0YjJad2VXdDc1MWRTc0xkYnkzbUwrS3BVeExZS211UkluaE5JTC9IRXU4?= =?utf-8?B?MzEzdEQrckgrY3lFOHFYcGpOMTczeGJnMUltbHo0QUErWjIycXd2ejJKL1lr?= =?utf-8?B?RzlPTm5UaUNxa0FnQWRkT0FqRFZHL2g0bHpFZVB6SXByUmxSTW9BaWRCMmJ2?= =?utf-8?B?Vnh3VGJyNjkzSWpKT2duSmlhcS9aUjRWc2U5NXVyV3NBZzEybUtLc2xUYm5V?= =?utf-8?B?ZTVBZE51OW9BbWJZZWdubkMyUFY3WWYzc0NBSjhkNWxpaEdsbWRPZmtrKzBJ?= =?utf-8?B?S1E9PQ==?= X-OriginatorOrg: amlogic.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5ee20711-979f-44cf-3f98-08dbca04c94f X-MS-Exchange-CrossTenant-AuthSource: TYZPR03MB6896.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2023 02:50:11.4204 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0df2add9-25ca-4b3a-acb4-c99ddf0b1114 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: FgPGxfY1snTYQtwNy1OCGKA40pddhv2lKxON3iQK8MbcapvYG9AgtJmMZq0NalcXRCBEVF6POsxxAKh98r4UWfJzROllW87BohBbs5t8YgE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2PR03MB5771 X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 10 Oct 2023 19:50:32 -0700 (PDT) Hi Rob, Thanks for your advise. On 2023/10/10 21:21, Rob Herring wrote: > [ EXTERNAL EMAIL ] > > On Tue, Oct 10, 2023 at 02:29:14PM +0800, Xianwei Zhao wrote: >> Add the C3 PLL clock controller dt-bindings for Amlogic C3 SoC family >> >> Signed-off-by: Xianwei Zhao >> --- >> V1 -> V2: Fix errors when check dtbinding use "make dt_binding_check" > > Your patches aren't bisectable. It's fine if you want to combine patch 1 > and 2 into 1 patch. Or just use the raw numbers here instead of the > header. > I will combine patch 1 and 2 into 1 patch in V3. >> --- >> .../bindings/clock/amlogic,c3-pll-clkc.yaml | 59 +++++++++++++++++++ >> .../dt-bindings/clock/amlogic,c3-pll-clkc.h | 42 +++++++++++++ >> 2 files changed, 101 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/clock/amlogic,c3-pll-clkc.yaml >> create mode 100644 include/dt-bindings/clock/amlogic,c3-pll-clkc.h >> >> diff --git a/Documentation/devicetree/bindings/clock/amlogic,c3-pll-clkc.yaml b/Documentation/devicetree/bindings/clock/amlogic,c3-pll-clkc.yaml >> new file mode 100644 >> index 000000000000..a646992917b7 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/clock/amlogic,c3-pll-clkc.yaml >> @@ -0,0 +1,59 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >> +# Copyright (C) 2022-2023 Amlogic, Inc. All rights reserved >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/clock/amlogic,c3-pll-clkc.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Amlogic C3 serials PLL Clock Controller > > s/serials/Serials/ > Will fix >> + >> +maintainers: >> + - Chuan Liu >> + >> +properties: >> + compatible: >> + const: amlogic,c3-pll-clkc >> + >> + reg: >> + maxItems: 1 >> + >> + clocks: >> + minItems: 1 >> + items: >> + - description: input pll_in >> + - description: input mclk_pll_in >> + >> + clock-names: >> + minItems: 1 >> + items: >> + - const: pll_in >> + - const: mclk_pll_in >> + >> + "#clock-cells": >> + const: 1 >> + >> +required: >> + - compatible >> + - reg >> + - clocks >> + - clock-names >> + - "#clock-cells" >> + >> +additionalProperties: false >> + >> +examples: >> + - | >> + #include >> + apb { >> + #address-cells = <2>; >> + #size-cells = <2>; >> + >> + clkc_pll: clock-controller@8000 { > > Drop unused labels. > Will delete clkc_pll. >> + compatible = "amlogic,c3-pll-clkc"; > > Your indentation is not consistent. > Will fix it in V3. >> + reg = <0x0 0x8000 0x0 0x1a4>; >> + clocks = <&clkc_periphs CLKID_PLL_IN>, >> + <&clkc_periphs CLKID_MCLK_PLL_IN>; >> + clock-names = "pll_in", "mclk_pll_in"; >> + #clock-cells = <1>; >> + }; >> + }; >> diff --git a/include/dt-bindings/clock/amlogic,c3-pll-clkc.h b/include/dt-bindings/clock/amlogic,c3-pll-clkc.h >> new file mode 100644 >> index 000000000000..aa731e8fae29 >> --- /dev/null >> +++ b/include/dt-bindings/clock/amlogic,c3-pll-clkc.h >> @@ -0,0 +1,42 @@ >> +/* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ >> +/* >> + * Copyright (c) 2023 Amlogic, Inc. All rights reserved. >> + * Author: Chuan Liu >> + */ >> + >> +#ifndef _DT_BINDINGS_CLOCK_AMLOGIC_C3_PLL_CLKC_H >> +#define _DT_BINDINGS_CLOCK_AMLOGIC_C3_PLL_CLKC_H >> + >> +#define CLKID_FIXED_PLL_DCO 0 >> +#define CLKID_FIXED_PLL 1 >> +#define CLKID_FCLK_DIV40_DIV 2 >> +#define CLKID_FCLK_DIV40 3 >> +#define CLKID_FCLK_DIV2_DIV 4 >> +#define CLKID_FCLK_DIV2 5 >> +#define CLKID_FCLK_DIV2P5_DIV 6 >> +#define CLKID_FCLK_DIV2P5 7 >> +#define CLKID_FCLK_DIV3_DIV 8 >> +#define CLKID_FCLK_DIV3 9 >> +#define CLKID_FCLK_DIV4_DIV 10 >> +#define CLKID_FCLK_DIV4 11 >> +#define CLKID_FCLK_DIV5_DIV 12 >> +#define CLKID_FCLK_DIV5 13 >> +#define CLKID_FCLK_DIV7_DIV 14 >> +#define CLKID_FCLK_DIV7 15 >> +#define CLKID_GP0_PLL_DCO 16 >> +#define CLKID_GP0_PLL 17 >> +#define CLKID_HIFI_PLL_DCO 18 >> +#define CLKID_HIFI_PLL 19 >> +#define CLKID_MCLK_PLL_DCO 20 >> +#define CLKID_MCLK_PLL 21 >> +#define CLKID_MCLK_PLL_CLK 22 >> +#define CLKID_MCLK0_SEL 23 >> +#define CLKID_MCLK0_SEL_OUT 24 >> +#define CLKID_MCLK0_DIV 25 >> +#define CLKID_MCLK0 26 >> +#define CLKID_MCLK1_SEL 27 >> +#define CLKID_MCLK1_SEL_OUT 28 >> +#define CLKID_MCLK1_DIV 29 >> +#define CLKID_MCLK1 30 >> + >> +#endif /* _DT_BINDINGS_CLOCK_AMLOGIC_C3_PLL_CLKC_H */ >> >> base-commit: 57b55c76aaf1ba50ecc6dcee5cd6843dc4d85239 >> -- >> 2.37.1 >>