Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp516109rdb; Thu, 22 Feb 2024 10:27:40 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUapzb7cItYayXpXEOhKcpH7/eMFEgQMeOgp9bPD1lDf6NJFSlHEACF5UfxgVe5Ac6arjN/klAbU69i/Faj0UKLUgTeQvdDOP/BiOzRaA== X-Google-Smtp-Source: AGHT+IEKD+EZxEpw/z6fO+uEDC/bEh+TLYXZFchUywtkZsn5+wklaC1/XzC+YIRCqitkWKgeXad9 X-Received: by 2002:a17:902:f54a:b0:1db:f830:c381 with SMTP id h10-20020a170902f54a00b001dbf830c381mr14273731plf.44.1708626459749; Thu, 22 Feb 2024 10:27:39 -0800 (PST) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id p3-20020a170902780300b001dc4adf9a63si1789050pll.512.2024.02.22.10.27.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 10:27:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77103-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=Qz5IDs0z; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-77103-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77103-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 71D6D285AFB for ; Thu, 22 Feb 2024 18:27:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1BC6C1448F9; Thu, 22 Feb 2024 18:15:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="Qz5IDs0z" Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01olkn2069.outbound.protection.outlook.com [40.92.52.69]) (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 1AA761448CB; Thu, 22 Feb 2024 18:15:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.92.52.69 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708625737; cv=fail; b=AVGqaAyC2XnrLLgdfHCJlubxpIJyLG3P3PSUIBKSo4ayZLgs+ITKGpmMHiVZK7s1NnnSYYb9y8gNuqFDx9LJltAnvo/UxIQTX3K/tZQ9mYC9zdU2tzzHPtElK71eB+Q5d3WBWX+WXdRMFkfOTHdGxCmPoVhTWagy2lIuZ/VYDkM= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708625737; c=relaxed/simple; bh=qybkxXc/zNovkeChxEZDLezSG7oTzyI4HkOQJ/PO0fo=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=NXg8uM0EMuuQwBunrhxNm6ZGmp4rvqWHALEPHM8N9npFwVpYpxZGIBvIemhc/kdsn6z8fW9m0Z25mQPwS+iDxGdx5CE4NKhuSlj3kyl1ZIZg5W9PoBotimdtxmt9rEV9agEaLdBElB28TNF1VE+k9n+jNyIM1PW2sByOyYWmqBs= 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=Qz5IDs0z; arc=fail smtp.client-ip=40.92.52.69 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=Pst8mm8Crt7ZXwE1wqN1XCtDiF7WNrrhKE3VzjI3xGPt8XhUqZ+c3hKviDFXJQ/uAY8TAaPhWCgn5H9bmZrjQSCMuPMo8zlQ0TddJou9QF2LByqU3mGKFwTIbkZANqcWSJp5BbCwhetlbv1V5yVwpsMJ6XcLnTwzDAGhT7Cq5lkbBtga/fzGTztvYz56y+ZeTfnAK+rQP17kZhaSH3TF00CKElUOz/DRsJnBLbHKOqsdjyUVKGJ5wzML0y2mHG6txrbKVCZ5dkYrEGkfWFex1FPcJPDvltXtQuB8y1sjWijezP5GLCYkBKzQsIEermiWZKCljtsstrFIv4rGorze0A== 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=2Q8gnubOscRY5yozhCVy0MRZs6j4aABYQjLR3AesQ5k=; b=QTQluXBa3iV9g8+LP5IqxRM/ZerRHpqUcGjnE8jUJ4rxvvvBiKkDlEgLSHdBPbvin4IUS+00KwdzVsGglGECP/fO+vgKAfFrkqcOF/wXjyVJSfN1ksgSpXc1A9Gdd+E4oKpR5HDW8PbvIM83c+v+mNZKyHospNBm7F1W/IE81IXktYYQ/3ejfMxsqIQl2+zf8lTq+K5DfQH2Icc6RQzDjUW2l8gp3yVHIGhf8c/bmc07zwOWZOBYMyhhZrMkRT3OycIUpDneFH8wKwWvBGvbcjqL7F/E+uHOJlC2bUy6ltG3Tw8NVMFzSzVRtdPD0MRh2t5u8haiPRmidUu3xrvVxQ== 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=2Q8gnubOscRY5yozhCVy0MRZs6j4aABYQjLR3AesQ5k=; b=Qz5IDs0zLDBys9ZHBxLtO5/AhQZMH+Qp1+lWdSLF6/Fqc183GBe7AZskcc6U24SoZoOD/mWtsM5PJCPxbfEWpH1RHLL8K0bP8z46Aege7tSqxqvhz0SYlJ2jYw/qRIdbaBKCiM3oWOSu747j6wwgXUbmYnyY/OAFgbqaT/fWcUA4y2Lm5zQLwWVurJlKnA2VvGNe4ofoPIiW8/XmfE4b4jywe7YYq/Y55HL21C00oqeWDRXMb2Zu1DsUll0kbbS/Uc5t0L6q6WmRBMlFsPwzaFUzfq81pdAIlXuBRkNkzd15/S1nl2DIPf9m0nfcMT3XIxBx5Tf2OzW4Ixz6YlZTdA== Received: from SEZPR06MB6959.apcprd06.prod.outlook.com (2603:1096:101:1ed::14) by PUZPR06MB5722.apcprd06.prod.outlook.com (2603:1096:301:f6::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.24; Thu, 22 Feb 2024 18:15:31 +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.7316.023; Thu, 22 Feb 2024 18:15:31 +0000 Message-ID: Date: Fri, 23 Feb 2024 02:15:26 +0800 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 3/8] dt-bindings: clock: histb-clock: split into two header files 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: <20240222-clk-mv200-v3-0-f30795b50318@outlook.com> <20240222-clk-mv200-v3-3-f30795b50318@outlook.com> <5781c1a8-8097-49f6-b672-33a6bcf2ffaa@linaro.org> From: Yang Xiwen In-Reply-To: <5781c1a8-8097-49f6-b672-33a6bcf2ffaa@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TMN: [sY8TXztC5kYZFg4ndhcWDzGT2TT6nF8knjJjCplJSggxKKQbjhwnooHb7WsyV0bm3BxKc+X+fvk=] X-ClientProxiedBy: TYCPR01CA0207.jpnprd01.prod.outlook.com (2603:1096:405:7a::8) To SEZPR06MB6959.apcprd06.prod.outlook.com (2603:1096:101:1ed::14) X-Microsoft-Original-Message-ID: <065b8e28-9ca3-4666-9785-e51661a84248@outlook.com> 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_|PUZPR06MB5722:EE_ X-MS-Office365-Filtering-Correlation-Id: 5ef296b1-7ae0-48d0-f64d-08dc33d240e9 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dNf9r79B5vKKZiwA0bRL4691QrpvbU638gwgNMf8TLYp+BGny8ie+KCakLC/RtHuiiSDsUEqzqx5f/KXGfpCr73EzrIJTsXFdlEkQC/VAdJsEygZcrDb556iCVn49w0kp9m7YsTfLKm5NW+lD1sXRExJOH89XNHXikZFZwi7FygL9PPZX7LG0K3JSk7duzKbiqk+VbCHkNY9Jp6T/3NEYRrnBy+BrSaRA3EovbxJvMzPrlJVLzDo9MOh8WwYz6UY3Vhl6sCfUqByKJoqFwOaksHCeM9kPew8W5S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ERNVlJh?= =?utf-8?B?cEFDNE9FcmlLUExHZkMvOWJVTGRXN3FYcHJQZWJkdEVMUHVKdUpUY3FrL3NF?= =?utf-8?B?Uno3aENPVEc3Uk1Jb3cxSmZ3YjRXZ1VPM25XcXJzRkF6L2lTb0E5NEQ3RURY?= =?utf-8?B?cCtpWXFSZTd6T2pDaE15QzJ2NlBqSnd6OExSNWRHRllFays2aVBHVmw4aUpq?= =?utf-8?B?WG9UTFhvR2c5SHRzTmptODQ2UG9QNEtaMGppWVdreTNVdTVXSU5rclYvcWM1?= =?utf-8?Q?ZJNYmW1oy0zPPTm5dQC2Br81dkteZe5DvVlugb4?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5ef296b1-7ae0-48d0-f64d-08dc33d240e9 X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB6959.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Feb 2024 18:15:30.8873 (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: PUZPR06MB5722 On 2/23/2024 2:11 AM, Krzysztof Kozlowski wrote: > On 21/02/2024 17:41, Yang Xiwen via B4 Relay wrote: >> From: Yang Xiwen >> >> The CRG driver between different SoCs provides different clocks and >> resets. We should not provide a generic header file across all HiSTB >> SoCs, instead each CRG driver should provide its own. >> >> Split histb-clock.h into two files: hisilicon,hi3798cv200-crg.h and >> hisilicon,hi3798cv200-sysctrl.h. This header file is for Hi3798CV200 >> only actually. For other HiSTB SoCs, some clock definitions are missing. >> >> Create a new histb-clock.h to include these two files for backward >> compatibility only. Deprecate this file as well. >> >> Signed-off-by: Yang Xiwen >> --- >> .../dt-bindings/clock/hisilicon,hi3798cv200-crg.h | 62 ++++++++++++++++++ >> .../clock/hisilicon,hi3798cv200-sysctrl.h | 17 +++++ >> include/dt-bindings/clock/histb-clock.h | 73 +++------------------- >> 3 files changed, 87 insertions(+), 65 deletions(-) Should I fix the #ifndef #define #endif stuffs here? i.e. s/DTS/DT_BINDING > Acked-by: Krzysztof Kozlowski > > Best regards, > Krzysztof > -- Regards, Yang Xiwen