Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp1959600imn; Mon, 1 Aug 2022 06:21:07 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s7TEyHFLtKYOmjqs37d+7lz3Ik9UODJqWZqs9mj7AhQ2WJn/5hKGRXb3TI+ZbwCXnvl0Zn X-Received: by 2002:a05:6a00:1393:b0:52a:d70a:bad with SMTP id t19-20020a056a00139300b0052ad70a0badmr16139563pfg.43.1659360067260; Mon, 01 Aug 2022 06:21:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659360067; cv=none; d=google.com; s=arc-20160816; b=0h9wOShACEE6GfH7PHcgCftyh+IPNxuBB9FBv5gj+Xz79/EZa3c9HeG3RT7CCVTk1x xqnMutJXJYZLH9SekXkhnL7hT/gJdeIUyEj/6vwHD6SGkaEQHtCPR3yuPA8wCdReqLae QWgZYn79sFByqxg2oSea/tB6ZuWbTwfZuyKnfEZzaDYpAXUu2hnSFJAK5rjBfIDQi4nn D/XnTH/x7R9IdK1pimIa7BSZmWOZ4xTqWxg5Virf0Ru3vpNz9ZFukI4DbcQ+F9weJqY7 mMyb9JHJ78uzOWGggwmplUcshiw7GQ1zYO/HTIIvaptr3WieuAegMnkFHBo1O01KjqQE oEkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dDXHjR+rY6x+7wr/ZTif7aTyQ06P/cqOLoN75cSeQSE=; b=mgOVMYgj+8ZdKIRqf0ZKdYxpwcfA7gfatZK1M/YBWeb2Z5MMFyCIytSztHiXL4p0Vc LjULQafPKsNARD0ly4qq7Whj/6VI77GAmxOjc4b52fEvCtrDHoQiqTJvCFGKD5lHhq54 MyQvQwUXa/l89/illmJVYgtPEwhdGGh9ZHyUvWL0VBgw4yQ2UZLH22m8dvIFxHvNKGZK Lu+VovrbBpXRg3iIJ+hF+2y+lu6eAVPuOSg5t//v01//8r5E74fjjBGZ/QrJ3GZBTIpp 0CUdM0Fo6lEe+H9ub0v2MdiZQ3vJvHHg1hyT+6Z9WP0xmSz6pZarOWgE5tY3YDol4uid gcbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=X9iZc0Z4; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fris.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j23-20020a632317000000b0041b9bb9bbe6si196835pgj.659.2022.08.01.06.20.52; Mon, 01 Aug 2022 06:21:07 -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=@fris.de header.s=dkim header.b=X9iZc0Z4; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fris.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231915AbiHANQN (ORCPT + 99 others); Mon, 1 Aug 2022 09:16:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230203AbiHANQI (ORCPT ); Mon, 1 Aug 2022 09:16:08 -0400 Received: from mail.fris.de (mail.fris.de [IPv6:2a01:4f8:c2c:390b::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FBAA2B267; Mon, 1 Aug 2022 06:16:06 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 79084C01B3; Mon, 1 Aug 2022 15:16:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1659359765; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=dDXHjR+rY6x+7wr/ZTif7aTyQ06P/cqOLoN75cSeQSE=; b=X9iZc0Z4Au8xcwh5BGUVPUeW3PFbUuPS4d/S5zwhSWxhWC5VKweWWKXGBzI7A65c6IRDgy 6TQ0cf/rOvjHbEN77cEfasgFG01SYcqEKtu+/gR57QoPPFejxE9vauR5Sm5b5RiqW8ZDaT /2LMfY2ThnJP92ws7h7vl01KtjARfxejAigX+2bTAxTbPxtZZnEaTBBw75/R2CPw2C+K9Z CV9SO0ofCusjMwa7wEf359uxwD/s5DUJUrauAbYSL47KJN7Hp0JgQSzYQ+cITi9XntYZDi F7/FV/hTKL1EwCa0yCU4s2lvQeXXzYTJvbNjo+egk621ozMcefkHdwaqfPvv1g== From: Frieder Schrempf To: devicetree@vger.kernel.org, Krzysztof Kozlowski , Liam Girdwood , linux-kernel@vger.kernel.org, Mark Brown , Rob Herring , Robin Gong Cc: Fabio Estevam , linux-arm-kernel@lists.infradead.org, Frieder Schrempf , Per-Daniel Olsson , Rickard x Andersson Subject: [PATCH v2 2/8] dt-bindings: regulator: pca9450: Allow arbitrary regulator names Date: Mon, 1 Aug 2022 15:15:46 +0200 Message-Id: <20220801131554.116795-3-frieder@fris.de> In-Reply-To: <20220801131554.116795-1-frieder@fris.de> References: <20220801131554.116795-1-frieder@fris.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,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 From: Frieder Schrempf Instead of restricting regulator-name to non-descriptive names, allow to use arbitrary strings. This enables us to use the name of the voltage rail that is powered by the regulator as some board DTs already do. Signed-off-by: Frieder Schrempf --- Changes in v2: * new patch --- .../bindings/regulator/nxp,pca9450-regulator.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml index b539781e39aa..b1e4fd09928b 100644 --- a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml @@ -49,9 +49,9 @@ properties: properties: 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. unevaluatedProperties: false @@ -63,9 +63,9 @@ properties: properties: regulator-name: - pattern: "^BUCK[1-6]$" description: - should be "BUCK1", ..., "BUCK6" + Should be "BUCK1", ..., "BUCK6" or whatever the name of the boards + voltage rail powered by this regulator is. nxp,dvs-run-voltage: $ref: "/schemas/types.yaml#/definitions/uint32" -- 2.37.1