From patchwork Wed Mar 8 23:09:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 13166563 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 F1FA1C6FD19 for ; Wed, 8 Mar 2023 23:11:08 +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=hqG+mS43bq+bI/9ybs0GiT0ADYxoWV2XmAahA7V2j5A=; b=SwxWJ6PfdOwihd Xk+m1u/E1P368Bh4wBCPe+HJy/tlOSVbKd12yEM/1pd22i5KXjW2HIKQdaTS64KxhEjfGQDvi0MSZ y+suIbKLhN+hT7f+XeV9cVT69HzJoYk8soTDAexHBK/DhsttzZfZtmtKQ+oOHSmzIR3PEWee3hCwg C+e/J+R8iUhZGtaFAAQJEKCcXy0ox2NZHKS1sIfHwVn6egybuRdJ4JMCBF68OyIKnQdWWFvgWqa4J 61JRJNKm3HpTlAiNOVNkT9sGhl1YKLvO/eYG9W7J0tQ4l9JjpYeYTZQETCSjl5lzAqFoM/ASiPxw/ uok1FNKCy+S3VXbls64Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pa2vA-0072IV-IP; Wed, 08 Mar 2023 23:10:08 +0000 Received: from mail-oa1-x33.google.com ([2001:4860:4864:20::33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pa2uk-00729v-G1 for linux-arm-kernel@lists.infradead.org; Wed, 08 Mar 2023 23:09:45 +0000 Received: by mail-oa1-x33.google.com with SMTP id 586e51a60fabf-17711f56136so444383fac.12 for ; Wed, 08 Mar 2023 15:09:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678316973; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+EZCn0NdbTVrvM23U+e5p/n9AtAvNh9rjheRTu832dQ=; b=U2CVKkl/ZZuBfeI0jW1ZRVsvfuNzbJ2tfTxcMSf7yfLuNGGUEAos2v9A5+76sjUOMn bLfP0R9A21kYBAMAsP2q5NrLkd1Nk0j12aoP0R8SNFbxCSz2Xhn/4q2Iqw6Bq0eczdXq CFlHSvrKbNpb6us/ow+CgWfcjNJ8+osRuuUCUQOq+LPXVOmIsJDEjREmDvyYRk2eIKVO 7pE0gWM/6/bcO2dUaBKUPejJWb3RX2lVSmHa2S4pTQ0apLSnx+xNghPARTX4sp2f+utz D98WBVxCB5evOgVqd/CvsrirOv7krNr2sCtPZGzZjXhWUQrYY4tOESrS4yFHpCr/86H4 psaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678316973; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+EZCn0NdbTVrvM23U+e5p/n9AtAvNh9rjheRTu832dQ=; b=RXCzQ5rZ6BGnDQ4WLTNX7e3AW/GVo7cz7UlXfyaswluyKRhqK8i/I3Kh4oCfEEufXW POSa0PIEgMKCqJUhvmjfpjy2WsoMiGL6vcFjcyNQgGeP4ok4XP99hxhJvaVi74Bp65Ih VwhquauPfOcEn5N+KLJyAeKhD+y1krgTAx3rq/zA0wyii1Hni/bcfK/ROSQiJMJkLPsM YxLzSp6YpymCjr7sohaEssLNELZND/UeWsYE5/PnGJgNvsA8XCcoh9G8ZrtATt3JE10k kbQtPdQiDRSmA1lGl25SANgCqIJfYRvCAko7KZlLzJvpc1om8CXiQSx7/zMcca1WSpTf 1mFg== X-Gm-Message-State: AO0yUKXtgcUBhHtz+mrDpWO6A5CD+5b2jhGVKCDrVWmGgDplR48h2FEf xDLtqq68qlzl8+ocjuXFpGRlcw== X-Google-Smtp-Source: AK7set8WrlFPXvBp65SgkmLYgtk/hwpjy3GwLMvFVTawJ5bKZVU6MMUVfwzfFfbn6b215ppGtxMHFw== X-Received: by 2002:a05:6870:a786:b0:172:9ad0:8d5 with SMTP id x6-20020a056870a78600b001729ad008d5mr11331196oao.35.1678316973745; Wed, 08 Mar 2023 15:09:33 -0800 (PST) Received: from localhost ([136.49.140.41]) by smtp.gmail.com with ESMTPSA id w16-20020a056870431000b00172428894e0sm6633286oah.28.2023.03.08.15.09.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Mar 2023 15:09:33 -0800 (PST) From: Sam Protsenko To: Krzysztof Kozlowski , Rob Herring Cc: Alim Akhtar , Marek Szyprowski , Chanwoo Choi , Chanho Park , David Virag , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/6] dt-bindings: power: pd-samsung: Add Exynos850 support Date: Wed, 8 Mar 2023 17:09:26 -0600 Message-Id: <20230308230931.27261-2-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230308230931.27261-1-semen.protsenko@linaro.org> References: <20230308230931.27261-1-semen.protsenko@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230308_150942_562362_A1BA7264 X-CRM114-Status: GOOD ( 15.69 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Document the compatible string for Exynos850 power domains controller. Also add power domain indices which can be used in "samsung,pd-index" property to specify a particular power domain in the device tree. Signed-off-by: Sam Protsenko --- .../devicetree/bindings/power/pd-samsung.yaml | 1 + MAINTAINERS | 1 + .../dt-bindings/power/samsung,exynos850-power.h | 17 +++++++++++++++++ 3 files changed, 19 insertions(+) create mode 100644 include/dt-bindings/power/samsung,exynos850-power.h diff --git a/Documentation/devicetree/bindings/power/pd-samsung.yaml b/Documentation/devicetree/bindings/power/pd-samsung.yaml index 9c2c51133457..a353a705292c 100644 --- a/Documentation/devicetree/bindings/power/pd-samsung.yaml +++ b/Documentation/devicetree/bindings/power/pd-samsung.yaml @@ -21,6 +21,7 @@ properties: enum: - samsung,exynos4210-pd - samsung,exynos5433-pd + - samsung,exynos850-pd reg: maxItems: 1 diff --git a/MAINTAINERS b/MAINTAINERS index 8d5bc223f305..53e11e48639c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2720,6 +2720,7 @@ F: drivers/pwm/pwm-samsung.c F: drivers/soc/samsung/ F: drivers/tty/serial/samsung* F: include/clocksource/samsung_pwm.h +F: include/dt-bindings/power/samsung,* F: include/linux/platform_data/*s3c* F: include/linux/serial_s3c.h F: include/linux/soc/samsung/ diff --git a/include/dt-bindings/power/samsung,exynos850-power.h b/include/dt-bindings/power/samsung,exynos850-power.h new file mode 100644 index 000000000000..a8d877b5515a --- /dev/null +++ b/include/dt-bindings/power/samsung,exynos850-power.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ +/* + * Copyright (c) 2023 Linaro Ltd. + * Author: Sam Protsenko + */ + +#ifndef _DT_BINDINGS_POWER_EXYNOS850_POWER_H +#define _DT_BINDINGS_POWER_EXYNOS850_POWER_H + +#define EXYNOS850_PD_HSI 0 +#define EXYNOS850_PD_G3D 1 +#define EXYNOS850_PD_MFCMSCL 2 +#define EXYNOS850_PD_DPU 3 +#define EXYNOS850_PD_AUD 4 +#define EXYNOS850_PD_IS 5 + +#endif /* _DT_BINDINGS_POWER_EXYNOS850_POWER_H */