From patchwork Mon Jan 22 22:57:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13526394 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 7C101C46CD2 for ; Mon, 22 Jan 2024 22:58:02 +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=MNDOXwZdOhIl1iKQVBMTK+LwxHYAx492cKUBijc9v8g=; b=GCquq2GBFHXH5A jXqEHiyQvI0dFcLiEM5tTUzP18VQ2iCmbUpbvcuDZRzKfzopGeV78KW9xuvjSu3Z7wUj+LbdDxan1 9wixZCup8s1kLpkBr3uXdYQ9832Dmcm9ePKBdapIk1G234JedMvPnqGQFH4uyy6xY8jJ74+AEG9cZ j/TzWY6xY6oAENeO1l0M1TNv9IebEuboh4Ac7En4yQobPmgEu6KCri4gqgSIPvOw2gjnI0PmK1Y+7 bHC1o8O2Ix1YzxkBCFXkTirxl7mNPeNt+nsXskFe0VP5ouc36FU3svyYKpc4iC+PW2IqJ53a1dAY8 kL3qJCsitlToY1fTbcFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rS3EV-00ELLy-05; Mon, 22 Jan 2024 22:57:35 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rS3ER-00ELKI-0t for linux-arm-kernel@lists.infradead.org; Mon, 22 Jan 2024 22:57:32 +0000 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-40e80046246so22044015e9.1 for ; Mon, 22 Jan 2024 14:57:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705964247; x=1706569047; 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=JBly9XkHZ0SVFvJINs6dkm8lumCZ4YgOwJi4aC1YyJM=; b=WABmIM/nOdvddBHburKdZXYr6IjGxmvfxbmoBUNLB+P0+xvicYlth3aDm5e0IFKabD o0+j1ECCWSzqQFX12Omg4cMVR0OKBIdsYOHYkbRVcdVqHwHSDt576YxKahFbyTPh8TgY Lhv4dQx3h9AefkYV+MpuM24eZu7CmDtLACatQHoeOl7tyCelyhxSTdS2ttws3QDjzpj7 cbDxeowFYnN6FPVyMRW9dx5ns3ezbVAMsOfTYp9Bog0cCJtcNP+jZWoTfHIq/8p4F6gm WAE+ComopBRVXGJlv5+/YUKgBhVY8IdQ490U5hhfTzcNE0LToIaASJGraT9Wl/rZkdva 0S9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705964247; x=1706569047; 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=JBly9XkHZ0SVFvJINs6dkm8lumCZ4YgOwJi4aC1YyJM=; b=w8D99Ip4hq7r1FXZ3lqhVI1vV03AKCYeidfxL+LmyjJwNnQvSJBhZAfd4IZAzCXvBE TB1EhhjGQkzFMpwjZ780cL9YoKJswZI9pg3FdGmKmTN3QfioMCcDnjhI9wUDJPmLhLSC oT84hYnrlZohsgl9MLY5oEcxlCEyK0jWNMGJgDCVngWZtBgl/E8fqGRr4MWHZNidq98w bLqeet/Ter6zVt6DmNaoJMfpQyNpqSPBkLYZdkzRVJ/Bg8kECWmUW6t3XHvJlfoGdG/O qRGyBnTR7KN3Cyadd2geK/14qcf5ITQMHuJIUZhB+cZdJG/Pr5BWJfCrR1fTgc29IAoA xTxA== X-Gm-Message-State: AOJu0YxaFGthJ6d4o+yRh4zztIkXEJ1h3NgpyoMwJ3hWXP2mgurNtxZd gNbJ/80ML6kMHiSLFs4B6NNSrzT/Iy3o3LPBDaqhcPJlcG9i8BaAmfai2BFOQNw= X-Google-Smtp-Source: AGHT+IGsC8TYulGe/aeYf5Jm4N+xn/nAtZGRWcp3Eljm49ls5iykYPcGcShpWbH/uU3Qy1q7Jmq4Bw== X-Received: by 2002:a05:600c:45cc:b0:40e:a565:3ce2 with SMTP id s12-20020a05600c45cc00b0040ea5653ce2mr2204825wmo.73.1705964247305; Mon, 22 Jan 2024 14:57:27 -0800 (PST) Received: from gpeter-l.lan (host-92-18-76-30.as13285.net. [92.18.76.30]) by smtp.gmail.com with ESMTPSA id fa26-20020a05600c519a00b0040e89ff10f5sm19776847wmb.1.2024.01.22.14.57.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 14:57:26 -0800 (PST) From: Peter Griffin To: arnd@arndb.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux@roeck-us.net, wim@linux-watchdog.org, conor+dt@kernel.org, alim.akhtar@samsung.com, jaewon02.kim@samsung.com, chanho61.park@samsung.com, semen.protsenko@linaro.org Cc: kernel-team@android.com, peter.griffin@linaro.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.com, linux-fsd@tesla.com, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 1/9] dt-bindings: watchdog: samsung-wdt: deprecate samsung,syscon-phandle Date: Mon, 22 Jan 2024 22:57:02 +0000 Message-ID: <20240122225710.1952066-2-peter.griffin@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240122225710.1952066-1-peter.griffin@linaro.org> References: <20240122225710.1952066-1-peter.griffin@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240122_145731_312873_FF0D5383 X-CRM114-Status: UNSURE ( 8.97 ) X-CRM114-Notice: Please train this message. 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 The watchdog driver no longer requires a phandle to obtain a regmap to the PMU registers. So mark this as deprecated. Signed-off-by: Peter Griffin --- .../devicetree/bindings/watchdog/samsung-wdt.yaml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml index 77a5ddd0426e..3970d6bf8576 100644 --- a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml @@ -56,6 +56,7 @@ properties: description: Phandle to the PMU system controller node (in case of Exynos5250, Exynos5420, Exynos7, Exynos850 and gs101). + deprecated: true required: - compatible @@ -66,20 +67,6 @@ required: allOf: - $ref: watchdog.yaml# - - if: - properties: - compatible: - contains: - enum: - - google,gs101-wdt - - samsung,exynos5250-wdt - - samsung,exynos5420-wdt - - samsung,exynos7-wdt - - samsung,exynos850-wdt - - samsung,exynosautov9-wdt - then: - required: - - samsung,syscon-phandle - if: properties: compatible: From patchwork Mon Jan 22 22:57:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13526400 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 BCEF9C47DDC for ; Mon, 22 Jan 2024 22:58:16 +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=YPwGaeFfLstbvlcvjoAVQsYa/K2L/tXKh1uGp5X6gVY=; b=ZIY3SsdNznnP04 UbcWdjQLwNTZ0HTzNHMTXsbeqLxVmegxcOh2wVBfdMKF1o6ojzhNlHpxnT35Njue/CEpXw4xHi0GY 0SBFB/vf8LKhMklprGoPTj1grhtLa71Z8KyvDkdQDSGYXZQJzwJwxZrL4gwiru+4MpliAb++cE+S/ tz/OVGJDrBngj0oBRINhefK+4yPG+WKI2FcUiDqAAsNhg4Rn/QR7KA/Xq3RfJ+AzAC7SLYHGaU5BX pcSEuLBzx0QJaj47AzPWZr+uR6OXbqHPxEckrkrAZTIVVudAqrec/Bk/zYr4myj+zOpiIITckr178 DPHh2oXPv2L2Wsa3iXvA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rS3Ee-00ELPA-1a; Mon, 22 Jan 2024 22:57:44 +0000 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rS3ES-00ELKO-2I for linux-arm-kernel@lists.infradead.org; Mon, 22 Jan 2024 22:57:34 +0000 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-40eb28271f8so7282415e9.2 for ; Mon, 22 Jan 2024 14:57:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705964249; x=1706569049; 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=EkT1f8/auJS4w5tPSadT4tBL2vbp3PChzChd9rePwv0=; b=ITEy4UOxtE7hqSnmF9YRe6kjWDtGDFENWCWT8dSFr7dDN9AeEpWMsqZv8X8LrIedXa oMmQSy267bBEmOfo7CPXy2TsNCDSRVa5nCgX+EiMULkXqNzHKB1klUMyyC0HL4w6hFkL quS1EKSYrUCkRLmEpw5ISQ/QtMaDRGcS8MzSc8LMonQwkUyaDzYMG2TM2A5achQdeFDG kF6SzLxaZYbNa38oZlmj1hoQsExmwvcvcrozLyzGR0SQcqTd3NTwmmd1cmSIpkKh10/1 pew9iI0NHdTudzJ7p9LjYlbTL6KjYa2kyEfes99STt9oD2EjUdfiT2fyDjVEpv4EyWJU S3gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705964249; x=1706569049; 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=EkT1f8/auJS4w5tPSadT4tBL2vbp3PChzChd9rePwv0=; b=s1o+GZgDzYgHKH/m/pRTSYHehEzXYx2LfHDmQH92GclQHJ0L0XAln9MeayLpECagb7 PfsBozNdoKR4xkiRtLUzI/J4gaAPatBVoZRwluKc90BxWF5Npmb5LZUsOiWpQcDkpWJg BrqhhcH+x1XCYBxS+kXAHzbrvsg6r3DsV/ojUI7MbH5aaUYRUUTbdmqMKrx0t82SFtic sdEMCEDld2zfCKkZf9eejAXNU5hhDsSXDOrjg8tZsmWzMpWQBuMFi9yBZRdLRNq1YDHm WziRD468YIsFP39i6K4AAzBvieeuJ+oCQ80ubeCVIhNhKD8mCxsXPqi8P2sUzg8fl1fM AHfQ== X-Gm-Message-State: AOJu0Yw7RIIWO5zkMv/pim+uWV7oXBhHZ+qdk4hA9g9h/0R8WqFiH5tA gRPTfM9DQcsuML7BBlDrmqjyDM4rTAff1bfRZs1EM5N8lCuEr4oRGuzHzkb9hf0= X-Google-Smtp-Source: AGHT+IHkc9S01pb4+H9jQwA2GpQSFpzYPum9UGXBQkktPuNZUGJVOV7WCzXUX8o5u0vmioR+ISGUrw== X-Received: by 2002:a05:600c:5250:b0:40e:6930:4c99 with SMTP id fc16-20020a05600c525000b0040e69304c99mr1381965wmb.113.1705964248744; Mon, 22 Jan 2024 14:57:28 -0800 (PST) Received: from gpeter-l.lan (host-92-18-76-30.as13285.net. [92.18.76.30]) by smtp.gmail.com with ESMTPSA id fa26-20020a05600c519a00b0040e89ff10f5sm19776847wmb.1.2024.01.22.14.57.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 14:57:28 -0800 (PST) From: Peter Griffin To: arnd@arndb.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux@roeck-us.net, wim@linux-watchdog.org, conor+dt@kernel.org, alim.akhtar@samsung.com, jaewon02.kim@samsung.com, chanho61.park@samsung.com, semen.protsenko@linaro.org Cc: kernel-team@android.com, peter.griffin@linaro.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.com, linux-fsd@tesla.com, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 2/9] soc: samsung: exynos-pmu: Add exynos_pmu_update/read/write APIs and SoC quirks Date: Mon, 22 Jan 2024 22:57:03 +0000 Message-ID: <20240122225710.1952066-3-peter.griffin@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240122225710.1952066-1-peter.griffin@linaro.org> References: <20240122225710.1952066-1-peter.griffin@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240122_145732_773067_12796CA1 X-CRM114-Status: GOOD ( 32.97 ) 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 Newer Exynos SoCs have atomic set/clear bit hardware for PMU registers as these registers can be accessed by multiple masters. Some platforms also protect the PMU registers for security hardening reasons so they can't be written by normal world and are only write acessible in el3 via a SMC call. Add support for both of these usecases using SoC specific quirks that are determined from the DT compatible string. Drivers which need to read and write PMU registers should now use these new exynos_pmu_*() APIs instead of obtaining a regmap using syscon_regmap_lookup_by_phandle() Depending on the SoC specific quirks, the exynos_pmu_*() APIs will access the PMU register in the appropriate way. Signed-off-by: Peter Griffin --- drivers/soc/samsung/exynos-pmu.c | 209 ++++++++++++++++++++++++- drivers/soc/samsung/exynos-pmu.h | 4 + include/linux/soc/samsung/exynos-pmu.h | 28 ++++ 3 files changed, 234 insertions(+), 7 deletions(-) diff --git a/drivers/soc/samsung/exynos-pmu.c b/drivers/soc/samsung/exynos-pmu.c index 250537d7cfd6..e9e933ede568 100644 --- a/drivers/soc/samsung/exynos-pmu.c +++ b/drivers/soc/samsung/exynos-pmu.c @@ -5,6 +5,7 @@ // // Exynos - CPU PMU(Power Management Unit) support +#include #include #include #include @@ -12,29 +13,204 @@ #include #include #include +#include #include #include #include "exynos-pmu.h" +/** + * DOC: Quirk flags for different Exynos PMU IP-cores + * + * This driver supports multiple Exynos based SoCs, each of which might have a + * different set of registers and features supported. + * + * Quirk flags described below serve the purpose of telling the driver about + * mentioned SoC traits, and can be specified in driver data for each particular + * supported device. + * + * %QUIRK_HAS_ATOMIC_BITSETHW: PMU IP has special atomic bit set/clear HW + * to protect against PMU registers being accessed from multiple bus masters. + * + * %QUIRK_PMU_ALIVE_WRITE_SEC: PMU registers are *not* write accesible from + * normal world. This is found on some SoCs as a security hardening measure. PMU + * registers on these SoCs can only be written via a SMC call and registers are + * checked by EL3 firmware against an allowlist before the write can procede. + * Note: This quirk should only be set for platforms whose el3 firmware + * implements the TENSOR_SMC_PMU_SEC_REG interface below. + */ + +#define QUIRK_HAS_ATOMIC_BITSETHW BIT(0) +#define QUIRK_PMU_ALIVE_WRITE_SEC BIT(1) + +#define PMUALIVE_MASK GENMASK(14, 0) + struct exynos_pmu_context { struct device *dev; const struct exynos_pmu_data *pmu_data; + struct regmap *pmureg; + void __iomem *pmu_base_addr; + phys_addr_t pmu_base_pa; + /* protect PMU reg atomic update operations */ + spinlock_t update_lock; }; -void __iomem *pmu_base_addr; static struct exynos_pmu_context *pmu_context; +/* + * Some SoCs are configured so that PMU_ALIVE registers can only be written + * from el3. As Linux needs to write some of these registers, the following + * SMC register read/write/read,write,modify interface is used. + * + * Note: This SMC interface is known to be implemented on gs101 and derivative + * SoCs. + */ +#define TENSOR_SMC_PMU_SEC_REG (0x82000504) +#define TENSOR_PMUREG_READ 0 +#define TENSOR_PMUREG_WRITE 1 +#define TENSOR_PMUREG_RMW 2 + +int set_priv_reg(phys_addr_t reg, u32 val) +{ + struct arm_smccc_res res; + + arm_smccc_smc(TENSOR_SMC_PMU_SEC_REG, + reg, + TENSOR_PMUREG_WRITE, + val, 0, 0, 0, 0, &res); + + if (res.a0) + pr_warn("%s(): SMC failed: %lu\n", __func__, res.a0); + + return (int)res.a0; +} + +int rmw_priv_reg(phys_addr_t reg, u32 mask, u32 val) +{ + struct arm_smccc_res res; + + arm_smccc_smc(TENSOR_SMC_PMU_SEC_REG, + reg, + TENSOR_PMUREG_RMW, + mask, val, 0, 0, 0, &res); + + if (res.a0) + pr_warn("%s(): SMC failed: %lu\n", __func__, res.a0); + + return (int)res.a0; +} + +/* + * For SoCs that have set/clear bit hardware (as indicated by + * QUIRK_HAS_ATOMIC_BITSETHW) this function can be used when + * the PMU register will be accessed by multiple masters. + * + * For example, to set bits 13:8 in PMU reg offset 0x3e80 + * exynos_pmu_set_bit_atomic(0x3e80, 0x3f00, 0x3f00); + * + * To clear bits 13:8 in PMU offset 0x3e80 + * exynos_pmu_set_bit_atomic(0x3e80, 0x0, 0x3f00); + */ +static inline void exynos_pmu_set_bit_atomic(unsigned int offset, + u32 val, u32 mask) +{ + unsigned long flags; + unsigned int i; + + spin_lock_irqsave(&pmu_context->update_lock, flags); + for (i = 0; i < 32; i++) { + if (mask & BIT(i)) { + if (val & BIT(i)) { + offset |= 0xc000; + pmu_raw_writel(i, offset); + } else { + offset |= 0x8000; + pmu_raw_writel(i, offset); + } + } + } + spin_unlock_irqrestore(&pmu_context->update_lock, flags); +} + +int exynos_pmu_update_bits(unsigned int offset, unsigned int mask, + unsigned int val) +{ + if (pmu_context->pmu_data && + pmu_context->pmu_data->quirks & QUIRK_PMU_ALIVE_WRITE_SEC) + return rmw_priv_reg(pmu_context->pmu_base_pa + offset, + mask, val); + + return regmap_update_bits(pmu_context->pmureg, offset, mask, val); +} +EXPORT_SYMBOL(exynos_pmu_update_bits); + void pmu_raw_writel(u32 val, u32 offset) { - writel_relaxed(val, pmu_base_addr + offset); + if (pmu_context->pmu_data && + pmu_context->pmu_data->quirks & QUIRK_PMU_ALIVE_WRITE_SEC) + return (void)set_priv_reg(pmu_context->pmu_base_pa + offset, + val); + + return writel_relaxed(val, pmu_context->pmu_base_addr + offset); } u32 pmu_raw_readl(u32 offset) { - return readl_relaxed(pmu_base_addr + offset); + return readl_relaxed(pmu_context->pmu_base_addr + offset); +} + +int exynos_pmu_read(unsigned int offset, unsigned int *val) +{ + if (!pmu_context) + return -ENODEV; + + /* + * For platforms that protect PMU registers they + * are still accessible to read from normal world + */ + return regmap_read(pmu_context->pmureg, offset, val); +} +EXPORT_SYMBOL(exynos_pmu_read); + +int exynos_pmu_write(unsigned int offset, unsigned int val) +{ + if (!pmu_context) + return -ENODEV; + + if (pmu_context->pmu_data && + pmu_context->pmu_data->quirks & QUIRK_PMU_ALIVE_WRITE_SEC) + return set_priv_reg(pmu_context->pmu_base_pa + offset, val); + + return regmap_write(pmu_context->pmureg, offset, val); +} +EXPORT_SYMBOL(exynos_pmu_write); + +int exynos_pmu_update(unsigned int offset, unsigned int mask, unsigned int val) +{ + int ret = 0; + + if (!pmu_context) + return -ENODEV; + + if (pmu_context->pmu_data && + pmu_context->pmu_data->quirks & QUIRK_HAS_ATOMIC_BITSETHW) { + /* + * Use atomic operations for PMU_ALIVE registers (offset 0~0x3FFF) + * as the target registers can be accessed by multiple masters. + */ + if (offset > PMUALIVE_MASK) + return exynos_pmu_update_bits(offset, mask, val); + + exynos_pmu_set_bit_atomic(offset, val, mask); + + } else { + return exynos_pmu_update_bits(offset, mask, val); + } + + return ret; } +EXPORT_SYMBOL(exynos_pmu_update); void exynos_sys_powerdown_conf(enum sys_powerdown mode) { @@ -75,11 +251,18 @@ void exynos_sys_powerdown_conf(enum sys_powerdown mode) #define exynos_pmu_data_arm_ptr(data) NULL #endif +static const struct exynos_pmu_data gs101_pmu_data = { + .quirks = QUIRK_HAS_ATOMIC_BITSETHW | QUIRK_PMU_ALIVE_WRITE_SEC, +}; + /* * PMU platform driver and devicetree bindings. */ static const struct of_device_id exynos_pmu_of_device_ids[] = { { + .compatible = "google,gs101-pmu", + .data = &gs101_pmu_data, + }, { .compatible = "samsung,exynos3250-pmu", .data = exynos_pmu_data_arm_ptr(exynos3250_pmu_data), }, { @@ -125,18 +308,30 @@ EXPORT_SYMBOL_GPL(exynos_get_pmu_regmap); static int exynos_pmu_probe(struct platform_device *pdev) { + struct resource *res; struct device *dev = &pdev->dev; int ret; - pmu_base_addr = devm_platform_ioremap_resource(pdev, 0); - if (IS_ERR(pmu_base_addr)) - return PTR_ERR(pmu_base_addr); - pmu_context = devm_kzalloc(&pdev->dev, sizeof(struct exynos_pmu_context), GFP_KERNEL); if (!pmu_context) return -ENOMEM; + + pmu_context->pmu_base_addr = devm_platform_ioremap_resource(pdev, 0); + if (IS_ERR(pmu_context->pmu_base_addr)) + return PTR_ERR(pmu_context->pmu_base_addr); + + res = platform_get_resource(pdev, IORESOURCE_MEM, 0); + if (!res) + return -ENODEV; + + pmu_context->pmu_base_pa = res->start; + pmu_context->pmureg = exynos_get_pmu_regmap(); + if (IS_ERR(pmu_context->pmureg)) + return PTR_ERR(pmu_context->pmureg); + + spin_lock_init(&pmu_context->update_lock); pmu_context->dev = dev; pmu_context->pmu_data = of_device_get_match_data(dev); diff --git a/drivers/soc/samsung/exynos-pmu.h b/drivers/soc/samsung/exynos-pmu.h index 1c652ffd79b4..570c6e4dc8c3 100644 --- a/drivers/soc/samsung/exynos-pmu.h +++ b/drivers/soc/samsung/exynos-pmu.h @@ -25,8 +25,12 @@ struct exynos_pmu_data { void (*pmu_init)(void); void (*powerdown_conf)(enum sys_powerdown); void (*powerdown_conf_extra)(enum sys_powerdown); + u32 quirks; }; +int set_priv_reg(phys_addr_t reg, u32 val); +int rmw_priv_reg(phys_addr_t reg, u32 mask, u32 val); + extern void __iomem *pmu_base_addr; #ifdef CONFIG_EXYNOS_PMU_ARM_DRIVERS diff --git a/include/linux/soc/samsung/exynos-pmu.h b/include/linux/soc/samsung/exynos-pmu.h index a4f5516cc956..2c5ce21fb00b 100644 --- a/include/linux/soc/samsung/exynos-pmu.h +++ b/include/linux/soc/samsung/exynos-pmu.h @@ -21,11 +21,39 @@ enum sys_powerdown { extern void exynos_sys_powerdown_conf(enum sys_powerdown mode); #ifdef CONFIG_EXYNOS_PMU extern struct regmap *exynos_get_pmu_regmap(void); +extern int exynos_pmu_update_bits(unsigned int offset, unsigned int mask, + unsigned int val); +extern int exynos_pmu_update(unsigned int offset, unsigned int mask, + unsigned int val); +extern int exynos_pmu_write(unsigned int offset, unsigned int val); +extern int exynos_pmu_read(unsigned int offset, unsigned int *val); #else static inline struct regmap *exynos_get_pmu_regmap(void) { return ERR_PTR(-ENODEV); } + +static inline int exynos_pmu_update_bits(unsigned int offset, unsigned int mask, + unsigned int val); +{ + return ERR_PTR(-ENODEV); +} + +static inline int exynos_pmu_update(unsigned int offset, unsigned int mask, + unsigned int val); +{ + return ERR_PTR(-ENODEV); +} + +static inline int exynos_pmu_write(unsigned int offset, unsigned int val) +{ + return ERR_PTR(-ENODEV); +} + +static inline int exynos_pmu_read(unsigned int offset, unsigned int *val) +{ + return ERR_PTR(-ENODEV); +} #endif #endif /* __LINUX_SOC_EXYNOS_PMU_H */ From patchwork Mon Jan 22 22:57:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13526396 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 470E3C46CD2 for ; Mon, 22 Jan 2024 22:58:12 +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=Dqg8xxslKxGHtHy2URTpdnQQFojAG7j73xanvx4VYo0=; b=3aDi88dHcDPueh jWINxw3Gk43xdGOT7DnGIyqqiLztcknl1XqPJsHc/VHQFm+KcJRIK6dsCeN0lQt1b2Cd10uawnyJS uhvzgN3q5wT4b7/RPadGxml2bWy4w5nLoNsfDydmQoNyO3AAmYVRh00o5vav9oUuKkGWAMahzp+++ fI6EEj4gjltqKS2oexn5jFE7H/vm/NVuT22f9QGoZVBUVayJukQC7IRJOh6xJlanwTFSaZZW/rk3V 4lFYK79T0hzhMMblIsxEppBUFcHDaGOiRNdJOysVBFL/75QSJMC7tYj0MqgQ29yRczuNQTu1BrMOH 0kyyE2eaBcuCI8gejFkA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rS3Ef-00ELQ8-0q; Mon, 22 Jan 2024 22:57:45 +0000 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rS3EU-00ELKS-2J for linux-arm-kernel@lists.infradead.org; Mon, 22 Jan 2024 22:57:36 +0000 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-337d58942c9so3999323f8f.0 for ; Mon, 22 Jan 2024 14:57:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705964250; x=1706569050; 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=6FqWPcvKSS7CcnQxWq48tyQK+WttnuMBOHrnCab1foM=; b=XUdXQeb8F7GV9k9FUxJIcvfEoiXUoZAlD6fwtODim/l64bjc/iNx9ANoSdkZ3GwOaX tRyHyr5SoBXq+Z7QgcZJChBTFqE+iG+kpSTChILYq3d0DYyYyWB6oIR+z79LsOBbN2Td 550T4RuSDpmp1tqtlPwn7yM8xQKKEjj7Z77GCek3V4tfWqHRd4BpQR+jxfKupF0Qn03v zgWyPCfu5EbPG0x4En/FryHRLVnYdFt2YMjrTj+nTCEUuxAKkTG10KbhXs/Lm38O7I7a x9jpGmpXvr8yqDKpBqYazSYHzahZmjQv9jj0GlKstPehxC4X705rGAcQ2ubYdKiGiEUJ jBKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705964250; x=1706569050; 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=6FqWPcvKSS7CcnQxWq48tyQK+WttnuMBOHrnCab1foM=; b=oRosA2nGnHJyFwf/fGKG6hrmqmmGWuHMbxs1ryq6QrtX8PwhZAHs9i/5yJd76qvglX u37S11CKMUe559dJgwFDhXUoiTXUJHZZBkRAjRMO9K7DO+UI/aG12Lerso7IYT4suElf XE/FwpLU1jt2UqXT+Mu1mLy5PHehi/5f+gKL4njZQCHjwOcsKLKotExZlyxynUTHcYjv /tCNQTYo9yag77W9vnyquNE9ou3sTzIhDT3oN8TDjMuXk4Zy23xJnnpf7c6eYeBiGOVy j3gjiTFgQUe9oBzWSIcG9IF5aaPSr+Dbonomp/0dGgT3QKFnSkketJXZRgOSGN1Hrkcs KMUg== X-Gm-Message-State: AOJu0YxXyM/pYL+g/jccODvviMruVO9gIvHD5TC7dZrnlBzQTBWNEGjv vFVEDgkU9DnMMBThuaEPJJNUr+hF8PXWoN9F5FqCfNSs4xD1iWRNUelcS44OC9U= X-Google-Smtp-Source: AGHT+IFVp5bondQHuVzFk5BJaKLGt9zO8qcyy0zmeAUnCD2ZRppWHTFxrYhp4xosKiVATUsaz4JnFg== X-Received: by 2002:a05:600c:1986:b0:40e:7d8f:6b1a with SMTP id t6-20020a05600c198600b0040e7d8f6b1amr2710279wmq.5.1705964250159; Mon, 22 Jan 2024 14:57:30 -0800 (PST) Received: from gpeter-l.lan (host-92-18-76-30.as13285.net. [92.18.76.30]) by smtp.gmail.com with ESMTPSA id fa26-20020a05600c519a00b0040e89ff10f5sm19776847wmb.1.2024.01.22.14.57.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 14:57:29 -0800 (PST) From: Peter Griffin To: arnd@arndb.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux@roeck-us.net, wim@linux-watchdog.org, conor+dt@kernel.org, alim.akhtar@samsung.com, jaewon02.kim@samsung.com, chanho61.park@samsung.com, semen.protsenko@linaro.org Cc: kernel-team@android.com, peter.griffin@linaro.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.com, linux-fsd@tesla.com, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 3/9] watchdog: s3c2410_wdt: update to use new exynos_pmu_*() apis Date: Mon, 22 Jan 2024 22:57:04 +0000 Message-ID: <20240122225710.1952066-4-peter.griffin@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240122225710.1952066-1-peter.griffin@linaro.org> References: <20240122225710.1952066-1-peter.griffin@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240122_145734_762032_BD714F4A X-CRM114-Status: GOOD ( 18.15 ) 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 Instead of obtaining the PMU regmap directly use the new exynos_pmu_*() APIs. The exynos_pmu_ APIs allow support of newer Exynos SoCs that have atomic set/clear bit hardware and platforms where the PMU registers can only be accessed via SMC call. As all platforms that have PMU registers use these new APIs, remove the syscon regmap lookup code, as it is now redundant. Signed-off-by: Peter Griffin --- drivers/watchdog/Kconfig | 1 + drivers/watchdog/s3c2410_wdt.c | 25 +++++++++---------------- 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 7d22051b15a2..b3e90e1ddf14 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -513,6 +513,7 @@ config S3C2410_WATCHDOG depends on ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST select WATCHDOG_CORE select MFD_SYSCON if ARCH_EXYNOS + select EXYNOS_PMU help Watchdog timer block in the Samsung S3C64xx, S5Pv210 and Exynos SoCs. This will reboot the system when the timer expires with diff --git a/drivers/watchdog/s3c2410_wdt.c b/drivers/watchdog/s3c2410_wdt.c index 349d30462c8c..fd3a9ce870a0 100644 --- a/drivers/watchdog/s3c2410_wdt.c +++ b/drivers/watchdog/s3c2410_wdt.c @@ -28,6 +28,8 @@ #include #include +#include + #define S3C2410_WTCON 0x00 #define S3C2410_WTDAT 0x04 #define S3C2410_WTCNT 0x08 @@ -187,7 +189,6 @@ struct s3c2410_wdt { struct watchdog_device wdt_device; struct notifier_block freq_transition; const struct s3c2410_wdt_variant *drv_data; - struct regmap *pmureg; }; static const struct s3c2410_wdt_variant drv_data_s3c2410 = { @@ -355,8 +356,8 @@ static int s3c2410wdt_disable_wdt_reset(struct s3c2410_wdt *wdt, bool mask) const u32 val = mask ? mask_val : 0; int ret; - ret = regmap_update_bits(wdt->pmureg, wdt->drv_data->disable_reg, - mask_val, val); + ret = exynos_pmu_update(wdt->drv_data->disable_reg, + mask_val, val); if (ret < 0) dev_err(wdt->dev, "failed to update reg(%d)\n", ret); @@ -370,8 +371,8 @@ static int s3c2410wdt_mask_wdt_reset(struct s3c2410_wdt *wdt, bool mask) const u32 val = (mask ^ val_inv) ? mask_val : 0; int ret; - ret = regmap_update_bits(wdt->pmureg, wdt->drv_data->mask_reset_reg, - mask_val, val); + ret = exynos_pmu_update(wdt->drv_data->mask_reset_reg, + mask_val, val); if (ret < 0) dev_err(wdt->dev, "failed to update reg(%d)\n", ret); @@ -384,8 +385,8 @@ static int s3c2410wdt_enable_counter(struct s3c2410_wdt *wdt, bool en) const u32 val = en ? mask_val : 0; int ret; - ret = regmap_update_bits(wdt->pmureg, wdt->drv_data->cnt_en_reg, - mask_val, val); + ret = exynos_pmu_update(wdt->drv_data->cnt_en_reg, + mask_val, val); if (ret < 0) dev_err(wdt->dev, "failed to update reg(%d)\n", ret); @@ -617,7 +618,7 @@ static inline unsigned int s3c2410wdt_get_bootstatus(struct s3c2410_wdt *wdt) if (!(wdt->drv_data->quirks & QUIRK_HAS_PMU_RST_STAT)) return 0; - ret = regmap_read(wdt->pmureg, wdt->drv_data->rst_stat_reg, &rst_stat); + ret = exynos_pmu_read(wdt->drv_data->rst_stat_reg, &rst_stat); if (ret) dev_warn(wdt->dev, "Couldn't get RST_STAT register\n"); else if (rst_stat & BIT(wdt->drv_data->rst_stat_bit)) @@ -698,14 +699,6 @@ static int s3c2410wdt_probe(struct platform_device *pdev) if (ret) return ret; - if (wdt->drv_data->quirks & QUIRKS_HAVE_PMUREG) { - wdt->pmureg = syscon_regmap_lookup_by_phandle(dev->of_node, - "samsung,syscon-phandle"); - if (IS_ERR(wdt->pmureg)) - return dev_err_probe(dev, PTR_ERR(wdt->pmureg), - "syscon regmap lookup failed.\n"); - } - wdt_irq = platform_get_irq(pdev, 0); if (wdt_irq < 0) return wdt_irq; From patchwork Mon Jan 22 22:57:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13526397 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 DF118C47E49 for ; Mon, 22 Jan 2024 22:58:12 +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=KsOTKW5HPnKX6WqlGevitvM85e3E3ph1s8h48hmJoXs=; b=CL4/sIc1q9ToxV fp5lZ88DWBfPmFCxILnn2ErUDym53bwN2wAMzf2Pr67NBkWV2AwtYEoI5yaDnhG8kGQ8j9woF35rv zAXpv6hneDG0sa0vCiFbjIrseuVdibJtKT5tohOFkJEqU19lIQuuZmQpvoTgehScrNfpGiFnNuNMR OXgjhDysT+xqAyNG8lpci/HXvjJwhDAejduQSPMzMSgHCZCwHnssIZXLueMybVL/Yxd8m3jTq8A37 6LL1j9J8wfJWuX7jUq1qKNAynPKUA6A3Ig+txOWnUBaZsuBWTdUHieybllfhbEvm496Mv5i/N4/yE uLBgXpT/Znk1KYsG8cdA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rS3Eg-00ELRV-2P; Mon, 22 Jan 2024 22:57:46 +0000 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rS3EY-00ELKv-1s for linux-arm-kernel@lists.infradead.org; Mon, 22 Jan 2024 22:57:39 +0000 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-40e5afc18f5so40906015e9.3 for ; Mon, 22 Jan 2024 14:57:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705964251; x=1706569051; 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=y4bTzUw+MKMULDVrOGqPlspEn1WsvCRNgroEJ1fsBHQ=; b=s82raa+8z6tacZdmIBoNW9beT1nBbrpnmNICBc2A4dfdCT9W8xh5vt0KGR9I72lrCx VSxQwCCxG3VkgP/rmluBU8jusr+0+cCBOL7myZhcPsXHuWmrqzZ86XMCr0IkCrX8x935 ag20tXpDylfKh552F7kUQWzzR93/Zamdc4tJ8YXEOMzfMR6fwhD4yM0NtjhTZyOLhwIa LglSnXvRB5B4QdIcmzjJM9aNAuIk3METERxQTqHlLiTfkl7V0T6URuMNhOfen/uLxVsz tayaiycU0ZbR30JvuGkFKMrIgYcJwyp0aRbpuPY2evoGV6bbqFcigpXOYO5gQFPR92kW 7Itw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705964251; x=1706569051; 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=y4bTzUw+MKMULDVrOGqPlspEn1WsvCRNgroEJ1fsBHQ=; b=JZ5OxO+p/Jlzp3bBRMqQWFB2SrSyiAKWqHnI4QTEvJuclC1ZyFvDf0bz3SHI7xgi6S V17BNlSLDfsh7zABT8zpHsmfUpVHI/EgKMBAVJUxK/eEYF3VSB3JvXqIZb3j2IHWSS8v j2k7GNtf9lKIt6bCxHAoMYDVTTImUuDapdCK9S50YcpWQ2AK7OZqXAGU6N5j9WtNqB7S SThpaYKNtD9DuCLF+26JM44kevagZNK+hqAdbYbwUJGIluiAnNbZ5tc9fLB5oTpPfdY3 HjQmmGcCany/T1AnO1ESAom/KSoaeIoTJZWvZLBXzMr93hd/+utgWyeAEdZyM4q45L5H drmg== X-Gm-Message-State: AOJu0YxsCldOQN7lyZ1KOBtDgOd1JUZL8o4Gf2EFd0wyRMDJXqOUO5rb 2tmPolB3+4OTpmcNQbrRp53YVkWY35EikYhU/QMjOq3SQO0G3e6Na+Tq4l23RG4= X-Google-Smtp-Source: AGHT+IETd2PX8JmJBxIqCh7S7rWJGs2+2BZQchWv4xtVboyS/6Q+VsUVSnmnkjvLrWfcHXbLQv6r8g== X-Received: by 2002:a7b:cd0e:0:b0:40d:3dd7:46f8 with SMTP id f14-20020a7bcd0e000000b0040d3dd746f8mr2773352wmj.127.1705964251630; Mon, 22 Jan 2024 14:57:31 -0800 (PST) Received: from gpeter-l.lan (host-92-18-76-30.as13285.net. [92.18.76.30]) by smtp.gmail.com with ESMTPSA id fa26-20020a05600c519a00b0040e89ff10f5sm19776847wmb.1.2024.01.22.14.57.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 14:57:30 -0800 (PST) From: Peter Griffin To: arnd@arndb.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux@roeck-us.net, wim@linux-watchdog.org, conor+dt@kernel.org, alim.akhtar@samsung.com, jaewon02.kim@samsung.com, chanho61.park@samsung.com, semen.protsenko@linaro.org Cc: kernel-team@android.com, peter.griffin@linaro.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.com, linux-fsd@tesla.com, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 4/9] arm64: dts: fsd: remove deprecated samsung,syscon-phandle Date: Mon, 22 Jan 2024 22:57:05 +0000 Message-ID: <20240122225710.1952066-5-peter.griffin@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240122225710.1952066-1-peter.griffin@linaro.org> References: <20240122225710.1952066-1-peter.griffin@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240122_145738_619189_9D36C776 X-CRM114-Status: UNSURE ( 9.75 ) X-CRM114-Notice: Please train this message. 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 samsung,syscon-phandle is no longer used by the Samsung watchdog driver to access PMU registers. Signed-off-by: Peter Griffin --- arch/arm64/boot/dts/tesla/fsd.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm64/boot/dts/tesla/fsd.dtsi b/arch/arm64/boot/dts/tesla/fsd.dtsi index aaffb50b8b60..9b55e44c1db0 100644 --- a/arch/arm64/boot/dts/tesla/fsd.dtsi +++ b/arch/arm64/boot/dts/tesla/fsd.dtsi @@ -625,7 +625,6 @@ watchdog_0: watchdog@100a0000 { compatible = "tesla,fsd-wdt", "samsung,exynos7-wdt"; reg = <0x0 0x100a0000 0x0 0x100>; interrupts = ; - samsung,syscon-phandle = <&pmu_system_controller>; clocks = <&fin_pll>; clock-names = "watchdog"; }; @@ -634,7 +633,6 @@ watchdog_1: watchdog@100b0000 { compatible = "tesla,fsd-wdt", "samsung,exynos7-wdt"; reg = <0x0 0x100b0000 0x0 0x100>; interrupts = ; - samsung,syscon-phandle = <&pmu_system_controller>; clocks = <&fin_pll>; clock-names = "watchdog"; }; @@ -643,7 +641,6 @@ watchdog_2: watchdog@100c0000 { compatible = "tesla,fsd-wdt", "samsung,exynos7-wdt"; reg = <0x0 0x100c0000 0x0 0x100>; interrupts = ; - samsung,syscon-phandle = <&pmu_system_controller>; clocks = <&fin_pll>; clock-names = "watchdog"; }; From patchwork Mon Jan 22 22:57:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13526398 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 700B8C48260 for ; Mon, 22 Jan 2024 22:58:13 +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=ePi+T/8J1mrnFRemuqdUMi6Pwjh9Hd/HWt5Ms1W+EqA=; b=3BbRgNdcvvpRZa QXB0oYD3AFRsql7L4fwwPsQYyDtsaRKklxlRZuR1QxIWEouCfDhbn7cDuVqci62A0fOwsyn0Fj3VQ PvmILSHp3d+b2jjVU3WT5dd49Vh25ttyN1lhu4ogELyzHiWdkJ+5tL3JVS1McQ1KF3+UtsOjGIZ/l RZLGrrOrCiVUEEwAVBB833KVLvAbPg+P226ZHw5tWRHk9QLrVpGoyGXL6tuPFXJIgq5g/TldvJ10F mnRfH5APISGir9KGd4SFHvaBSqBYu/gV5RA+F9Hs/1Fx0zmtRactVBjAFx1HgQW3NzZHsqbbFaNFw m7BxQEGDc/RQAftRys1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rS3Ei-00ELSs-1C; Mon, 22 Jan 2024 22:57:48 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rS3Ea-00ELLY-11 for linux-arm-kernel@lists.infradead.org; Mon, 22 Jan 2024 22:57:41 +0000 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-40e9d4ab5f3so40072775e9.2 for ; Mon, 22 Jan 2024 14:57:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705964253; x=1706569053; 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=pJbJnRKpWToFu2q+V6O7FlsxtcgPK6P8cGRt1rv+n50=; b=p+qW/HjrTXHJhRAxiafv1MsjUYFj4BL8ZOfcbHFpyzif6/99rzza9LuiWvzQkSeMGW LgLSN3Y2W4wft85W52gf+49+ZSKQoeHwtHKMm0C1+aIwAyFTGsbSSiptPJ++ftfXSvZJ wyXm+bEZlVz2SQLGP+GbHcGLv/1GgGm58scwVJIusofI99ZbsgC5DRv0dheDdTcEI+zC xfAxv3ZlWgoMsdB9JE6I9g6W0RIctsRE8qFPElf5SgAcXQ3/iofR+5qHQP0QiSxvCk2T QYdEMxfEpY1/Vkn+hfeHOJC2efAqMIRJPFOvvjn1jOKGefgjB5K3y3zwWvLVbPccrf2h XuNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705964253; x=1706569053; 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=pJbJnRKpWToFu2q+V6O7FlsxtcgPK6P8cGRt1rv+n50=; b=feRhKjHD0grtqTgKQV1512fGM4cCdI1vgq21b55RaF5Rq/eMbhxHnNc41v5AuWwZPX nIro6/R6NeruQ/HDJ4BEqAF2KZkK34MTYtR0Cun/8+1iI0jLUbOggEbD9Em1e+dG1RUK b6bXVv8gdN6qBsEH91tCcEkEna4QGhlSCiAFWhgzOHbePyI0LfpS9iG/k4cc/X7SmFb4 HqkhwA+SwFA6RqkUsWxDhDGnjo/JExv9vSrUPVnUh+Mm4arnf89Pg3OWjPMRGAEy3txJ ranqJp9bjQyABn7pEq5qZXjUFizej8lrO2ES1kWioRjDCphi58DIvYbt/UK9Cnwo39ML ELfQ== X-Gm-Message-State: AOJu0Yzk7NT4G0TvexqrAV5EPY91gqUh7wmVsh0+PG9n3IzDlCIJbUlU P3toGmJ6E/JdWfsr1y4Iquer1UY0REHBwneVbSgNGqUKKugdwfPXXEj00AzgZ6I= X-Google-Smtp-Source: AGHT+IG/jFOxju1LtglICeFEljCYH82Da8abwgt9uhjEC3EDk+nmoQu4sACeu8Vd9SIMCqy6XTt4bg== X-Received: by 2002:a05:600c:ace:b0:40e:46b2:24da with SMTP id c14-20020a05600c0ace00b0040e46b224damr2627569wmr.71.1705964253325; Mon, 22 Jan 2024 14:57:33 -0800 (PST) Received: from gpeter-l.lan (host-92-18-76-30.as13285.net. [92.18.76.30]) by smtp.gmail.com with ESMTPSA id fa26-20020a05600c519a00b0040e89ff10f5sm19776847wmb.1.2024.01.22.14.57.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 14:57:32 -0800 (PST) From: Peter Griffin To: arnd@arndb.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux@roeck-us.net, wim@linux-watchdog.org, conor+dt@kernel.org, alim.akhtar@samsung.com, jaewon02.kim@samsung.com, chanho61.park@samsung.com, semen.protsenko@linaro.org Cc: kernel-team@android.com, peter.griffin@linaro.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.com, linux-fsd@tesla.com, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 5/9] arm64: dts: exynosautov9: remove deprecated samsung,syscon-phandle Date: Mon, 22 Jan 2024 22:57:06 +0000 Message-ID: <20240122225710.1952066-6-peter.griffin@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240122225710.1952066-1-peter.griffin@linaro.org> References: <20240122225710.1952066-1-peter.griffin@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240122_145740_353020_7B826D71 X-CRM114-Status: GOOD ( 10.44 ) 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 samsung,syscon-phandle is no longer used by the Samsung watchdog driver to access PMU registers. Signed-off-by: Peter Griffin --- arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi index c871a2f49fda..94c8d68fe92c 100644 --- a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi +++ b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi @@ -1551,7 +1551,6 @@ watchdog_cl0: watchdog@10050000 { interrupts = ; clocks = <&cmu_peris CLK_GOUT_WDT_CLUSTER0>, <&xtcxo>; clock-names = "watchdog", "watchdog_src"; - samsung,syscon-phandle = <&pmu_system_controller>; samsung,cluster-index = <0>; }; @@ -1561,7 +1560,6 @@ watchdog_cl1: watchdog@10060000 { interrupts = ; clocks = <&cmu_peris CLK_GOUT_WDT_CLUSTER1>, <&xtcxo>; clock-names = "watchdog", "watchdog_src"; - samsung,syscon-phandle = <&pmu_system_controller>; samsung,cluster-index = <1>; }; From patchwork Mon Jan 22 22:57:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13526401 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 0E089C47E49 for ; Mon, 22 Jan 2024 22:58:18 +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=JGrmsC3Y4g0A+QDY+eTa972ZJv6QYExOGqkr1fNsejE=; b=zrJCIF9Uy257aV ZZfyjhY1ryr2oQSTlyn51g/qOgl8qZzOi3Hplf+p+WY3VRQQSkWXDqPaPnWcE8M09+eNlzbcFxq7a AkwYKetgETpH0jg6kydOAxom6CGLACCeqNz6lA0TzmzaLHefYkddK0FIrN9FPE52TW9vBUMw6LFV2 F4JKpec+4QucTTm68woN5suLcgtuIX22eQScm7G1IBY9J9DwUuAWgnhiR+JUM8WS1Y5B1bzrmDxE+ ESCs7/pkaAgTIZqB4F9jCQqkGMg+gUslM0nrC5fkSxh+NUM+qiS9Buh8FIdaQEDgGDOyrj1pGYtdt J+B+NQ+S+kV7/rchw9Hg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rS3Ef-00ELR3-2m; Mon, 22 Jan 2024 22:57:45 +0000 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rS3EW-00ELMM-2d for linux-arm-kernel@lists.infradead.org; Mon, 22 Jan 2024 22:57:38 +0000 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-40e60e137aaso41196505e9.0 for ; Mon, 22 Jan 2024 14:57:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705964255; x=1706569055; 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=7y+1O2dDRcam6iTMZXdaVDgBYCAnl5nZ5iJ12xvO9iQ=; b=oMtVuCblP3wjXDiqyGjMsD0vyh0cYNv1KsO5zs07Sip2VPy7L7SPoKrxBsZhW4mb7f dJ82FhfhuqPuBiMYoOLkwcmmoSbRky9Uy5KTvsy7FDVrKpoVXPZAH4SeiLfTKIQRYeJi 4sqIAu3UFQMHAR8g0t65NprFZ7Bjq8ZynZbTGgKB0YBmS85fQlBiLG1TjBd+Zg/+R4Xs xMAr5PtnVLqR96gF1IRs9k+eaBJBGYHJP9gZGraW+Ba6O6qu6vgfcTRV1pXBd43U8aMK ye+MLUR/3vk2gvOIM76vplrXzlORnkTOwdcTCrNEWzsYGxwcz1PTAL5+1eZOICMUWIdJ Jw0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705964255; x=1706569055; 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=7y+1O2dDRcam6iTMZXdaVDgBYCAnl5nZ5iJ12xvO9iQ=; b=GDmd6oURIUF6WZ7TI3077HXN1c2r/yxOMzdAQDHPwtIqh6EiFEfu9mzyIBChaXULl9 BRlqwJswkgfMYwdqOg8/83jx9kX6YL6K8+rLmxjD5Dyks4OK0aM7/EB4/JFCBdbG8OcI kbMlhtVg4GzJ7Vi/8xvDKevfzfYgm2CQxLhWOtUaUofmFRPiBkJ2j5IAIWa0vMmUE5VS 3zqaVT0A890iA/P2tDaa81hhQFj039hcyWdvb3CJzBzOjau0alLNRFHMZN+nlpDzwtJM CvWNBGPRx/EINypHYTnWtQ4I4wl1OMpE1qeLraxRd2YYiX8XUE5QvNnUALhknHtkGfNB uW4g== X-Gm-Message-State: AOJu0Yxg0gMCKIjjhUjeVGgccdk/atbmXYvbeG8DGcMdIGqI5aq1Rz4E 3lPaeuzZMUs+MIhYk/sjHcxW1qYXjALnFq9o2419tNIzXKp2fEZ8A4dwnbi2l/w= X-Google-Smtp-Source: AGHT+IHqRrOEHIHhSifFZN302yhKTakQXstI0NxfnOUmXlruuoJ4Ui4e3EJWHkPdJKGLM3ndNTcg/w== X-Received: by 2002:a05:600c:5107:b0:40e:4782:fea7 with SMTP id o7-20020a05600c510700b0040e4782fea7mr2785067wms.180.1705964255173; Mon, 22 Jan 2024 14:57:35 -0800 (PST) Received: from gpeter-l.lan (host-92-18-76-30.as13285.net. [92.18.76.30]) by smtp.gmail.com with ESMTPSA id fa26-20020a05600c519a00b0040e89ff10f5sm19776847wmb.1.2024.01.22.14.57.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 14:57:34 -0800 (PST) From: Peter Griffin To: arnd@arndb.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux@roeck-us.net, wim@linux-watchdog.org, conor+dt@kernel.org, alim.akhtar@samsung.com, jaewon02.kim@samsung.com, chanho61.park@samsung.com, semen.protsenko@linaro.org Cc: kernel-team@android.com, peter.griffin@linaro.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.com, linux-fsd@tesla.com, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 6/9] arm64: dts: exynos850: remove deprecated samsung,syscon-phandle Date: Mon, 22 Jan 2024 22:57:07 +0000 Message-ID: <20240122225710.1952066-7-peter.griffin@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240122225710.1952066-1-peter.griffin@linaro.org> References: <20240122225710.1952066-1-peter.griffin@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240122_145736_853839_8B79FF75 X-CRM114-Status: GOOD ( 10.27 ) 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 samsung,syscon-phandle is no longer used by the Samsung watchdog driver to access PMU registers and is deprecated. Signed-off-by: Peter Griffin --- arch/arm64/boot/dts/exynos/exynos850.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exynos850.dtsi b/arch/arm64/boot/dts/exynos/exynos850.dtsi index da3f4a791e68..6d4789c77a1c 100644 --- a/arch/arm64/boot/dts/exynos/exynos850.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos850.dtsi @@ -216,7 +216,6 @@ watchdog_cl0: watchdog@10050000 { interrupts = ; clocks = <&cmu_peri CLK_GOUT_WDT0_PCLK>, <&oscclk>; clock-names = "watchdog", "watchdog_src"; - samsung,syscon-phandle = <&pmu_system_controller>; samsung,cluster-index = <0>; status = "disabled"; }; @@ -227,7 +226,6 @@ watchdog_cl1: watchdog@10060000 { interrupts = ; clocks = <&cmu_peri CLK_GOUT_WDT1_PCLK>, <&oscclk>; clock-names = "watchdog", "watchdog_src"; - samsung,syscon-phandle = <&pmu_system_controller>; samsung,cluster-index = <1>; status = "disabled"; }; From patchwork Mon Jan 22 22:57:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13526402 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 8B576C46CD2 for ; Mon, 22 Jan 2024 22:58:18 +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=rc7HkwZkruMDloUJSFAbCDI23uSVixJ2Uv8eNxN9C7s=; b=beDB811ZVngsrg b1MpnWJSY2b2zlnKJWUjzdj/Ur1FrCloSNjN3IB1ohvcw8583js9/6U9DsfeDqbo8nNKY73+DFbra aMgbzyeoXSPm2IOs6bWZQ5cFHAGkyVDVDlqOa1VTxtUl2HEEzBRe4KKgoreopEW+Qge69cn1U2UUQ LAzF7l9MCJpkKHbRdnwLciPvYM8/rZVf1kQKr5x1skTldjITyqN6nVNqkN5uLBsHogiKPFBJ6Ow2k 0tAMYw+3XjGNa9AiW7P4rZbqoYr5Sn+X6T+z/vaye3d4F++q0dyjbJlEmpbg/pk45IEdHgjCcuNqP ORh5KXgGPITtfhcivvtA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rS3Ei-00ELTS-3D; Mon, 22 Jan 2024 22:57:49 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rS3Ec-00ELMu-0k for linux-arm-kernel@lists.infradead.org; Mon, 22 Jan 2024 22:57:43 +0000 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-40e8fec0968so47756285e9.1 for ; Mon, 22 Jan 2024 14:57:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705964257; x=1706569057; 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=e6ViflgtGKoar4JoRupvo6UR3+8nq9fr7o9SkHHwUZY=; b=HRXz2X5uazKdxN4ygqYN6GUuz92MimMnHcn8vHtj4/fJPIEjj9TXoeY++XRmzViCny Cvyd303XW1FkBjB3f/mXavl9RThzQPhQUopxQEmctckF4Qh3b/182C93jsKIBDf3oN5g ZxyGs0kxmUDOQSlvyxLmGRSwcM6Th+Au6NPkzSpqN8ymSDuK7CpbIe2WSAol5fBsNvrg JZ/OqgGIMFSyALIbsdka/1tSwWYnYChgz+tHPE1unkh4iUchDQ3pszjFFBZhXXeKJdDo nJh+lvYjuPMS5e3LOSoE0YFBxyXtkEB8tGWz4Jwei3T715+hKYqEWfUm82cDDRFX21n9 9E6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705964257; x=1706569057; 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=e6ViflgtGKoar4JoRupvo6UR3+8nq9fr7o9SkHHwUZY=; b=O5mukQn6xyuDonZz68ZlMcMr5cs7jvQL6nQVKCQaHVaik/fZuXXsgOlJKi5f1v82dG S/ttue4o32BJlq1oweZx01px9fxeixqUeJ4sKEjewacDT98f72urc96vCy7UHwLg6nQv nxedrdKCKW1WjjK91ZtVAXYkXXnf2UoW9qnuchs7o6vLr36+pzNyNxAH6gEF91pZ8YXs z4Znfo8+EO58SSio4fqmbhAI6pg2g8I9aPUkVBsoePxxG3SpXl5NabTDJQT4dzw8VPz3 Odd8uJbX/CgomilDJKtF9kUuAnRwxisxpk8hZ1G7QkTu26zcBJWk6ve54Ie+wVzlNR39 3qow== X-Gm-Message-State: AOJu0YxzN1IrulpSJ9eGrNNq/ObsUVky9DsFLX2UkG63nsfX0+Sh0JqX z27Oe4N+SNswEJVpbgEE3Av/TeJdmMiHj1n0OP8zs5cg6E1tyIp6X10vBVdEqNA= X-Google-Smtp-Source: AGHT+IHwPlPcC1gFMy2RUxu4+dzTot/pZ/X/gGnPYFqMXOZZ3nFzZdmylLHz87taKykx7APs0vxeGw== X-Received: by 2002:a05:600c:358a:b0:40e:93b4:25ef with SMTP id p10-20020a05600c358a00b0040e93b425efmr2798923wmq.26.1705964256708; Mon, 22 Jan 2024 14:57:36 -0800 (PST) Received: from gpeter-l.lan (host-92-18-76-30.as13285.net. [92.18.76.30]) by smtp.gmail.com with ESMTPSA id fa26-20020a05600c519a00b0040e89ff10f5sm19776847wmb.1.2024.01.22.14.57.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 14:57:35 -0800 (PST) From: Peter Griffin To: arnd@arndb.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux@roeck-us.net, wim@linux-watchdog.org, conor+dt@kernel.org, alim.akhtar@samsung.com, jaewon02.kim@samsung.com, chanho61.park@samsung.com, semen.protsenko@linaro.org Cc: kernel-team@android.com, peter.griffin@linaro.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.com, linux-fsd@tesla.com, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 7/9] arm64: dts: exynos7: remove deprecated samsung,syscon-phandle Date: Mon, 22 Jan 2024 22:57:08 +0000 Message-ID: <20240122225710.1952066-8-peter.griffin@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240122225710.1952066-1-peter.griffin@linaro.org> References: <20240122225710.1952066-1-peter.griffin@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240122_145742_263949_99926C20 X-CRM114-Status: GOOD ( 10.79 ) 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 samsung,syscon-phandle is no longer used by the Samsung watchdog driver to access PMU registers. Signed-off-by: Peter Griffin --- arch/arm64/boot/dts/exynos/exynos7.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/exynos/exynos7.dtsi b/arch/arm64/boot/dts/exynos/exynos7.dtsi index 9cb6bd61262e..347c346e3cfb 100644 --- a/arch/arm64/boot/dts/exynos/exynos7.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos7.dtsi @@ -555,7 +555,6 @@ watchdog: watchdog@101d0000 { interrupts = ; clocks = <&clock_peris PCLK_WDT>; clock-names = "watchdog"; - samsung,syscon-phandle = <&pmu_system_controller>; status = "disabled"; }; From patchwork Mon Jan 22 22:57:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13526399 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 3868CC46CD2 for ; Mon, 22 Jan 2024 22:58:15 +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=f4VhNqPu571nZxD3TRZwIVWIUrMKoHIjDLbCfddnHhg=; b=khLxbsRNpfb+3H 3OKblj+zIk9pMVx2tCutjWHFfojUDrogJIhQ7iUyXjdhte8Ik2qKKrY4gdbskHJlpqrwB7FzXPKdr NHwnKGXX/jCrhscQoM196LzzpgVmT3G4KOl32kBkJBa0GdocqzexRIpsJRQbg75kbQGFzkxknkw7J 8NqbGd57EP31b/kjYm2apgAqrcs45J1hbT8qY2w8hBHGbXHcrTiA3H7afpIIh5ciC0GEMJPKLAS7X 2CbUPNAGBSbvuZ2EZcBUYQ2nVHHvB/x1LKuxblEgf8ASUtzgmr+B0H26WMBkNQ8uBO8BUfOabGi54 hHZyKJh/LI4VPTRV1Ljg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rS3Eh-00ELSF-1f; Mon, 22 Jan 2024 22:57:47 +0000 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rS3EZ-00ELNM-0s for linux-arm-kernel@lists.infradead.org; Mon, 22 Jan 2024 22:57:40 +0000 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-40eb0836f8dso10015425e9.2 for ; Mon, 22 Jan 2024 14:57:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705964258; x=1706569058; 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=9+yXcHZUiMblwUqkt8towiLq/bcfaAns/f7tUicypCM=; b=r8uHR2z7H+tdxRXK77rghyEQe7zufMAZDnSaY1dTpANjOaIwZaMIHiyLkG1iZ7J26D wHKtZyDfevYXzhpuw+O2bxTUe1xDkchnPOe/R/aK7enaHLRKjJZPRLHRRZQdHOSh7F2E x2kad0Yd+G//9+tBSpPxjJmxmFXdmuUVB7lQhzA/nNom6hI3cCXQ391irinpSB0vTjQE q1JaTe8z+kx/fziQZ6IRXLS97MfetEwuBVgJ/YNZDU9EebjHWXdN3HZX54EmmqN4/UKw SS3wpN5s1COxHeFwv2zamrVI/s2zfXZqf5LkYOzeOiDrC0EFdFF7icAM3fwtQIcUujD4 wjOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705964258; x=1706569058; 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=9+yXcHZUiMblwUqkt8towiLq/bcfaAns/f7tUicypCM=; b=C/1ADKvRqOwMmgIsavsF8Df67a7px9bRN0tfYAvdN1s9rkT2RVvQ9DqUNfg8R2ynDQ ug5NMLE4roq/QcMtaRfDYg7mciqtI101SaZ5DZG3LljqozqbN1GhhERVUaB285G/Mu3K M+bfAhiiQFEwK+iRP13Bwj7Blwj2nAm4SOQVS78jqoeGPXaPdpsQAPqOzpGBV22ijEZ8 ymlEKeIBLKTs312MBMH00PxCPdUxg+NuOSbsNUxKkW3pCgIh7BnUtQHNg2Cd0o57fCGN x6hIW2fEABizyvYFxD/mvLfOtqpbiu3wE8A8Taxw6K+waOb8DHKyi/6aNgareaar+JOU zsaA== X-Gm-Message-State: AOJu0Ywqoemge5VEJH0RHip8uQDtlqfYG789MqPxKGbPES0EA10QMbJn PloXruruLilgpEuMwpx6FBSY28i4PWYU8uI+qnk2ytX99fZqzXPXxnT5Epjx/mY= X-Google-Smtp-Source: AGHT+IGTxTra3oeT53FfIH97Y2Gx41002Oxx5G+brDmtK77zTRluoeyF5o89lKBl/s6gRCsv7yvONw== X-Received: by 2002:a05:600c:1ca6:b0:40e:b0a1:b96e with SMTP id k38-20020a05600c1ca600b0040eb0a1b96emr676113wms.69.1705964258092; Mon, 22 Jan 2024 14:57:38 -0800 (PST) Received: from gpeter-l.lan (host-92-18-76-30.as13285.net. [92.18.76.30]) by smtp.gmail.com with ESMTPSA id fa26-20020a05600c519a00b0040e89ff10f5sm19776847wmb.1.2024.01.22.14.57.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 14:57:37 -0800 (PST) From: Peter Griffin To: arnd@arndb.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux@roeck-us.net, wim@linux-watchdog.org, conor+dt@kernel.org, alim.akhtar@samsung.com, jaewon02.kim@samsung.com, chanho61.park@samsung.com, semen.protsenko@linaro.org Cc: kernel-team@android.com, peter.griffin@linaro.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.com, linux-fsd@tesla.com, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 8/9] ARM: dts: samsung: exynos4: remove deprecated samsung,syscon-phandle Date: Mon, 22 Jan 2024 22:57:09 +0000 Message-ID: <20240122225710.1952066-9-peter.griffin@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240122225710.1952066-1-peter.griffin@linaro.org> References: <20240122225710.1952066-1-peter.griffin@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240122_145739_304734_896AB55D X-CRM114-Status: GOOD ( 10.72 ) 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 samsung,syscon-phandle is no longer used by the Samsung watchdog driver to access PMU registers. Signed-off-by: Peter Griffin --- arch/arm/boot/dts/samsung/exynos4x12.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/samsung/exynos4x12.dtsi b/arch/arm/boot/dts/samsung/exynos4x12.dtsi index b4b5e769145b..0fea32616c89 100644 --- a/arch/arm/boot/dts/samsung/exynos4x12.dtsi +++ b/arch/arm/boot/dts/samsung/exynos4x12.dtsi @@ -311,7 +311,6 @@ watchdog: watchdog@10060000 { interrupts = ; clocks = <&clock CLK_WDT>; clock-names = "watchdog"; - samsung,syscon-phandle = <&pmu_system_controller>; }; adc: adc@126c0000 { From patchwork Mon Jan 22 22:57:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13526403 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 877B3C46CD2 for ; Mon, 22 Jan 2024 22:58:49 +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=mK/lHpy90FlkjdV/VXDXPzzWdxc07m3X9IMFUy7de/k=; b=HmoX5WExudxlfi yqIVhiMuxEJ0UghPn9E2TZfbyc/nF5HRlT1E/Dn5el6NbgaII00VD/kedMjdH41uyEZsCTM3r+lR9 bJwiUOffjwCYTVM0p2ggOCJJ38NUcwOcXhEXx6h3ZgkyApztgOXwKqOFVCMeheA1Wt0Xr+15cF5up SIjxtu4/aEgfOGyOIvMrOvrEJTyrdOL5sqE9BLVVK8xswGh+6Ko/+IGftdNp2JMNKYlIoO/bRGuqd l4ytHDiMm8weR7/aomGqq2azOr9tjLXAV/MH2HNVl48cUN8CkYBrwtWfyZtcEZ061eHZjtoYj3Y+Q MwP1Xaf+NXWC7hYoT+Qg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rS3FE-00ELoY-2z; Mon, 22 Jan 2024 22:58:20 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rS3Ef-00ELOC-0n for linux-arm-kernel@lists.infradead.org; Mon, 22 Jan 2024 22:57:47 +0000 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-40eb033c1b0so12677565e9.2 for ; Mon, 22 Jan 2024 14:57:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705964260; x=1706569060; 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=yR0AO5T3Lm52GetAuhWGDlBbvPmAefipWgZrjsJSJcM=; b=z2fz8BEEEKvn3L/fNL8J8qn9hqL67QyYwMyfo51smGuR98M3qOUQXKadXzkEXK9S9/ yYjWwOwaoEsbFfjLotQ3qo4ubM1MHqK9DEc7SPLQktQyRQL4Wme1+dUovXqzqJnlXOtb WgdYZGtAsgZIgRDpBowpaMWODMv1sFVTBJ6M0TYO9zGfsFYq+o5Xgg3LR7WV6dnG320a PqXuv5TN0RD8EsksGfpIGpt/SfPFmbSPSj97K2jTLyZEiqUmRbi/sOUTJIM8kcKR6OTW xYvGSTW4zb+W1uy/Q8nxCfKFB1Ny+Tszn6AqE9XqUkbXtpMx1ae3XXYfWpil1HVaiESi BI2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705964260; x=1706569060; 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=yR0AO5T3Lm52GetAuhWGDlBbvPmAefipWgZrjsJSJcM=; b=dfAEzGltr/i1gH6+4+5VyukpZ8lClkOWB1Tf+U4LtdFxuNFdLL+f027g9o6NQONRoM 6Ht2AadcHhhO4s3q77+WuXp6pXxLHEKw52V3tfSnCFtYTOh8fd4jCiOIWYlzMj+exHtS LtHobw/wz0FogwEEdpDMAGSpHaEdVjhXOak6RDKCW4Wm7L1DkccizsLTvwacC4aAuwrC AaOFOO8U4TYr4IhRQUHAAfHt/c0RQiNItjN2Ni9clovc/d7XH1Q8ZtKKVI5vjnc/eg9E 1KMwJ2oQIFICNfZjvLoHeeUF1BlcEkQ4YiYfowNtF2hkAw8/yZd+onc80X4YIA/XE3gA 6b0A== X-Gm-Message-State: AOJu0YyvzjreL4kpcEV/C5YKxSBgwi3cbhdXb2/natlI2Ahr7ozSqYlJ BG1EKkfEENpqmv495JlNSUNkVWW9fqEqH1g1WHjTfO5nRnVttGqLfmbqSdbogiw= X-Google-Smtp-Source: AGHT+IE/3oSYmQaHmUVIEZrmPeRaKj7ezaMnrpX2IRhfyS/TY5XiBAOhqPClwNkExF4LwyWJ4DWvjA== X-Received: by 2002:a05:600c:a43:b0:40e:62aa:fa7b with SMTP id c3-20020a05600c0a4300b0040e62aafa7bmr2887046wmq.111.1705964260529; Mon, 22 Jan 2024 14:57:40 -0800 (PST) Received: from gpeter-l.lan (host-92-18-76-30.as13285.net. [92.18.76.30]) by smtp.gmail.com with ESMTPSA id fa26-20020a05600c519a00b0040e89ff10f5sm19776847wmb.1.2024.01.22.14.57.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 14:57:38 -0800 (PST) From: Peter Griffin To: arnd@arndb.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux@roeck-us.net, wim@linux-watchdog.org, conor+dt@kernel.org, alim.akhtar@samsung.com, jaewon02.kim@samsung.com, chanho61.park@samsung.com, semen.protsenko@linaro.org Cc: kernel-team@android.com, peter.griffin@linaro.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.com, linux-fsd@tesla.com, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 9/9] ARM: dts: exynos5250: remove deprecated samsung,syscon-phandle Date: Mon, 22 Jan 2024 22:57:10 +0000 Message-ID: <20240122225710.1952066-10-peter.griffin@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240122225710.1952066-1-peter.griffin@linaro.org> References: <20240122225710.1952066-1-peter.griffin@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240122_145745_289302_8814D5E2 X-CRM114-Status: GOOD ( 10.72 ) 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 samsung,syscon-phandle is no longer used by the Samsung watchdog driver to access PMU registers. Signed-off-by: Peter Griffin --- arch/arm/boot/dts/samsung/exynos5250.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/samsung/exynos5250.dtsi b/arch/arm/boot/dts/samsung/exynos5250.dtsi index 99c84bebf25a..2bbeb0f0d898 100644 --- a/arch/arm/boot/dts/samsung/exynos5250.dtsi +++ b/arch/arm/boot/dts/samsung/exynos5250.dtsi @@ -312,7 +312,6 @@ watchdog@101d0000 { interrupts = ; clocks = <&clock CLK_WDT>; clock-names = "watchdog"; - samsung,syscon-phandle = <&pmu_system_controller>; }; mfc: codec@11000000 {