From patchwork Sun Apr 17 14:42:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 563197 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 A3270C433EF for ; Sun, 17 Apr 2022 14:44:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234248AbiDQOrE (ORCPT ); Sun, 17 Apr 2022 10:47:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234246AbiDQOrD (ORCPT ); Sun, 17 Apr 2022 10:47:03 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8C83DF5C for ; Sun, 17 Apr 2022 07:44:27 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id b21so20884808lfb.5 for ; Sun, 17 Apr 2022 07:44:27 -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=RnWct7vKYCF5Uv27r8WcT39f+hEMz2AIjexA1wHqeFc=; b=LHOJ6g/M4VpeXoLOayEmmb0o6z38hkflkA+ktwrpdh8zeBDjoT6EkxwwB+I84QuU2J FPIkXEegL4IGZim/0RkFUIf3JHlMkh+Qh8+6TxyvF0mz74O28eTP8AnNR0Q9CmHNvNwp 5bPIQJZQrImHIjiV/qfsuIulBBkLDtwT+ai9rKWIPy7qX2xASAc1ztop69LHsJE7MKBF PXTlIGeCaztVwyA7/RozsFA2YQruyahmlsxbBWp6yDuRu5Ox4HWTGjjetvQIJnfcQLED qvZ1qVqaHud6cEC6oLX4VBk0m8lssakItPIXe0N3U65pR2J6id2OLglFf2s/GeRu9uYx 18TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=RnWct7vKYCF5Uv27r8WcT39f+hEMz2AIjexA1wHqeFc=; b=t/q5c8IKwXaBzckngIh44t/jw38jtpDrlEG69WtmcoH35FYQdHHmOVTno6LN2U13KP mewsvlq0BVKfrgHARksMsVxBPl3+SBYdYRiBQBgVqdjKdlfF/aH5cfNvllrCU+rS7zqc XhluELkfG9JjD9OG2AlPmuiqoIdZ6Nfp5BdsWQ5TsBepqqiZHV35S6PVFMYUPl3RN9Ok Lyq4Kgk8cikOByBytZ0IAKoa/uWJ9+RgtPWc49/gxMJb7CXj5mB6ugDEtBb2jkfrqK8l 3B96iFM0JDBtlqi4Gzl7xUPyF4GBO4+XHqYT6UFfJuETtW/EGRbc3xg8zhx9sqFWnbqV k5GA== X-Gm-Message-State: AOAM531T0nW7x7gWqgVOw4zFhF5XPuabVS4CAZlwFCRcCCp61LiXSdwb fv9NfMBvPFw3PfrKaaGO46SrQQ== X-Google-Smtp-Source: ABdhPJwrV4qFcvi/BOh02dpNGBtnc1ORhfIQcNDibvJ5ZlDBtmOMbKmxmTcHyrYgUckPVSLtFL54oA== X-Received: by 2002:a05:6512:cf:b0:46c:cb02:336d with SMTP id c15-20020a05651200cf00b0046ccb02336dmr5329688lfp.548.1650206666066; Sun, 17 Apr 2022 07:44:26 -0700 (PDT) Received: from localhost.localdomain (c-fdcc225c.014-348-6c756e10.bbcust.telenor.se. [92.34.204.253]) by smtp.gmail.com with ESMTPSA id b17-20020a196451000000b0046d86056d22sm961012lfj.179.2022.04.17.07.44.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Apr 2022 07:44:25 -0700 (PDT) From: Linus Walleij To: linux-mmc@vger.kernel.org, Ulf Hansson Cc: Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH] dt-bindings: mmc: Add small binding node on level shifters Date: Sun, 17 Apr 2022 16:42:23 +0200 Message-Id: <20220417144223.649201-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The VQMMC is often provided by a level shifter, so drop a small note in the bindings that this can be the case and how that is done. It is helpful information since this is pretty common. Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij --- Documentation/devicetree/bindings/mmc/mmc-controller.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml index 513f3c8758aa..ff5ce89e5111 100644 --- a/Documentation/devicetree/bindings/mmc/mmc-controller.yaml +++ b/Documentation/devicetree/bindings/mmc/mmc-controller.yaml @@ -298,7 +298,10 @@ properties: vqmmc-supply: description: - Supply for the bus IO line power + Supply for the bus IO line power, such as a level shifter. + If the level shifter is controlled by a GPIO line, this shall + be modeled as a "regulator-fixed" with a GPIO line for + switching the level shifter on/off. mmc-pwrseq: $ref: /schemas/types.yaml#/definitions/phandle