From patchwork Thu Nov 4 14:23:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Etienne Carriere X-Patchwork-Id: 516811 Delivered-To: patch@linaro.org Received: by 2002:ad5:5208:0:0:0:0:0 with SMTP id p8csp1994595iml; Thu, 4 Nov 2021 07:25:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxteJv4Ec9pUojhidiZV1eGfPBWHI61foxyoXThkCD6y+DVfzOgqdcniDQoa0G0Fg5raMvF X-Received: by 2002:a17:906:4452:: with SMTP id i18mr61442529ejp.374.1636035901212; Thu, 04 Nov 2021 07:25:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636035901; cv=none; d=google.com; s=arc-20160816; b=X7iCTzWi+/zRXExq1C+LHAqzHTqHqN3auBbf1jP1ua5vNohm957Cw8zrIiV6zHVY6b RypbC1f7sVnj6dGZelpTgLuHvw8TtAteUprPVS6lgKmYK6kdGflqYz4GWDxoQUzmRWpM eJJ1MlOI+eIIqvm8NiPIgepojn6HXzjjQiiAU5alz+xe+JLg7am7rjVQ1zJZrv2gqlsd qhzmhs3JUlMPEjY/ct8ILHgE8ILiFXCovx7gOSxiq/Mh3Zt/XrA9qDtMcTW4WsD7U/ki Xa6/cKDoVFxtrdHU8TeuMQbam1n1w2Kl1AeirlT6KGpMTpH1HH/aOZ4rkymPkotFX34C rPMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=7pS8BZZj0IVqtblSBcuUzvBKqm7MVfdqLOHe5lGKmck=; b=r9B3W0hQOuhm/GRZzWngxvzKDusaQYP6/QnP8Xio8Dd++Xflb2WDwsHUGfC3MQ5E/S OlLwzCBcN9Stc3g/3t5T7eE2LxJ9+dsrVi2A73NtuuWFVksnNSk1YnRevQgg0pKiqnwS lFCZ/tPiYfCWR7db7n5yP1QAU8ZKEJrSpz+u0UV9eMnFq/ouweWf0JU3G5Jfx5ukFAU2 R4Y30MqyKhfzipnQujxEMzlnAiyc3usiSSxXtoKZcJSMGMWh9DnEEbU1Kyfdi0oqgaRi +PjYF5NO/MU5VLPTsuty6u6Gmj6g21bd5BQhTQHaipVthBYdLULJnrURXeXGY7WfgrI5 ahog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FkBy8a1d; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id hr29si11407900ejc.190.2021.11.04.07.25.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Nov 2021 07:25:01 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FkBy8a1d; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2F08B83709; Thu, 4 Nov 2021 15:24:11 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="FkBy8a1d"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7933B836BE; Thu, 4 Nov 2021 15:23:44 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: 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.2 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A4528836B6 for ; Thu, 4 Nov 2021 15:23:35 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=etienne.carriere@linaro.org Received: by mail-wr1-x42b.google.com with SMTP id s13so8941242wrb.3 for ; Thu, 04 Nov 2021 07:23:35 -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:in-reply-to:references; bh=7pS8BZZj0IVqtblSBcuUzvBKqm7MVfdqLOHe5lGKmck=; b=FkBy8a1dNk/ZxSBHeeZ6dDl2v3ldWYcd26N923YAUFeNIopkOL9Y/rykn7VSthwgWE P1PDl5ObWLM9eEmROcBmOCwKWIxcPoL5HYCa/16T3TH8uL6lqy0uXghKWcsSJUWTG3Ef 8ZE/gGpm0aq8lKdJqPYlNhZEYd9sLgdfGJwQnkgkcfDNkA4VCPg3gyXNpjmdP295M4HF jNLerfXfNdUl2XHRhd8F6eui6zOAMupvu/HP3Mp3/fffANBQ+qT3We3kw3sobmyj5ggL 0hhUOdNYPKJC+gERFCKAbDVIno89+9Tgoz9J3+zXc4QPop6M0RUzVLRKBRIImDp5pqmw QV5g== 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:in-reply-to :references; bh=7pS8BZZj0IVqtblSBcuUzvBKqm7MVfdqLOHe5lGKmck=; b=nhOUfToB3nTfpGDYbMnw0WY+L9XjPiloY6UC8YKKCTINcLwH66j1US72rsjLZyWGL5 D1XgFmOg7Nz/8TXpY/xc5KJ3DhRENt74uJU7i1mVnNhVIPr9C7BcJKnC+fMN+L+uAcZf e3zfOsPT10ON6NRjla9xBXk+rqY3MRBZ7EuQwqLELlYjOu5c/UmgMYzWYXdK6E79Mv6O Bzcj1I8rTpGhKs0ImZPB2FxOaHwfIgDtBFkEcCCjqOxRtZ7ZmB8KegRE48c54JsOv6cz X3WXPgwxSiIaXU8uhAwHyH7pV35w6stAVpUXPJKXVlloZsNL3jlmRfWq9VMqecQRPhj1 7zqA== X-Gm-Message-State: AOAM530JkEyiTepbi6lFSO/k3zDG56Oy5i2eGLPBAD3aoGrkYDYwucCt 0o+XZoF7eL+aM5ub3r/3Gk3cCi7GD/wLFA== X-Received: by 2002:a05:6000:1a85:: with SMTP id f5mr9469947wry.361.1636035814214; Thu, 04 Nov 2021 07:23:34 -0700 (PDT) Received: from lmecxl0524.lme.st.com ([2a04:cec0:10b3:52ee:40ee:3a6f:5eb8:bd35]) by smtp.gmail.com with ESMTPSA id m34sm9383297wms.25.2021.11.04.07.23.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Nov 2021 07:23:33 -0700 (PDT) From: Etienne Carriere To: u-boot@lists.denx.de Cc: Etienne Carriere Subject: [PATCH 08/14] dt-bindings: add stm32mp15 regulators binding IDs Date: Thu, 4 Nov 2021 15:23:18 +0100 Message-Id: <20211104142324.2879-8-etienne.carriere@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211104142324.2879-1-etienne.carriere@linaro.org> References: <20211104142324.2879-1-etienne.carriere@linaro.org> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Define stm32mp15 voltage domain DT bindings IDs. Signed-off-by: Etienne Carriere --- .../regulator/st,stm32mp15-regulator.h | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 include/dt-bindings/regulator/st,stm32mp15-regulator.h -- 2.17.1 diff --git a/include/dt-bindings/regulator/st,stm32mp15-regulator.h b/include/dt-bindings/regulator/st,stm32mp15-regulator.h new file mode 100644 index 0000000000..96eb578c00 --- /dev/null +++ b/include/dt-bindings/regulator/st,stm32mp15-regulator.h @@ -0,0 +1,29 @@ +/* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */ +/* + * Copyright (C) 2020, STMicroelectronics - All Rights Reserved + */ + +#ifndef __DT_BINDINGS_REGULATOR_ST_STM32MP15_REGULATOR_H +#define __DT_BINDINGS_REGULATOR_ST_STM32MP15_REGULATOR_H + +/* SCMI voltage domain identifiers */ + +#define VOLTD_SCMI0_REG11 0 +#define VOLTD_SCMI0_REG18 1 +#define VOLTD_SCMI0_USB33 2 +#define VOLTD_SCMI0_STPMIC1_BUCK1 3 +#define VOLTD_SCMI0_STPMIC1_BUCK2 4 +#define VOLTD_SCMI0_STPMIC1_BUCK3 5 +#define VOLTD_SCMI0_STPMIC1_BUCK4 6 +#define VOLTD_SCMI0_STPMIC1_LDO1 7 +#define VOLTD_SCMI0_STPMIC1_LDO2 8 +#define VOLTD_SCMI0_STPMIC1_LDO3 9 +#define VOLTD_SCMI0_STPMIC1_LDO4 10 +#define VOLTD_SCMI0_STPMIC1_LDO5 11 +#define VOLTD_SCMI0_STPMIC1_LDO6 12 +#define VOLTD_SCMI0_STPMIC1_VREFDDR 13 +#define VOLTD_SCMI0_STPMIC1_BOOST 14 +#define VOLTD_SCMI0_STPMIC1_PWR_SW1 15 +#define VOLTD_SCMI0_STPMIC1_PWR_SW2 16 + +#endif /*__DT_BINDINGS_REGULATOR_ST_STM32MP15_REGULATOR_H */