Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp1988701imn; Mon, 1 Aug 2022 07:17:02 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uV2//SWnKLLMLhZzdYs2KdEf7HXQwX3YnnpnnVMWZ43RvjzqJuUVUpiN3fN0gP+H5d19JE X-Received: by 2002:a17:907:7388:b0:730:5c18:da68 with SMTP id er8-20020a170907738800b007305c18da68mr6822789ejc.389.1659363422320; Mon, 01 Aug 2022 07:17:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1659363422; cv=pass; d=google.com; s=arc-20160816; b=rRnhMXiK8RAUWM/8hWr1D9qD7fA3XF+8DkIe+gdjV4bUbDbzOv6YGqHfEDfwQXfDn8 gyj94JpuZEucPJ7eKlfkavSD83rqyrkGYkOp7CfjLC4gBK76TpUTwK4jPwDiJFvJRWo8 kuHW2M9yRJlSu4a3SvPGA3Q7ITuNMZJbLEremtmZl5lZu4jeuAnTE/qrfhhoDM91gKKa j0Z7lrXbmsy92CTNxKhC2UZyCB7POQEv3nPpth4S10VXco4/dzBy2/dIColVzUacVaGe XkqEPiSyHmB0EjSByzzUl/qkKLCud/MwFFE7TcWHnCexXNkWhJVftGQg7RI+tANmEzEE T5Gw== 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=3C8UZVCHfYPupPZ1oCjnRmcAH9kAHK4HPYfJD/rVC94=; b=gYTFSZ4hpkE/UDanSQkaIGT/wlL/pEjYRHZC1mwTADVEbgvDtpfVThT7GCSx/mS34T /mf5DtlrS4umwqPf3GGeHbzH+YRGhxB5aVeMwkh0OlkIkPM4TKQUypKQcKKzl4usTu7Y JkCzb+7YX9zEwUt7xYEtcqBqxvpoW8dhven51ZubDlwwo2QiJgElclz0bl00lKLzdnVk qQmYVbzwfVR2mZq9Y+WOXrGctLn/DbPz6SHMsBA5RWs3s/CppLDKaAWOthtMiauOuhSE 9GPLDJYlcpC5PltmxXNnwqrpjimjhhztph4CtH2dJORIXa2AVdMeMpp+ZBcLgsici80Y wdFA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mysnt.onmicrosoft.com header.s=selector2-mysnt-onmicrosoft-com header.b=lgYr9LMz; arc=pass (i=1 spf=pass spfdomain=kontron.de dkim=pass dkdomain=kontron.de dmarc=pass fromdomain=kontron.de); 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o7-20020a17090608c700b00718d0985aa0si6143542eje.247.2022.08.01.07.16.26; Mon, 01 Aug 2022 07:17:02 -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=@mysnt.onmicrosoft.com header.s=selector2-mysnt-onmicrosoft-com header.b=lgYr9LMz; arc=pass (i=1 spf=pass spfdomain=kontron.de dkim=pass dkdomain=kontron.de dmarc=pass fromdomain=kontron.de); 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230410AbiHANp6 (ORCPT + 99 others); Mon, 1 Aug 2022 09:45:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230390AbiHANp4 (ORCPT ); Mon, 1 Aug 2022 09:45:56 -0400 Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30094.outbound.protection.outlook.com [40.107.3.94]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A69603334B; Mon, 1 Aug 2022 06:45:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jKyWPs52x2WNDjhrLnBTvaojgWw1WoFohsQjwaxU73wnMmsa3OMVPP7PDwhmhXwRkjEqAQ/NrVhHcLXPOIkXTrXrXuYGTinrUazhuf3brvyhNw0BNQ1g2FLwA/GpMjq+vp97AzPY0vEEAxyfKHDW7KBPijEqOBgUhUmYCPPEqJEJ8D92avibedMS3cNnqDA5G9qDY2of20VdXzxsZZDhlZfnPWU909/1/mquygz2lPDCW5zRCwPEqalTIJ4+n55CGE0acuCripE+YjiCQvF3BJZ4z0V1Y7MZ+PCtXF5+zDHdBG/aX+fcn5CFC+ce8iMXWETvNqlAZpx0sGUjma8AHg== 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=3C8UZVCHfYPupPZ1oCjnRmcAH9kAHK4HPYfJD/rVC94=; b=LQK3ySnuMDOMxOySCEx/e9kfvxP1QKtv14u1rQ6LzF76Q9pfPrK1b2z7AoTi8m1w4JGS7I4gJm6mIq0StZ5zYCEI6wQkJcl2YdB44+b2061hdElEi2KqkFZeHoeHM2pqsaU1w0qEpm2OiAu2nKUSM97DgEeH8YWpmw2if1IVIdFenupHC+sNmNY92ctxeSXv7ovr/Y1sRhpb0ocnG3SZnppd3C/PLR5Fw26hkJXITM2WtMKcUA8hgcxBjqLfKG+5kDr06TBuSPLlAuhHcu9/yUQNqzHJ1w7hFZEBqHewY50DjyaaITJ1PV0a0CcfKtdlXD36z+MftmIpLqAhOq9FiA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=kontron.de; dmarc=pass action=none header.from=kontron.de; dkim=pass header.d=kontron.de; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mysnt.onmicrosoft.com; s=selector2-mysnt-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3C8UZVCHfYPupPZ1oCjnRmcAH9kAHK4HPYfJD/rVC94=; b=lgYr9LMzmW2sO230+TvGne79/R6RyLSOgNDxWkiC9h+luCPiod9QA0sppMpy65/+Ynfxmj8NdxlNEPq07Hs0Dsp2TzYmWIZTI5YyqbLm6bCzdlnY8WT5pTjhM+b9+N8bZfPBitxchog/7i0equ7XOZ/wMiCMKRNAJulKvjJiMMQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=kontron.de; Received: from PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:263::10) by VI1PR10MB2318.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:803:84::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.15; Mon, 1 Aug 2022 13:45:53 +0000 Received: from PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM ([fe80::8cd6:567b:46d0:a1a8]) by PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM ([fe80::8cd6:567b:46d0:a1a8%8]) with mapi id 15.20.5482.014; Mon, 1 Aug 2022 13:45:53 +0000 Message-ID: <16f688e9-7777-c5f1-0269-f83ed6788831@kontron.de> Date: Mon, 1 Aug 2022 15:45:52 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v2 2/8] dt-bindings: regulator: pca9450: Allow arbitrary regulator names Content-Language: en-US To: Mark Brown , Frieder Schrempf Cc: devicetree@vger.kernel.org, Krzysztof Kozlowski , Liam Girdwood , linux-kernel@vger.kernel.org, Rob Herring , Robin Gong , Fabio Estevam , linux-arm-kernel@lists.infradead.org, Per-Daniel Olsson , Rickard x Andersson References: <20220801131554.116795-1-frieder@fris.de> <20220801131554.116795-3-frieder@fris.de> From: Frieder Schrempf In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: AM0PR02CA0104.eurprd02.prod.outlook.com (2603:10a6:208:154::45) To PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:263::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 03d55182-a95d-42d6-5c19-08da73c4271a X-MS-TrafficTypeDiagnostic: VI1PR10MB2318:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vVXKOEueTAeb6Nj4BtkHlLzdT4zzlTfd2OlBZHaszvNsZG0C0v3+byYFZWr/6Hf23RAeAkHZziF2UJoQCvRIVWpDqEj59c0Pj1CiAT39GmXx/0Xpx8iHFoobyigj2jhel0UtPYwtMsaTWVsR/wYc+VnH26vE62HpJ70UIPj/QYGFtYw3d7uCHwKg68CgoeeVrdt4TxgsjLy8+M34KXurONT8b6l4Oc9IGxh+Vo0VDakNJ0kh3u3zDhao1EwpnVtz/uz2y4am17/ZRxKbqEU/29diuMVekTrUDtRklKyCl7XKtrRwVoLs/KBA2LZ93JF/WRrOKbZwzWc5D0DAkqYycdWa7qJIM8qch0rvd/L/dnnksSGXoPqiAkGSgO9M7qb6qeC9fanMA2RulQdYZobHUnPwYN3yp4CAk4isJ8bhZUsfq6CtF9rqdAm1gAiro5TuIt3mOq//RKSGhs61KccveYbqjZINHUC1uMdFYEyntD91yZZ8CiobD9JCk9JmwkJWgdASNMBypfDFiJVws+w+vSDLyAwPbs7LKG3NRbwRe5n7Lx6IYHYmzJt9aHgulaX/eEdu6kBcJ0ewaw0QtMOR+oNmmqL2vCu7aviRF+ngLqPmDoTeJjc243W6OPrQ51BehJf0HkFgwINDi4UyY06Dnl91zhtRjbvD3I3gujnPPAZx6LO6CFVbTkLsOoS8mIP03H9zrLCis2VTZZbVe6wQ9p05yb5MIHXL1CzxS+T+BSeWDDNU/LYN7wr3la2Au5J9MxKAblVtPn5QTUYk5nxzWpHXSktQfKZiRRTBYi3tGXuQSmQsW6m9m9Cla0zOkAC5NR1yt6ruaFkEA4oe5orlUA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230016)(4636009)(346002)(366004)(376002)(136003)(39860400002)(396003)(31686004)(478600001)(31696002)(36756003)(26005)(6486002)(110136005)(8936002)(38100700002)(6512007)(54906003)(44832011)(5660300002)(316002)(186003)(66476007)(6506007)(7416002)(66946007)(66556008)(2616005)(2906002)(86362001)(41300700001)(8676002)(4326008)(45980500001)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bkw1WmRIWHdlVk55L2JHRTUya2tDQ1UvRmdWbjYvVGhSSWJDdnFneDY2Sm1W?= =?utf-8?B?S1hab0FqOTMza0FXWkJEZ2lkZExENXZzQTBSL0xKMittOVdZY05abWJQV2RU?= =?utf-8?B?c0hUYk9FU0FrNFZtQW1pWHZHaGhPQnVqSWpsZXNHelhQZ0UwR1o4aTU0WHhD?= =?utf-8?B?M2xBdzJGSURUVHVmMXcwUHl6SXE2Y2R0RXpVZzlsU0xLY1NiWTNnSEhJSElL?= =?utf-8?B?aCs0eGRsOUMvcEZicXIyQ1EzTWI4aUZUVHlsdDlUeFc0K3N4ZDJDcitsengw?= =?utf-8?B?V09ya3dqWGlDS1BvRXVKRnR0czNBeWNuT3pHajBpZm1lcnptVVNFTW1NaGkz?= =?utf-8?B?QjcvN1lWeFJ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VGsreHZqYTBvQ3R2?= =?utf-8?B?ZFE9PQ==?= X-OriginatorOrg: kontron.de X-MS-Exchange-CrossTenant-Network-Message-Id: 03d55182-a95d-42d6-5c19-08da73c4271a X-MS-Exchange-CrossTenant-AuthSource: PA4PR10MB5681.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2022 13:45:53.4263 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8c9d3c97-3fd9-41c8-a2b1-646f3942daf1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: MX2vpWB0PhQt9QRlqTSLnDJbA8kyIRvSyDGDwQakzFTiFihRQdIXBff2doq4MioVSqPL2cn77O3aCLAR9Tkv+eAgDsNBUEC17USZAfTcUMA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR10MB2318 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS 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: X-Mailing-List: linux-kernel@vger.kernel.org Am 01.08.22 um 15:21 schrieb Mark Brown: > On Mon, Aug 01, 2022 at 03:15:46PM +0200, Frieder Schrempf wrote: > >> regulator-name: >> - pattern: "^LDO[1-5]$" >> description: >> - should be "LDO1", ..., "LDO5" >> + Should be "LDO1", ..., "LDO5" or whatever the name of the boards >> + voltage rail powered by this regulator is. > > This should simply be removed from the bindings for the device, devices > have no business placing any constraint on this generic binding. Ok, IIUC something like below should do then. I can change this in the next iteration of this series or send it separately if the rest of the set gets accepted as-is. --- a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml @@ -47,12 +47,6 @@ properties: description: Properties for single LDO regulator. - properties: - regulator-name: - pattern: "^LDO[1-5]$" - description: - should be "LDO1", ..., "LDO5" - unevaluatedProperties: false "^BUCK[1-6]$": @@ -62,11 +56,6 @@ properties: Properties for single BUCK regulator. properties: - regulator-name: - pattern: "^BUCK[1-6]$" - description: - should be "BUCK1", ..., "BUCK6" - nxp,dvs-run-voltage: $ref: "/schemas/types.yaml#/definitions/uint32" minimum: 600000