Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp357210lqt; Thu, 18 Apr 2024 18:51:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXH/lKZlhk6hbsyq/YwretPNANGSVByFpczCTGOK2f335K2tUTo6a41PM4rg5NA1eq6+3Buf4agVJRJh3/FP0EiNZNjflNqaFKHr9pSvA== X-Google-Smtp-Source: AGHT+IFO5ZssZE+vrCH/Y5vKamaik39tJ7FibsziRPZRSdu5F7TuXBFqMVR8ylvk61wId+7HOozy X-Received: by 2002:a17:906:5acf:b0:a52:5c9a:1c8b with SMTP id x15-20020a1709065acf00b00a525c9a1c8bmr466774ejs.5.1713491485569; Thu, 18 Apr 2024 18:51:25 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 3-20020a170906300300b00a526fca914bsi1459795ejz.95.2024.04.18.18.51.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 18:51:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-150917-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@amlogic.com header.s=selector1 header.b="cK2bJZ/J"; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-150917-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150917-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amlogic.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 25FA61F2258F for ; Fri, 19 Apr 2024 01:51:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8F5E51854; Fri, 19 Apr 2024 01:51:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=amlogic.com header.i=@amlogic.com header.b="cK2bJZ/J" Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2130.outbound.protection.outlook.com [40.107.117.130]) (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 BA00B15BB; Fri, 19 Apr 2024 01:51:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.117.130 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713491476; cv=fail; b=a5nEsgvvGdsjbrs283DxepXci1t732K8GkAeftL0YTFxleh7J0I8CBwkU/nyXpeFnHh0m8HIrbw6uBZY73cDPRxI0enEO1JkUu6J9xMQperhBDtaH5xz2SAuIlkFEBvPM27WZ2eipEEgmioHLudQ0R/+r/5lRvShY+q3kKtpjYQ= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713491476; c=relaxed/simple; bh=m15MHS6Zg7qYHdioX2M0EONxIv7nnhWvA+rCG5/DRmQ=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=Oux4AwAQXYS/28hxEbp0VCwibpwNcE50xAXGAJjf0CNts+FQSbHrkjaGAwVXKOmioaLPr2/h63M9EEdQeaE+As+koXpFPQRAuAFjO8+IyX9Fhax8lRZ42IxG2Vc1DUp5ySAU1si9BZPRZY3aN4DB4CWkDEPJyWmG5hkI27sJwPc= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amlogic.com; spf=pass smtp.mailfrom=amlogic.com; dkim=pass (2048-bit key) header.d=amlogic.com header.i=@amlogic.com header.b=cK2bJZ/J; arc=fail smtp.client-ip=40.107.117.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amlogic.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amlogic.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wdx2xLQ0AmtVrsGfAQmaZxNsBruIqzOtzKZbG9BwCVwe78toly+BngQCXY2coNfxtrFDWTIECfFRoGzIQVN5HjcgogrNFN7WpYapBPOwd3GMVyr5cGCfYoGfaFlCiXfe3pQ4qYf9LXZ4JB7+Uwb4BmXnBV8TNEkrw4SMeLndrbEEWR9BwyWk5kc1i4F9ACR3j/5a2n8nXCqvtvsOZOR1JnuN6XLEHWsPUpZXQCnNzYNO0rhYL6lNryRKu8Gns8dDmFb/OjLBkdJ4erDvHRSNHncp/o8ZHELBK/CmYTeMC54370n5J7lRGT/JEVlV8eG3LVbdBe+dLCea2blUiAfBTA== 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=xu2xoDhn/x9ppgxVF1xf6ZoiaxGpt6tfqZump017aXo=; b=MD8f12t7312zitjF35QHXEeIAxgaT157CTz0NNY/sQixU7dj5vliKuG6Br6mKJPD89qrwla+qip+s8DAVCh5rms/TWt+eNyD7jAegpEE+1j2vRclMnSV4fFUmCFBrnW7MDSg1a5Lrs5GO5xcVtnjAwgZ3C5s0HRsE844RkhyZ0UZlWV9L1MxAYjAijGjDwp7vqsifl0gsGOFx4pimRqHZ66qRW9G1Bq8MHFLdLZky9urPaFQo+hGa9UPKL48e+qtBmOi5d3+M96l9FDYXnEeOTIQ1sLLuTrToCNkfzIR8R8jgAgWmecqP3oWpf0wMVdu4I7Jr73cMYiY6zKTjd0OAg== 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=xu2xoDhn/x9ppgxVF1xf6ZoiaxGpt6tfqZump017aXo=; b=cK2bJZ/Ju4ui4kfuS8KEP6f9rXJY3PH0xC7jFQ1uQHLF5g4ekjEfP1Uz1XEuJqyjIP2+XpGNX/eUWCUpH/y5Sr/nxbaksAsOpMyQCPWRtTgurafeNsCR9X4rwvt5V+KndNVWB8/r6dBzRBaZLjT765s3qW3YMkmn3Jof1JanBI2KKRZJw1Wk+euFRUAjO/yIXkE+B0pk0PtWzvsD4NLVxcsZvhi6E6s+u9wCbbMTEhLukfGlHXrq+oF5cjDJgp/TiK4ph65bQ3K1BpHcocqvRubaVXyWMBvK1Z9pJhLvPTZfKSDcy+irrXCSgry1GVqZbi6t/wek6vMR55mv5u2coQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amlogic.com; Received: from JH0PR03MB7384.apcprd03.prod.outlook.com (2603:1096:990:11::8) by TYZPR03MB8727.apcprd03.prod.outlook.com (2603:1096:405:75::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Fri, 19 Apr 2024 01:51:11 +0000 Received: from JH0PR03MB7384.apcprd03.prod.outlook.com ([fe80::8627:9243:4397:43c3]) by JH0PR03MB7384.apcprd03.prod.outlook.com ([fe80::8627:9243:4397:43c3%6]) with mapi id 15.20.7472.037; Fri, 19 Apr 2024 01:51:11 +0000 Message-ID: Date: Fri, 19 Apr 2024 09:51:05 +0800 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/3] dt-bindings: reset: Add Amlogic T7 Reset Controller Content-Language: en-US To: neil.armstrong@linaro.org, Krzysztof Kozlowski , Philipp Zabel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Zelong Dong References: <20240329-t7-reset-v1-0-4c6e2e68359e@amlogic.com> <20240329-t7-reset-v1-1-4c6e2e68359e@amlogic.com> <927ad2cb-3b41-4eda-b930-856be64ae9ba@linaro.org> <10650c59-96f2-4234-b5fd-aa8efec90e5b@linaro.org> <579a1569-7bba-491f-ba5e-7cfcb34ccc1f@linaro.org> <48005005-54ad-473b-826d-23b0b3f3a52c@amlogic.com> <64c765e4-698f-49d6-8d17-4b512c3dc8ec@linaro.org> <4736ba70-a42a-473f-8724-8e664bbfe4eb@linaro.org> From: Kelvin Zhang In-Reply-To: <4736ba70-a42a-473f-8724-8e664bbfe4eb@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: TYCP286CA0127.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:2b6::9) To JH0PR03MB7384.apcprd03.prod.outlook.com (2603:1096:990:11::8) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: JH0PR03MB7384:EE_|TYZPR03MB8727:EE_ X-MS-Office365-Filtering-Correlation-Id: 96cf6232-5abc-4f76-7ced-08dc6013302b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?utf-8?B?V2tqMStRSGJGcHBlU3pnYU4ybm0rSEowMGE5V0NPUTJ6UHlwemp5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AT:NONE;SFS:(13230031)(1800799015)(376005)(7416005)(366007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?WStyRU53RElJYiszRlp2TUVEYjJ0YnNiZjk4L0hJYk5BMDRXeDQ5UURGaHg1?= =?utf-8?B?NlZyQnc0RndWYk10MHlmZnFTQzFUZ1NaTXI4Ym9vUzBaOHB0N1ZadTVOMHRo?= =?utf-8?B?RkRxSUREVjJNTkFGbFRsNHBiYVo3MVk1VFdwYXhNZHNqVG5nWDdZOFNGOW51?= =?utf-8?B?elpvbURIS211Rmc0Yi80SVNITTdOdlVsYkVjNlFzd1ZWRVdCVEl5R1F2b3hr?= =?utf-8?B?NFBYb08wRXFTZzdzbHVhc1I0d25vNXE2aHRWWWlCemtMOUVPRHM4Q3RuN1NB?= =?utf-8?B?SzFBS3NVcFFjaUdQSnJyL2FJbnJ4bVhJb0JmVUlFVlBUakNTRDNVcEhzcDVR?= =?utf-8?B?QUNrcWVZeUp6dFlpdjFzVWltYWhuc2w3N2V5c2J1Rms3K3hhVS92M25YNXdO?= =?utf-8?B?YmpwTkpRTUpLWnRMZEc2bENSSDV1YnE2SUxmbUF1YlRiZ0o3UDMyU2ZxdU50?= =?utf-8?B?T3lEcitoRWZQdzZqZHpJd3dDczVRaCtYaVFYTGVuK3hINDlGUTNOVFcyTWht?= =?utf-8?B?SzBkb3B2RklNMTkxRTBJdWJNbmFZc0dVcU8rT3NxRjRFUTN1YlNnQXFFRzBz?= =?utf-8?B?RGxMcUZsbU5pczJ0Y3J3R1hzOWoxVGtqbytpTDgrSk91eGNqYmhBVjFtdHo2?= =?utf-8?B?NEl6RmUvSk1QODJoVkQxTHUwZDV5MytYYktrYnp0aEFXRTNYM3QwYVFKY3JF?= =?utf-8?B?cDYvRS8xWk9oS09TalNPQndJc2dCWWxxWFRFalFSTThpSmd6TnVjQmNobjJ2?= =?utf-8?B?YlFnMm1YamdEM1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wSm1XNmpqZWlFWStDa3Qrb2pHNHBESUxpcnhBbUFVaVdtU0QzclVN?= =?utf-8?B?aW9FbkZ2ZDNlZmRac3I3M05lZzZZbExRV2pnVnRZRlJsMjQxUGo0Q0prUW5J?= =?utf-8?B?enlsMGc3R0xFRTUrbGRpMlYzQnpWRW9JZjRRUTlubGdnbVF4SXF5djhhNU5w?= =?utf-8?B?dThGSGxKMzlvek5VMmF5QWw1VStQcFV6SDZMSDBLbXVueE5hNSt0VEllb0Ev?= =?utf-8?B?QUtEWXFEVlkybENOdGtvL2NwSG1DQ21kL2dNai9Xb2QyNmVzYTU4WjBwK0x5?= =?utf-8?B?ajNqS3BtdG93Z1dOS1JZZFhldDdBZFRqRjExS3FLclFKWHRsM3RMQUNyV2Y2?= =?utf-8?B?VEsxN3I2NEJFMi9UYnRKYk5uU2lpdVQ3UHBJdjRlWjVxQlUwNnBMN0x5b0Fn?= =?utf-8?B?MFRXaUhKMSs3ZlpOc0R5SnJHSmdnY2tRUVJxYUVjcXV3NCtUMDdXeVZrTXBW?= =?utf-8?B?Mnc9PQ==?= X-OriginatorOrg: amlogic.com X-MS-Exchange-CrossTenant-Network-Message-Id: 96cf6232-5abc-4f76-7ced-08dc6013302b X-MS-Exchange-CrossTenant-AuthSource: JH0PR03MB7384.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2024 01:51:11.0231 (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: PmaiABGIVv5qHzToZszPGjExV7EPfdM3G2/NvtRS66wR7ZQUc8PGW6Vd4QXavrosASfWepNkNKZHo6+MvIOYn4Y98rWlBbva+axQ4FzZGkI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR03MB8727 On 2024/4/19 05:03, neil.armstrong@linaro.org wrote: > [ EXTERNAL EMAIL ] > > On 17/04/2024 21:08, Krzysztof Kozlowski wrote: >> On 16/04/2024 01:30, neil.armstrong@linaro.org wrote: >>> On 15/04/2024 12:31, Kelvin Zhang wrote: >>>> >>>> On 2024/4/13 02:03, Krzysztof Kozlowski wrote: >>>>> [ EXTERNAL EMAIL ] >>>>> >>>>> On 12/04/2024 19:57, Krzysztof Kozlowski wrote: >>>>>> On 12/04/2024 15:12, Neil Armstrong wrote: >>>>>>> Hi, >>>>>>> >>>>>>> On 29/03/2024 20:39, Krzysztof Kozlowski wrote: >>>>>>>> On 29/03/2024 10:17, Kelvin Zhang via B4 Relay wrote: >>>>>>>>> From: Zelong Dong >>>>>>>>> >>>>>>>>> Add a new compatible and the related header file >>>>>>>>> for Amlogic T7 Reset Controller. >>>>>>>>> >>>>>>>>> Signed-off-by: Zelong Dong >>>>>>>>> Signed-off-by: Kelvin Zhang >>>>>>>>> --- >>>>>>>>>     .../bindings/reset/amlogic,meson-reset.yaml        |   1 + >>>>>>>>>     include/dt-bindings/reset/amlogic,t7-reset.h       | 197 >>>>>>>>> +++++++++++++++++++++ >>>>>>>>>     2 files changed, 198 insertions(+) >>>>>>>>> >>>>>>>>> diff --git >>>>>>>>> a/Documentation/devicetree/bindings/reset/amlogic,meson-reset.yaml b/Documentation/devicetree/bindings/reset/amlogic,meson-reset.yaml >>>>>>>>> index f0c6c0df0ce3..fefe343e5afe 100644 >>>>>>>>> --- >>>>>>>>> a/Documentation/devicetree/bindings/reset/amlogic,meson-reset.yaml >>>>>>>>> +++ >>>>>>>>> b/Documentation/devicetree/bindings/reset/amlogic,meson-reset.yaml >>>>>>>>> @@ -19,6 +19,7 @@ properties: >>>>>>>>>           - amlogic,meson-a1-reset # Reset Controller on A1 and >>>>>>>>> compatible SoCs >>>>>>>>>           - amlogic,meson-s4-reset # Reset Controller on S4 and >>>>>>>>> compatible SoCs >>>>>>>>>           - amlogic,c3-reset # Reset Controller on C3 and >>>>>>>>> compatible SoCs >>>>>>>>> +      - amlogic,t7-reset # Reset Controller on T7 and >>>>>>>>> compatible SoCs >>>>>>>>> >>>>>>>> >>>>>>>> If there is going to be any resend, please drop the comment. >>>>>>>> It's not >>>>>>>> really helpful and makes it trickier to read. >>>>>>>> >>>>>>>>>       reg: >>>>>>>>>         maxItems: 1 >>>>>>>>> diff --git a/include/dt-bindings/reset/amlogic,t7-reset.h >>>>>>>>> b/include/dt-bindings/reset/amlogic,t7-reset.h >>>>>>>>> new file mode 100644 >>>>>>>>> index 000000000000..ca4a832eeeec >>>>>>>>> --- /dev/null >>>>>>>>> +++ b/include/dt-bindings/reset/amlogic,t7-reset.h >>>>>>>>> @@ -0,0 +1,197 @@ >>>>>>>>> +/* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ >>>>>>>>> +/* >>>>>>>>> + * Copyright (c) 2024 Amlogic, Inc. All rights reserved. >>>>>>>>> + */ >>>>>>>>> + >>>>>>>>> +#ifndef _DT_BINDINGS_AMLOGIC_T7_RESET_H >>>>>>>>> +#define _DT_BINDINGS_AMLOGIC_T7_RESET_H >>>>>>>>> + >>>>>>>>> +/* RESET0 */ >>>>>>>>> +/*                                        0-3     */ >>>>>>>> >>>>>>>> I assume this matches existing drivers which do not use IDs but >>>>>>>> map the >>>>>>>> binding to hardware value? I remember we talked about changing >>>>>>>> it, so if >>>>>>>> something happened about this and it could be changed: please >>>>>>>> change. >>>>>>> >>>>>>> I'm not aware of such discussion, and I don't really see the >>>>>>> issue... >>>>>>> thoses are IDs, and yes they match the Hardware offsets, and ? >>>>>> >>>>>> Bindings are not for hardware offsets/values/addresses. It's just >>>>>> not a >>>>>> binding. >>>>>> >>>>>> I quickly looked at your driver patch and it confirms: not a binding. >>>>>> Binding constant is used by the driver and DTS consumer. >>>>>> >>>>>> I am really sure we had this talk in the past, but could be I think >>>>>> about different platform. Since this is not a binding, I do not think >>>>>> claiming there is any ABI here is reasonable. Feel free to store them >>>>>> with other hardware values, like in DTS headers etc. We already >>>>>> moved to >>>>>> DTS headers several such "non-binding" constants. >>>>> >>>>> Un-acked. >>>>> >>>>> I looked at my archives and we did talk about it and you were CCed: >>>>> >>>>> https://lore.kernel.org/linux-devicetree/c088e01c-0714-82be-8347-6140daf56640@linaro.org/ >>>>> simple-reset is an exception. >>>>> >>>>> So to recap: >>>>> That's not a binding. Don't add some real values to binding headers >>>>> because it is not a binding then. >>> >>> So what's exactly a binding then? >> >> Binding headers is interface needed (necessary) between implementation >> (like Linux drivers) and DTS. >> >>> random linear numbers that means nothing can be a binding >>> but registers numbers can't be ? why ? I still don't understand, why >>> this suddenly gets problematic ? >> >> There is no interface here. Drivers don't use them. It's not "suddenly" >> problematic, I commented on this year or two years ago and we also >> started moving such header-abusers out of bindings. >> >>> >>>>> >>>>> https://lore.kernel.org/linux-devicetree/CAK8P3a1APzs74YTcZ=m43G3zrmwJZKcYSTvV5eDDQX-37UY7Tw@mail.gmail.com/ >>>>> https://lore.kernel.org/linux-devicetree/CAK8P3a0fDJQvGLEtG0fxLkG08Fh9V7LEMPsx4AaS+2Ldo_xWxw@mail.gmail.com/ >>>>> https://lore.kernel.org/linux-devicetree/b60f5fd2-dc48-9375-da1c-ffcfe8292683@linaro.org/ >>>>> https://lore.kernel.org/linux-devicetree/418c5f0c-5279-41f5-3705-345ec9a97ea2@linaro.org/ >>>>> https://lore.kernel.org/all/201401111415.29395.arnd@arndb.de/ >>>>> >>>> Got it. Will delete amlogic,t7-reset.h and use the hardware numbers >>>> directly in the DT. > >>>> Hi Neil, >>>> As you know, Amlogic reset controller is divided into several >>>> groups: reset0, reset1, ..., resetN. I'd like to discuss the >>>> rationality of splitting the one device node of reset controller >>>> into device nodes according to the groups. Then we can use the bit >>>> number within the 'resets' property. >>>> reset0: reset-controller@2000 { >>>> ... >>>> }; >>>> >>>> reset1: reset-controller@2004 { >>>> ... >>>> }; >>>> ... >>>> >>>> What do you think? >>> >>> No since you'll basically add a node per register, you need to add a >>> node for the while reset HW function, another >>> solution would be to split the phandle arguments in 2, the first >>> first would be the reset bank, and the second one >>> the reset line for the bank. >>> >>> But still it's a regression in readability to drop the macros, until >>> gpios or pins the reset number doesn't mean anything per se. >> >> >> What stops you from putting the header in the DTS? Just like others are >> doing? > > Ok so now I understand, Kelvin just keep the header but move it in > arch/arm64/boot/dts/amlogic along the DT patch and drop it from the > bindings patch. > Will do. Thanks! > Thanks, > Neil > >> >> Best regards, >> Krzysztof >> >