From patchwork Sat Oct 19 08:47:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13842613 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 4EF30D3C902 for ; Sat, 19 Oct 2024 08:51:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=xkq0jg3ZngL6XTBvF8fzLqW6TSLbi1vjTdZAT+9I8fA=; b=oOY9QoUjAnCiuemHZWVvGXSMNe 4rCwFZXXP5kTBfHeBO0strMWHlKossgLmqsO3GAUYQwMoP6ysK6LhPb1M8vS6Cch5q8GH52/IQ7J4 kRezbZUqGcrscHmoEaKQz+TFProLSJjRWXC4f9y1FlJ2Y/9BBWFMtXKfg9XMMsll7X0fnsRHMbWhx EdzdoaY1kY3Pedt6uzEZ9py4ZNxP8pNQ6YX/Wb6yPeAxjfn9ut+ZSIz29+WwMDzremZNklKosH0RQ 6GjK0IilW7SCQXRYORJ1ptGFo7azdD0e5A3XlkwN3xQvVUCszMKrOsOQSUYDqTNDn6udxdy0nCF0p QTj7U4kQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t25B6-00000002tJP-0PM0; Sat, 19 Oct 2024 08:51:16 +0000 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t257p-00000002s0n-048t for linux-arm-kernel@lists.infradead.org; Sat, 19 Oct 2024 08:47:54 +0000 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-4316a44d1bbso1648235e9.3 for ; Sat, 19 Oct 2024 01:47:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1729327671; x=1729932471; darn=lists.infradead.org; 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=xkq0jg3ZngL6XTBvF8fzLqW6TSLbi1vjTdZAT+9I8fA=; b=afwloVh0LBZF2uvjrfzuwepOJI7z+IOxYXIXXuRA1Ruc11tkjFsyChGyqXCWNXd/E6 c0Pts8dlh7GcnVK+WS8BvUq+pu0x0/ZSVrt3dIw/98jY65TnbJd8FV1ZXKELTE2rMda6 8AtZRXn/boBUkZ+5CrAogLIAHoY6YxIdwkg41sI3t4vhWs5zvqHuSkL6iwEM3REYOEkk MDQShgmfDOn1OWPZhBX5+k5itA0gJFgJ6uxqwfh0AXa+WxtC+eOx4JTLS/xM6tVPOO2U egqPZkfkX4ewO6M6xIkXKw4xGNR5VVOO7NW0G2WtUK8TBzP+thteOT5jtI/GiaeK9nnL gErA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729327671; x=1729932471; 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=xkq0jg3ZngL6XTBvF8fzLqW6TSLbi1vjTdZAT+9I8fA=; b=XlEutWZAjxPbEMDQ9C87z8djUbqp93/Xa+l/0iF0tG1VwhrWdMwwM3srJ95luo106e YxSxCVCQl+kkkYR0i/sJ31JVX2i8i+zcpRb0yRM+tVZeQRVNH8UKgPQE8DewAE4r80js p0H9i3HYG4Pkd3I9xb3LgFW5oYc8WXArdoytWBPLTKKogs8NIjciL2EsPetC7xSP1NYb b9tk4H3G1vJBkNQGIEwCQZMp0OGm6QeBVCIA2zNP/0rygbJidCG6IDjzz1LlcoMUyX9d /IpRheQHNT93SbKr8BVfqEqanba+mnO/9jktE5+LggDHdPMYpGoFV1apa+jy09UF3o4e v7ng== X-Forwarded-Encrypted: i=1; AJvYcCWHNLNUl5yGfM16jJhg0VTn7YMJWk/Gsruu8wiZeL7MwRKcjWzBCdw5z7jHgX3DP0bRde4DHyVB7YhJTJxnRUE2@lists.infradead.org X-Gm-Message-State: AOJu0YywevD2DjD0/FsOezWBNiG/S3fwlkJRVdwh45RR3ehLXYBkveE0 +bPqA5kOpddA0CgTjdTYf7e2TfQONrUjxgoptO0SWxsGZ19WTl81APYMUhmJg3M= X-Google-Smtp-Source: AGHT+IHRZnK+N802z9QG6sCXyGXCTufshJSq5kkVCxqZoVZd38I0PzQdwSftPArhYs9fPwGvWT8gSQ== X-Received: by 2002:a05:600c:1c95:b0:431:594b:8e2b with SMTP id 5b1f17b1804b1-43161657e14mr36978455e9.12.1729327671331; Sat, 19 Oct 2024 01:47:51 -0700 (PDT) Received: from claudiu-X670E-Pro-RS.. ([82.78.167.23]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37ecf0eccbasm3898731f8f.81.2024.10.19.01.47.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Oct 2024 01:47:50 -0700 (PDT) From: Claudiu X-Google-Original-From: Claudiu To: geert+renesas@glider.be, mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, alexandre.belloni@bootlin.com, magnus.damm@gmail.com, p.zabel@pengutronix.de Cc: linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, claudiu.beznea@tuxon.dev, Claudiu Beznea Subject: [PATCH v4 01/12] dt-bindings: clock: r9a08g045-cpg: Add power domain ID for RTC Date: Sat, 19 Oct 2024 11:47:27 +0300 Message-Id: <20241019084738.3370489-2-claudiu.beznea.uj@bp.renesas.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20241019084738.3370489-1-claudiu.beznea.uj@bp.renesas.com> References: <20241019084738.3370489-1-claudiu.beznea.uj@bp.renesas.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241019_014753_093859_4A1872C8 X-CRM114-Status: GOOD ( 11.92 ) 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 From: Claudiu Beznea The RTC and VBATTB don't share the MSTOP control bit (but only the bus clock and the reset signal). As the MSTOP control is modeled though power domains add power domain ID for the RTC device available on the Renesas RZ/G3S SoC. Signed-off-by: Claudiu Beznea Acked-by: Krzysztof Kozlowski Reviewed-by: Geert Uytterhoeven --- Changes in v4: - none; this patch is new; after discussions w/ HW team internally it has established that the RTC and VBATTB shares different MSTOP settings include/dt-bindings/clock/r9a08g045-cpg.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/clock/r9a08g045-cpg.h b/include/dt-bindings/clock/r9a08g045-cpg.h index 8281e9caf3a9..311521fe4b59 100644 --- a/include/dt-bindings/clock/r9a08g045-cpg.h +++ b/include/dt-bindings/clock/r9a08g045-cpg.h @@ -308,5 +308,6 @@ #define R9A08G045_PD_DDR 64 #define R9A08G045_PD_TZCDDR 65 #define R9A08G045_PD_OTFDE_DDR 66 +#define R9A08G045_PD_RTC 67 #endif /* __DT_BINDINGS_CLOCK_R9A08G045_CPG_H__ */