Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1636302rdb; Tue, 20 Feb 2024 02:15:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXlYwCWSaMr6027zBdob2f5t0Fv/def2T7Wo7Zp1fdgl8BmIeQCwqPoJ0LFUvTCpnOa7pIihGYz1UDbb+ctPVB6uV2ugfXNXlWiASY3/w== X-Google-Smtp-Source: AGHT+IFs1Q4RGMKXR4hPysfgUfbdNeHxiNkVJQeCnVeMRC4GI1f1Ng4ZQ/cPgsP0yosexEfQqZd3 X-Received: by 2002:a17:906:e085:b0:a3f:870:535c with SMTP id gh5-20020a170906e08500b00a3f0870535cmr513121ejb.44.1708424106714; Tue, 20 Feb 2024 02:15:06 -0800 (PST) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ga36-20020a1709070c2400b00a3ec7482fa7si1266683ejc.915.2024.02.20.02.15.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 02:15:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72795-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=jhj7zE4G; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-72795-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72795-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 34AC41F24154 for ; Tue, 20 Feb 2024 10:15:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B1388612C9; Tue, 20 Feb 2024 10:14:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="jhj7zE4G" Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01olkn2058.outbound.protection.outlook.com [40.92.107.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C0C5060EC1; Tue, 20 Feb 2024 10:14:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.92.107.58 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708424048; cv=fail; b=JyX++BL67yxzby/UqsZkhgo8HfpmWY9yoQeCqpPcyhLgbQ82WwybCk2LfT8wUlS5US9bXF2JhPitpeMT40RuqQfhdCqF/389l+qyNW8bRT6VA3Dpgg0wVAltSE4o65k4osrrWJTPWQbwDCIhyUjK7jibeubNZzEDfKP/M8HTZSU= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708424048; c=relaxed/simple; bh=0i7kkpGNdQx0vkXNsyHc8xRlboQroYvz5+vqc1dD/kI=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=GnA0iIdl0qqX53PfvP7f4YNqhOmrex+lt5xNVyDlCo39aorWCZ1x6R6UDOV7LWGZvpESHMFEd9CEuuSKHNqpRezoxBYTrd8zHmL6rA0tPFTlDZipuQjf2yG69R+fcVDcyf0asTfAgFnhTRRYCGc+kTZj7ZoYlIUcuPr7QXNIrbo= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com; spf=pass smtp.mailfrom=outlook.com; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b=jhj7zE4G; arc=fail smtp.client-ip=40.92.107.58 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=outlook.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hKUQyJiphswAO+yFbNw/GPmLpBnkVuv0ktTFGNCerPVZHDXe14pydpRhYBNkh6CLIMIOAr3x9e3zpRvQF9cFAB9bIcvVqzvmaGE/ZTGZs/5Xha4O6l5eKnijmRt0/DPkjctSWffufGkUeAvAH/UZItl5H6CO3H61pValCMkd5RtrpNhd+7aeA02E5WvfOwoDEz2Nh4+3eKNORpQbXbQh7R6l6Jmdm19EAUCHw2SdnfjYN5cS1BEV0rBNsibzs4nC2KeWhG/eiQrwSJPLvp/OaJRPAgqR8lHiVscuKpEwuL+M24tueJRaFcEW9VsZk1cldEOUrKS5Kz1pNqxsU1prag== 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=WKyhmbPAgzh+1NEwGMLrxsSGfv/M2LT7vjcE44UOZ44=; b=chsH7Tc4fOufGFbFEFcLlT5PRE1bvttDvo4NEgfxIsBt/PjIN7OSJO6yb/cRe9j0ino6g82VpmB0fVKAODbn3d6sqVJ+7mts6+k2xq/Xg1oorSEjITjdj7N3097fkQ/a7JNxZL4zp6dilgwRYrGdefBoQdYXtPoRzZ0HylGhOiI9CIIncedOux2MY52JOmlj3KfGV0IBDkyneO4zo/AZI+7Q7nbMxSFaOhFBqTNjugh9UxLEb0jTdUqBuBNeo6O2HJF/klhjDEVgFK6B2iERP2KG1bucpWxxjIfPLCFxNeVorYlF7miRJKqFMCoQOWdUE6c/lfchdt0f5s0Z2d2ntg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WKyhmbPAgzh+1NEwGMLrxsSGfv/M2LT7vjcE44UOZ44=; b=jhj7zE4GEEaapiGvLkKLCAAX/eGr6sdrFgaUc0y6BJYMkodo0wDXYNcl+BoSY9QHt7ilIZ+ixgK+tAmwiQ5AsAk24qEuI0zwn2LKc7vi/RN5mjnkIlY3FUiN/0K7sMzfY4MUSGi9VwRldL3e2tHeBtd/VBKAhRFMzfmO63H5BCHePxVKqLmmrc0913nAfq2ZbecYsrQek/du1lSXGO5aHWrkTUyR583YS6GDusDJklnhSxDYQMPR/EDmiX0gfehMxC8ZGv33zONgc5zql7wz8SjnycMfcq/y1vOV2wkQBdyRm7SqAZ1jaglJSIrja7bSgGZl1LUPYluhdeMTtPbhig== Received: from SEZPR06MB6959.apcprd06.prod.outlook.com (2603:1096:101:1ed::14) by SEZPR06MB5574.apcprd06.prod.outlook.com (2603:1096:101:cb::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.38; Tue, 20 Feb 2024 10:14:03 +0000 Received: from SEZPR06MB6959.apcprd06.prod.outlook.com ([fe80::53da:a8a:83cb:b9ad]) by SEZPR06MB6959.apcprd06.prod.outlook.com ([fe80::53da:a8a:83cb:b9ad%4]) with mapi id 15.20.7292.036; Tue, 20 Feb 2024 10:14:02 +0000 Message-ID: Date: Tue, 20 Feb 2024 18:14:01 +0800 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RFC v2 2/5] clk: hisilicon: add CRG driver for Hi3798MV200 SoC Content-Language: en-US To: Krzysztof Kozlowski , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: David Yang , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240217-clk-mv200-v2-0-b782e4eb66f7@outlook.com> <20240217-clk-mv200-v2-2-b782e4eb66f7@outlook.com> <31188f64-7c6b-4279-a2d7-8b5133b1d485@linaro.org> From: Yang Xiwen In-Reply-To: <31188f64-7c6b-4279-a2d7-8b5133b1d485@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TMN: [YbseZggY6QaIAkbH79uPfvj+Mhzq+y9yCKsrPQqRmzY+ciBBFXw+8Qi5MRFOpJJX] X-ClientProxiedBy: TYCP286CA0188.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:382::17) To SEZPR06MB6959.apcprd06.prod.outlook.com (2603:1096:101:1ed::14) X-Microsoft-Original-Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB6959:EE_|SEZPR06MB5574:EE_ X-MS-Office365-Filtering-Correlation-Id: 8ab090e3-0079-4da5-e097-08dc31fca9a1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yzvafQpGYdWcOMHExSAL2YP/vwQU+w+Zwrjd8V6EUrxadb+mmyOabBp4LdCBNMJxbnWmqPMAgBVmsGrgN9IpdXlSvmO4rUQIPResZG5c23MAbx/DfiYToDkXdXYb/rrmM/uLV7RYA0lRYvAMey1PctRkNaCYVaRplH8O+lMAIBgulkvlGalQ3p4lIgvkqBtBxPNSWEz7zwn4cwZq06oG3MqwK2HsAPn29JZV0w/glAAz5PhjawYh4h8RAa0eacnmKHqxjtXy8G3GC3IWUkOgsdXiHPTA/inSbjfsi6ltvj8o9iDv/R2U3d6M9mk7Ld/OE4kxtXwB1/nL1w4jvB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pydGNlUlBiZ1hGdkF1RE95RlhvRFBsd1JremY3YjVGNXBPSWh2?= =?utf-8?B?eUV4TjJJNkg5RmwvVVhkdVFpYnBYSWVKeVJhNXF1YXg3RGVJVE0xSTlHOVdx?= =?utf-8?B?MG1yelo2Q2JnbHY2RUFtbjVmM0Y1Mjk1TC9pUXhHOTQ0R0IzQVB2NzNWNzdq?= =?utf-8?B?bllkY2VVYVpzR1dnaCs2UXVnLzdPVmpHQ1ljRXkwVGt1WDJyNmNsbmpCM3M1?= =?utf-8?Q?IHyfMwSA397VbGDAR88eFWdwQWwoUwXPyajL3fy?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8ab090e3-0079-4da5-e097-08dc31fca9a1 X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB6959.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Feb 2024 10:14:02.8537 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR06MB5574 On 2/20/2024 6:11 PM, Krzysztof Kozlowski wrote: > On 17/02/2024 13:52, Yang Xiwen via B4 Relay wrote: >> + >> +static const struct hisi_crg_funcs hi3798mv200_sysctrl_funcs = { >> + .register_clks = hi3798mv200_sysctrl_clk_register, >> + .unregister_clks = hi3798mv200_sysctrl_clk_unregister, >> +}; >> + >> +static const struct of_device_id hi3798mv200_crg_match_table[] = { >> + { .compatible = "hisilicon,hi3798mv200-crg", >> + .data = &hi3798mv200_crg_funcs }, >> + { .compatible = "hisilicon,hi3798mv200-sysctrl", >> + .data = &hi3798mv200_sysctrl_funcs }, > These are undocumented compatibles. Run checkpatch or properly order > your patchset. It's in patch 5. You mean binding patch first and then driver? > > Best regards, > Krzysztof > -- Regards, Yang Xiwen