From patchwork Mon Jul 5 13:34:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 12359117 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2CF63C07E9C for ; Mon, 5 Jul 2021 13:34:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 103206144E for ; Mon, 5 Jul 2021 13:34:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230414AbhGENhb (ORCPT ); Mon, 5 Jul 2021 09:37:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230188AbhGENha (ORCPT ); Mon, 5 Jul 2021 09:37:30 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4C56C061574 for ; Mon, 5 Jul 2021 06:34:53 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id p21so10785825lfj.13 for ; Mon, 05 Jul 2021 06:34:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=hTlomlxaU2sZDcUx321lrReHqUzaJljTL1EttP6LrNg=; b=wATVQJOBTwBPm0B91WkEXJvOkVJloSHXKQoNIvaLvL4299yOzDpUCRUthmaoiyz72P H8sOI5Tc18OtIml6K87TOhDCm1EruLas5coOZLshkz8uKpYlzZV1lyjo1CAoWb7R4+fb LD/OlwAOPPxF4xk95pnXK07/hsKD48j4IZ2MCVPa/h8fvZNAWN043plC6HtOXnWLfXQV oiAu9Y7RtnqpzfNZZeXHJC2+YDbLyfBX7MKDz7bWL21coatjiIrw1k+ShsaaTx7g4W6N nmgviV+ruMF6i8gmY3up+NzKg8h4NAMui1zVYCA4l92mckGAJQwofh2k510g0RSO6jyA AmRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=hTlomlxaU2sZDcUx321lrReHqUzaJljTL1EttP6LrNg=; b=TYRZxTKlzwcy+l2OIvlKVElNHHBQy99zZalGB6WS2f35GUVfoH/eP1mgr34FwFB/Sb 7UnIK4W+ZWx7HTzHM5x0l8eAMo+fBCv0Pnx8UI9iNDJt7dIjCxF8fjxthEJK8oquw8s7 yUvBHPlK0dLpzqheycLkSdc7RiABnt+FQmHEpQD1j4yFqqawdSJC4jLVJN714NwmdjIp aNKPIJ6qWr3of5Fe/LLiLRa+wXz2dnJAS8zAnhSKIVApZHhfh5WIKi+cUKRc6ZWeW1n4 l3QwCHsUGLNatdQt8aj04t9Ixeha+YwxgtYEq2W5VfBMbMQ18xd0J/qXnjgHzE8SQ+5a 668g== X-Gm-Message-State: AOAM533ejpsszeNvhstjI/sd88NZgeYW6o7CMrJCjSCLn6gdp2xXT+d2 HtQSryGNm9yd2NoK+87umU/9mw== X-Google-Smtp-Source: ABdhPJyGviPHrfmMtlEwyrVqsKtlbk8XSe4QwRB8Mq7TXi+VXzE3hHehjkoeOXMewOH+58O+KB7YMw== X-Received: by 2002:a19:f104:: with SMTP id p4mr10381901lfh.630.1625492091905; Mon, 05 Jul 2021 06:34:51 -0700 (PDT) Received: from localhost.localdomain (81-227-43-49-no2784.tbcn.telia.com. [81.227.43.49]) by smtp.gmail.com with ESMTPSA id a5sm1167860lfj.190.2021.07.05.06.34.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Jul 2021 06:34:50 -0700 (PDT) From: Ulf Hansson To: Rob Herring , Mark Brown , Liam Girdwood , Dmitry Baryshkov Cc: Bjorn Andersson , Rajendra Nayak , Ulf Hansson , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH] regulator: fixed: Mark regulator-fixed-domain as deprecated Date: Mon, 5 Jul 2021 15:34:41 +0200 Message-Id: <20210705133441.11344-1-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org A power domain should not be modelled as a regulator, not even for the simplest case as recent discussions have concluded around the existing regulator-fixed-domain DT binding. Fortunately, there is only one user of the binding that was recently added. Therefore, let's mark the binding as deprecated to prevent it from being further used. Signed-off-by: Ulf Hansson --- .../devicetree/bindings/regulator/fixed-regulator.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml index 8850c01bd470..9b131c6facbc 100644 --- a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml @@ -57,12 +57,14 @@ properties: maxItems: 1 power-domains: + deprecated: true description: Power domain to use for enable control. This binding is only available if the compatible is chosen to regulator-fixed-domain. maxItems: 1 required-opps: + deprecated: true description: Performance state to use for enable control. This binding is only available if the compatible is chosen to regulator-fixed-domain. The