From mboxrd@z Thu Jan 1 00:00:00 1970 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: 8bit X-Last-TLS-Session-Version: TLSv1.3 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 From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 69818C00144 for ; Mon, 1 Aug 2022 13:17:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KteA/AGWfOjQ9g0fAlVKeOUcxtXbAQWfl3CUqlrX8mo=; b=KBdQ6bAE99TGt2 PHh7SFfodjDMg3kZnEVEy93QeVdd0DAPwVkHW10gWKBg7Awt3MCZKCYkxaYIXK+hjbzcdTlbkq0YS hVKRT5xCF6fkd7M+afRIiTQXGPLpXjsWCeIY2ftNH7fAYZvSTes2NL2LiD4HimGLiZMhWNIOAMWLe pqcDX9XGS22d8GGmuodnRi6Dc0OEMn159aQl+6dV0NOMbwU0DS8c6UrZIYJkEIPILfOah86KV5t6K +UBRNlwuYk5lc/z60y+AN+CqExXUmH9Vud0LShSmpOQm0dEYpjAl+aENsUYGc5KLAMPa0dN+ZuvKT R7s80lXXetHBtW4JL4ww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oIVHL-006aju-W6; Mon, 01 Aug 2022 13:16:16 +0000 Received: from mail.fris.de ([116.203.77.234]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oIVHI-006ae7-IR for linux-arm-kernel@lists.infradead.org; Mon, 01 Aug 2022 13:16:14 +0000 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 X-Last-TLS-Session-Version: TLSv1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220801_061612_818728_15465EEF X-CRM114-Status: UNSURE ( 8.81 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel