From nobody Sun Apr 12 04:21:06 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D410C00144 for ; Mon, 1 Aug 2022 13:16:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231926AbiHANQO (ORCPT ); Mon, 1 Aug 2022 09:16:14 -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: quoted-printable X-Last-TLS-Session-Version: TLSv1.3 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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-regula= tor.yaml b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulato= r.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: =20 properties: regulator-name: - pattern: "^LDO[1-5]$" description: - should be "LDO1", ..., "LDO5" + Should be "LDO1", ..., "LDO5" or whatever the name of the bo= ards + voltage rail powered by this regulator is. =20 unevaluatedProperties: false =20 @@ -63,9 +63,9 @@ properties: =20 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. =20 nxp,dvs-run-voltage: $ref: "/schemas/types.yaml#/definitions/uint32" --=20 2.37.1