Message ID | 20230531065724.3671795-2-joy.zou@nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2682887vqr; Tue, 30 May 2023 23:58:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4+/6j3z11dtLymTXTYGBCTix+prAOM/5t5agZnMOLU5dJpKxTaFq7qsfRs9VENGOt6EXNK X-Received: by 2002:a17:902:ea0e:b0:1b0:7cc:982a with SMTP id s14-20020a170902ea0e00b001b007cc982amr5901974plg.5.1685516320120; Tue, 30 May 2023 23:58:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685516320; cv=pass; d=google.com; s=arc-20160816; b=kcKCFe/l0R53YX6/6IhM+l4z5BKtQl9LAGAmDiABf1WxszM5sbw5jvGhvQsyqKTWfR oU51vxWPPBt20tZol+02UzgUn4QBYVgxZYr6a5EX67iB/C4fz9qDbFQNpZe89s5Ymt22 RjzgH1ReCa4biRHjj/JaqQ5cblqiNXLy/Q4ERkL9odcJOb6+DlZX1/ZmcIDXwLSOrPfi lSOOUcwvnRed3FNdLHlaUOcxZnMOmbWu7m2XN0fF2JCrI5kfJTG+kvJFLH3q/RFPpr9l HeQCDBUfgeVjQmJaeNZudzKpHzxt3O+X+BXvrPjQKXlz785UG0GaxTyV/14fQAf9Ynih lMxg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OnAxKAFQ14kxtbL38CDjLl1OxPjBd0jd7YqACLvbtaM=; b=Qu7YMN2vAfs4Dmm/XnCgzczI4u9NxGkSdLuCqpIWy0kufemGI1ScC8qzeW/DuDtCn7 Uy2bjDRN+k2OBnhHmGPBnBXCn1nVK62Wx0ruRcXXkpz0O6Zq75aUFrlPSSWg6ex3JxtU 9hayL6vLkpQJC0dIyH0ZLZaQtFmj+9Rn7P7M5gz6viVfJY1N6p/lbQ8qkI4wFIOvAaZ7 0KuTHuyZyeJM7HvCfZ9DdtfXDVz49ye+2y8YgbrJio4D5WA92LEOk5DqKgDv5zCyXHo1 HuvuLcPNteyE3hfvXGIk81gGDBFyv560rlUNk+tSyn/7W4sfFFOKh9D7AmCZwaAM8Fzx 8Xzg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=j5d+pfNN; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c24-20020a170902d91800b001a6ee332903si376477plz.347.2023.05.30.23.58.22; Tue, 30 May 2023 23:58:40 -0700 (PDT) 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=@nxp.com header.s=selector2 header.b=j5d+pfNN; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234418AbjEaGxP (ORCPT <rfc822;callmefire3@gmail.com> + 99 others); Wed, 31 May 2023 02:53:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234415AbjEaGxN (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 31 May 2023 02:53:13 -0400 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2088.outbound.protection.outlook.com [40.107.8.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1F00180; Tue, 30 May 2023 23:53:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZSdTe0k4q5NykJ5fCelbUZ6ayY+PH/Uo1yOjqTpNYXKQJ58VkpaLWrOHgT3cTqEHCwgEBblNcA6bXlwX009YU7odVfUOn9dTuwA07H7uWskTKJ3xQfnBQ0u/7ArdX2tpMsF5C4qRe7GgDG+4I9j3mTp+38+Ua+7GJ3k6Ns6C+qy9JcOrLudCvPy7vBH/AeO1CRXcyKMXH9qtoUH70D66SuS5BHnERDsLflX2+ierHV9d+bRH4h+z3tnA9BQZY4DUT4U8dd5lY1y/j6oN/xorTJ/lTsxpGg2MqCaHiZlOthHrYCfmlDtX42ldNkvOk8KzEeM0dM1XXhJfYK3ptckGHA== 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=OnAxKAFQ14kxtbL38CDjLl1OxPjBd0jd7YqACLvbtaM=; b=BoPD4gr4bj8cAuyvgQjFPp8grvkGGJvRg+j/cVQYJ18d+wmevbjGgA/BMSzUievSpi4FR7mqoAnmqRu/zfSxIGhOH9rbSIgfhB/8YTkgknF1TR0bY7pHCh5+fbHj7tOEQk8XcRzoxjDSPbxO80sb3iIrPAN72RmvPScT6W5HfvSuwJ+kEYk6QLEDBq8E47It7nGc5L92L4Dn4yjl1sGxfP+b786K9cAMUbJiKvo9Ghh1NnPZkPEhSB2NQcRpkYN1C3Zc4/teZRynrwyBQskD4LSAJL7y7wT7qy1HxQU/CqRXfpKVKQnDvttcA7iMMRoTz4SeqXcp0I9TPb/MI86b0A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OnAxKAFQ14kxtbL38CDjLl1OxPjBd0jd7YqACLvbtaM=; b=j5d+pfNNGdYSHm4Z4SO4pmgrmfEnjaq0lPXV+lxA/UgOmqn/krI16U3czV5LnFu25UPHM83U0B64aYn28p6j5tEjnKmtkqiMCaQjRKq5U/NLW6g7Hpvj6Ux6jyzYFmw2Zonw1rJSr5X7NWwQmNDu4wUNaSQ78HC9LVbuoskZyp0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB5925.eurprd04.prod.outlook.com (2603:10a6:20b:ab::19) by AM0PR04MB6771.eurprd04.prod.outlook.com (2603:10a6:208:18d::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.23; Wed, 31 May 2023 06:53:08 +0000 Received: from AM6PR04MB5925.eurprd04.prod.outlook.com ([fe80::1a8e:7e33:7f24:d77c]) by AM6PR04MB5925.eurprd04.prod.outlook.com ([fe80::1a8e:7e33:7f24:d77c%5]) with mapi id 15.20.6433.022; Wed, 31 May 2023 06:53:08 +0000 From: Joy Zou <joy.zou@nxp.com> To: ping.bai@nxp.com, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 1/3] dt-bindings: regulator: pca9450: add pca9451a support Date: Wed, 31 May 2023 14:57:22 +0800 Message-Id: <20230531065724.3671795-2-joy.zou@nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230531065724.3671795-1-joy.zou@nxp.com> References: <20230531065724.3671795-1-joy.zou@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR02CA0011.apcprd02.prod.outlook.com (2603:1096:4:194::20) To AM6PR04MB5925.eurprd04.prod.outlook.com (2603:10a6:20b:ab::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB5925:EE_|AM0PR04MB6771:EE_ X-MS-Office365-Filtering-Correlation-Id: 12d5e6a1-08b9-477e-5bac-08db61a3b0e8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kW4dQhGVkLFk6TxGp32ycWd471Ervncm1habpHoe36ZwTOf0zbA2sh42CJmTaaZO3JWRdwhYpI3aHZVXHWt43k5c+6ExAi4WIAkFUOIqzou5eSr6GWdhoYctHrk3xHIfu1ewaTFpTjxI0Bpw8+rflg+NID+WL54afxZRtXqIzxXSE/KcvFJ2jzO9fB6gl6S8ZMgmmuo9kj24rKJjn53LwNEXzrWOc95UE5d4YS+ljplA5+mnBbN53D+zCVciXDMr6QO7bMK8ksG006KzCqJcPGEBLIfHyK8d2RhsgGqo11pXvWq09Ov1enuhNVrrKjJjvegc8+wFxyY0228FjuhsMQSg9OcDSPRWZrWNZqkUJwHAOZVXMOUFfiXulZ4BlBxd4I3yIeX1uQAMC/OlN/wFFg5cadOg6ovTXCyCZeaHv0eO+EKfXqo6xoI1cZNLQB3BurlMpWOseTfnuOG9/Nd7GO0V/oVm9ynRWj6LxZG1k7Qz7bd5swwF5zKktklnLf0R5x3VgRF9Hv/n7l1tJ4JWO4EoXmDTj53NP2ac6v6gOLN1KquZ+wM3D/JSDZi66F3pHQuR/DGNcCbnEgt9iiK+SRKdHwKxG7Mi161XYuUR8oRXOz4innc1vNqQDjoD3S7U X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB5925.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(136003)(39860400002)(366004)(396003)(376002)(451199021)(26005)(1076003)(38350700002)(38100700002)(41300700001)(52116002)(6666004)(6486002)(83380400001)(186003)(6512007)(6506007)(2616005)(478600001)(8676002)(4326008)(66476007)(66946007)(316002)(5660300002)(4744005)(8936002)(86362001)(44832011)(7416002)(66556008)(2906002)(36756003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Sby7OlvDfhp/I3xTueS7tSQv9VsG7vmHWCk/H+i36vwEKLhP9Yix5qiVqio1N+E4604vwWdlxqElWlHGUyhh9gc8eiZVjSwCWoZCZX51IE7cgPyciEWbnf46v4464LbwM0WiEt6v+TiEZh1xOnedMBm0AzgktWw9BhP+CPRWpV1YRbLimJFREPupGcbjy2AR9cQbk3mqhQNRg3/qrA0WFT0s9iojIkG/ldhdealWgoeX83oejI98sHI3T8/3AI1aCtQVFi2QPoXmwef2dkzPzkyyRFWoATdLzay/7zl4ZgVT6JOTsmHQC2VDtl99/12znOgdCv3eAWeSHIrM5ebKzRnb4dkkHJkZ3Bvh5ngqjX+BU1SbAqHb2tIViVqbfKv1BJWfmGNemrfmFKY+NhO5qHNytQPfCxYSBlMWBI6GMXmXGfit9yk76nziaZIPfpeMAW7nG5cwhOZZifFKYXZvvWhabASYLBnA+zn9p8hSm0/gwWqmI3rxUGgbvdPtxq1O8/HOnvgLNVb3/qDRkUoDp78pcI4DAYwyTVBYbRNmqfbkgPfkx/WkOArBPQQqA4WgoxcLcu1rqrHys0OxGZ4/zRSHkrT5AGsU1xbrmugaIM/MlQ1/OC5+DOpn1pGJg2lo8vYUpsoRxCqx627GAJg8UGsxzdLVdxSQqSxoutmuy0Lgl5th/LqbbeyjqLEKkI0y+q1FzIi0BWVQq79abm0Nmr8MXCTFz6zsZx6CHYSb4sSAfYnK8KObDPLL62Rt4E5s1yb1fuwtPs3iuVoZ4tsCRLGDVrLhkmXmk6LcWLNmDIuO/GIZrh+xtOZYyxGe8S432FDwBK2oXnYgMlCFS27mrnW0LDuosFnA24w6AaqDyoqW3tjPhJyLsCEPwLcIAMDFggF+p8NW8prc+9KUS6SYDdtLMggQlUYMSDR3nh5hEd+/4FxYJmpqzB4spK013Eldsnrsva/4NZPFXVQvxe6yfUdnW18L169F9EpYc54NgiJBUCMU/GJ3hdnqj7YvyBWaqWwZCh4ewqt8FzfQ+I9HPdImZNdSXAi6/LmjyMVdZOAaOdVB3Q+ZwRXGtWP+zMEPvApfnXXpfe9p6iG3z8mR5QupAriSB+OfJ1NFcmeTpAWllAq4rahty2q3tiwjoYyuZASr1IPhrCxd1bp+HHJCzLoYpWqcdKNPvnZkFErhDsnXmd9lRGZ2nGKAgTTMlr6TFTTDYHjLyBVecgE4JRHS1RBd4HYUWjzTF27G0wplnhpiAPkcGYYDuAnzeBkIGVmgNKmGrvU/HsAQhFzTFE4RObAMKtqCw6rH+e2C+v1SCdfqcBr25FsvJs7gYakQb4xr/fi/7DiHmxc+WxXdFrFVhsFXFWbGG0fcaWuuM7g9vJhpvIuLCzj08MG/NaAjoqltd/Xcp5EikLLNlYR8jnmYTwFXa59ltPbUAT/+pp5K2WMxkxk2oXL/14d+Fv8ozuMAKjxTXMUdCCN1MqbiLrHOGF5APwwojmzJee7g1AygZiDzepFpQyXfmAYCoP/aTkKic2y2I8kYGkgu4T41O+D7/HGM8Zw7E0Wnj4Y8bWVkY5Ma4RKJRiPPXxV1YHuZhbtV X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 12d5e6a1-08b9-477e-5bac-08db61a3b0e8 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB5925.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 May 2023 06:53:08.1700 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: KNzao0oQ+sILzpCWPW1FDOjO6ZldSu2DaoAHxrGZEtdcISi86dGXGHLtIXEptMtR X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6771 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767391961015637456?= X-GMAIL-MSGID: =?utf-8?q?1767391961015637456?= |
Series |
add pmic pca9451a support
|
|
Commit Message
Joy Zou
May 31, 2023, 6:57 a.m. UTC
Update pca9450 bindings.
Signed-off-by: Joy Zou <joy.zou@nxp.com>
---
.../devicetree/bindings/regulator/nxp,pca9450-regulator.yaml | 1 +
1 file changed, 1 insertion(+)
Comments
On 31/05/2023 08:57, Joy Zou wrote: > Update pca9450 bindings. > > Signed-off-by: Joy Zou <joy.zou@nxp.com> > --- Subject prefix is: regulator: dt-bindings: pca9450: Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
> -----Original Message----- > From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > Sent: 2023年5月31日 14:56 > To: Joy Zou <joy.zou@nxp.com>; Jacky Bai <ping.bai@nxp.com>; > lgirdwood@gmail.com; broonie@kernel.org; robh+dt@kernel.org; > krzysztof.kozlowski+dt@linaro.org; conor+dt@kernel.org; > shawnguo@kernel.org; s.hauer@pengutronix.de > Cc: kernel@pengutronix.de; festevam@gmail.com; dl-linux-imx > <linux-imx@nxp.com>; devicetree@vger.kernel.org; > linux-arm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org > Subject: [EXT] Re: [PATCH v1 1/3] dt-bindings: regulator: pca9450: add > pca9451a support > > Caution: This is an external email. Please take care when clicking links or > opening attachments. When in doubt, report the message using the 'Report > this email' button > > > On 31/05/2023 08:57, Joy Zou wrote: > > Update pca9450 bindings. > > > > Signed-off-by: Joy Zou <joy.zou@nxp.com> > > --- > > Subject prefix is: regulator: dt-bindings: pca9450: I will fix it in patch v2. Thanks Krzysztof Kozlowski! BR Joy Zou > > Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > Best regards, > Krzysztof
On 31.05.23 08:56, Krzysztof Kozlowski wrote: > On 31/05/2023 08:57, Joy Zou wrote: >> Update pca9450 bindings. >> >> Signed-off-by: Joy Zou <joy.zou@nxp.com> >> --- > > Subject prefix is: regulator: dt-bindings: pca9450: Is there some way to have this consistent for all subsystems? Most subsystems seem to use: dt-bindings: [subsystem]: But some use: [subsystem]: dt-bindings: Casual contributors (like me) will very often get it wrong on the first try. Examining the history is extra effort that could be avoided and often doesn't provide a definite hint as you find both variations in the past. Can we standardize this and make checkpatch validate the subject line?
On 31/05/2023 09:22, Frieder Schrempf wrote: > On 31.05.23 08:56, Krzysztof Kozlowski wrote: >> On 31/05/2023 08:57, Joy Zou wrote: >>> Update pca9450 bindings. >>> >>> Signed-off-by: Joy Zou <joy.zou@nxp.com> >>> --- >> >> Subject prefix is: regulator: dt-bindings: pca9450: > > Is there some way to have this consistent for all subsystems? Most > subsystems seem to use: > > dt-bindings: [subsystem]: > > But some use: > > [subsystem]: dt-bindings: > > Casual contributors (like me) will very often get it wrong on the first > try. Examining the history is extra effort that could be avoided and > often doesn't provide a definite hint as you find both variations in the > past. > > Can we standardize this and make checkpatch validate the subject line? I understand your pain. :) My expectation is just to have "dt-bindings:" prefix. It can be anywhere - first or second, doesn't matter to me. Then there is the generic rule that subsystem prefix should be the first and here there is a disagreement between some folks. Most maintainers either don't care or assume bindings are separate subsystem. Mark (spi, ASoC, regulator) and media-folks say it is not separate subsystem (real subsystem are spi, regulator etc), thus they want their subsystem name as the first prefix. It sounds reasonable. Anyway it does not contradict DT bindings maintainers expectation to have somewhere "dt-bindings:" prefix. My comment was only to help you and there is no need to resend. I think Mark when applying will drop "dt-bindings" prefix if is before regulator, though. Life, no big deal. Whether checkpatch can do this? Sure, quite likely, one just need some Perl-foo to add such rule. :) Best regards, Krzysztof
On 31.05.23 11:11, Krzysztof Kozlowski wrote: > On 31/05/2023 09:22, Frieder Schrempf wrote: >> On 31.05.23 08:56, Krzysztof Kozlowski wrote: >>> On 31/05/2023 08:57, Joy Zou wrote: >>>> Update pca9450 bindings. >>>> >>>> Signed-off-by: Joy Zou <joy.zou@nxp.com> >>>> --- >>> >>> Subject prefix is: regulator: dt-bindings: pca9450: >> >> Is there some way to have this consistent for all subsystems? Most >> subsystems seem to use: >> >> dt-bindings: [subsystem]: >> >> But some use: >> >> [subsystem]: dt-bindings: >> >> Casual contributors (like me) will very often get it wrong on the first >> try. Examining the history is extra effort that could be avoided and >> often doesn't provide a definite hint as you find both variations in the >> past. >> >> Can we standardize this and make checkpatch validate the subject line? > > I understand your pain. :) > > My expectation is just to have "dt-bindings:" prefix. It can be anywhere > - first or second, doesn't matter to me. > > Then there is the generic rule that subsystem prefix should be the first > and here there is a disagreement between some folks. Most maintainers > either don't care or assume bindings are separate subsystem. Mark (spi, > ASoC, regulator) and media-folks say it is not separate subsystem (real > subsystem are spi, regulator etc), thus they want their subsystem name > as the first prefix. It sounds reasonable. Anyway it does not contradict > DT bindings maintainers expectation to have somewhere "dt-bindings:" prefix. Ok, thanks for the explanation. Would be nice if maintainers could agree on one version then. > > My comment was only to help you and there is no need to resend. I think > Mark when applying will drop "dt-bindings" prefix if is before > regulator, though. Life, no big deal. Im not the patch author, I was just jumping in as I saw your reply and it already happened a few times to me that I needed more than one try and used precious maintainer time just to get the subject right. So I thought there is some potential for improvement. > > Whether checkpatch can do this? Sure, quite likely, one just need some > Perl-foo to add such rule. :) Ok, this isn't something for me, but maybe someone around can come up with an approach.
> -----Original Message----- > From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > Sent: 2023年5月31日 17:12 > To: Frieder Schrempf <frieder.schrempf@kontron.de>; Joy Zou > <joy.zou@nxp.com>; Jacky Bai <ping.bai@nxp.com>; lgirdwood@gmail.com; > broonie@kernel.org; robh+dt@kernel.org; krzysztof.kozlowski+dt@linaro.org; > conor+dt@kernel.org; shawnguo@kernel.org; s.hauer@pengutronix.de > Cc: kernel@pengutronix.de; festevam@gmail.com; dl-linux-imx > <linux-imx@nxp.com>; devicetree@vger.kernel.org; > linux-arm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org > Subject: [EXT] Re: [PATCH v1 1/3] dt-bindings: regulator: pca9450: add > pca9451a support > > Caution: This is an external email. Please take care when clicking links or > opening attachments. When in doubt, report the message using the 'Report > this email' button > > > On 31/05/2023 09:22, Frieder Schrempf wrote: > > On 31.05.23 08:56, Krzysztof Kozlowski wrote: > >> On 31/05/2023 08:57, Joy Zou wrote: > >>> Update pca9450 bindings. > >>> > >>> Signed-off-by: Joy Zou <joy.zou@nxp.com> > >>> --- > >> > >> Subject prefix is: regulator: dt-bindings: pca9450: > > > > Is there some way to have this consistent for all subsystems? Most > > subsystems seem to use: > > > > dt-bindings: [subsystem]: > > > > But some use: > > > > [subsystem]: dt-bindings: > > > > Casual contributors (like me) will very often get it wrong on the > > first try. Examining the history is extra effort that could be avoided > > and often doesn't provide a definite hint as you find both variations > > in the past. > > > > Can we standardize this and make checkpatch validate the subject line? > > I understand your pain. :) > > My expectation is just to have "dt-bindings:" prefix. It can be anywhere > - first or second, doesn't matter to me. > > Then there is the generic rule that subsystem prefix should be the first and > here there is a disagreement between some folks. Most maintainers either > don't care or assume bindings are separate subsystem. Mark (spi, ASoC, > regulator) and media-folks say it is not separate subsystem (real subsystem are > spi, regulator etc), thus they want their subsystem name as the first prefix. It > sounds reasonable. Anyway it does not contradict DT bindings maintainers > expectation to have somewhere "dt-bindings:" prefix. > > My comment was only to help you and there is no need to resend. I think > Mark when applying will drop "dt-bindings" prefix if is before regulator, though. > Life, no big deal. Ok, thank you very much for the explanation! I better adjust the prefix. BR Joy Zou > > Whether checkpatch can do this? Sure, quite likely, one just need some > Perl-foo to add such rule. :) > > Best regards, > Krzysztof
diff --git a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml index 3d469b8e9774..849bfa50bdba 100644 --- a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml @@ -28,6 +28,7 @@ properties: - nxp,pca9450a - nxp,pca9450b - nxp,pca9450c + - nxp,pca9451a reg: maxItems: 1